Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.0.1/package.mo", uses=false) Using package OpenIPSL with version 3.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/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_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_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.0009848/0.0009846, allocations: 169 kB / 7.645 MB, free: 1.434 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.45/1.45, allocations: 221.5 MB / 229.6 MB, free: 7.539 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.0008562/0.0008561, allocations: 96.84 kB / 280.5 MB, free: 5.285 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.5525/0.5525, allocations: 78.05 MB / 409.3 MB, free: 6.41 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.658e-05/1.66e-05, allocations: 0 / 484.9 MB, free: 12.29 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1551, allocations: 69.37 MB / 0.5413 GB, free: 6.855 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4547/0.6098, allocations: 98.6 MB / 0.6376 GB, free: 0.9844 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.6102, allocations: 83.95 kB / 0.6377 GB, free: 0.9023 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07627/0.6864, allocations: 28.38 MB / 0.6654 GB, free: 4.578 MB / 474.7 MB Notification: Performance of FrontEnd: time 4.158e-06/0.6865, allocations: 0 / 0.6654 GB, free: 4.578 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.000135/0.6866, allocations: 31.94 kB / 0.6654 GB, free: 4.547 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: 237 * Number of variables: 237 Notification: Performance of Generate backend data structure: time 0.005829/0.6925, allocations: 1.856 MB / 0.6672 GB, free: 2.648 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.6925, allocations: 12.03 kB / 0.6672 GB, free: 2.637 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003669/0.6962, allocations: 0.5757 MB / 0.6678 GB, free: 2.059 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002148/0.6984, allocations: 0.8268 MB / 0.6686 GB, free: 1.176 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002661/0.6987, allocations: 218.4 kB / 0.6688 GB, free: 0.9336 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003123/0.699, allocations: 55.95 kB / 0.6689 GB, free: 0.8789 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001977/0.701, allocations: 0.9178 MB / 0.6698 GB, free: 15.96 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00209/0.7031, allocations: 1.022 MB / 0.6708 GB, free: 14.9 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.548e-05/0.7031, allocations: 7.922 kB / 0.6708 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001073/0.7032, allocations: 4 kB / 0.6708 GB, free: 14.89 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.074e-05/0.7033, allocations: 20 kB / 0.6708 GB, free: 14.87 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007142/0.7104, allocations: 4.095 MB / 0.6748 GB, free: 10.62 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002434/0.7129, allocations: 1.504 MB / 0.6763 GB, free: 9.004 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009234/0.7138, allocations: 0.6166 MB / 0.6769 GB, free: 8.391 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001189/0.714, allocations: 18.25 kB / 0.6769 GB, free: 8.371 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.892e-05/0.714, allocations: 51.81 kB / 0.6769 GB, free: 8.312 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 3.637e-06/0.714, allocations: 0 / 0.6769 GB, free: 8.312 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.01317/0.7272, allocations: 4.247 MB / 0.6811 GB, free: 4.047 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.7274, allocations: 112.1 kB / 0.6812 GB, free: 3.914 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001876/0.7293, allocations: 0.7657 MB / 0.6819 GB, free: 3.137 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002313/0.7295, allocations: 25.7 kB / 0.682 GB, free: 3.105 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005367/0.7301, allocations: 0.5751 MB / 0.6825 GB, free: 2.523 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005679/0.7306, allocations: 362.5 kB / 0.6829 GB, free: 2.164 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.843e-05/0.7307, allocations: 3.938 kB / 0.6829 GB, free: 2.16 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0002001/0.731, allocations: 347.5 kB / 0.6832 GB, free: 1.816 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008547/0.7318, allocations: 470.6 kB / 0.6836 GB, free: 1.355 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009591/0.7328, allocations: 0.6211 MB / 0.6843 GB, free: 0.6758 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008951/0.7337, allocations: 0.5151 MB / 0.6848 GB, free: 168 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.372e-06/0.7337, allocations: 0 / 0.6848 GB, free: 168 kB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01345/0.7472, allocations: 4.429 MB / 0.6891 GB, free: 11.72 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006721/0.7479, allocations: 1.508 MB / 0.6906 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.395e-05/0.7479, allocations: 4 kB / 0.6906 GB, free: 10.11 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005942/0.7539, allocations: 1.753 MB / 0.6923 GB, free: 8.348 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008747/0.7548, allocations: 163.8 kB / 0.6924 GB, free: 8.188 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01637/0.7712, allocations: 7.485 MB / 0.6997 GB, free: 0.5742 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001719/0.7729, allocations: 183 kB / 0.6999 GB, free: 404 kB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002336/0.7732, allocations: 41.17 kB / 0.7 GB, free: 364 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.408e-05/0.7732, allocations: 4 kB / 0.7 GB, free: 360 kB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01304/0.7863, allocations: 4.254 MB / 0.7041 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.691e-05/0.7863, allocations: 4 kB / 0.7041 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005829/0.7922, allocations: 1.746 MB / 0.7058 GB, free: 10.34 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007758/0.793, allocations: 153 kB / 0.706 GB, free: 10.19 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0158/0.8088, allocations: 7.488 MB / 0.7133 GB, free: 2.57 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001739/0.8106, allocations: 167.1 kB / 0.7134 GB, free: 2.406 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002413/0.8108, allocations: 47.94 kB / 0.7135 GB, free: 2.359 MB / 0.5105 GB 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.0005867/0.8114, allocations: 138.5 kB / 0.7136 GB, free: 2.223 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004673/0.8119, allocations: 131.6 kB / 0.7137 GB, free: 2.094 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01326/0.8252, allocations: 4.337 MB / 0.718 GB, free: 13.74 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.235e-05/0.8253, allocations: 15.95 kB / 0.718 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.8253, allocations: 0 / 0.718 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.728e-05/0.8254, allocations: 3.984 kB / 0.718 GB, free: 13.72 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01657/0.842, allocations: 6.004 MB / 0.7239 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.482e-05/0.842, allocations: 4 kB / 0.7239 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007626/0.8428, allocations: 119.9 kB / 0.724 GB, free: 7.469 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005514/0.8483, allocations: 1.727 MB / 0.7257 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002584/0.8486, allocations: 0 / 0.7257 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01438/0.863, allocations: 6.564 MB / 0.7321 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.279e-06/0.8631, allocations: 0 / 0.7321 GB, free: 15.05 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01662/0.8797, allocations: 5.15 MB / 0.7371 GB, free: 9.883 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005788/0.8803, allocations: 220 kB / 0.7373 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003733/0.8807, allocations: 0 / 0.7373 GB, free: 9.648 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001346/0.8821, allocations: 127.9 kB / 0.7374 GB, free: 9.523 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000642/0.8827, allocations: 208.8 kB / 0.7376 GB, free: 9.32 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.232e-05/0.8828, allocations: 27.98 kB / 0.7377 GB, free: 9.293 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0009441/0.8838, allocations: 0.5835 MB / 0.7382 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.834e-06/0.8838, allocations: 0 / 0.7382 GB, free: 8.703 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002484/0.8863, allocations: 0.6783 MB / 0.7389 GB, free: 8.023 MB / 0.5417 GB 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.0003643/0.8867, allocations: 132.6 kB / 0.739 GB, free: 7.883 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01014/0.8968, allocations: 3.695 MB / 0.7426 GB, free: 4.168 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.8968, allocations: 4.062 kB / 0.7426 GB, free: 4.164 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004374/0.9012, allocations: 1.506 MB / 0.7441 GB, free: 2.656 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/0.9023, allocations: 94.28 kB / 0.7442 GB, free: 2.57 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003567/0.9059, allocations: 1.653 MB / 0.7458 GB, free: 0.8906 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008658/0.9068, allocations: 1.201 MB / 0.747 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008076/0.9076, allocations: 164.8 kB / 0.7471 GB, free: 15.5 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001677/0.9078, allocations: 51.44 kB / 0.7472 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of SimCode: time 7.61e-07/0.9078, allocations: 0 / 0.7472 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of Templates: time 0.3707/1.278, allocations: 29.23 MB / 0.7757 GB, free: 141.8 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIII_test.pipe 2>&1)