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.005197/0.005198, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.00165/0.00165, allocations: 193.7 kB / 16.67 MB, free: 5.93 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.459/1.459, allocations: 205.1 MB / 222.5 MB, free: 4.527 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.45/0.45, allocations: 54.95 MB / 324.9 MB, free: 15.93 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.001531/0.001531, allocations: 66.05 kB / 456.2 MB, free: 38.16 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1589/0.1604, allocations: 59.59 MB / 0.5037 GB, free: 9.699 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.LimPID): time 0.005173/0.1657, allocations: 3.706 MB / 0.5073 GB, free: 6.758 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002814/0.1685, allocations: 1.419 MB / 0.5087 GB, free: 5.59 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004405/0.169, allocations: 25.78 kB / 0.5087 GB, free: 5.582 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003236/0.1693, allocations: 131.1 kB / 0.5088 GB, free: 5.461 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005048/0.1698, allocations: 193.6 kB / 0.509 GB, free: 5.297 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001058/0.1709, allocations: 0.6009 MB / 0.5096 GB, free: 4.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007773/0.1717, allocations: 1.004 MB / 0.5106 GB, free: 3.949 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004614/0.1722, allocations: 345.6 kB / 0.5109 GB, free: 3.598 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003534/0.1725, allocations: 386.3 kB / 0.5113 GB, free: 3.219 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003005/0.1728, allocations: 362.1 kB / 0.5116 GB, free: 2.863 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 9.371e-05/0.1729, allocations: 83.94 kB / 0.5117 GB, free: 2.781 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.295e-05/0.173, allocations: 80 kB / 0.5118 GB, free: 2.703 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001245/0.1732, allocations: 183.3 kB / 0.512 GB, free: 2.523 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002411/0.1734, allocations: 385.7 kB / 0.5123 GB, free: 2.145 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006577/0.1741, allocations: 0.8989 MB / 0.5132 GB, free: 1.242 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1741, allocations: 0 / 0.5132 GB, free: 1.242 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.525e-06/0.1741, allocations: 0 / 0.5132 GB, free: 1.242 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.31e-05/0.1741, allocations: 0 / 0.5132 GB, free: 1.242 MB / 382.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.00184/0.176, allocations: 1.195 MB / 0.5144 GB, free: 15.98 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.481e-05/0.176, allocations: 15.97 kB / 0.5144 GB, free: 15.97 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001776/0.1762, allocations: 95.72 kB / 0.5145 GB, free: 15.88 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001102/0.1773, allocations: 0.6376 MB / 0.5151 GB, free: 15.2 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.1774, allocations: 101.3 kB / 0.5152 GB, free: 15.09 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.401e-05/0.1775, allocations: 55.94 kB / 0.5153 GB, free: 15.03 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001123/0.1787, allocations: 0.608 MB / 0.5159 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.685e-05/0.1787, allocations: 3.938 kB / 0.5159 GB, free: 14.38 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.712e-05/0.1787, allocations: 28 kB / 0.5159 GB, free: 14.35 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.1788, allocations: 12 kB / 0.5159 GB, free: 14.34 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009678/0.1797, allocations: 427.6 kB / 0.5163 GB, free: 13.92 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002763/0.1825, allocations: 2.129 MB / 0.5184 GB, free: 11.71 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001217/0.1837, allocations: 0.4957 MB / 0.5189 GB, free: 11.2 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004651/0.1842, allocations: 216.8 kB / 0.5191 GB, free: 10.99 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.632e-05/0.1843, allocations: 8 kB / 0.5191 GB, free: 10.98 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006849/0.185, allocations: 282.7 kB / 0.5194 GB, free: 10.69 MB / 398.1 MB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/0.185, allocations: 5.031 kB / 0.5194 GB, free: 10.69 MB / 398.1 MB Notification: Performance of matching and sorting (n=45): time 0.001471/0.1865, allocations: 0.6141 MB / 0.52 GB, free: 10.07 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.79e-05/0.1865, allocations: 84.86 kB / 0.52 GB, free: 9.965 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007306/0.1873, allocations: 0.6217 MB / 0.5206 GB, free: 9.336 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.923e-05/0.1873, allocations: 37.7 kB / 0.5207 GB, free: 9.293 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003087/0.1877, allocations: 376.7 kB / 0.521 GB, free: 8.918 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001231/0.1878, allocations: 149.8 kB / 0.5212 GB, free: 8.77 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001583/0.1879, allocations: 98.16 kB / 0.5213 GB, free: 8.668 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001133/0.1881, allocations: 329.9 kB / 0.5216 GB, free: 8.34 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/0.1885, allocations: 183 kB / 0.5218 GB, free: 8.156 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005001/0.189, allocations: 288.1 kB / 0.522 GB, free: 7.836 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009111/0.1899, allocations: 481.9 kB / 0.5225 GB, free: 7.324 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.875e-06/0.19, allocations: 0 / 0.5225 GB, free: 7.324 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001167/0.1911, allocations: 0.606 MB / 0.5231 GB, free: 6.703 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.403e-05/0.1912, allocations: 33.7 kB / 0.5231 GB, free: 6.664 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.128e-05/0.1912, allocations: 4 kB / 0.5231 GB, free: 6.66 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.1912, allocations: 4.312 kB / 0.5231 GB, free: 6.656 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004674/0.1917, allocations: 111.8 kB / 0.5232 GB, free: 6.547 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.1917, allocations: 4 kB / 0.5232 GB, free: 6.543 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003796/0.1921, allocations: 63.5 kB / 0.5233 GB, free: 6.48 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.232e-05/0.1922, allocations: 16 kB / 0.5233 GB, free: 6.465 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005262/0.1927, allocations: 309.1 kB / 0.5236 GB, free: 6.16 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000393/0.1931, allocations: 252.3 kB / 0.5239 GB, free: 5.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000722/0.1938, allocations: 445.9 kB / 0.5243 GB, free: 5.41 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.974e-06/0.1938, allocations: 0 / 0.5243 GB, free: 5.41 MB / 398.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0009339/0.1948, allocations: 0.5514 MB / 0.5248 GB, free: 4.848 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.888e-05/0.1948, allocations: 33.7 kB / 0.5248 GB, free: 4.809 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1948, allocations: 8.25 kB / 0.5249 GB, free: 4.801 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.02e-06/0.1948, allocations: 8 kB / 0.5249 GB, free: 4.793 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003823/0.1952, allocations: 95.89 kB / 0.525 GB, free: 4.699 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/0.1952, allocations: 7.938 kB / 0.525 GB, free: 4.691 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003056/0.1956, allocations: 47.58 kB / 0.525 GB, free: 4.645 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.1956, allocations: 20 kB / 0.525 GB, free: 4.625 MB / 398.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.0001719/0.1958, allocations: 227.9 kB / 0.5252 GB, free: 4.395 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.41e-05/0.1959, allocations: 71.06 kB / 0.5253 GB, free: 4.324 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001587/0.196, allocations: 83.34 kB / 0.5254 GB, free: 4.242 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.446e-06/0.1961, allocations: 8 kB / 0.5254 GB, free: 4.234 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.1961, allocations: 3.938 kB / 0.5254 GB, free: 4.23 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.1961, allocations: 3.984 kB / 0.5254 GB, free: 4.227 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006896/0.1968, allocations: 0.6219 MB / 0.526 GB, free: 3.555 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.833e-06/0.1968, allocations: 3.938 kB / 0.526 GB, free: 3.551 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004481/0.1972, allocations: 87.89 kB / 0.5261 GB, free: 3.465 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.1973, allocations: 3.938 kB / 0.5261 GB, free: 3.461 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.005e-05/0.1973, allocations: 16 kB / 0.5261 GB, free: 3.445 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.819e-06/0.1973, allocations: 4 kB / 0.5261 GB, free: 3.441 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/0.1973, allocations: 3.984 kB / 0.5261 GB, free: 3.438 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001458/0.1988, allocations: 0.7285 MB / 0.5268 GB, free: 2.688 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002197/0.199, allocations: 196 kB / 0.527 GB, free: 2.477 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.387e-05/0.1991, allocations: 7.984 kB / 0.527 GB, free: 2.469 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003868/0.1995, allocations: 35.97 kB / 0.5271 GB, free: 2.434 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.981e-05/0.1996, allocations: 27.95 kB / 0.5271 GB, free: 2.406 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.672e-05/0.1996, allocations: 19.98 kB / 0.5271 GB, free: 2.387 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004985/0.2001, allocations: 443 kB / 0.5275 GB, free: 1.957 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.2001, allocations: 0 / 0.5275 GB, free: 1.957 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0005645/0.2007, allocations: 219.3 kB / 0.5277 GB, free: 1.742 MB / 398.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.0001603/0.2009, allocations: 107.2 kB / 0.5278 GB, free: 1.625 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.001462/0.2023, allocations: 0.7727 MB / 0.5286 GB, free: 0.8281 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.2024, allocations: 5.188 kB / 0.5286 GB, free: 0.8242 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004616/0.2028, allocations: 215.8 kB / 0.5288 GB, free: 0.6133 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009248/0.2038, allocations: 214.6 kB / 0.529 GB, free: 424 kB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002031/0.2058, allocations: 1.192 MB / 0.5302 GB, free: 15.18 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004604/0.2063, allocations: 0.9181 MB / 0.5311 GB, free: 14.24 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0003579/0.2066, allocations: 93.19 kB / 0.5312 GB, free: 14.14 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001427/0.2068, allocations: 55.42 kB / 0.5312 GB, free: 14.09 MB / 414.1 MB Notification: Performance of SimCode: time 4.31e-07/0.2068, allocations: 0 / 0.5312 GB, free: 14.09 MB / 414.1 MB Notification: Performance of Templates: time 0.01398/0.2208, allocations: 7.989 MB / 0.539 GB, free: 6.164 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)