Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo", uses=false) Using package OpenIPSL with version 3.1.0-dev (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009542/0.0009542, allocations: 180.2 kB / 15.45 MB, free: 6.23 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.227/1.227, allocations: 223.3 MB / 239.5 MB, free: 1.402 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007143/0.0007144, allocations: 88.33 kB / 290.7 MB, free: 13.74 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4902/0.4902, allocations: 78.62 MB / 420.4 MB, free: 43.17 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003557/0.0003557, allocations: 11.98 kB / 0.4888 GB, free: 1.727 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3118/0.3122, allocations: 69.34 MB / 0.5565 GB, free: 39.34 MB / 426.7 MB Notification: Performance of NFInst.instantiate(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test): time 0.005821/0.318, allocations: 7.078 MB / 0.5634 GB, free: 36.02 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.004164/0.3222, allocations: 2.321 MB / 0.5657 GB, free: 35.12 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007046/0.3229, allocations: 20.38 kB / 0.5657 GB, free: 35.12 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006343/0.3236, allocations: 214.5 kB / 0.5659 GB, free: 35.02 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001637/0.3252, allocations: 0.6665 MB / 0.5666 GB, free: 34.59 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001573/0.3268, allocations: 0.7739 MB / 0.5673 GB, free: 34.15 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.001615/0.3284, allocations: 1.701 MB / 0.569 GB, free: 33.32 MB / 426.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005295/0.329, allocations: 463.4 kB / 0.5694 GB, free: 33.07 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006362/0.3296, allocations: 0.6121 MB / 0.57 GB, free: 32.79 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0005622/0.3302, allocations: 0.7701 MB / 0.5708 GB, free: 32.43 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001246/0.3303, allocations: 61.06 kB / 0.5708 GB, free: 32.43 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004011/0.3307, allocations: 197.3 kB / 0.571 GB, free: 32.38 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001845/0.3309, allocations: 274.7 kB / 0.5713 GB, free: 32.22 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003791/0.3313, allocations: 0.7001 MB / 0.572 GB, free: 31.74 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.3325, allocations: 1.797 MB / 0.5737 GB, free: 31.07 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/0.3325, allocations: 0 / 0.5737 GB, free: 31.07 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.923e-06/0.3325, allocations: 0 / 0.5737 GB, free: 31.07 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.685e-05/0.3325, allocations: 3.938 kB / 0.5737 GB, free: 31.07 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 258 * Number of variables: 258 Notification: Performance of Generate backend data structure: time 0.006858/0.3394, allocations: 2.664 MB / 0.5763 GB, free: 29.91 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.143e-05/0.3394, allocations: 10.94 kB / 0.5763 GB, free: 29.91 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004596/0.344, allocations: 0.8159 MB / 0.5771 GB, free: 29.74 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001479/0.3455, allocations: 0.9738 MB / 0.5781 GB, free: 29.09 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002087/0.3457, allocations: 249.6 kB / 0.5783 GB, free: 28.89 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001839/0.3459, allocations: 98.69 kB / 0.5784 GB, free: 28.86 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002357/0.3483, allocations: 1.521 MB / 0.5799 GB, free: 28.24 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.275e-05/0.3483, allocations: 3.938 kB / 0.5799 GB, free: 28.24 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.596e-05/0.3484, allocations: 40.75 kB / 0.5799 GB, free: 28.21 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.611e-05/0.3485, allocations: 25.88 kB / 0.58 GB, free: 28.21 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00241/0.3509, allocations: 1.425 MB / 0.5814 GB, free: 27.76 MB / 426.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005374/0.3563, allocations: 4.417 MB / 0.5857 GB, free: 25.18 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002922/0.3592, allocations: 2.057 MB / 0.5877 GB, free: 24.08 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00143/0.3606, allocations: 0.9754 MB / 0.5886 GB, free: 23.72 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001212/0.3608, allocations: 19.64 kB / 0.5887 GB, free: 23.71 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.121e-05/0.3608, allocations: 45.16 kB / 0.5887 GB, free: 23.67 MB / 426.7 MB Notification: Performance of pre-optimization done (n=115): time 2.986e-06/0.3608, allocations: 0 / 0.5887 GB, free: 23.67 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.02607/0.3869, allocations: 9.17 MB / 0.5977 GB, free: 22.06 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.387, allocations: 145.2 kB / 0.5978 GB, free: 21.9 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.3884, allocations: 1.138 MB / 0.5989 GB, free: 21.45 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 9.055e-05/0.3885, allocations: 41.83 kB / 0.5989 GB, free: 21.41 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.3888, allocations: 0.619 MB / 0.5996 GB, free: 20.92 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.3891, allocations: 411.9 kB / 0.5999 GB, free: 20.59 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001769/0.3893, allocations: 125.1 kB / 0.6001 GB, free: 20.53 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 3.498e-05/0.3893, allocations: 301.1 kB / 0.6004 GB, free: 20.23 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001674/0.391, allocations: 0.9361 MB / 0.6013 GB, free: 19.91 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/0.3928, allocations: 1.089 MB / 0.6023 GB, free: 19.41 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01763/0.4104, allocations: 5.694 MB / 0.6079 GB, free: 17.8 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.821e-06/0.4104, allocations: 5.469 kB / 0.6079 GB, free: 17.79 MB / 426.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.01382/0.4243, allocations: 5.666 MB / 0.6134 GB, free: 15.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.658e-05/0.4244, allocations: 214.1 kB / 0.6136 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.017e-05/0.4244, allocations: 4 kB / 0.6136 GB, free: 15.03 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005502/0.4299, allocations: 2.223 MB / 0.6158 GB, free: 12.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008681/0.4308, allocations: 243.6 kB / 0.616 GB, free: 12.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01816/0.4489, allocations: 10.31 MB / 0.6261 GB, free: 2.121 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/0.4505, allocations: 254.7 kB / 0.6263 GB, free: 1.871 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.719e-05/0.4506, allocations: 51.98 kB / 0.6264 GB, free: 1.82 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.333e-06/0.4506, allocations: 4 kB / 0.6264 GB, free: 1.816 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01356/0.4642, allocations: 5.444 MB / 0.6317 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.735e-05/0.4642, allocations: 7.938 kB / 0.6317 GB, free: 12.36 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.006231/0.4705, allocations: 2.229 MB / 0.6339 GB, free: 10.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.4716, allocations: 223.7 kB / 0.6341 GB, free: 9.902 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02076/0.4923, allocations: 10.28 MB / 0.6442 GB, free: 15.48 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00156/0.4939, allocations: 230.8 kB / 0.6444 GB, free: 15.26 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001028/0.494, allocations: 51.98 kB / 0.6444 GB, free: 15.21 MB / 458.7 MB Warning: Assuming fixed start value for the following 5 variables: tGTypeVI.derivative.x:VARIABLE(start = tGTypeVI.derivative.x_start fixed = true ) "State of block" type: Real tGTypeVI.integrator.y:VARIABLE(flow=false start = tGTypeVI.integrator.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator3.y:VARIABLE(flow=false start = tGTypeVI.integrator3.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.integrator5.y:VARIABLE(flow=false start = tGTypeVI.integrator5.y_start fixed = true ) "Connector of Real output signal" type: Real tGTypeVI.transferFunction.x_scaled[1]:VARIABLE(fixed = true protected = true ) "Scaled vector x" type: Real [1] Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeVI.switch1.u2,tGTypeVI.integrator5.local_reset,tGTypeVI.integrator3.local_reset,tGTypeVI.integrator.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (141): * Single equations (assignments): 140 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(25,16)} Notification: Performance of prepare postOptimizeDAE: time 0.0006538/0.4947, allocations: 393.2 kB / 0.6448 GB, free: 14.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000217/0.4949, allocations: 150.2 kB / 0.6449 GB, free: 14.67 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0137/0.5086, allocations: 5.275 MB / 0.6501 GB, free: 9.383 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.073e-05/0.5086, allocations: 12 kB / 0.6501 GB, free: 9.371 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-06/0.5087, allocations: 7.938 kB / 0.6501 GB, free: 9.363 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.307e-05/0.5087, allocations: 11.97 kB / 0.6501 GB, free: 9.352 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.5244, allocations: 7.192 MB / 0.6571 GB, free: 2.027 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.5244, allocations: 0 / 0.6571 GB, free: 2.027 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006667/0.5251, allocations: 143.8 kB / 0.6573 GB, free: 1.887 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005787/0.5309, allocations: 2.16 MB / 0.6594 GB, free: 15.72 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.062e-05/0.531, allocations: 27.98 kB / 0.6594 GB, free: 15.7 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0178/0.5488, allocations: 8.842 MB / 0.6681 GB, free: 6.707 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.5488, allocations: 0 / 0.6681 GB, free: 6.707 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01555/0.5643, allocations: 6.506 MB / 0.6744 GB, free: 184 kB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004567/0.5648, allocations: 235.2 kB / 0.6746 GB, free: 15.93 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001813/0.565, allocations: 31.88 kB / 0.6747 GB, free: 15.89 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001153/0.5662, allocations: 163.9 kB / 0.6748 GB, free: 15.73 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005828/0.5668, allocations: 212.6 kB / 0.675 GB, free: 15.53 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.792e-05/0.5669, allocations: 28 kB / 0.675 GB, free: 15.5 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.001021/0.5679, allocations: 0.7585 MB / 0.6758 GB, free: 14.74 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5679, allocations: 0 / 0.6758 GB, free: 14.74 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001957/0.5699, allocations: 0.819 MB / 0.6766 GB, free: 13.92 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeVI.integrator.y,tGTypeVI.integrator3.y,tGTypeVI.integrator5.y,tGTypeVI.transferFunction.x_scaled[1],tGTypeVI.derivative.x) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(26,14)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002415/0.5701, allocations: 139.2 kB / 0.6767 GB, free: 13.77 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0116/0.5817, allocations: 5.096 MB / 0.6817 GB, free: 8.652 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.5817, allocations: 0 / 0.6817 GB, free: 8.652 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004526/0.5863, allocations: 1.893 MB / 0.6835 GB, free: 6.75 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001226/0.5875, allocations: 162.6 kB / 0.6837 GB, free: 6.59 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00407/0.5916, allocations: 3.152 MB / 0.6868 GB, free: 3.41 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007181/0.5923, allocations: 1.225 MB / 0.688 GB, free: 2.152 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005937/0.5929, allocations: 168.9 kB / 0.6881 GB, free: 1.984 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002736/0.5932, allocations: 75.42 kB / 0.6882 GB, free: 1.91 MB / 490.7 MB Notification: Performance of SimCode: time 7.01e-07/0.5932, allocations: 0 / 0.6882 GB, free: 1.91 MB / 490.7 MB Notification: Performance of Templates: time 0.04512/0.6384, allocations: 32.17 MB / 0.7196 GB, free: 1.773 MB / 0.5105 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeVI_test.pipe 2>&1)