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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006862/0.006862, allocations: 102.3 kB / 15.73 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 195.9 kB / 16.67 MB, free: 5.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.539/1.539, allocations: 205.1 MB / 222.5 MB, free: 12.25 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.2693/0.2693, allocations: 54.97 MB / 324.9 MB, free: 4.852 MB / 270.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001443/0.001443, allocations: 75.84 kB / 456.2 MB, free: 2.664 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1491/0.1505, allocations: 59.59 MB / 0.5037 GB, free: 7.117 MB / 398.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.LimPID): time 0.005381/0.156, allocations: 3.707 MB / 0.5073 GB, free: 3.383 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003509/0.1595, allocations: 1.43 MB / 0.5087 GB, free: 1.945 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001105/0.1607, allocations: 31.81 kB / 0.5087 GB, free: 1.914 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004492/0.1612, allocations: 130.6 kB / 0.5089 GB, free: 1.785 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008012/0.162, allocations: 170.5 kB / 0.509 GB, free: 1.617 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001699/0.1637, allocations: 0.6064 MB / 0.5096 GB, free: 1.023 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001281/0.165, allocations: 0.9916 MB / 0.5106 GB, free: 32 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005781/0.1656, allocations: 361.5 kB / 0.5109 GB, free: 15.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004408/0.166, allocations: 366.3 kB / 0.5113 GB, free: 15.3 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003995/0.1664, allocations: 365.9 kB / 0.5116 GB, free: 14.95 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001138/0.1666, allocations: 80 kB / 0.5117 GB, free: 14.87 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001183/0.1667, allocations: 80 kB / 0.5118 GB, free: 14.79 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001644/0.1669, allocations: 183.3 kB / 0.5119 GB, free: 14.61 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003233/0.1672, allocations: 385.7 kB / 0.5123 GB, free: 14.23 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0009918/0.1682, allocations: 0.8912 MB / 0.5132 GB, free: 13.34 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.1682, allocations: 4 kB / 0.5132 GB, free: 13.33 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.804e-06/0.1682, allocations: 7.875 kB / 0.5132 GB, free: 13.32 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.202e-05/0.1682, allocations: 0 / 0.5132 GB, free: 13.32 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.002378/0.1706, allocations: 1.195 MB / 0.5144 GB, free: 12.07 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.476e-05/0.1707, allocations: 16.03 kB / 0.5144 GB, free: 12.05 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001805/0.1709, allocations: 95.72 kB / 0.5145 GB, free: 11.96 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001164/0.172, allocations: 0.6376 MB / 0.5151 GB, free: 11.28 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001185/0.1722, allocations: 97.28 kB / 0.5152 GB, free: 11.18 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.661e-05/0.1723, allocations: 55.94 kB / 0.5152 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.1734, allocations: 0.6158 MB / 0.5158 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.005e-05/0.1734, allocations: 0 / 0.5158 GB, free: 10.46 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.239e-05/0.1735, allocations: 24 kB / 0.5159 GB, free: 10.44 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.812e-05/0.1735, allocations: 15.98 kB / 0.5159 GB, free: 10.43 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001028/0.1746, allocations: 427.6 kB / 0.5163 GB, free: 10.01 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003028/0.1776, allocations: 2.117 MB / 0.5184 GB, free: 7.805 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.1789, allocations: 0.492 MB / 0.5188 GB, free: 7.305 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004653/0.1794, allocations: 225.8 kB / 0.5191 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.59e-05/0.1795, allocations: 4 kB / 0.5191 GB, free: 7.078 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006244/0.1801, allocations: 286.7 kB / 0.5193 GB, free: 6.785 MB / 414.1 MB Notification: Performance of pre-optimization done (n=45): time 2.284e-06/0.1801, allocations: 0 / 0.5193 GB, free: 6.785 MB / 414.1 MB Notification: Performance of matching and sorting (n=45): time 0.001476/0.1816, allocations: 0.6101 MB / 0.5199 GB, free: 6.168 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.703e-05/0.1816, allocations: 92.84 kB / 0.52 GB, free: 6.059 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007016/0.1824, allocations: 0.6179 MB / 0.5206 GB, free: 5.434 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 4.95e-05/0.1824, allocations: 33.7 kB / 0.5206 GB, free: 5.395 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004075/0.1828, allocations: 376.8 kB / 0.521 GB, free: 5.02 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.000136/0.183, allocations: 149.8 kB / 0.5211 GB, free: 4.871 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.1831, allocations: 102.1 kB / 0.5212 GB, free: 4.766 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1833, allocations: 329.9 kB / 0.5216 GB, free: 4.438 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004673/0.1838, allocations: 187 kB / 0.5217 GB, free: 4.25 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005226/0.1843, allocations: 280.2 kB / 0.522 GB, free: 3.938 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009493/0.1852, allocations: 485.9 kB / 0.5225 GB, free: 3.422 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.387e-06/0.1853, allocations: 0 / 0.5225 GB, free: 3.422 MB / 414.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001186/0.1865, allocations: 0.6062 MB / 0.5231 GB, free: 2.801 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 5.022e-05/0.1865, allocations: 33.7 kB / 0.5231 GB, free: 2.762 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.129e-05/0.1865, allocations: 8 kB / 0.5231 GB, free: 2.754 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.1866, allocations: 4 kB / 0.5231 GB, free: 2.75 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004917/0.187, allocations: 103.9 kB / 0.5232 GB, free: 2.648 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.442e-05/0.1871, allocations: 11.94 kB / 0.5232 GB, free: 2.637 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003863/0.1875, allocations: 63.44 kB / 0.5233 GB, free: 2.574 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.537e-05/0.1875, allocations: 20.09 kB / 0.5233 GB, free: 2.555 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004937/0.188, allocations: 313.1 kB / 0.5236 GB, free: 2.246 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003669/0.1884, allocations: 248.3 kB / 0.5238 GB, free: 1.973 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006912/0.1891, allocations: 445.9 kB / 0.5243 GB, free: 1.5 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.588e-06/0.1891, allocations: 3.984 kB / 0.5243 GB, free: 1.496 MB / 414.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009077/0.19, allocations: 0.5554 MB / 0.5248 GB, free: 0.9258 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.472e-05/0.1901, allocations: 37.69 kB / 0.5248 GB, free: 0.8828 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.208e-06/0.1901, allocations: 4 kB / 0.5248 GB, free: 0.8789 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.541e-06/0.1901, allocations: 4 kB / 0.5248 GB, free: 0.875 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003898/0.1905, allocations: 99.83 kB / 0.5249 GB, free: 0.7773 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.1905, allocations: 4 kB / 0.5249 GB, free: 0.7734 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003457/0.1908, allocations: 47.58 kB / 0.525 GB, free: 0.7266 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.433e-05/0.1909, allocations: 20.25 kB / 0.525 GB, free: 0.707 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001899/0.1911, allocations: 223.5 kB / 0.5252 GB, free: 496 kB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/0.1912, allocations: 75.06 kB / 0.5253 GB, free: 420 kB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001612/0.1914, allocations: 79.33 kB / 0.5254 GB, free: 340 kB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.225e-06/0.1914, allocations: 8 kB / 0.5254 GB, free: 332 kB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.727e-06/0.1914, allocations: 3.938 kB / 0.5254 GB, free: 328 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.244e-06/0.1914, allocations: 3.984 kB / 0.5254 GB, free: 324 kB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3292/0.5206, allocations: 0.6284 MB / 0.526 GB, free: 25.57 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-05/0.5207, allocations: 0 / 0.526 GB, free: 25.57 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007195/0.5215, allocations: 82.11 kB / 0.5261 GB, free: 25.57 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.348e-05/0.5215, allocations: 3.562 kB / 0.5261 GB, free: 25.57 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.407e-05/0.5216, allocations: 12.8 kB / 0.5261 GB, free: 25.57 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.319e-05/0.5216, allocations: 1.469 kB / 0.5261 GB, free: 25.57 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/0.5216, allocations: 0 / 0.5261 GB, free: 25.57 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002251/0.5239, allocations: 0.7304 MB / 0.5268 GB, free: 25.51 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003893/0.5243, allocations: 189.3 kB / 0.527 GB, free: 25.42 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.956e-05/0.5244, allocations: 7.625 kB / 0.527 GB, free: 25.42 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004429/0.5248, allocations: 37.52 kB / 0.527 GB, free: 25.42 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001368/0.525, allocations: 33.95 kB / 0.5271 GB, free: 25.42 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.525, allocations: 18.97 kB / 0.5271 GB, free: 25.42 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0007724/0.5258, allocations: 438 kB / 0.5275 GB, free: 25.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.001e-06/0.5258, allocations: 0.5 kB / 0.5275 GB, free: 25.32 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0008457/0.5267, allocations: 220.7 kB / 0.5277 GB, free: 25.32 MB / 414.1 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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001678/0.5268, allocations: 110.5 kB / 0.5278 GB, free: 25.23 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001712/0.5286, allocations: 0.7798 MB / 0.5286 GB, free: 25.11 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.438e-06/0.5286, allocations: 1.125 kB / 0.5286 GB, free: 25.11 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005216/0.5291, allocations: 216.5 kB / 0.5288 GB, free: 25.1 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001245/0.5304, allocations: 216.8 kB / 0.529 GB, free: 25.1 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00359/0.534, allocations: 1.192 MB / 0.5302 GB, free: 24.56 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008297/0.5348, allocations: 0.9209 MB / 0.5311 GB, free: 23.86 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000655/0.5355, allocations: 92.16 kB / 0.5311 GB, free: 23.86 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001946/0.5357, allocations: 48.62 kB / 0.5312 GB, free: 23.85 MB / 414.1 MB Notification: Performance of SimCode: time 1.794e-06/0.5357, allocations: 0 / 0.5312 GB, free: 23.85 MB / 414.1 MB Notification: Performance of Templates: time 0.02712/0.5628, allocations: 7.994 MB / 0.539 GB, free: 23.45 MB / 414.1 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)