Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr OpenIPSL_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.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.TGTypeIV_test,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="OpenIPSL_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_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.001608/0.001608, allocations: 168.8 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.344/1.344, allocations: 221.5 MB / 229.6 MB, free: 7.566 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.0009083/0.0009084, allocations: 94.88 kB / 280.5 MB, free: 5.32 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/OpenIPSL 3.0.1/package.mo): time 0.4915/0.4915, allocations: 78.07 MB / 409.3 MB, free: 6.309 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.898e-05/1.899e-05, allocations: 3.938 kB / 484.9 MB, free: 12.22 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1382/0.1382, allocations: 69.36 MB / 0.5413 GB, free: 6.797 MB / 426.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4331/0.5714, allocations: 98.7 MB / 0.6377 GB, free: 0.832 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003039/0.5717, allocations: 88.5 kB / 0.6378 GB, free: 0.7461 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07568/0.6474, allocations: 29.05 MB / 0.6661 GB, free: 3.742 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.6475, allocations: 0 / 0.6661 GB, free: 3.742 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.084e-05/0.6475, allocations: 28 kB / 0.6661 GB, free: 3.715 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.004947/0.6525, allocations: 1.89 MB / 0.668 GB, free: 1.781 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.6526, allocations: 8.031 kB / 0.668 GB, free: 1.773 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003164/0.6557, allocations: 0.5796 MB / 0.6686 GB, free: 1.191 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001645/0.6574, allocations: 0.8741 MB / 0.6694 GB, free: 268 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002611/0.6577, allocations: 202.5 kB / 0.6696 GB, free: 36 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001705/0.6578, allocations: 63.94 kB / 0.6697 GB, free: 15.97 MB / 490.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001738/0.6596, allocations: 0.9334 MB / 0.6706 GB, free: 15.04 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001735/0.6613, allocations: 1.046 MB / 0.6716 GB, free: 13.95 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.6614, allocations: 4 kB / 0.6716 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.986e-05/0.6615, allocations: 3.938 kB / 0.6716 GB, free: 13.94 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.6615, allocations: 24 kB / 0.6716 GB, free: 13.91 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006237/0.6677, allocations: 4.316 MB / 0.6759 GB, free: 9.438 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002424/0.6702, allocations: 1.526 MB / 0.6773 GB, free: 7.785 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009293/0.6711, allocations: 0.6283 MB / 0.678 GB, free: 7.16 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001224/0.6713, allocations: 17.3 kB / 0.678 GB, free: 7.145 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.821e-05/0.6713, allocations: 51.83 kB / 0.678 GB, free: 7.086 MB / 490.7 MB Notification: Performance of pre-optimization done (n=110): time 3.857e-06/0.6713, allocations: 0 / 0.678 GB, free: 7.086 MB / 490.7 MB Notification: Performance of matching and sorting (n=110): time 0.01274/0.6841, allocations: 4.274 MB / 0.6822 GB, free: 2.793 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.052e-05/0.6842, allocations: 116.1 kB / 0.6823 GB, free: 2.652 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.6857, allocations: 0.8147 MB / 0.6831 GB, free: 1.828 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002824/0.686, allocations: 26.27 kB / 0.6831 GB, free: 1.797 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004696/0.6864, allocations: 0.5947 MB / 0.6837 GB, free: 1.195 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003836/0.6868, allocations: 374.4 kB / 0.6841 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.039e-05/0.6869, allocations: 0 / 0.6841 GB, free: 0.8242 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001345/0.687, allocations: 341.9 kB / 0.6844 GB, free: 496 kB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007585/0.6878, allocations: 474.6 kB / 0.6848 GB, free: 24 kB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008969/0.6887, allocations: 0.6473 MB / 0.6855 GB, free: 15.31 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007974/0.6895, allocations: 0.5242 MB / 0.686 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.6895, allocations: 4 kB / 0.686 GB, free: 14.79 MB / 0.4948 GB Notification: Performance of matching and sorting (n=141) (initialization): time 0.0128/0.7023, allocations: 4.457 MB / 0.6903 GB, free: 10.31 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0005984/0.703, allocations: 1.688 MB / 0.692 GB, free: 8.516 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.143e-05/0.703, allocations: 8.609 kB / 0.692 GB, free: 8.508 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005513/0.7085, allocations: 1.753 MB / 0.6937 GB, free: 6.75 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008133/0.7093, allocations: 171.7 kB / 0.6939 GB, free: 6.582 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01487/0.7242, allocations: 7.487 MB / 0.7012 GB, free: 14.97 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001821/0.7261, allocations: 187 kB / 0.7014 GB, free: 14.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.7262, allocations: 36 kB / 0.7014 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.7263, allocations: 4 kB / 0.7014 GB, free: 14.75 MB / 0.5105 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01249/0.7388, allocations: 4.293 MB / 0.7056 GB, free: 10.45 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.207e-05/0.7388, allocations: 7.938 kB / 0.7056 GB, free: 10.44 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005558/0.7444, allocations: 1.758 MB / 0.7073 GB, free: 8.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007704/0.7452, allocations: 155.8 kB / 0.7075 GB, free: 8.527 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01471/0.7599, allocations: 7.487 MB / 0.7148 GB, free: 0.918 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.7615, allocations: 167 kB / 0.7149 GB, free: 0.7539 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.212e-05/0.7616, allocations: 43.98 kB / 0.715 GB, free: 0.7109 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.0005021/0.7621, allocations: 141.9 kB / 0.7151 GB, free: 0.5742 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003377/0.7624, allocations: 138.3 kB / 0.7153 GB, free: 448 kB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01261/0.775, allocations: 4.362 MB / 0.7195 GB, free: 12.05 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.327e-05/0.7751, allocations: 12 kB / 0.7195 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.7751, allocations: 0 / 0.7195 GB, free: 12.04 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.243e-05/0.7752, allocations: 11.91 kB / 0.7195 GB, free: 12.03 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01471/0.7899, allocations: 6.04 MB / 0.7254 GB, free: 5.867 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-05/0.79, allocations: 7.984 kB / 0.7254 GB, free: 5.859 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007745/0.7907, allocations: 126.1 kB / 0.7256 GB, free: 5.738 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005226/0.796, allocations: 1.723 MB / 0.7272 GB, free: 4.012 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001716/0.7962, allocations: 11.98 kB / 0.7273 GB, free: 4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01306/0.8092, allocations: 6.54 MB / 0.7336 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.222e-06/0.8093, allocations: 4 kB / 0.7336 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01397/0.8233, allocations: 5.187 MB / 0.7387 GB, free: 8.133 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005079/0.8238, allocations: 227.1 kB / 0.7389 GB, free: 7.891 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002025/0.824, allocations: 4 kB / 0.7389 GB, free: 7.887 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00115/0.8252, allocations: 131.8 kB / 0.7391 GB, free: 7.758 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005654/0.8258, allocations: 204.9 kB / 0.7392 GB, free: 7.559 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.56e-05/0.8258, allocations: 30.44 kB / 0.7393 GB, free: 7.531 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0008318/0.8267, allocations: 0.6121 MB / 0.7399 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.21e-07/0.8267, allocations: 0.75 kB / 0.7399 GB, free: 6.914 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.002026/0.8287, allocations: 0.6861 MB / 0.7405 GB, free: 6.227 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.000288/0.829, allocations: 140.3 kB / 0.7407 GB, free: 6.082 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01057/0.8396, allocations: 3.724 MB / 0.7443 GB, free: 2.336 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.8397, allocations: 0.5 kB / 0.7443 GB, free: 2.336 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.00445/0.8441, allocations: 1.515 MB / 0.7458 GB, free: 0.8164 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001013/0.8451, allocations: 101.4 kB / 0.7459 GB, free: 0.7227 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003262/0.8484, allocations: 1.747 MB / 0.7476 GB, free: 14.95 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007658/0.8492, allocations: 1.217 MB / 0.7488 GB, free: 13.7 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0008939/0.8501, allocations: 173.2 kB / 0.749 GB, free: 13.52 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001741/0.8503, allocations: 55.42 kB / 0.749 GB, free: 13.47 MB / 0.5573 GB Notification: Performance of SimCode: time 7.21e-07/0.8503, allocations: 4 kB / 0.749 GB, free: 13.46 MB / 0.5573 GB Notification: Performance of Templates: time 0.3382/1.188, allocations: 29.59 MB / 0.7779 GB, free: 142.7 MB / 0.5573 GB make -j1 -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.makefile (rm -f OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; mkfifo OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe ; head -c 1048576 < OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe >> ../files/OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.sim & ./OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test -abortSlowSimulation -alarm=480 -lv LOG_STATS > OpenIPSL_OpenIPSL.Tests.Controls.PSAT.TG.TGTypeIV_test.pipe 2>&1)