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.3034/0.3034, allocations: 55.01 MB / 69.96 MB, free: 8.641 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.002054/0.002054, allocations: 185.8 kB / 83.98 MB, free: 10.82 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.77/1.77, allocations: 194.4 MB / 292.3 MB, free: 3.586 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.001878/0.001878, allocations: 108.4 kB / 350.7 MB, free: 9.094 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005498/0.0005494, allocations: 12 kB / 418.9 MB, free: 37.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1846, allocations: 57.65 MB / 476.5 MB, free: 11.3 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4676/0.6523, allocations: 92.22 MB / 0.5554 GB, free: 13.25 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003009/0.6526, allocations: 84.88 kB / 0.5555 GB, free: 13.21 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01808/0.6707, allocations: 6.985 MB / 0.5623 GB, free: 7.344 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.755e-06/0.6708, allocations: 0 / 0.5623 GB, free: 7.344 MB / 378.7 MB Notification: Performance of Transformations before backend: time 5.437e-05/0.6709, allocations: 12.12 kB / 0.5623 GB, free: 7.332 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: 72 * Number of variables: 72 Notification: Performance of Generate backend data structure: time 0.001252/0.6721, allocations: 0.6536 MB / 0.563 GB, free: 6.66 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4e-05/0.6722, allocations: 8.031 kB / 0.563 GB, free: 6.652 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.6723, allocations: 47.44 kB / 0.563 GB, free: 6.605 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006438/0.673, allocations: 383.8 kB / 0.5634 GB, free: 6.25 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.748e-05/0.673, allocations: 22.72 kB / 0.5634 GB, free: 6.238 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-05/0.6731, allocations: 37.36 kB / 0.5634 GB, free: 6.211 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007174/0.6738, allocations: 366 kB / 0.5638 GB, free: 5.922 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.304e-05/0.6738, allocations: 3.938 kB / 0.5638 GB, free: 5.918 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.057e-05/0.6739, allocations: 11.25 kB / 0.5638 GB, free: 5.914 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.221e-05/0.6739, allocations: 8 kB / 0.5638 GB, free: 5.906 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005421/0.6745, allocations: 247.7 kB / 0.564 GB, free: 5.746 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002153/0.6766, allocations: 1.244 MB / 0.5653 GB, free: 4.652 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000679/0.6773, allocations: 282.5 kB / 0.5655 GB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.61e-05/0.6774, allocations: 192 / 0.5655 GB, free: 4.453 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.511e-05/0.6774, allocations: 34.75 kB / 0.5656 GB, free: 4.41 MB / 378.7 MB Notification: Performance of pre-optimization done (n=22): time 1.412e-06/0.6774, allocations: 0 / 0.5656 GB, free: 4.41 MB / 378.7 MB Notification: Performance of matching and sorting (n=22): time 0.0007836/0.6782, allocations: 349.9 kB / 0.5659 GB, free: 4.152 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.418e-05/0.6783, allocations: 158.2 kB / 0.566 GB, free: 3.961 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003616/0.6787, allocations: 317.4 kB / 0.5663 GB, free: 3.703 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.413e-05/0.6787, allocations: 33.08 kB / 0.5664 GB, free: 3.668 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001582/0.6789, allocations: 210.1 kB / 0.5666 GB, free: 3.516 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.197e-05/0.679, allocations: 77.59 kB / 0.5667 GB, free: 3.449 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.234e-05/0.679, allocations: 3.938 kB / 0.5667 GB, free: 3.449 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001583/0.6792, allocations: 344.6 kB / 0.567 GB, free: 3.117 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.6794, allocations: 103.2 kB / 0.5671 GB, free: 3.047 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002536/0.6797, allocations: 169.2 kB / 0.5672 GB, free: 2.895 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.6799, allocations: 106.3 kB / 0.5673 GB, free: 2.828 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.6799, allocations: 0 / 0.5673 GB, free: 2.828 MB / 378.7 MB Notification: Performance of matching and sorting (n=29) (initialization): time 0.000511/0.6804, allocations: 309.1 kB / 0.5676 GB, free: 2.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002155/0.6807, allocations: 453.6 kB / 0.5681 GB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.213e-06/0.6807, allocations: 0 / 0.5681 GB, free: 2.125 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.89e-05/0.6807, allocations: 4 kB / 0.5681 GB, free: 2.121 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002436/0.6809, allocations: 55.91 kB / 0.5681 GB, free: 2.066 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.312e-05/0.681, allocations: 8 kB / 0.5681 GB, free: 2.059 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002332/0.6812, allocations: 43.75 kB / 0.5682 GB, free: 2.02 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.054e-05/0.6812, allocations: 7.562 kB / 0.5682 GB, free: 2.016 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.012e-05/0.6813, allocations: 4 kB / 0.5682 GB, free: 2.012 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0003594/0.6816, allocations: 208.1 kB / 0.5684 GB, free: 1.879 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.6816, allocations: 4 kB / 0.5684 GB, free: 1.875 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.867e-06/0.6816, allocations: 3.938 kB / 0.5684 GB, free: 1.871 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001977/0.6818, allocations: 51.59 kB / 0.5684 GB, free: 1.824 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.446e-06/0.6819, allocations: 7.891 kB / 0.5685 GB, free: 1.816 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001996/0.6821, allocations: 39.08 kB / 0.5685 GB, free: 1.781 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.432e-05/0.6821, allocations: 4 kB / 0.5685 GB, free: 1.777 MB / 378.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 () * Number of clocked 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.0002215/0.6823, allocations: 238.7 kB / 0.5687 GB, free: 1.562 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.934e-05/0.6824, allocations: 39.47 kB / 0.5688 GB, free: 1.523 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.755e-05/0.6825, allocations: 37.03 kB / 0.5688 GB, free: 1.5 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.936e-06/0.6825, allocations: 4 kB / 0.5688 GB, free: 1.496 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.438e-06/0.6825, allocations: 3.953 kB / 0.5688 GB, free: 1.492 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/0.6825, allocations: 4 kB / 0.5688 GB, free: 1.488 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004451/0.683, allocations: 419.4 kB / 0.5692 GB, free: 1.121 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.415e-06/0.683, allocations: 4 kB / 0.5692 GB, free: 1.117 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000234/0.6832, allocations: 47.66 kB / 0.5693 GB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.955e-06/0.6833, allocations: 0 / 0.5693 GB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.894e-05/0.6833, allocations: 0 / 0.5693 GB, free: 1.074 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.438e-06/0.6833, allocations: 4 kB / 0.5693 GB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.6833, allocations: 0 / 0.5693 GB, free: 1.07 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007402/0.684, allocations: 488.1 kB / 0.5697 GB, free: 0.6914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001594/0.6842, allocations: 138.2 kB / 0.5699 GB, free: 0.5547 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.115e-05/0.6843, allocations: 10.61 kB / 0.5699 GB, free: 0.5469 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002214/0.6845, allocations: 31.47 kB / 0.5699 GB, free: 0.5195 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.926e-05/0.6846, allocations: 19.91 kB / 0.5699 GB, free: 0.5039 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.542e-05/0.6846, allocations: 4 kB / 0.5699 GB, free: 0.5 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0002683/0.6849, allocations: 249.1 kB / 0.5702 GB, free: 316 kB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6849, allocations: 0 / 0.5702 GB, free: 316 kB / 378.7 MB Notification: Performance of remove unused functions: time 0.0004869/0.6854, allocations: 137.1 kB / 0.5703 GB, free: 188 kB / 378.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) * Number of clocked states: 0 () * 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.000154/0.6855, allocations: 110.2 kB / 0.5704 GB, free: 76 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0007057/0.6862, allocations: 341.2 kB / 0.5707 GB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.977e-06/0.6863, allocations: 0 / 0.5707 GB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002231/0.6865, allocations: 123.9 kB / 0.5708 GB, free: 15.75 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004813/0.687, allocations: 78.8 kB / 0.5709 GB, free: 15.69 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001468/0.6885, allocations: 0.8665 MB / 0.5718 GB, free: 14.85 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003659/0.6888, allocations: 0.8038 MB / 0.5725 GB, free: 14.02 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0002035/0.6891, allocations: 38.95 kB / 0.5726 GB, free: 13.98 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.867e-05/0.6891, allocations: 27.44 kB / 0.5726 GB, free: 13.96 MB / 394.7 MB Notification: Performance of SimCode: time 2.51e-07/0.6892, allocations: 0 / 0.5726 GB, free: 13.96 MB / 394.7 MB Notification: Performance of Templates: time 0.007794/0.697, allocations: 3.488 MB / 0.576 GB, free: 10.5 MB / 394.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)