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.3153/0.3153, allocations: 54.41 MB / 61.89 MB, free: 13.76 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.001103/0.001103, allocations: 179.8 kB / 75.6 MB, free: 0.7734 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.602/1.602, allocations: 194.3 MB / 283.5 MB, free: 14.84 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.00163/0.00163, allocations: 107.3 kB / 341.6 MB, free: 4.039 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.019e-05/2.021e-05, allocations: 224 / 405.5 MB, free: 4.141 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.4149, allocations: 57.65 MB / 463.1 MB, free: 51.72 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1457/0.5606, allocations: 92.52 MB / 0.5426 GB, free: 8.629 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003374/0.561, allocations: 81.73 kB / 0.5427 GB, free: 8.551 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02039/0.5814, allocations: 7.517 MB / 0.5501 GB, free: 1.109 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5815, allocations: 0 / 0.5501 GB, free: 1.109 MB / 394.7 MB Notification: Performance of Transformations before backend: time 4.117e-05/0.5815, allocations: 8 kB / 0.5501 GB, free: 1.102 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: 91 * Number of variables: 91 Notification: Performance of Generate backend data structure: time 0.001027/0.5826, allocations: 0.6444 MB / 0.5507 GB, free: 428 kB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.257e-05/0.5826, allocations: 8.031 kB / 0.5507 GB, free: 420 kB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001129/0.5828, allocations: 55.44 kB / 0.5508 GB, free: 364 kB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000626/0.5834, allocations: 393.8 kB / 0.5511 GB, free: 15.93 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.107e-05/0.5834, allocations: 16 kB / 0.5511 GB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.904e-05/0.5835, allocations: 31.78 kB / 0.5512 GB, free: 15.88 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005508/0.5841, allocations: 231.2 kB / 0.5514 GB, free: 15.66 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006158/0.5847, allocations: 337.7 kB / 0.5517 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.079e-05/0.5847, allocations: 0 / 0.5517 GB, free: 15.3 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.083e-05/0.5848, allocations: 8 kB / 0.5517 GB, free: 15.29 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.375e-05/0.5848, allocations: 11.94 kB / 0.5517 GB, free: 15.28 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00216/0.587, allocations: 1.287 MB / 0.553 GB, free: 13.93 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006567/0.5876, allocations: 294.7 kB / 0.5533 GB, free: 13.64 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000205/0.5878, allocations: 116.8 kB / 0.5534 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.531e-05/0.5879, allocations: 4 kB / 0.5534 GB, free: 13.52 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003744/0.5883, allocations: 165.2 kB / 0.5536 GB, free: 13.34 MB / 410.7 MB Notification: Performance of pre-optimization done (n=33): time 3.616e-06/0.5883, allocations: 4 kB / 0.5536 GB, free: 13.34 MB / 410.7 MB Notification: Performance of matching and sorting (n=33): time 0.0005041/0.5888, allocations: 259 kB / 0.5538 GB, free: 13.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.673e-05/0.5889, allocations: 140.5 kB / 0.5539 GB, free: 12.91 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.5892, allocations: 274.3 kB / 0.5542 GB, free: 12.63 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 3.62e-05/0.5893, allocations: 29.7 kB / 0.5542 GB, free: 12.6 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001659/0.5895, allocations: 236.8 kB / 0.5545 GB, free: 12.36 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.325e-05/0.5895, allocations: 98.55 kB / 0.5545 GB, free: 12.27 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.398e-05/0.5896, allocations: 0 / 0.5545 GB, free: 12.27 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001556/0.5897, allocations: 346.8 kB / 0.5549 GB, free: 11.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.5899, allocations: 94.52 kB / 0.555 GB, free: 11.83 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001902/0.5901, allocations: 151.7 kB / 0.5551 GB, free: 11.66 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001756/0.5903, allocations: 105.5 kB / 0.5552 GB, free: 11.55 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.5903, allocations: 4 kB / 0.5552 GB, free: 11.55 MB / 410.7 MB Notification: Performance of matching and sorting (n=43) (initialization): time 0.0004525/0.5907, allocations: 290.3 kB / 0.5555 GB, free: 11.26 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002352/0.591, allocations: 453.3 kB / 0.5559 GB, free: 10.79 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.438e-06/0.591, allocations: 4 kB / 0.5559 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.617e-05/0.591, allocations: 0 / 0.5559 GB, free: 10.78 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002855/0.5913, allocations: 71.89 kB / 0.556 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.5913, allocations: 6.953 kB / 0.556 GB, free: 10.71 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002387/0.5916, allocations: 42.09 kB / 0.556 GB, free: 10.67 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.646e-05/0.5916, allocations: 9.406 kB / 0.5561 GB, free: 10.66 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.966e-06/0.5916, allocations: 4 kB / 0.5561 GB, free: 10.66 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0004188/0.5921, allocations: 219.8 kB / 0.5563 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.478e-06/0.5921, allocations: 4.984 kB / 0.5563 GB, free: 10.44 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.612e-06/0.5921, allocations: 4 kB / 0.5563 GB, free: 10.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002365/0.5923, allocations: 63.91 kB / 0.5563 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.385e-06/0.5924, allocations: 0 / 0.5563 GB, free: 10.37 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001775/0.5925, allocations: 27.83 kB / 0.5564 GB, free: 10.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.756e-05/0.5926, allocations: 16 kB / 0.5564 GB, free: 10.33 MB / 410.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 () * 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.0001376/0.5927, allocations: 112.9 kB / 0.5565 GB, free: 10.21 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.14e-05/0.5928, allocations: 43.48 kB / 0.5565 GB, free: 10.17 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.5929, allocations: 44.44 kB / 0.5566 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.94e-06/0.5929, allocations: 4 kB / 0.5566 GB, free: 10.12 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.658e-06/0.5929, allocations: 3.984 kB / 0.5566 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.859e-06/0.5929, allocations: 0 / 0.5566 GB, free: 10.11 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009938/0.5939, allocations: 0.7451 MB / 0.5573 GB, free: 9.324 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.934e-06/0.594, allocations: 4 kB / 0.5573 GB, free: 9.32 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000262/0.5942, allocations: 55.91 kB / 0.5574 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.126e-06/0.5942, allocations: 0 / 0.5574 GB, free: 9.266 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.419e-05/0.5943, allocations: 9.734 kB / 0.5574 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.963e-06/0.5943, allocations: 0 / 0.5574 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.106e-06/0.5943, allocations: 0 / 0.5574 GB, free: 9.258 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006582/0.5949, allocations: 485.8 kB / 0.5578 GB, free: 8.77 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001492/0.5951, allocations: 152.6 kB / 0.558 GB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.707e-05/0.5952, allocations: 0 / 0.558 GB, free: 8.602 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002188/0.5954, allocations: 28.19 kB / 0.558 GB, free: 8.574 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.956e-05/0.5955, allocations: 23.97 kB / 0.558 GB, free: 8.551 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.5955, allocations: 11.92 kB / 0.558 GB, free: 8.539 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0002405/0.5958, allocations: 216.6 kB / 0.5582 GB, free: 8.328 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.5958, allocations: 4 kB / 0.5583 GB, free: 8.324 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005298/0.5963, allocations: 143.4 kB / 0.5584 GB, free: 8.184 MB / 410.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) * 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.0001829/0.5965, allocations: 103.2 kB / 0.5585 GB, free: 8.074 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0006072/0.5971, allocations: 381.7 kB / 0.5588 GB, free: 7.703 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5971, allocations: 4 kB / 0.5589 GB, free: 7.699 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001953/0.5973, allocations: 124.4 kB / 0.559 GB, free: 7.578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004706/0.5978, allocations: 67.31 kB / 0.559 GB, free: 7.516 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00123/0.599, allocations: 0.5712 MB / 0.5596 GB, free: 6.926 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004558/0.5995, allocations: 0.8304 MB / 0.5604 GB, free: 6.07 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.0002912/0.5998, allocations: 59.25 kB / 0.5605 GB, free: 6.016 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.41e-05/0.5999, allocations: 27.42 kB / 0.5605 GB, free: 5.988 MB / 410.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5999, allocations: 0 / 0.5605 GB, free: 5.988 MB / 410.7 MB Notification: Performance of Templates: time 0.008739/0.6086, allocations: 4.058 MB / 0.5645 GB, free: 2.023 MB / 410.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)