Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_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.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001485/0.001485, allocations: 174.6 kB / 12.73 MB, free: 2.59 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.453/1.453, allocations: 221.4 MB / 234.6 MB, free: 14.45 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008421/0.0008423, allocations: 91.81 kB / 285.6 MB, free: 13 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.487/0.487, allocations: 78.08 MB / 414.6 MB, free: 11 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 2.593e-05/2.595e-05, allocations: 4 kB / 491.8 MB, free: 14.06 MB / 378.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3313/0.3313, allocations: 69.34 MB / 0.548 GB, free: 20.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.123/0.4543, allocations: 99.27 MB / 0.6449 GB, free: 1.289 MB / 458.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.4547, allocations: 87.94 kB / 0.645 GB, free: 1.203 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07536/0.53, allocations: 28.74 MB / 0.6731 GB, free: 4.273 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.5301, allocations: 0 / 0.6731 GB, free: 4.273 MB / 490.7 MB Notification: Performance of Transformations before backend: time 7.533e-05/0.5302, allocations: 35.92 kB / 0.6731 GB, free: 4.238 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.004816/0.535, allocations: 1.852 MB / 0.6749 GB, free: 2.336 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.535, allocations: 11.97 kB / 0.6749 GB, free: 2.324 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003366/0.5384, allocations: 0.5795 MB / 0.6755 GB, free: 1.742 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001657/0.5401, allocations: 0.8346 MB / 0.6763 GB, free: 0.8555 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002402/0.5403, allocations: 246.4 kB / 0.6766 GB, free: 0.582 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.5405, allocations: 92 kB / 0.6766 GB, free: 0.4922 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3142/0.8547, allocations: 1.141 MB / 0.6778 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.551e-05/0.8548, allocations: 2.25 kB / 0.6778 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001202/0.8549, allocations: 42.36 kB / 0.6778 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.668e-05/0.8549, allocations: 22.97 kB / 0.6778 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001903/0.8568, allocations: 0.9786 MB / 0.6788 GB, free: 102.7 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007087/0.8639, allocations: 4.254 MB / 0.6829 GB, free: 101.2 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002632/0.8666, allocations: 1.547 MB / 0.6844 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001059/0.8677, allocations: 0.6475 MB / 0.6851 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.8678, allocations: 14.47 kB / 0.6851 GB, free: 100.6 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.254e-05/0.8678, allocations: 45.19 kB / 0.6851 GB, free: 100.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 3.927e-06/0.8678, allocations: 4.5 kB / 0.6851 GB, free: 100.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.01309/0.8809, allocations: 4.299 MB / 0.6893 GB, free: 100.4 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.546e-05/0.8811, allocations: 115.5 kB / 0.6894 GB, free: 100.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001265/0.8823, allocations: 0.8462 MB / 0.6903 GB, free: 100.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001874/0.8825, allocations: 44.27 kB / 0.6903 GB, free: 100.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/0.8829, allocations: 0.5874 MB / 0.6909 GB, free: 99.92 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000301/0.8832, allocations: 374.7 kB / 0.6912 GB, free: 99.73 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.717e-05/0.8832, allocations: 21.62 kB / 0.6913 GB, free: 99.73 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 7.11e-05/0.8833, allocations: 350.5 kB / 0.6916 GB, free: 99.43 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007332/0.8841, allocations: 481.6 kB / 0.6921 GB, free: 99.42 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008014/0.8849, allocations: 0.6448 MB / 0.6927 GB, free: 99.01 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007975/0.8857, allocations: 0.5376 MB / 0.6932 GB, free: 98.77 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.8857, allocations: 3.781 kB / 0.6932 GB, free: 98.77 MB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01219/0.8979, allocations: 4.514 MB / 0.6976 GB, free: 97.81 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002749/0.8982, allocations: 1.514 MB / 0.6991 GB, free: 96.22 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.149e-05/0.8982, allocations: 3.625 kB / 0.6991 GB, free: 96.22 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005449/0.9037, allocations: 1.809 MB / 0.7009 GB, free: 95.88 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007964/0.9045, allocations: 158.7 kB / 0.701 GB, free: 95.88 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01415/0.9186, allocations: 7.713 MB / 0.7086 GB, free: 91.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001533/0.9202, allocations: 215.9 kB / 0.7088 GB, free: 91.71 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.818e-05/0.9203, allocations: 35.31 kB / 0.7088 GB, free: 91.71 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.096e-05/0.9203, allocations: 5.75 kB / 0.7088 GB, free: 91.71 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01216/0.9325, allocations: 4.372 MB / 0.7131 GB, free: 89.21 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.9325, allocations: 4 kB / 0.7131 GB, free: 89.21 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005238/0.9378, allocations: 1.807 MB / 0.7148 GB, free: 87.77 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006483/0.9384, allocations: 146.2 kB / 0.715 GB, free: 87.64 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01379/0.9522, allocations: 7.689 MB / 0.7225 GB, free: 80.63 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001482/0.9537, allocations: 183.6 kB / 0.7227 GB, free: 80.48 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.512e-05/0.9538, allocations: 39.94 kB / 0.7227 GB, free: 80.44 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: tGTypeIII.integrator3.y:VARIABLE(start = tGTypeIII.integrator3.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator2.y:VARIABLE(start = tGTypeIII.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator1.y:VARIABLE(start = tGTypeIII.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIII.integrator.y:VARIABLE(start = tGTypeIII.integrator.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (tGTypeIII.integrator3.local_reset,tGTypeIII.integrator2.local_reset,tGTypeIII.integrator1.local_reset,tGTypeIII.integrator.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {25 16} Notification: Performance of prepare postOptimizeDAE: time 0.0003475/0.9542, allocations: 175 kB / 0.7229 GB, free: 80.27 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002607/0.9544, allocations: 138.3 kB / 0.723 GB, free: 80.14 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01224/0.9667, allocations: 4.436 MB / 0.7273 GB, free: 76.67 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.465e-05/0.9668, allocations: 12 kB / 0.7273 GB, free: 76.66 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.9668, allocations: 0 / 0.7273 GB, free: 76.66 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/0.9668, allocations: 3.891 kB / 0.7273 GB, free: 76.66 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01422/0.981, allocations: 6.202 MB / 0.7334 GB, free: 71.56 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.9811, allocations: 0 / 0.7334 GB, free: 71.56 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006979/0.9818, allocations: 131.8 kB / 0.7335 GB, free: 71.43 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004946/0.9867, allocations: 1.742 MB / 0.7352 GB, free: 69.69 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001644/0.9869, allocations: 20 kB / 0.7353 GB, free: 69.67 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01232/0.9992, allocations: 6.691 MB / 0.7418 GB, free: 62.85 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9993, allocations: 0 / 0.7418 GB, free: 62.85 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01329/1.013, allocations: 5.24 MB / 0.7469 GB, free: 57.6 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004696/1.013, allocations: 223.1 kB / 0.7471 GB, free: 57.36 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003943/1.013, allocations: 20 kB / 0.7471 GB, free: 57.34 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001347/1.015, allocations: 147.5 kB / 0.7473 GB, free: 57.2 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006251/1.015, allocations: 204.6 kB / 0.7475 GB, free: 57 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001083/1.016, allocations: 23.94 kB / 0.7475 GB, free: 56.98 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0008894/1.017, allocations: 0.6557 MB / 0.7481 GB, free: 56.31 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.4e-07/1.017, allocations: 0 / 0.7481 GB, free: 56.31 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.002167/1.019, allocations: 0.7396 MB / 0.7489 GB, free: 55.57 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 7 (gen.delta,gen.w,gen.e1q,tGTypeIII.integrator.y,tGTypeIII.integrator1.y,tGTypeIII.integrator2.y,tGTypeIII.integrator3.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {26 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002559/1.019, allocations: 158.8 kB / 0.749 GB, free: 55.42 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.009262/1.028, allocations: 3.824 MB / 0.7527 GB, free: 51.58 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 6.002e-06/1.028, allocations: 0 / 0.7527 GB, free: 51.58 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004029/1.032, allocations: 1.556 MB / 0.7543 GB, free: 50.01 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009197/1.033, allocations: 124.5 kB / 0.7544 GB, free: 49.89 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002723/1.036, allocations: 1.714 MB / 0.7561 GB, free: 48.16 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004841/1.036, allocations: 1.194 MB / 0.7572 GB, free: 46.94 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0006704/1.037, allocations: 170.5 kB / 0.7574 GB, free: 46.77 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/1.037, allocations: 55.42 kB / 0.7574 GB, free: 46.72 MB / 490.7 MB Notification: Performance of SimCode: time 9.41e-07/1.037, allocations: 0 / 0.7574 GB, free: 46.72 MB / 490.7 MB Notification: Performance of Templates: time 0.03908/1.076, allocations: 31.51 MB / 0.7882 GB, free: 15.51 MB / 490.7 MB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)