Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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/IDEAS 3.0.0/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) 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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009372/0.0009374, allocations: 169.2 kB / 7.64 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8653/0.8653, allocations: 130.7 MB / 138.8 MB, free: 3.613 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.484/1.484, allocations: 221.5 MB / 391.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00109/0.00109, allocations: 102.9 kB / 473.9 MB, free: 4.473 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.75e-05/1.75e-05, allocations: 0 / 0.5485 GB, free: 13.08 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4467/0.4467, allocations: 81.57 MB / 0.6282 GB, free: 42.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.5925, allocations: 117 MB / 0.7424 GB, free: 9.816 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002333/0.5928, allocations: 79.95 kB / 0.7425 GB, free: 9.738 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.03242/0.6252, allocations: 12.25 MB / 0.7544 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.533e-06/0.6253, allocations: 4 kB / 0.7544 GB, free: 13.46 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 6.083e-05/0.6253, allocations: 20 kB / 0.7544 GB, free: 13.44 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001634/0.627, allocations: 0.8722 MB / 0.7553 GB, free: 12.52 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.627, allocations: 12.03 kB / 0.7553 GB, free: 12.5 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001586/0.6272, allocations: 83.06 kB / 0.7554 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000755/0.628, allocations: 0.5233 MB / 0.7559 GB, free: 11.86 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.06e-05/0.628, allocations: 20 kB / 0.7559 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.118e-05/0.6281, allocations: 36 kB / 0.756 GB, free: 11.8 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007399/0.6288, allocations: 394.6 kB / 0.7563 GB, free: 11.42 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008649/0.6297, allocations: 0.5247 MB / 0.7568 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.138e-05/0.6297, allocations: 3.906 kB / 0.7568 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.428e-05/0.6298, allocations: 0 / 0.7568 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.579e-05/0.6298, allocations: 16 kB / 0.7569 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002931/0.6328, allocations: 1.98 MB / 0.7588 GB, free: 8.809 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006623/0.6334, allocations: 411.5 kB / 0.7592 GB, free: 8.398 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000288/0.6337, allocations: 206.5 kB / 0.7594 GB, free: 8.191 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.113e-05/0.6338, allocations: 4.438 kB / 0.7594 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004064/0.6342, allocations: 240.5 kB / 0.7596 GB, free: 7.941 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=50): time 1.953e-06/0.6342, allocations: 0 / 0.7596 GB, free: 7.941 MB / 0.5417 GB Notification: Performance of matching and sorting (n=50): time 0.0006961/0.6349, allocations: 400.1 kB / 0.76 GB, free: 7.543 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.025e-05/0.635, allocations: 162.7 kB / 0.7602 GB, free: 7.348 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004171/0.6354, allocations: 349.2 kB / 0.7605 GB, free: 7 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 4.308e-05/0.6355, allocations: 25.7 kB / 0.7605 GB, free: 6.969 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002453/0.6357, allocations: 324.2 kB / 0.7608 GB, free: 6.648 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001295/0.6359, allocations: 161.6 kB / 0.761 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.208e-05/0.6359, allocations: 0 / 0.761 GB, free: 6.488 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001635/0.6361, allocations: 362.8 kB / 0.7613 GB, free: 6.125 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002449/0.6363, allocations: 149.1 kB / 0.7615 GB, free: 5.98 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.6367, allocations: 242.5 kB / 0.7617 GB, free: 5.711 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000292/0.637, allocations: 170.1 kB / 0.7619 GB, free: 5.543 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.637, allocations: 0 / 0.7619 GB, free: 5.543 MB / 0.5417 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0007448/0.6377, allocations: 474.3 kB / 0.7623 GB, free: 5.074 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 4.201e-05/0.6378, allocations: 41.62 kB / 0.7623 GB, free: 5.027 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6378, allocations: 0 / 0.7623 GB, free: 5.027 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.778e-05/0.6378, allocations: 4.188 kB / 0.7624 GB, free: 5.023 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005234/0.6383, allocations: 123.9 kB / 0.7625 GB, free: 4.902 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.679e-06/0.6384, allocations: 7.938 kB / 0.7625 GB, free: 4.895 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004444/0.6388, allocations: 71.55 kB / 0.7625 GB, free: 4.824 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.04e-05/0.6389, allocations: 16 kB / 0.7626 GB, free: 4.809 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.conPID.trigger,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (64): * Single equations (assignments): 63 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001373/0.639, allocations: 118.3 kB / 0.7627 GB, free: 4.688 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.534e-05/0.6391, allocations: 59.38 kB / 0.7627 GB, free: 4.629 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001336/0.6392, allocations: 53.2 kB / 0.7628 GB, free: 4.574 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.6393, allocations: 4 kB / 0.7628 GB, free: 4.57 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.014e-05/0.6393, allocations: 8 kB / 0.7628 GB, free: 4.562 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.383e-06/0.6393, allocations: 7.922 kB / 0.7628 GB, free: 4.555 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001565/0.6408, allocations: 1.104 MB / 0.7639 GB, free: 3.406 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.918e-06/0.6409, allocations: 3.953 kB / 0.7639 GB, free: 3.402 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005323/0.6414, allocations: 107.9 kB / 0.764 GB, free: 3.297 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.6414, allocations: 7.984 kB / 0.764 GB, free: 3.289 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.174e-05/0.6415, allocations: 8 kB / 0.764 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.405e-06/0.6415, allocations: 0 / 0.764 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.755e-06/0.6415, allocations: 0 / 0.764 GB, free: 3.281 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009845/0.6425, allocations: 0.7133 MB / 0.7647 GB, free: 2.551 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002151/0.6427, allocations: 184.3 kB / 0.7649 GB, free: 2.352 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.637e-05/0.6428, allocations: 0 / 0.7649 GB, free: 2.352 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000375/0.6432, allocations: 47.95 kB / 0.7649 GB, free: 2.305 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.081e-05/0.6433, allocations: 36.38 kB / 0.765 GB, free: 2.266 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.993e-05/0.6433, allocations: 12 kB / 0.765 GB, free: 2.254 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002942/0.6436, allocations: 267 kB / 0.7652 GB, free: 1.996 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.01e-07/0.6436, allocations: 0 / 0.7652 GB, free: 1.996 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004766/0.6441, allocations: 143.5 kB / 0.7654 GB, free: 1.855 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.conPID.trigger,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 48 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001625/0.6443, allocations: 108.4 kB / 0.7655 GB, free: 1.742 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0006625/0.6449, allocations: 439.1 kB / 0.7659 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.6449, allocations: 0 / 0.7659 GB, free: 1.305 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0002896/0.6452, allocations: 197.6 kB / 0.7661 GB, free: 1.109 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006694/0.6459, allocations: 124 kB / 0.7662 GB, free: 0.9922 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002731/0.6486, allocations: 1.243 MB / 0.7674 GB, free: 15.72 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004901/0.6492, allocations: 0.9057 MB / 0.7683 GB, free: 14.79 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0003014/0.6495, allocations: 68.34 kB / 0.7683 GB, free: 14.71 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/0.6496, allocations: 35.44 kB / 0.7684 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of SimCode: time 6.41e-07/0.6496, allocations: 0 / 0.7684 GB, free: 14.68 MB / 0.5573 GB Notification: Performance of Templates: time 0.0104/0.66, allocations: 5.497 MB / 0.7737 GB, free: 9.258 MB / 0.5573 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)