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.00716/0.007161, allocations: 104.4 kB / 15.74 MB, free: 6.445 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.001323/0.001323, allocations: 193.4 kB / 16.67 MB, free: 6.355 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.572/1.572, allocations: 205.1 MB / 222.5 MB, free: 4.488 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.416/0.416, allocations: 54.95 MB / 324.8 MB, free: 60 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.001728/0.001728, allocations: 69.69 kB / 456.2 MB, free: 38.34 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1182/0.12, allocations: 59.6 MB / 0.5038 GB, free: 9.746 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Validation.LimPIDReset): time 0.005355/0.1254, allocations: 4.327 MB / 0.508 GB, free: 6.305 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003393/0.1288, allocations: 1.698 MB / 0.5096 GB, free: 4.898 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001014/0.1298, allocations: 39.81 kB / 0.5097 GB, free: 4.859 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005215/0.1304, allocations: 162.2 kB / 0.5098 GB, free: 4.699 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001054/0.1315, allocations: 250 kB / 0.5101 GB, free: 4.453 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001431/0.1329, allocations: 0.7168 MB / 0.5108 GB, free: 3.746 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.001092/0.134, allocations: 1.273 MB / 0.512 GB, free: 2.469 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005641/0.1346, allocations: 0.4963 MB / 0.5125 GB, free: 1.953 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004327/0.135, allocations: 489.9 kB / 0.513 GB, free: 1.473 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003093/0.1353, allocations: 473.3 kB / 0.5134 GB, free: 1.008 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001019/0.1355, allocations: 104 kB / 0.5135 GB, free: 0.9062 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.615e-05/0.1355, allocations: 104 kB / 0.5136 GB, free: 0.8047 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001384/0.1357, allocations: 235.1 kB / 0.5138 GB, free: 0.5742 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002425/0.1359, allocations: 0.4931 MB / 0.5143 GB, free: 80 kB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001103/0.137, allocations: 1.167 MB / 0.5155 GB, free: 14.9 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.1371, allocations: 0 / 0.5155 GB, free: 14.9 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.723e-06/0.1371, allocations: 0 / 0.5155 GB, free: 14.9 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.266e-05/0.1371, allocations: 0 / 0.5155 GB, free: 14.9 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.00235/0.1394, allocations: 1.418 MB / 0.5168 GB, free: 13.43 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.164e-05/0.1395, allocations: 12.03 kB / 0.5169 GB, free: 13.41 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002/0.1397, allocations: 123.4 kB / 0.517 GB, free: 13.29 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001254/0.141, allocations: 0.7897 MB / 0.5177 GB, free: 12.46 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.701e-05/0.1411, allocations: 84.27 kB / 0.5178 GB, free: 12.38 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.803e-05/0.1412, allocations: 71.94 kB / 0.5179 GB, free: 12.3 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001313/0.1425, allocations: 0.7484 MB / 0.5186 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.504e-05/0.1425, allocations: 0 / 0.5186 GB, free: 11.52 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.1426, allocations: 28 kB / 0.5187 GB, free: 11.49 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.541e-05/0.1426, allocations: 16 kB / 0.5187 GB, free: 11.47 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001161/0.1438, allocations: 0.5321 MB / 0.5192 GB, free: 10.94 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00331/0.1471, allocations: 2.277 MB / 0.5214 GB, free: 8.59 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001418/0.1485, allocations: 0.6246 MB / 0.522 GB, free: 7.961 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005266/0.1491, allocations: 278.3 kB / 0.5223 GB, free: 7.688 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.735e-05/0.1491, allocations: 16.5 kB / 0.5223 GB, free: 7.672 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006734/0.1498, allocations: 319 kB / 0.5226 GB, free: 7.344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=60): time 2.645e-06/0.1498, allocations: 0 / 0.5226 GB, free: 7.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=60): time 0.001609/0.1514, allocations: 0.7594 MB / 0.5233 GB, free: 6.578 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.1515, allocations: 85.67 kB / 0.5234 GB, free: 6.477 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009328/0.1525, allocations: 0.764 MB / 0.5242 GB, free: 5.688 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 6.725e-05/0.1526, allocations: 37.69 kB / 0.5242 GB, free: 5.645 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003804/0.1529, allocations: 464.4 kB / 0.5247 GB, free: 5.188 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/0.1531, allocations: 205 kB / 0.5248 GB, free: 4.984 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001934/0.1533, allocations: 106.3 kB / 0.525 GB, free: 4.875 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.1535, allocations: 333.9 kB / 0.5253 GB, free: 4.543 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004778/0.154, allocations: 211.4 kB / 0.5255 GB, free: 4.336 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005078/0.1545, allocations: 312.4 kB / 0.5258 GB, free: 3.996 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009296/0.1554, allocations: 0.5114 MB / 0.5263 GB, free: 3.453 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.528e-06/0.1554, allocations: 4 kB / 0.5263 GB, free: 3.449 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001254/0.1567, allocations: 0.6617 MB / 0.5269 GB, free: 2.781 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.405e-05/0.1567, allocations: 11.94 kB / 0.5269 GB, free: 2.77 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.1567, allocations: 4 kB / 0.5269 GB, free: 2.766 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.1568, allocations: 7.984 kB / 0.5269 GB, free: 2.758 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006642/0.1574, allocations: 139.8 kB / 0.5271 GB, free: 2.621 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.342e-05/0.1575, allocations: 8.188 kB / 0.5271 GB, free: 2.613 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004379/0.1579, allocations: 75.41 kB / 0.5272 GB, free: 2.539 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.99e-05/0.158, allocations: 20 kB / 0.5272 GB, free: 2.52 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005063/0.1585, allocations: 345.4 kB / 0.5275 GB, free: 2.18 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003481/0.1588, allocations: 272.5 kB / 0.5278 GB, free: 1.883 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006677/0.1595, allocations: 479.6 kB / 0.5282 GB, free: 1.383 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.1595, allocations: 0 / 0.5282 GB, free: 1.383 MB / 398.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0008895/0.1604, allocations: 0.5954 MB / 0.5288 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.04e-05/0.1604, allocations: 12.25 kB / 0.5288 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.006e-06/0.1604, allocations: 0 / 0.5288 GB, free: 0.7695 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.456e-06/0.1605, allocations: 11.94 kB / 0.5288 GB, free: 0.7578 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000522/0.161, allocations: 135.8 kB / 0.529 GB, free: 0.625 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.023e-06/0.161, allocations: 4 kB / 0.529 GB, free: 0.6211 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000348/0.1614, allocations: 55.52 kB / 0.529 GB, free: 0.5664 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.147e-05/0.1614, allocations: 16 kB / 0.529 GB, free: 0.5508 MB / 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.0001714/0.1616, allocations: 216.2 kB / 0.5292 GB, free: 340 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001104/0.1617, allocations: 106.7 kB / 0.5293 GB, free: 232 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001952/0.1619, allocations: 101.4 kB / 0.5294 GB, free: 128 kB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.602e-06/0.1619, allocations: 11.94 kB / 0.5294 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.1619, allocations: 0 / 0.5294 GB, free: 116 kB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.1619, allocations: 3.984 kB / 0.5294 GB, free: 112 kB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002084/0.164, allocations: 1.454 MB / 0.5309 GB, free: 14.6 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.164, allocations: 3.938 kB / 0.5309 GB, free: 14.59 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005483/0.1646, allocations: 103.8 kB / 0.531 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.1646, allocations: 4 kB / 0.531 GB, free: 14.49 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.1646, allocations: 12 kB / 0.531 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.1646, allocations: 0 / 0.531 GB, free: 14.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.1647, allocations: 4 kB / 0.531 GB, free: 14.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.1663, allocations: 0.9634 MB / 0.5319 GB, free: 13.49 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002421/0.1665, allocations: 223.8 kB / 0.5321 GB, free: 13.25 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.717e-05/0.1666, allocations: 12 kB / 0.5322 GB, free: 13.24 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000429/0.1671, allocations: 35.95 kB / 0.5322 GB, free: 13.2 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.225e-05/0.1672, allocations: 32.52 kB / 0.5322 GB, free: 13.17 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.626e-05/0.1672, allocations: 19.98 kB / 0.5322 GB, free: 13.15 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0006492/0.1679, allocations: 0.5228 MB / 0.5327 GB, free: 12.62 MB / 414.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.1679, allocations: 3.938 kB / 0.5328 GB, free: 12.61 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007033/0.1686, allocations: 290.9 kB / 0.533 GB, free: 12.33 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.0001427/0.1687, allocations: 115.1 kB / 0.5331 GB, free: 12.2 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00145/0.1702, allocations: 0.7802 MB / 0.5339 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.1702, allocations: 0 / 0.5339 GB, free: 11.43 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004894/0.1707, allocations: 267.1 kB / 0.5342 GB, free: 11.16 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001228/0.1719, allocations: 296.5 kB / 0.5344 GB, free: 10.89 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002503/0.1745, allocations: 1.56 MB / 0.536 GB, free: 9.301 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005554/0.175, allocations: 1.005 MB / 0.5369 GB, free: 8.27 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0004553/0.1755, allocations: 114.7 kB / 0.5371 GB, free: 8.152 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002146/0.1757, allocations: 63.42 kB / 0.5371 GB, free: 8.09 MB / 414.1 MB Notification: Performance of SimCode: time 5.51e-07/0.1757, allocations: 4 kB / 0.5371 GB, free: 8.086 MB / 414.1 MB Notification: Performance of Templates: time 0.01887/0.1946, allocations: 9.863 MB / 0.5467 GB, free: 14.3 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)