Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.conf.json 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/IDEAS 3.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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) Running command: translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset") translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001643/0.001643, allocations: 182.9 kB / 15.98 MB, free: 5.77 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7331/0.7331, allocations: 133.4 MB / 150.1 MB, free: 11.17 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 222.9 MB / 404.7 MB, free: 6.047 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009945/0.0009944, allocations: 95.75 kB / 485.9 MB, free: 7.16 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001007/0.001007, allocations: 51.92 kB / 0.5636 GB, free: 69.91 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.125/0.126, allocations: 80.42 MB / 0.6421 GB, free: 5.422 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.005761/0.1318, allocations: 4.324 MB / 0.6464 GB, free: 1.074 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.003035/0.1349, allocations: 1.55 MB / 0.6479 GB, free: 15.52 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008116/0.1357, allocations: 35.81 kB / 0.6479 GB, free: 15.48 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005294/0.1363, allocations: 122.8 kB / 0.648 GB, free: 15.36 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0008266/0.1371, allocations: 174.8 kB / 0.6482 GB, free: 15.19 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001435/0.1386, allocations: 0.6243 MB / 0.6488 GB, free: 14.57 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.001365/0.14, allocations: 1.148 MB / 0.6499 GB, free: 13.42 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006861/0.1407, allocations: 492.2 kB / 0.6504 GB, free: 12.92 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000467/0.1411, allocations: 413.8 kB / 0.6508 GB, free: 12.51 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003924/0.1415, allocations: 425.4 kB / 0.6512 GB, free: 12.09 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001029/0.1417, allocations: 48 kB / 0.6512 GB, free: 12.05 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.157e-05/0.1418, allocations: 52 kB / 0.6513 GB, free: 12 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001421/0.1419, allocations: 183 kB / 0.6515 GB, free: 11.82 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003097/0.1422, allocations: 437.1 kB / 0.6519 GB, free: 11.39 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008019/0.143, allocations: 1.051 MB / 0.6529 GB, free: 10.33 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.176e-06/0.143, allocations: 0 / 0.6529 GB, free: 10.33 MB / 458.7 MB Notification: Performance of FrontEnd: time 7.41e-07/0.143, allocations: 0 / 0.6529 GB, free: 10.33 MB / 458.7 MB Notification: Performance of Transformations before backend: time 1.076e-05/0.1431, allocations: 0 / 0.6529 GB, free: 10.33 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002276/0.1453, allocations: 1.399 MB / 0.6543 GB, free: 8.883 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.886e-05/0.1454, allocations: 12.03 kB / 0.6543 GB, free: 8.871 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001637/0.1456, allocations: 123.4 kB / 0.6544 GB, free: 8.75 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001085/0.1467, allocations: 0.7275 MB / 0.6551 GB, free: 7.98 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.412e-05/0.1467, allocations: 84.27 kB / 0.6552 GB, free: 7.891 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.09e-05/0.1468, allocations: 72.28 kB / 0.6553 GB, free: 7.82 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001132/0.148, allocations: 0.7329 MB / 0.656 GB, free: 7.055 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.148, allocations: 3.938 kB / 0.656 GB, free: 7.051 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.357e-05/0.1481, allocations: 28 kB / 0.656 GB, free: 7.023 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.833e-05/0.1481, allocations: 19.94 kB / 0.656 GB, free: 7.004 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.1492, allocations: 0.5204 MB / 0.6565 GB, free: 6.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00313/0.1523, allocations: 2.267 MB / 0.6587 GB, free: 4.141 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001386/0.1537, allocations: 0.6274 MB / 0.6594 GB, free: 3.508 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005203/0.1543, allocations: 279.8 kB / 0.6596 GB, free: 3.234 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.202e-05/0.1543, allocations: 8.5 kB / 0.6596 GB, free: 3.227 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007403/0.1551, allocations: 323 kB / 0.6599 GB, free: 2.895 MB / 458.7 MB Notification: Performance of pre-optimization done (n=60): time 3.026e-06/0.1551, allocations: 4 kB / 0.6599 GB, free: 2.891 MB / 458.7 MB Notification: Performance of matching and sorting (n=60): time 0.001595/0.1567, allocations: 0.7516 MB / 0.6607 GB, free: 2.137 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.665e-05/0.1567, allocations: 85.67 kB / 0.6608 GB, free: 2.035 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008727/0.1576, allocations: 0.7594 MB / 0.6615 GB, free: 1.262 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 4.607e-05/0.1577, allocations: 37.7 kB / 0.6615 GB, free: 1.219 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00036/0.158, allocations: 444.5 kB / 0.662 GB, free: 0.7812 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001765/0.1582, allocations: 201 kB / 0.6621 GB, free: 0.582 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001895/0.1584, allocations: 106.3 kB / 0.6623 GB, free: 480 kB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.1586, allocations: 330 kB / 0.6626 GB, free: 144 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005046/0.1591, allocations: 215.4 kB / 0.6628 GB, free: 15.93 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005613/0.1597, allocations: 304.4 kB / 0.6631 GB, free: 15.6 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001027/0.1607, allocations: 0.5074 MB / 0.6636 GB, free: 15.06 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.1607, allocations: 0 / 0.6636 GB, free: 15.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00128/0.162, allocations: 0.65 MB / 0.6642 GB, free: 14.4 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.162, allocations: 9.719 kB / 0.6642 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.659e-06/0.162, allocations: 4 kB / 0.6642 GB, free: 14.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.83e-05/0.1621, allocations: 12.19 kB / 0.6642 GB, free: 14.38 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006661/0.1627, allocations: 143.7 kB / 0.6644 GB, free: 14.23 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.729e-05/0.1628, allocations: 15.92 kB / 0.6644 GB, free: 14.22 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004426/0.1632, allocations: 71.36 kB / 0.6644 GB, free: 14.15 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.488e-05/0.1633, allocations: 23.98 kB / 0.6645 GB, free: 14.12 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0006149/0.1639, allocations: 353.4 kB / 0.6648 GB, free: 13.78 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004771/0.1644, allocations: 292.5 kB / 0.6651 GB, free: 13.46 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0008654/0.1653, allocations: 495.7 kB / 0.6655 GB, free: 12.94 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.739e-06/0.1653, allocations: 4 kB / 0.6656 GB, free: 12.94 MB / 474.7 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.001188/0.1665, allocations: 0.6344 MB / 0.6662 GB, free: 12.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1665, allocations: 4 kB / 0.6662 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.242e-06/0.1665, allocations: 4 kB / 0.6662 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.558e-06/0.1665, allocations: 4 kB / 0.6662 GB, free: 12.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006148/0.1671, allocations: 143.8 kB / 0.6663 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.1e-05/0.1672, allocations: 4 kB / 0.6663 GB, free: 12.14 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004261/0.1676, allocations: 63.62 kB / 0.6664 GB, free: 12.08 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.019e-05/0.1676, allocations: 24 kB / 0.6664 GB, free: 12.05 MB / 474.7 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.0001826/0.1678, allocations: 212.1 kB / 0.6666 GB, free: 11.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001311/0.168, allocations: 90.88 kB / 0.6667 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002574/0.1682, allocations: 101.2 kB / 0.6668 GB, free: 11.65 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.005e-06/0.1682, allocations: 4 kB / 0.6668 GB, free: 11.64 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/0.1683, allocations: 11.92 kB / 0.6668 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.023e-06/0.1683, allocations: 0 / 0.6668 GB, free: 11.63 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002205/0.1705, allocations: 1.442 MB / 0.6682 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.1705, allocations: 3.938 kB / 0.6682 GB, free: 10.14 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005567/0.1711, allocations: 107.8 kB / 0.6683 GB, free: 10.03 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.67e-06/0.1711, allocations: 8 kB / 0.6683 GB, free: 10.02 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.253e-05/0.1711, allocations: 12 kB / 0.6683 GB, free: 10.01 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.619e-06/0.1711, allocations: 4 kB / 0.6683 GB, free: 10.01 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.753e-06/0.1712, allocations: 0 / 0.6683 GB, free: 10.01 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0091/0.1803, allocations: 5.332 MB / 0.6736 GB, free: 4.527 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002968/0.1806, allocations: 231.6 kB / 0.6738 GB, free: 4.281 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.922e-05/0.1807, allocations: 12 kB / 0.6738 GB, free: 4.27 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004575/0.1812, allocations: 35.97 kB / 0.6738 GB, free: 4.234 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.1813, allocations: 36.5 kB / 0.6739 GB, free: 4.199 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.171e-05/0.1813, allocations: 20 kB / 0.6739 GB, free: 4.18 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0006603/0.182, allocations: 0.5146 MB / 0.6744 GB, free: 3.668 MB / 474.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.182, allocations: 0 / 0.6744 GB, free: 3.668 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.001072/0.1831, allocations: 387 kB / 0.6747 GB, free: 3.289 MB / 474.7 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.0001513/0.1832, allocations: 117 kB / 0.6749 GB, free: 3.168 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.001693/0.1849, allocations: 0.7924 MB / 0.6756 GB, free: 2.375 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.185, allocations: 0 / 0.6756 GB, free: 2.375 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005328/0.1855, allocations: 275.2 kB / 0.6759 GB, free: 2.109 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001203/0.1867, allocations: 239 kB / 0.6761 GB, free: 1.871 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.1899, allocations: 2.26 MB / 0.6783 GB, free: 15.56 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005655/0.1905, allocations: 1.002 MB / 0.6793 GB, free: 14.54 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005946/0.1911, allocations: 139 kB / 0.6794 GB, free: 14.39 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000218/0.1913, allocations: 67.44 kB / 0.6795 GB, free: 14.33 MB / 490.7 MB Notification: Performance of SimCode: time 5.31e-07/0.1913, allocations: 3.938 kB / 0.6795 GB, free: 14.32 MB / 490.7 MB Notification: Performance of Templates: time 0.02019/0.2115, allocations: 10.22 MB / 0.6895 GB, free: 4.199 MB / 490.7 MB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)