Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID") translateModel(Annex60.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3068/0.3068, allocations: 54.42 MB / 61.89 MB, free: 13.74 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.001201/0.001201, allocations: 176.1 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.534/1.534, allocations: 194.3 MB / 283.5 MB, free: 14.79 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.001636/0.001636, allocations: 118.1 kB / 341.6 MB, free: 4.023 MB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 1.863e-05/1.854e-05, allocations: 4 kB / 405.5 MB, free: 4.137 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3719, allocations: 57.64 MB / 463.1 MB, free: 51.84 MB / 362.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1285/0.5005, allocations: 91.8 MB / 0.5419 GB, free: 9.383 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002564/0.5008, allocations: 75.95 kB / 0.542 GB, free: 9.309 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04476/0.5456, allocations: 16.25 MB / 0.5579 GB, free: 9.148 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.573e-06/0.5456, allocations: 0 / 0.5579 GB, free: 9.148 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.633e-05/0.5457, allocations: 20 kB / 0.5579 GB, free: 9.129 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: 119 * Number of variables: 119 Notification: Performance of Generate backend data structure: time 0.001435/0.5472, allocations: 0.908 MB / 0.5588 GB, free: 8.168 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.438e-05/0.5472, allocations: 11.97 kB / 0.5588 GB, free: 8.156 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001574/0.5474, allocations: 92.25 kB / 0.5589 GB, free: 8.066 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008394/0.5482, allocations: 0.5668 MB / 0.5594 GB, free: 7.461 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001079/0.5483, allocations: 80.72 kB / 0.5595 GB, free: 7.371 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.676e-05/0.5484, allocations: 32 kB / 0.5595 GB, free: 7.34 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005678/0.549, allocations: 328.9 kB / 0.5599 GB, free: 7.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000744/0.5497, allocations: 0.489 MB / 0.5603 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.255e-05/0.5497, allocations: 0 / 0.5603 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.525e-05/0.5498, allocations: 3 kB / 0.5603 GB, free: 6.492 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.245e-05/0.5498, allocations: 15.94 kB / 0.5603 GB, free: 6.477 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002657/0.5525, allocations: 1.894 MB / 0.5622 GB, free: 4.52 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007781/0.5533, allocations: 436.3 kB / 0.5626 GB, free: 4.082 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002429/0.5535, allocations: 152.9 kB / 0.5628 GB, free: 3.93 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.704e-05/0.5536, allocations: 10.14 kB / 0.5628 GB, free: 3.922 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003975/0.554, allocations: 235.2 kB / 0.563 GB, free: 3.68 MB / 410.7 MB Notification: Performance of pre-optimization done (n=44): time 2.375e-06/0.554, allocations: 0 / 0.563 GB, free: 3.68 MB / 410.7 MB Notification: Performance of matching and sorting (n=44): time 0.0006431/0.5547, allocations: 380.7 kB / 0.5634 GB, free: 3.301 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00011/0.5548, allocations: 191.9 kB / 0.5635 GB, free: 3.07 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00053/0.5553, allocations: 455.5 kB / 0.564 GB, free: 2.617 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 4.65e-05/0.5554, allocations: 29.7 kB / 0.564 GB, free: 2.582 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002747/0.5556, allocations: 344.8 kB / 0.5643 GB, free: 2.238 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001084/0.5558, allocations: 141.9 kB / 0.5645 GB, free: 2.098 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.377e-05/0.5558, allocations: 0 / 0.5645 GB, free: 2.098 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001737/0.556, allocations: 378.8 kB / 0.5648 GB, free: 1.719 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.5562, allocations: 137.1 kB / 0.565 GB, free: 1.582 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003164/0.5566, allocations: 256.9 kB / 0.5652 GB, free: 1.289 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002638/0.5568, allocations: 156.7 kB / 0.5654 GB, free: 1.137 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.915e-06/0.5569, allocations: 0 / 0.5654 GB, free: 1.137 MB / 410.7 MB Notification: Performance of matching and sorting (n=61) (initialization): time 0.0007259/0.5576, allocations: 459.1 kB / 0.5658 GB, free: 0.6797 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003468/0.5579, allocations: 0.8252 MB / 0.5666 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.961e-06/0.558, allocations: 0 / 0.5666 GB, free: 15.79 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.973e-05/0.558, allocations: 8 kB / 0.5666 GB, free: 15.78 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004948/0.5585, allocations: 111.8 kB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.708e-06/0.5585, allocations: 4 kB / 0.5667 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004439/0.559, allocations: 79.48 kB / 0.5668 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.674e-05/0.559, allocations: 16 kB / 0.5668 GB, free: 15.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.295e-06/0.559, allocations: 4 kB / 0.5668 GB, free: 15.57 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0005838/0.5596, allocations: 361 kB / 0.5672 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.525e-06/0.5596, allocations: 0 / 0.5672 GB, free: 15.22 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.532e-06/0.5596, allocations: 4 kB / 0.5672 GB, free: 15.21 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003838/0.56, allocations: 95.89 kB / 0.5672 GB, free: 15.12 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.302e-06/0.56, allocations: 7.938 kB / 0.5673 GB, free: 15.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003797/0.5604, allocations: 59.92 kB / 0.5673 GB, free: 15.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.044e-05/0.5605, allocations: 16 kB / 0.5673 GB, free: 15.04 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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.0001377/0.5606, allocations: 112.9 kB / 0.5674 GB, free: 14.92 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.088e-05/0.5607, allocations: 67.16 kB / 0.5675 GB, free: 14.86 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000148/0.5609, allocations: 70.59 kB / 0.5676 GB, free: 14.79 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.5609, allocations: 11.94 kB / 0.5676 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.5609, allocations: 0 / 0.5676 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.472e-06/0.5609, allocations: 3.953 kB / 0.5676 GB, free: 14.77 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005925/0.5615, allocations: 0.5639 MB / 0.5681 GB, free: 14.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.5615, allocations: 4 kB / 0.5681 GB, free: 14.16 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004722/0.562, allocations: 91.88 kB / 0.5682 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.562, allocations: 0 / 0.5682 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.447e-05/0.562, allocations: 8 kB / 0.5682 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.774e-06/0.562, allocations: 0 / 0.5682 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.5621, allocations: 0 / 0.5682 GB, free: 14.07 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008883/0.5629, allocations: 0.6075 MB / 0.5688 GB, free: 13.44 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002156/0.5632, allocations: 200.1 kB / 0.569 GB, free: 13.23 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.437e-05/0.5633, allocations: 3.984 kB / 0.569 GB, free: 13.22 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004858/0.5638, allocations: 55.95 kB / 0.5691 GB, free: 13.17 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.608e-05/0.5638, allocations: 27.95 kB / 0.5691 GB, free: 13.14 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.843e-05/0.5639, allocations: 19.98 kB / 0.5691 GB, free: 13.12 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.0003903/0.5643, allocations: 351.2 kB / 0.5695 GB, free: 12.78 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.5643, allocations: 3.938 kB / 0.5695 GB, free: 12.78 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.0005802/0.5649, allocations: 211.1 kB / 0.5697 GB, free: 12.57 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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.0001634/0.565, allocations: 113 kB / 0.5698 GB, free: 12.45 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0009229/0.566, allocations: 0.6736 MB / 0.5704 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.566, allocations: 0 / 0.5704 GB, free: 11.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002655/0.5663, allocations: 179.8 kB / 0.5706 GB, free: 11.58 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007468/0.567, allocations: 158.2 kB / 0.5707 GB, free: 11.43 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.5686, allocations: 0.8302 MB / 0.5716 GB, free: 10.58 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004338/0.569, allocations: 0.915 MB / 0.5725 GB, free: 9.637 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0005271/0.5695, allocations: 130 kB / 0.5726 GB, free: 9.508 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001171/0.5697, allocations: 39.42 kB / 0.5726 GB, free: 9.469 MB / 426.7 MB Notification: Performance of SimCode: time 3.11e-07/0.5697, allocations: 0 / 0.5726 GB, free: 9.469 MB / 426.7 MB Notification: Performance of Templates: time 0.01392/0.5836, allocations: 8.008 MB / 0.5804 GB, free: 1.57 MB / 426.7 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe 2>&1)