Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_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.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") translateModel(OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 172 kB / 7.647 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.311/1.311, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.0008578/0.0008578, allocations: 93.73 kB / 280.5 MB, free: 5.348 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.4697/0.4697, allocations: 78.12 MB / 409.4 MB, free: 6.461 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.333e-05/2.335e-05, allocations: 7.938 kB / 485 MB, free: 12.43 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1369, allocations: 69.36 MB / 0.5413 GB, free: 6.961 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3894/0.5264, allocations: 98.7 MB / 0.6377 GB, free: 1.043 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002634/0.5267, allocations: 88.7 kB / 0.6378 GB, free: 0.957 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0802/0.6069, allocations: 29.04 MB / 0.6662 GB, free: 3.961 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.302e-06/0.6069, allocations: 0 / 0.6662 GB, free: 3.961 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0001528/0.6071, allocations: 31.94 kB / 0.6662 GB, free: 3.93 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 244 * Number of variables: 244 Notification: Performance of Generate backend data structure: time 0.006334/0.6135, allocations: 1.89 MB / 0.668 GB, free: 1.996 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.6135, allocations: 8.031 kB / 0.668 GB, free: 1.988 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004001/0.6175, allocations: 0.5796 MB / 0.6686 GB, free: 1.406 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/0.62, allocations: 0.874 MB / 0.6695 GB, free: 488 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000277/0.6203, allocations: 210.5 kB / 0.6697 GB, free: 248 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003484/0.6207, allocations: 59.95 kB / 0.6697 GB, free: 188 kB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002296/0.623, allocations: 0.9374 MB / 0.6706 GB, free: 15.24 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002229/0.6253, allocations: 1.038 MB / 0.6716 GB, free: 14.16 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.695e-05/0.6253, allocations: 7.922 kB / 0.6717 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001111/0.6254, allocations: 0 / 0.6717 GB, free: 14.15 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.531e-05/0.6254, allocations: 25.03 kB / 0.6717 GB, free: 14.12 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007313/0.6328, allocations: 4.327 MB / 0.6759 GB, free: 9.645 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002407/0.6352, allocations: 1.521 MB / 0.6774 GB, free: 8.004 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009119/0.6361, allocations: 0.6322 MB / 0.678 GB, free: 7.375 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001173/0.6363, allocations: 17.3 kB / 0.678 GB, free: 7.359 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.314e-05/0.6363, allocations: 47.83 kB / 0.6781 GB, free: 7.305 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 3.276e-06/0.6363, allocations: 0 / 0.6781 GB, free: 7.305 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.01296/0.6493, allocations: 4.267 MB / 0.6822 GB, free: 3.02 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.404e-05/0.6494, allocations: 120.1 kB / 0.6824 GB, free: 2.875 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001572/0.651, allocations: 0.8069 MB / 0.6831 GB, free: 2.059 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002905/0.6513, allocations: 25.7 kB / 0.6832 GB, free: 2.027 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004794/0.6518, allocations: 0.6001 MB / 0.6837 GB, free: 1.422 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005909/0.6524, allocations: 374.4 kB / 0.6841 GB, free: 1.051 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001266/0.6525, allocations: 0 / 0.6841 GB, free: 1.051 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001539/0.6527, allocations: 349.9 kB / 0.6844 GB, free: 0.7031 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008662/0.6536, allocations: 474.6 kB / 0.6849 GB, free: 248 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000933/0.6545, allocations: 0.639 MB / 0.6855 GB, free: 15.54 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008573/0.6554, allocations: 0.5281 MB / 0.686 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/0.6554, allocations: 0 / 0.686 GB, free: 15.01 MB / 0.4948 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.01316/0.6685, allocations: 4.468 MB / 0.6904 GB, free: 10.53 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006845/0.6693, allocations: 1.68 MB / 0.692 GB, free: 8.738 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.6693, allocations: 8 kB / 0.692 GB, free: 8.73 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00598/0.6753, allocations: 1.757 MB / 0.6938 GB, free: 6.969 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001024/0.6764, allocations: 163.8 kB / 0.6939 GB, free: 6.809 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01653/0.6929, allocations: 7.495 MB / 0.7012 GB, free: 15.18 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001705/0.6947, allocations: 181.4 kB / 0.7014 GB, free: 15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002483/0.695, allocations: 51.98 kB / 0.7015 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.695, allocations: 5.312 kB / 0.7015 GB, free: 14.95 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01384/0.7088, allocations: 4.277 MB / 0.7056 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.685e-05/0.7089, allocations: 4 kB / 0.7056 GB, free: 10.66 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006029/0.715, allocations: 1.761 MB / 0.7074 GB, free: 8.895 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008683/0.7159, allocations: 159.8 kB / 0.7075 GB, free: 8.738 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01632/0.7322, allocations: 7.483 MB / 0.7148 GB, free: 1.133 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001867/0.7341, allocations: 167 kB / 0.715 GB, free: 0.9688 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002332/0.7344, allocations: 39.98 kB / 0.715 GB, free: 0.9297 MB / 0.5105 GB Warning: Assuming fixed start value for the following 5 variables: tGTypeIV.integrator1.y:VARIABLE(start = tGTypeIV.integrator1.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator5.y:VARIABLE(start = tGTypeIV.integrator5.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator4.y:VARIABLE(start = tGTypeIV.integrator4.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator2.y:VARIABLE(start = tGTypeIV.integrator2.y_start ) "Connector of Real output signal" type: Real tGTypeIV.integrator3.y:VARIABLE(start = tGTypeIV.integrator3.y_start ) "Connector of Real output signal" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 5 (tGTypeIV.integrator1.local_reset,tGTypeIV.integrator5.local_reset,tGTypeIV.integrator4.local_reset,tGTypeIV.integrator2.local_reset,tGTypeIV.integrator3.local_reset) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (101): * Single equations (assignments): 100 * 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.0005599/0.735, allocations: 145 kB / 0.7152 GB, free: 0.7891 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004432/0.7354, allocations: 138.3 kB / 0.7153 GB, free: 0.6523 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01354/0.749, allocations: 4.365 MB / 0.7196 GB, free: 12.27 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.118e-05/0.749, allocations: 15.94 kB / 0.7196 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.572e-06/0.7491, allocations: 0 / 0.7196 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.505e-05/0.7491, allocations: 3.984 kB / 0.7196 GB, free: 12.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01668/0.7658, allocations: 6.051 MB / 0.7255 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-05/0.7659, allocations: 4 kB / 0.7255 GB, free: 6.066 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000856/0.7667, allocations: 127.8 kB / 0.7256 GB, free: 5.941 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005601/0.7723, allocations: 1.715 MB / 0.7273 GB, free: 4.223 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002211/0.7726, allocations: 9.219 kB / 0.7273 GB, free: 4.215 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01479/0.7874, allocations: 6.549 MB / 0.7337 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.662e-06/0.7874, allocations: 0 / 0.7337 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01465/0.8021, allocations: 5.185 MB / 0.7388 GB, free: 8.344 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005936/0.8027, allocations: 231.1 kB / 0.739 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004413/0.8032, allocations: 0 / 0.739 GB, free: 8.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001452/0.8047, allocations: 127.9 kB / 0.7391 GB, free: 7.973 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006701/0.8054, allocations: 205 kB / 0.7393 GB, free: 7.773 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001312/0.8055, allocations: 27.98 kB / 0.7393 GB, free: 7.746 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001052/0.8066, allocations: 0.6121 MB / 0.7399 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8066, allocations: 0 / 0.7399 GB, free: 7.129 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002594/0.8092, allocations: 0.6861 MB / 0.7406 GB, free: 6.441 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (gen.delta,gen.w,gen.e1q,tGTypeIV.integrator3.y,tGTypeIV.integrator2.y,tGTypeIV.integrator4.y,tGTypeIV.integrator5.y,tGTypeIV.integrator1.y) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 72 * 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.0003341/0.8095, allocations: 143 kB / 0.7407 GB, free: 6.293 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.009937/0.8195, allocations: 3.735 MB / 0.7444 GB, free: 2.539 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.578e-06/0.8195, allocations: 0 / 0.7444 GB, free: 2.539 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004355/0.8239, allocations: 1.51 MB / 0.7458 GB, free: 1.023 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001097/0.825, allocations: 107.1 kB / 0.7459 GB, free: 0.9219 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00376/0.8288, allocations: 1.732 MB / 0.7476 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008677/0.8297, allocations: 1.213 MB / 0.7488 GB, free: 13.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008261/0.8305, allocations: 177.9 kB / 0.749 GB, free: 13.74 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001779/0.8307, allocations: 55.44 kB / 0.749 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of SimCode: time 9.62e-07/0.8307, allocations: 0 / 0.749 GB, free: 13.68 MB / 0.5573 GB Notification: Performance of Templates: time 0.3237/1.154, allocations: 29.6 MB / 0.7779 GB, free: 142.8 MB / 0.5573 GB make -j1 -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_release_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)