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.001423/0.001423, allocations: 172.5 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.464/1.464, allocations: 221.5 MB / 229.6 MB, free: 7.586 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.0009329/0.0009329, allocations: 93.3 kB / 280.5 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.1.0-master/package.mo): time 0.5108/0.5108, allocations: 78.13 MB / 409.4 MB, free: 6.508 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.45e-05/1.452e-05, allocations: 7.938 kB / 485 MB, free: 12.42 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1717, allocations: 69.36 MB / 0.5413 GB, free: 6.941 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4196/0.5914, allocations: 98.6 MB / 0.6376 GB, free: 1.117 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.5917, allocations: 88.64 kB / 0.6377 GB, free: 1.031 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07271/0.6645, allocations: 28.38 MB / 0.6654 GB, free: 4.707 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.213e-06/0.6645, allocations: 0 / 0.6654 GB, free: 4.707 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.927e-05/0.6646, allocations: 28.88 kB / 0.6654 GB, free: 4.68 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.004648/0.6692, allocations: 1.859 MB / 0.6673 GB, free: 2.777 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.6693, allocations: 8.594 kB / 0.6673 GB, free: 2.77 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003168/0.6725, allocations: 0.5757 MB / 0.6678 GB, free: 2.191 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001512/0.674, allocations: 0.8346 MB / 0.6686 GB, free: 1.301 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002044/0.6742, allocations: 210.5 kB / 0.6688 GB, free: 1.066 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001323/0.6743, allocations: 55.95 kB / 0.6689 GB, free: 1.012 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001513/0.6759, allocations: 0.9178 MB / 0.6698 GB, free: 96 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001635/0.6775, allocations: 1.022 MB / 0.6708 GB, free: 15.03 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.6775, allocations: 6.359 kB / 0.6708 GB, free: 15.03 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.333e-05/0.6776, allocations: 4 kB / 0.6708 GB, free: 15.02 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.6777, allocations: 23.94 kB / 0.6708 GB, free: 15 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005796/0.6835, allocations: 4.101 MB / 0.6748 GB, free: 10.75 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002306/0.6858, allocations: 1.497 MB / 0.6763 GB, free: 9.137 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008203/0.6866, allocations: 0.6243 MB / 0.6769 GB, free: 8.512 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001112/0.6868, allocations: 17.97 kB / 0.6769 GB, free: 8.492 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.8e-05/0.6868, allocations: 43.88 kB / 0.677 GB, free: 8.441 MB / 490.7 MB Notification: Performance of pre-optimization done (n=107): time 2.926e-06/0.6868, allocations: 0 / 0.677 GB, free: 8.441 MB / 490.7 MB Notification: Performance of matching and sorting (n=107): time 0.01268/0.6995, allocations: 4.247 MB / 0.6811 GB, free: 4.176 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.435e-05/0.6996, allocations: 116.1 kB / 0.6812 GB, free: 4.039 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00113/0.7007, allocations: 0.7696 MB / 0.682 GB, free: 3.258 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001867/0.7009, allocations: 25.7 kB / 0.682 GB, free: 3.227 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003845/0.7013, allocations: 0.5721 MB / 0.6826 GB, free: 2.648 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003911/0.7017, allocations: 362.5 kB / 0.6829 GB, free: 2.289 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.07e-05/0.7018, allocations: 0 / 0.6829 GB, free: 2.289 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001123/0.7019, allocations: 345.9 kB / 0.6832 GB, free: 1.945 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007297/0.7027, allocations: 466.6 kB / 0.6837 GB, free: 1.488 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008115/0.7035, allocations: 0.625 MB / 0.6843 GB, free: 0.8047 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007819/0.7043, allocations: 0.5151 MB / 0.6848 GB, free: 300 kB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.998e-06/0.7043, allocations: 0 / 0.6848 GB, free: 300 kB / 490.7 MB Notification: Performance of matching and sorting (n=135) (initialization): time 0.01306/0.7173, allocations: 4.437 MB / 0.6891 GB, free: 11.84 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0006659/0.7181, allocations: 1.5 MB / 0.6906 GB, free: 10.24 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.407e-05/0.7181, allocations: 8.688 kB / 0.6906 GB, free: 10.23 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005855/0.7239, allocations: 1.749 MB / 0.6923 GB, free: 8.477 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008043/0.7248, allocations: 163.7 kB / 0.6925 GB, free: 8.316 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01496/0.7397, allocations: 7.492 MB / 0.6998 GB, free: 0.707 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001566/0.7413, allocations: 187 kB / 0.7 GB, free: 0.5234 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.709e-05/0.7414, allocations: 36 kB / 0.7 GB, free: 500 kB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.7415, allocations: 4 kB / 0.7 GB, free: 496 kB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0127/0.7542, allocations: 4.246 MB / 0.7041 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.538e-05/0.7542, allocations: 5.781 kB / 0.7041 GB, free: 12.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005499/0.7597, allocations: 1.761 MB / 0.7059 GB, free: 10.46 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007355/0.7605, allocations: 147.8 kB / 0.706 GB, free: 10.32 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0147/0.7752, allocations: 7.492 MB / 0.7133 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.7767, allocations: 159.2 kB / 0.7135 GB, free: 2.531 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/0.7768, allocations: 39.95 kB / 0.7135 GB, free: 2.492 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.0003889/0.7772, allocations: 139.8 kB / 0.7136 GB, free: 2.352 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002371/0.7775, allocations: 134.4 kB / 0.7138 GB, free: 2.219 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01285/0.7903, allocations: 4.333 MB / 0.718 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.046e-05/0.7904, allocations: 19.08 kB / 0.718 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.74e-06/0.7904, allocations: 3.984 kB / 0.718 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.066e-05/0.7904, allocations: 5.016 kB / 0.718 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01533/0.8058, allocations: 6.004 MB / 0.7239 GB, free: 7.715 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.8058, allocations: 4 kB / 0.7239 GB, free: 7.711 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007719/0.8066, allocations: 119.9 kB / 0.724 GB, free: 7.594 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005361/0.812, allocations: 1.727 MB / 0.7257 GB, free: 5.863 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001798/0.8122, allocations: 7.984 kB / 0.7257 GB, free: 5.855 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01339/0.8256, allocations: 6.55 MB / 0.7321 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.44e-06/0.8256, allocations: 0 / 0.7321 GB, free: 15.18 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01462/0.8402, allocations: 5.15 MB / 0.7371 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006262/0.8409, allocations: 215.2 kB / 0.7373 GB, free: 9.785 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001862/0.8411, allocations: 8 kB / 0.7373 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001191/0.8423, allocations: 125.1 kB / 0.7375 GB, free: 9.656 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005984/0.8429, allocations: 208.9 kB / 0.7377 GB, free: 9.453 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.644e-05/0.843, allocations: 31.19 kB / 0.7377 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008079/0.8438, allocations: 0.5874 MB / 0.7383 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8438, allocations: 0 / 0.7383 GB, free: 8.832 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002772/0.8466, allocations: 0.6745 MB / 0.7389 GB, free: 8.156 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.0003923/0.847, allocations: 137.1 kB / 0.7391 GB, free: 8.012 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01189/0.8589, allocations: 3.687 MB / 0.7427 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 5.951e-06/0.859, allocations: 0.5625 kB / 0.7427 GB, free: 4.305 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.004484/0.8635, allocations: 1.508 MB / 0.7441 GB, free: 2.793 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00102/0.8645, allocations: 94.81 kB / 0.7442 GB, free: 2.703 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003318/0.8679, allocations: 1.659 MB / 0.7458 GB, free: 1.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008415/0.8687, allocations: 1.199 MB / 0.747 GB, free: 15.79 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0007772/0.8695, allocations: 165.1 kB / 0.7472 GB, free: 15.63 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.8697, allocations: 59.42 kB / 0.7472 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of SimCode: time 9.82e-07/0.8697, allocations: 0 / 0.7472 GB, free: 15.57 MB / 0.5573 GB Notification: Performance of Templates: time 0.3115/1.181, allocations: 29.22 MB / 0.7758 GB, free: 142 MB / 0.5573 GB 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)