Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo) Using package Modelica with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo) Using package Complex with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Running command: translateModel(Annex60.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Annex60.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3394/0.3394, allocations: 54.42 MB / 61.89 MB, free: 13.73 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.2+maint.om/package.mo): time 0.001112/0.001112, allocations: 183.7 kB / 75.61 MB, free: 0.7656 MB / 58.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.557/1.557, allocations: 194.3 MB / 283.5 MB, free: 14.86 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001676/0.001675, allocations: 108.5 kB / 341.6 MB, free: 4.043 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.963e-05/1.975e-05, allocations: 4 kB / 405.5 MB, free: 4.152 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4432/0.4432, allocations: 57.65 MB / 463.1 MB, free: 51.74 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1339/0.5772, allocations: 91.57 MB / 0.5417 GB, free: 9.586 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.5775, allocations: 75.95 kB / 0.5418 GB, free: 9.512 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03355/0.611, allocations: 12.52 MB / 0.554 GB, free: 13.11 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.383e-06/0.6111, allocations: 0 / 0.554 GB, free: 13.11 MB / 410.7 MB Notification: Performance of Transformations before backend: time 7.529e-05/0.6112, allocations: 16 kB / 0.554 GB, free: 13.09 MB / 410.7 MB 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.002028/0.6132, allocations: 0.8722 MB / 0.5549 GB, free: 12.17 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.437e-05/0.6133, allocations: 8.031 kB / 0.5549 GB, free: 12.16 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003236/0.6136, allocations: 88.34 kB / 0.555 GB, free: 12.07 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.6147, allocations: 0.5273 MB / 0.5555 GB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.594e-05/0.6148, allocations: 20 kB / 0.5555 GB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001361/0.6149, allocations: 40.36 kB / 0.5555 GB, free: 11.45 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009371/0.6159, allocations: 394.6 kB / 0.5559 GB, free: 11.07 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009753/0.6169, allocations: 0.5254 MB / 0.5564 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.75e-05/0.6169, allocations: 0 / 0.5564 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.479e-05/0.617, allocations: 0 / 0.5564 GB, free: 10.51 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.617, allocations: 16 kB / 0.5564 GB, free: 10.49 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003473/0.6205, allocations: 1.992 MB / 0.5584 GB, free: 8.449 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007298/0.6212, allocations: 419.5 kB / 0.5588 GB, free: 8.031 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003153/0.6215, allocations: 202.5 kB / 0.559 GB, free: 7.828 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.748e-05/0.6216, allocations: 8.438 kB / 0.559 GB, free: 7.82 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004384/0.6221, allocations: 240.5 kB / 0.5592 GB, free: 7.574 MB / 410.7 MB Notification: Performance of pre-optimization done (n=50): time 2.414e-06/0.6221, allocations: 0 / 0.5592 GB, free: 7.574 MB / 410.7 MB Notification: Performance of matching and sorting (n=50): time 0.0007989/0.6229, allocations: 403.4 kB / 0.5596 GB, free: 7.172 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.953e-05/0.623, allocations: 164.3 kB / 0.5598 GB, free: 6.977 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004653/0.6235, allocations: 349.2 kB / 0.5601 GB, free: 6.633 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.403e-05/0.6235, allocations: 25.7 kB / 0.5601 GB, free: 6.602 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002608/0.6238, allocations: 321 kB / 0.5604 GB, free: 6.285 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.624, allocations: 165.6 kB / 0.5606 GB, free: 6.121 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.289e-05/0.624, allocations: 448 / 0.5606 GB, free: 6.121 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001828/0.6242, allocations: 366.8 kB / 0.5609 GB, free: 5.754 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000261/0.6244, allocations: 145.1 kB / 0.5611 GB, free: 5.613 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003428/0.6248, allocations: 254.4 kB / 0.5613 GB, free: 5.328 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003014/0.6251, allocations: 178.1 kB / 0.5615 GB, free: 5.156 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.6251, allocations: 0 / 0.5615 GB, free: 5.156 MB / 410.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.0008132/0.6259, allocations: 470.3 kB / 0.5619 GB, free: 4.691 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003756/0.6263, allocations: 0.6397 MB / 0.5626 GB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.319e-05/0.6263, allocations: 4 kB / 0.5626 GB, free: 3.992 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.752e-05/0.6264, allocations: 11.94 kB / 0.5626 GB, free: 3.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000533/0.6269, allocations: 119.8 kB / 0.5627 GB, free: 3.863 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.469e-05/0.6269, allocations: 8 kB / 0.5627 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004882/0.6274, allocations: 71.55 kB / 0.5628 GB, free: 3.785 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.797e-05/0.6275, allocations: 17.31 kB / 0.5628 GB, free: 3.77 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/0.6275, allocations: 8 kB / 0.5628 GB, free: 3.762 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006907/0.6282, allocations: 381.3 kB / 0.5632 GB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.6282, allocations: 0 / 0.5632 GB, free: 3.391 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.437e-06/0.6283, allocations: 4 kB / 0.5632 GB, free: 3.387 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000425/0.6287, allocations: 114.8 kB / 0.5633 GB, free: 3.277 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.327e-06/0.6287, allocations: 4 kB / 0.5633 GB, free: 3.273 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003834/0.6291, allocations: 51.84 kB / 0.5633 GB, free: 3.223 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.782e-05/0.6291, allocations: 20 kB / 0.5633 GB, free: 3.203 MB / 410.7 MB 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.0001652/0.6293, allocations: 116.8 kB / 0.5635 GB, free: 3.082 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001003/0.6294, allocations: 59.33 kB / 0.5635 GB, free: 3.023 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001686/0.6296, allocations: 61.2 kB / 0.5636 GB, free: 2.965 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.364e-06/0.6296, allocations: 4 kB / 0.5636 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.718e-06/0.6296, allocations: 0 / 0.5636 GB, free: 2.961 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.876e-06/0.6296, allocations: 4.641 kB / 0.5636 GB, free: 2.957 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001779/0.6314, allocations: 1.104 MB / 0.5647 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.269e-06/0.6314, allocations: 0 / 0.5647 GB, free: 1.812 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000517/0.632, allocations: 111.8 kB / 0.5648 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.217e-05/0.632, allocations: 4 kB / 0.5648 GB, free: 1.699 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.511e-05/0.632, allocations: 7.922 kB / 0.5648 GB, free: 1.691 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.418e-06/0.632, allocations: 4 kB / 0.5648 GB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.6321, allocations: 1.969 kB / 0.5648 GB, free: 1.688 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001065/0.6331, allocations: 0.7095 MB / 0.5655 GB, free: 0.9609 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002437/0.6334, allocations: 180.3 kB / 0.5656 GB, free: 0.7656 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.855e-05/0.6335, allocations: 8 kB / 0.5656 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003842/0.6339, allocations: 39.95 kB / 0.5657 GB, free: 0.7188 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.634, allocations: 40.38 kB / 0.5657 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.031e-05/0.634, allocations: 16.12 kB / 0.5657 GB, free: 0.6641 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0003164/0.6344, allocations: 271 kB / 0.566 GB, free: 412 kB / 410.7 MB Notification: Performance of sort global known variables: time 3.016e-06/0.6344, allocations: 0 / 0.566 GB, free: 412 kB / 410.7 MB Notification: Performance of remove unused functions: time 0.0007948/0.6352, allocations: 246.9 kB / 0.5662 GB, free: 164 kB / 410.7 MB 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.0001954/0.6354, allocations: 108.4 kB / 0.5663 GB, free: 44 kB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001112/0.6365, allocations: 0.7148 MB / 0.567 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.945e-06/0.6365, allocations: 192 / 0.567 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003104/0.6368, allocations: 205.5 kB / 0.5672 GB, free: 15.09 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006998/0.6375, allocations: 129.7 kB / 0.5674 GB, free: 14.97 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002987/0.6405, allocations: 1.247 MB / 0.5686 GB, free: 13.7 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005925/0.6411, allocations: 0.9068 MB / 0.5695 GB, free: 12.76 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005382/0.6417, allocations: 91.44 kB / 0.5695 GB, free: 12.67 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001212/0.6418, allocations: 35.44 kB / 0.5696 GB, free: 12.64 MB / 426.7 MB Notification: Performance of SimCode: time 2.234e-06/0.6418, allocations: 0 / 0.5696 GB, free: 12.64 MB / 426.7 MB Notification: Performance of Templates: time 0.01479/0.6566, allocations: 6.732 MB / 0.5762 GB, free: 5.992 MB / 426.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)