Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.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.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis") translateModel(Annex60.Controls.Continuous.Examples.PIDHysteresis,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3269/0.3269, allocations: 54.33 MB / 66.89 MB, free: 6.098 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.001881/0.001881, allocations: 179.8 kB / 80.71 MB, free: 15.39 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.809/1.809, allocations: 194.2 MB / 288.6 MB, free: 15.05 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.001829/0.001829, allocations: 112.1 kB / 346.9 MB, free: 4.781 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 3.507e-05/3.509e-05, allocations: 8 kB / 412.4 MB, free: 21.46 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1316/0.1317, allocations: 57.63 MB / 470 MB, free: 11.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.473/0.6047, allocations: 92.15 MB / 0.549 GB, free: 14.28 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002781/0.6051, allocations: 75.95 kB / 0.5491 GB, free: 14.21 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01918/0.6243, allocations: 6.947 MB / 0.5558 GB, free: 7.242 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.6243, allocations: 0 / 0.5558 GB, free: 7.242 MB / 394.7 MB Notification: Performance of Transformations before backend: time 3.857e-05/0.6244, allocations: 8 kB / 0.5559 GB, free: 7.234 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.0009202/0.6253, allocations: 0.6017 MB / 0.5564 GB, free: 6.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.353e-05/0.6254, allocations: 8.031 kB / 0.5564 GB, free: 6.582 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.724e-05/0.6255, allocations: 47.44 kB / 0.5565 GB, free: 6.535 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006491/0.6261, allocations: 388.3 kB / 0.5569 GB, free: 6.113 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.211e-05/0.6262, allocations: 20.78 kB / 0.5569 GB, free: 6.094 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.223e-05/0.6262, allocations: 27.95 kB / 0.5569 GB, free: 6.066 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006389/0.6269, allocations: 343.7 kB / 0.5572 GB, free: 5.703 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.79e-05/0.6269, allocations: 11.94 kB / 0.5572 GB, free: 5.691 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.901e-05/0.627, allocations: 12 kB / 0.5573 GB, free: 5.68 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.52e-05/0.627, allocations: 12 kB / 0.5573 GB, free: 5.668 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004019/0.6274, allocations: 202.2 kB / 0.5575 GB, free: 5.473 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001835/0.6292, allocations: 1.252 MB / 0.5587 GB, free: 4.141 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005109/0.6298, allocations: 233.6 kB / 0.5589 GB, free: 3.906 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.6299, allocations: 105.2 kB / 0.559 GB, free: 3.801 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.636e-05/0.63, allocations: 12.06 kB / 0.559 GB, free: 3.789 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.464e-05/0.63, allocations: 30.75 kB / 0.5591 GB, free: 3.75 MB / 394.7 MB Notification: Performance of pre-optimization done (n=22): time 1.953e-06/0.63, allocations: 4 kB / 0.5591 GB, free: 3.746 MB / 394.7 MB Notification: Performance of matching and sorting (n=22): time 0.0004654/0.6305, allocations: 216 kB / 0.5593 GB, free: 3.531 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001044/0.6306, allocations: 158.2 kB / 0.5594 GB, free: 3.34 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003589/0.631, allocations: 299.6 kB / 0.5597 GB, free: 3.039 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 4.241e-05/0.631, allocations: 29.7 kB / 0.5597 GB, free: 3.004 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000179/0.6312, allocations: 224.1 kB / 0.5599 GB, free: 2.781 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.645e-05/0.6313, allocations: 74.84 kB / 0.56 GB, free: 2.707 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.275e-05/0.6313, allocations: 4 kB / 0.56 GB, free: 2.703 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.6315, allocations: 350.8 kB / 0.5603 GB, free: 2.352 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001368/0.6317, allocations: 72 kB / 0.5604 GB, free: 2.281 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001921/0.6319, allocations: 156.2 kB / 0.5606 GB, free: 2.102 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.632, allocations: 85.16 kB / 0.5606 GB, free: 2.02 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.6321, allocations: 0 / 0.5606 GB, free: 2.02 MB / 394.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.0003927/0.6325, allocations: 253.2 kB / 0.5609 GB, free: 1.766 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002082/0.6327, allocations: 453 kB / 0.5613 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.893e-06/0.6327, allocations: 0 / 0.5613 GB, free: 1.289 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.239e-05/0.6327, allocations: 7.984 kB / 0.5613 GB, free: 1.281 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002373/0.633, allocations: 51.92 kB / 0.5614 GB, free: 1.23 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.325e-05/0.633, allocations: 7.984 kB / 0.5614 GB, free: 1.223 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002258/0.6332, allocations: 47.73 kB / 0.5614 GB, free: 1.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.84e-05/0.6332, allocations: 4 kB / 0.5614 GB, free: 1.172 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.009e-05/0.6333, allocations: 4 kB / 0.5614 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003144/0.6336, allocations: 195.8 kB / 0.5616 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-06/0.6336, allocations: 0 / 0.5616 GB, free: 0.9766 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.479e-06/0.6336, allocations: 4 kB / 0.5616 GB, free: 0.9727 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001907/0.6338, allocations: 47.91 kB / 0.5617 GB, free: 0.9258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.6338, allocations: 12.02 kB / 0.5617 GB, free: 0.9141 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001906/0.634, allocations: 39.83 kB / 0.5617 GB, free: 0.875 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.554e-05/0.634, allocations: 8 kB / 0.5617 GB, free: 0.8672 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: 3 ($PRE.con.hys.y,con.hys.y,con.PID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (29): * Single equations (assignments): 29 * 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.0001134/0.6342, allocations: 117.6 kB / 0.5618 GB, free: 0.7461 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.346e-05/0.6342, allocations: 35.62 kB / 0.5619 GB, free: 0.7109 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.242e-05/0.6343, allocations: 35.25 kB / 0.5619 GB, free: 0.6797 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.615e-06/0.6343, allocations: 8 kB / 0.5619 GB, free: 0.6719 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.6344, allocations: 7.938 kB / 0.5619 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.681e-06/0.6344, allocations: 7.969 kB / 0.5619 GB, free: 0.6562 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004707/0.6348, allocations: 413.2 kB / 0.5623 GB, free: 208 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.6349, allocations: 4 kB / 0.5623 GB, free: 204 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000228/0.6351, allocations: 47.91 kB / 0.5624 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.334e-06/0.6351, allocations: 0 / 0.5624 GB, free: 156 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.985e-05/0.6351, allocations: 4 kB / 0.5624 GB, free: 152 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.6351, allocations: 4 kB / 0.5624 GB, free: 148 kB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.092e-06/0.6351, allocations: 4 kB / 0.5624 GB, free: 144 kB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007008/0.6359, allocations: 426.9 kB / 0.5628 GB, free: 15.7 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001703/0.636, allocations: 136.7 kB / 0.5629 GB, free: 15.55 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.6361, allocations: 8 kB / 0.5629 GB, free: 15.54 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000233/0.6363, allocations: 32.03 kB / 0.563 GB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.527e-05/0.6364, allocations: 19.97 kB / 0.563 GB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.353e-05/0.6365, allocations: 4 kB / 0.563 GB, free: 15.49 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002865/0.6367, allocations: 242.2 kB / 0.5632 GB, free: 15.25 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.3e-07/0.6368, allocations: 0 / 0.5632 GB, free: 15.25 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0004752/0.6372, allocations: 127.5 kB / 0.5633 GB, free: 15.12 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (con.PID.I.y,cap.T) * Number of discrete variables: 1 (con.hys.y) * Number of discrete states: 1 (con.hys.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 22 * 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 Backend phase and start with SimCode phase: time 0.0002/0.6374, allocations: 115.1 kB / 0.5635 GB, free: 15 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005855/0.638, allocations: 307.1 kB / 0.5637 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.6381, allocations: 4 kB / 0.5637 GB, free: 14.7 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001652/0.6382, allocations: 103.8 kB / 0.5638 GB, free: 14.6 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005381/0.6388, allocations: 65.75 kB / 0.5639 GB, free: 14.54 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001234/0.64, allocations: 0.5104 MB / 0.5644 GB, free: 14 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004718/0.6405, allocations: 0.8038 MB / 0.5652 GB, free: 13.17 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002721/0.6408, allocations: 64.23 kB / 0.5653 GB, free: 13.11 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.032e-05/0.6409, allocations: 35.3 kB / 0.5653 GB, free: 13.07 MB / 410.7 MB Notification: Performance of SimCode: time 1.322e-06/0.6409, allocations: 0 / 0.5653 GB, free: 13.07 MB / 410.7 MB Notification: Performance of Templates: time 0.008462/0.6493, allocations: 4.045 MB / 0.5692 GB, free: 9.059 MB / 410.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.PIDHysteresis.pipe 2>&1)