Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset") translateModel(Annex60.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008316/0.008315, allocations: 99.64 kB / 15.73 MB, free: 6.035 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.001355/0.001355, allocations: 189.6 kB / 16.67 MB, free: 5.969 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.559/1.559, allocations: 205.1 MB / 222.6 MB, free: 4.402 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4399/0.4399, allocations: 54.95 MB / 324.8 MB, free: 52 kB / 254.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.001444/0.001444, allocations: 66.34 kB / 456.3 MB, free: 38.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1476/0.149, allocations: 59.58 MB / 0.5038 GB, free: 9.66 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Validation.LimPIDReset): time 0.004866/0.154, allocations: 4.332 MB / 0.508 GB, free: 6.215 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003276/0.1573, allocations: 1.701 MB / 0.5097 GB, free: 4.77 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006511/0.1579, allocations: 39.75 kB / 0.5097 GB, free: 4.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003806/0.1584, allocations: 166.2 kB / 0.5099 GB, free: 4.566 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006411/0.159, allocations: 238 kB / 0.5101 GB, free: 4.332 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001327/0.1603, allocations: 0.7167 MB / 0.5108 GB, free: 3.625 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001032/0.1614, allocations: 1.265 MB / 0.512 GB, free: 2.355 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005901/0.162, allocations: 0.5041 MB / 0.5125 GB, free: 1.832 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004589/0.1624, allocations: 485.8 kB / 0.513 GB, free: 1.355 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003403/0.1628, allocations: 473.4 kB / 0.5134 GB, free: 0.8906 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001051/0.1629, allocations: 104 kB / 0.5135 GB, free: 0.7891 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.66e-05/0.163, allocations: 108 kB / 0.5136 GB, free: 0.6836 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001317/0.1632, allocations: 231.1 kB / 0.5139 GB, free: 468 kB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003046/0.1635, allocations: 0.4931 MB / 0.5143 GB, free: 15.96 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001146/0.1646, allocations: 1.167 MB / 0.5155 GB, free: 14.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.1646, allocations: 0 / 0.5155 GB, free: 14.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.333e-06/0.1646, allocations: 4 kB / 0.5155 GB, free: 14.78 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.281e-05/0.1647, allocations: 0 / 0.5155 GB, free: 14.78 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.002287/0.167, allocations: 1.414 MB / 0.5169 GB, free: 13.31 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.287e-05/0.167, allocations: 8.031 kB / 0.5169 GB, free: 13.3 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002033/0.1672, allocations: 127.4 kB / 0.517 GB, free: 13.18 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.1687, allocations: 0.7897 MB / 0.5178 GB, free: 12.34 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001183/0.1689, allocations: 84.27 kB / 0.5178 GB, free: 12.26 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001168/0.169, allocations: 75.94 kB / 0.5179 GB, free: 12.18 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001393/0.1704, allocations: 0.7406 MB / 0.5186 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.869e-05/0.1704, allocations: 0 / 0.5186 GB, free: 11.4 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.022e-05/0.1705, allocations: 32 kB / 0.5187 GB, free: 11.37 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.068e-05/0.1705, allocations: 16 kB / 0.5187 GB, free: 11.36 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001068/0.1716, allocations: 0.5282 MB / 0.5192 GB, free: 10.83 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003294/0.1749, allocations: 2.273 MB / 0.5214 GB, free: 8.48 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.1763, allocations: 0.6248 MB / 0.522 GB, free: 7.852 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005136/0.1768, allocations: 286.2 kB / 0.5223 GB, free: 7.57 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.937e-05/0.1769, allocations: 8.547 kB / 0.5223 GB, free: 7.562 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006552/0.1775, allocations: 327 kB / 0.5226 GB, free: 7.227 MB / 398.1 MB Notification: Performance of pre-optimization done (n=60): time 2.224e-06/0.1776, allocations: 0 / 0.5226 GB, free: 7.227 MB / 398.1 MB Notification: Performance of matching and sorting (n=60): time 0.001551/0.1791, allocations: 0.7671 MB / 0.5234 GB, free: 6.453 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.286e-05/0.1792, allocations: 81.67 kB / 0.5235 GB, free: 6.355 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008629/0.1801, allocations: 0.7601 MB / 0.5242 GB, free: 5.57 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.261e-05/0.1801, allocations: 41.7 kB / 0.5242 GB, free: 5.523 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003368/0.1805, allocations: 456.4 kB / 0.5247 GB, free: 5.074 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001599/0.1807, allocations: 208.9 kB / 0.5249 GB, free: 4.867 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001613/0.1808, allocations: 110.3 kB / 0.525 GB, free: 4.754 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001034/0.1809, allocations: 330 kB / 0.5253 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004252/0.1814, allocations: 211.4 kB / 0.5255 GB, free: 4.219 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004812/0.1819, allocations: 308.4 kB / 0.5258 GB, free: 3.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000999/0.1829, allocations: 0.5153 MB / 0.5263 GB, free: 3.336 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1829, allocations: 0 / 0.5263 GB, free: 3.336 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001237/0.1841, allocations: 0.6658 MB / 0.5269 GB, free: 2.664 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.133e-05/0.1841, allocations: 11.94 kB / 0.527 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.1842, allocations: 3.984 kB / 0.527 GB, free: 2.648 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.822e-05/0.1842, allocations: 4 kB / 0.527 GB, free: 2.645 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006294/0.1848, allocations: 147.8 kB / 0.5271 GB, free: 2.5 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.438e-05/0.1848, allocations: 7.938 kB / 0.5271 GB, free: 2.492 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004075/0.1853, allocations: 67.41 kB / 0.5272 GB, free: 2.426 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.112e-05/0.1853, allocations: 28.09 kB / 0.5272 GB, free: 2.398 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004724/0.1858, allocations: 337.4 kB / 0.5275 GB, free: 2.066 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003554/0.1862, allocations: 272.5 kB / 0.5278 GB, free: 1.77 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006665/0.1868, allocations: 475.7 kB / 0.5282 GB, free: 1.273 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.234e-06/0.1868, allocations: 0 / 0.5282 GB, free: 1.273 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009033/0.1877, allocations: 0.607 MB / 0.5288 GB, free: 0.6602 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.067e-05/0.1878, allocations: 4 kB / 0.5288 GB, free: 0.6562 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.326e-06/0.1878, allocations: 4 kB / 0.5288 GB, free: 0.6523 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.575e-06/0.1878, allocations: 7.938 kB / 0.5288 GB, free: 0.6445 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005103/0.1883, allocations: 136.1 kB / 0.529 GB, free: 0.5117 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.1883, allocations: 7.938 kB / 0.529 GB, free: 0.5039 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003353/0.1887, allocations: 55.52 kB / 0.529 GB, free: 460 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.121e-05/0.1887, allocations: 20 kB / 0.5291 GB, free: 440 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0002143/0.1889, allocations: 212.1 kB / 0.5293 GB, free: 220 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000115/0.1891, allocations: 98.72 kB / 0.5293 GB, free: 120 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001921/0.1893, allocations: 109.4 kB / 0.5295 GB, free: 8 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.182e-06/0.1893, allocations: 8 kB / 0.5295 GB, free: 0 / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.588e-06/0.1893, allocations: 0 / 0.5295 GB, free: 0 / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.1893, allocations: 4.094 kB / 0.5295 GB, free: 15.99 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002076/0.1914, allocations: 1.447 MB / 0.5309 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.1914, allocations: 4 kB / 0.5309 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005373/0.192, allocations: 107.9 kB / 0.531 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.52e-06/0.192, allocations: 7.938 kB / 0.531 GB, free: 14.37 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.192, allocations: 19.98 kB / 0.531 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.775e-06/0.192, allocations: 0 / 0.531 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.192, allocations: 0 / 0.531 GB, free: 14.35 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001552/0.1936, allocations: 0.9595 MB / 0.5319 GB, free: 13.37 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003148/0.1939, allocations: 223.8 kB / 0.5322 GB, free: 13.13 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.978e-05/0.194, allocations: 12 kB / 0.5322 GB, free: 13.12 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004048/0.1944, allocations: 31.97 kB / 0.5322 GB, free: 13.09 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.912e-05/0.1945, allocations: 40.5 kB / 0.5322 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.23e-05/0.1946, allocations: 16 kB / 0.5323 GB, free: 13.04 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006779/0.1953, allocations: 0.5267 MB / 0.5328 GB, free: 12.5 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.1953, allocations: 0 / 0.5328 GB, free: 12.5 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006982/0.196, allocations: 278.9 kB / 0.533 GB, free: 12.22 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001548/0.1961, allocations: 123.1 kB / 0.5332 GB, free: 12.09 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001413/0.1975, allocations: 0.7807 MB / 0.5339 GB, free: 11.31 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 6.672e-06/0.1976, allocations: 8.125 kB / 0.5339 GB, free: 11.3 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000475/0.198, allocations: 263.1 kB / 0.5342 GB, free: 11.05 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001239/0.1993, allocations: 288.2 kB / 0.5344 GB, free: 10.79 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002663/0.202, allocations: 1.567 MB / 0.536 GB, free: 9.188 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005489/0.2025, allocations: 0.9977 MB / 0.537 GB, free: 8.164 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000448/0.203, allocations: 130.6 kB / 0.5371 GB, free: 8.031 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001939/0.2032, allocations: 63.42 kB / 0.5371 GB, free: 7.969 MB / 414.1 MB Notification: Performance of SimCode: time 4.81e-07/0.2032, allocations: 0 / 0.5371 GB, free: 7.969 MB / 414.1 MB Notification: Performance of Templates: time 0.01815/0.2214, allocations: 10.1 MB / 0.547 GB, free: 13.96 MB / 430.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)