Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.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.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer") translateModel(Annex60.Controls.Continuous.Examples.PIDHysteresisTimer,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3045/0.3045, allocations: 55.02 MB / 69.96 MB, free: 8.68 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.001287/0.001287, allocations: 194.6 kB / 83.98 MB, free: 10.85 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.2+maint.om/package.mo): time 1.715/1.715, allocations: 194.4 MB / 292.3 MB, free: 3.598 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.2+maint.om/package.mo): time 0.001717/0.001717, allocations: 112.6 kB / 350.7 MB, free: 9.102 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000377/0.000377, allocations: 12 kB / 418.9 MB, free: 37.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.146/0.1464, allocations: 57.65 MB / 476.5 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4913/0.6378, allocations: 93.27 MB / 0.5564 GB, free: 12.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.6382, allocations: 78.84 kB / 0.5565 GB, free: 12.2 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02066/0.6588, allocations: 7.608 MB / 0.5639 GB, free: 5.809 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.975e-06/0.6589, allocations: 0 / 0.5639 GB, free: 5.809 MB / 378.7 MB Notification: Performance of Transformations before backend: time 7.35e-05/0.659, allocations: 12 kB / 0.5639 GB, free: 5.797 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001756/0.6608, allocations: 0.7037 MB / 0.5646 GB, free: 5.074 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.288e-05/0.6608, allocations: 12.03 kB / 0.5646 GB, free: 5.062 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002319/0.6611, allocations: 58.22 kB / 0.5647 GB, free: 5.008 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007415/0.6618, allocations: 394.7 kB / 0.5651 GB, free: 4.645 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.575e-05/0.6619, allocations: 31.44 kB / 0.5651 GB, free: 4.629 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.025e-05/0.662, allocations: 41.91 kB / 0.5651 GB, free: 4.602 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007889/0.6628, allocations: 422.3 kB / 0.5655 GB, free: 4.277 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.923e-05/0.6628, allocations: 3.984 kB / 0.5656 GB, free: 4.273 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.015e-05/0.6628, allocations: 17.69 kB / 0.5656 GB, free: 4.27 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.168e-05/0.6629, allocations: 8 kB / 0.5656 GB, free: 4.262 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005592/0.6634, allocations: 295.4 kB / 0.5659 GB, free: 4.062 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002093/0.6655, allocations: 1.383 MB / 0.5672 GB, free: 2.867 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007539/0.6663, allocations: 362.8 kB / 0.5676 GB, free: 2.617 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.612e-05/0.6664, allocations: 4.5 kB / 0.5676 GB, free: 2.613 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004075/0.6668, allocations: 188.6 kB / 0.5677 GB, free: 2.461 MB / 378.7 MB Notification: Performance of pre-optimization done (n=33): time 2.334e-06/0.6668, allocations: 0 / 0.5677 GB, free: 2.461 MB / 378.7 MB Notification: Performance of matching and sorting (n=33): time 0.0009338/0.6677, allocations: 437.5 kB / 0.5682 GB, free: 2.137 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001177/0.6679, allocations: 143.9 kB / 0.5683 GB, free: 1.969 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004174/0.6683, allocations: 316.6 kB / 0.5686 GB, free: 1.723 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 4.511e-05/0.6683, allocations: 36.52 kB / 0.5686 GB, free: 1.688 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001813/0.6685, allocations: 231.5 kB / 0.5688 GB, free: 1.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00011/0.6686, allocations: 100.5 kB / 0.5689 GB, free: 1.43 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.547e-05/0.6687, allocations: 13 kB / 0.569 GB, free: 1.422 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001928/0.6689, allocations: 350 kB / 0.5693 GB, free: 1.09 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002572/0.6691, allocations: 111.8 kB / 0.5694 GB, free: 1.02 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000321/0.6695, allocations: 190.1 kB / 0.5696 GB, free: 0.8555 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003152/0.6698, allocations: 129.3 kB / 0.5697 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.969e-06/0.6698, allocations: 0 / 0.5697 GB, free: 0.7773 MB / 378.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0007569/0.6706, allocations: 364.8 kB / 0.5701 GB, free: 0.5078 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002545/0.6709, allocations: 456.3 kB / 0.5705 GB, free: 36 kB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.166e-06/0.6709, allocations: 0 / 0.5705 GB, free: 36 kB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.035e-05/0.6709, allocations: 4 kB / 0.5705 GB, free: 32 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003215/0.6712, allocations: 72.02 kB / 0.5706 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.51e-05/0.6713, allocations: 7.953 kB / 0.5706 GB, free: 15.96 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002579/0.6715, allocations: 46.73 kB / 0.5706 GB, free: 15.92 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.332e-05/0.6716, allocations: 19.59 kB / 0.5706 GB, free: 15.9 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.6716, allocations: 4 kB / 0.5706 GB, free: 15.9 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000533/0.6721, allocations: 273.6 kB / 0.5709 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.026e-06/0.6722, allocations: 0 / 0.5709 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.213e-06/0.6722, allocations: 4 kB / 0.5709 GB, free: 15.72 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002379/0.6724, allocations: 63.09 kB / 0.571 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.274e-06/0.6724, allocations: 4 kB / 0.571 GB, free: 15.66 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.6727, allocations: 42.11 kB / 0.571 GB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.489e-05/0.6727, allocations: 12 kB / 0.571 GB, free: 15.61 MB / 394.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition3,$whenCondition2,$whenCondition1,$PRE.con.offHys.entryTime,con.offHys.entryTime,$PRE.con.onTimer.entryTime,con.onTimer.entryTime,$PRE.con.offTimer.entryTime,con.offTimer.entryTime,con.on,$PRE.con.hys.y,con.hys.y,con.and3.u1,con.con.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 43 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002963/0.673, allocations: 255.1 kB / 0.5713 GB, free: 15.38 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.886e-05/0.6731, allocations: 43.53 kB / 0.5713 GB, free: 15.34 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001015/0.6732, allocations: 49.3 kB / 0.5713 GB, free: 15.32 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.589e-06/0.6732, allocations: 4 kB / 0.5713 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/0.6732, allocations: 0 / 0.5713 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.6732, allocations: 0 / 0.5713 GB, free: 15.31 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001245/0.6745, allocations: 0.8705 MB / 0.5722 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6745, allocations: 3.984 kB / 0.5722 GB, free: 14.59 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002589/0.6748, allocations: 51.23 kB / 0.5723 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.536e-06/0.6748, allocations: 3.984 kB / 0.5723 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.69e-05/0.6748, allocations: 7.125 kB / 0.5723 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.6748, allocations: 0 / 0.5723 GB, free: 14.54 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.6748, allocations: 4 kB / 0.5723 GB, free: 14.53 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009022/0.6757, allocations: 0.5725 MB / 0.5728 GB, free: 14.08 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001866/0.6759, allocations: 144 kB / 0.573 GB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.363e-05/0.676, allocations: 11.69 kB / 0.573 GB, free: 13.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002556/0.6763, allocations: 27.86 kB / 0.573 GB, free: 13.91 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001169/0.6764, allocations: 27.64 kB / 0.573 GB, free: 13.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.342e-05/0.6765, allocations: 11.12 kB / 0.573 GB, free: 13.88 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0003377/0.6768, allocations: 250.5 kB / 0.5733 GB, free: 13.69 MB / 394.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.6768, allocations: 0 / 0.5733 GB, free: 13.69 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005991/0.6774, allocations: 158.9 kB / 0.5734 GB, free: 13.55 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.con.I.y,cap.T) * Number of discrete variables: 9 (con.on,$whenCondition3,$whenCondition2,$whenCondition1,con.offHys.entryTime,con.onTimer.entryTime,con.offTimer.entryTime,con.hys.y,con.and3.u1) * Number of discrete states: 1 (con.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0002183/0.6776, allocations: 109.4 kB / 0.5735 GB, free: 13.43 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0008523/0.6785, allocations: 456.7 kB / 0.574 GB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.6785, allocations: 0 / 0.574 GB, free: 13.11 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002871/0.6788, allocations: 157.1 kB / 0.5741 GB, free: 12.99 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004638/0.6793, allocations: 75.17 kB / 0.5742 GB, free: 12.94 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.681, allocations: 0.9873 MB / 0.5752 GB, free: 12 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004595/0.6815, allocations: 0.8237 MB / 0.576 GB, free: 11.15 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002503/0.6818, allocations: 51.25 kB / 0.576 GB, free: 11.1 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.688e-05/0.6819, allocations: 31.42 kB / 0.576 GB, free: 11.07 MB / 394.7 MB Notification: Performance of SimCode: time 5.01e-07/0.6819, allocations: 0 / 0.576 GB, free: 11.07 MB / 394.7 MB Notification: Performance of Templates: time 0.009036/0.6909, allocations: 3.916 MB / 0.5799 GB, free: 7.184 MB / 394.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresisTimer.pipe 2>&1)