Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.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.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001388/0.001388, allocations: 183.2 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.7039/0.7039, allocations: 133.3 MB / 150.1 MB, free: 11.14 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.376/1.376, allocations: 222.9 MB / 404.7 MB, free: 6.016 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.0009887/0.0009887, allocations: 111.4 kB / 485.9 MB, free: 7.168 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001715/0.001715, allocations: 51.92 kB / 0.5636 GB, free: 69.93 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1429, allocations: 80.43 MB / 0.6421 GB, free: 5.434 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005109/0.1481, allocations: 4.105 MB / 0.6461 GB, free: 1.301 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.002433/0.1505, allocations: 1.29 MB / 0.6474 GB, free: 4 kB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004686/0.151, allocations: 19.98 kB / 0.6474 GB, free: 15.98 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003174/0.1514, allocations: 99.16 kB / 0.6475 GB, free: 15.89 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003189/0.1517, allocations: 146.8 kB / 0.6477 GB, free: 15.74 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008397/0.1526, allocations: 386.6 kB / 0.648 GB, free: 15.37 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0007364/0.1533, allocations: 0.889 MB / 0.6489 GB, free: 14.48 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005453/0.1539, allocations: 430.1 kB / 0.6493 GB, free: 14.04 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002764/0.1542, allocations: 286.6 kB / 0.6496 GB, free: 13.75 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002933/0.1545, allocations: 294.4 kB / 0.6499 GB, free: 13.46 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 8.439e-05/0.1546, allocations: 40 kB / 0.6499 GB, free: 13.43 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.48e-05/0.1547, allocations: 44 kB / 0.6499 GB, free: 13.38 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001053/0.1548, allocations: 131.4 kB / 0.6501 GB, free: 13.25 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002856/0.1551, allocations: 338.1 kB / 0.6504 GB, free: 12.92 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0007566/0.1558, allocations: 1.005 MB / 0.6514 GB, free: 11.91 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/0.1558, allocations: 3.984 kB / 0.6514 GB, free: 11.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.1558, allocations: 0 / 0.6514 GB, free: 11.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 8.135e-06/0.1559, allocations: 0 / 0.6514 GB, free: 11.91 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.001713/0.1576, allocations: 1.061 MB / 0.6524 GB, free: 10.79 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.1576, allocations: 12.03 kB / 0.6524 GB, free: 10.78 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.1578, allocations: 87.89 kB / 0.6525 GB, free: 10.7 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007549/0.1585, allocations: 0.5534 MB / 0.653 GB, free: 10.1 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.288e-05/0.1586, allocations: 45.69 kB / 0.6531 GB, free: 10.06 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.09e-05/0.1587, allocations: 56.38 kB / 0.6531 GB, free: 10 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.1597, allocations: 0.6156 MB / 0.6537 GB, free: 9.363 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.941e-05/0.1597, allocations: 3.938 kB / 0.6537 GB, free: 9.359 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.866e-05/0.1598, allocations: 28 kB / 0.6538 GB, free: 9.332 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.232e-05/0.1598, allocations: 12 kB / 0.6538 GB, free: 9.32 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009481/0.1608, allocations: 457 kB / 0.6542 GB, free: 8.871 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002764/0.1635, allocations: 2.024 MB / 0.6562 GB, free: 6.773 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008807/0.1644, allocations: 438.4 kB / 0.6566 GB, free: 6.336 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004436/0.1649, allocations: 242.1 kB / 0.6568 GB, free: 6.098 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.709e-05/0.1649, allocations: 8.422 kB / 0.6569 GB, free: 6.09 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005991/0.1656, allocations: 257.3 kB / 0.6571 GB, free: 5.824 MB / 458.7 MB Notification: Performance of pre-optimization done (n=49): time 3.136e-06/0.1656, allocations: 0 / 0.6571 GB, free: 5.824 MB / 458.7 MB Notification: Performance of matching and sorting (n=49): time 0.001248/0.1668, allocations: 0.585 MB / 0.6577 GB, free: 5.234 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.361e-05/0.1669, allocations: 63.83 kB / 0.6577 GB, free: 5.16 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004698/0.1674, allocations: 445.9 kB / 0.6582 GB, free: 4.715 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.1674, allocations: 33.7 kB / 0.6582 GB, free: 4.676 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002125/0.1676, allocations: 324.3 kB / 0.6585 GB, free: 4.355 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000121/0.1678, allocations: 165.7 kB / 0.6587 GB, free: 4.191 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001407/0.1679, allocations: 94.16 kB / 0.6587 GB, free: 4.094 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001391/0.1681, allocations: 370.8 kB / 0.6591 GB, free: 3.723 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003783/0.1684, allocations: 161 kB / 0.6593 GB, free: 3.562 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004172/0.1689, allocations: 249.8 kB / 0.6595 GB, free: 3.297 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007883/0.1697, allocations: 452 kB / 0.6599 GB, free: 2.816 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.685e-06/0.1697, allocations: 0 / 0.6599 GB, free: 2.816 MB / 458.7 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009978/0.1707, allocations: 0.5585 MB / 0.6605 GB, free: 2.246 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.304e-05/0.1707, allocations: 41.62 kB / 0.6605 GB, free: 2.199 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.185e-06/0.1707, allocations: 4 kB / 0.6605 GB, free: 2.195 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.68e-05/0.1708, allocations: 4 kB / 0.6605 GB, free: 2.191 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005142/0.1713, allocations: 112.1 kB / 0.6606 GB, free: 2.082 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.087e-05/0.1713, allocations: 8 kB / 0.6606 GB, free: 2.074 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003469/0.1717, allocations: 63.5 kB / 0.6607 GB, free: 2.012 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.411e-05/0.1717, allocations: 20 kB / 0.6607 GB, free: 1.992 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * 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.0002371/0.172, allocations: 205.7 kB / 0.6609 GB, free: 1.781 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.967e-05/0.172, allocations: 63.2 kB / 0.661 GB, free: 1.719 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001342/0.1722, allocations: 69.59 kB / 0.661 GB, free: 1.652 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.1722, allocations: 4 kB / 0.661 GB, free: 1.648 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.1722, allocations: 0 / 0.661 GB, free: 1.648 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.814e-06/0.1722, allocations: 7.984 kB / 0.661 GB, free: 1.641 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001677/0.1739, allocations: 1.177 MB / 0.6622 GB, free: 420 kB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.375e-06/0.1739, allocations: 4 kB / 0.6622 GB, free: 416 kB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000471/0.1744, allocations: 91.88 kB / 0.6623 GB, free: 324 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.933e-06/0.1744, allocations: 4 kB / 0.6623 GB, free: 320 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.24e-05/0.1744, allocations: 15.94 kB / 0.6623 GB, free: 304 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.795e-06/0.1745, allocations: 0 / 0.6623 GB, free: 304 kB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.1745, allocations: 0 / 0.6623 GB, free: 304 kB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006717/0.1812, allocations: 4.201 MB / 0.6664 GB, free: 11.95 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001726/0.1814, allocations: 176.2 kB / 0.6666 GB, free: 11.75 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.787e-05/0.1815, allocations: 11.98 kB / 0.6666 GB, free: 11.74 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002988/0.1818, allocations: 39.91 kB / 0.6666 GB, free: 11.7 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000106/0.1819, allocations: 32.39 kB / 0.6667 GB, free: 11.67 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.827e-05/0.1819, allocations: 12 kB / 0.6667 GB, free: 11.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.0003468/0.1823, allocations: 310.9 kB / 0.667 GB, free: 11.36 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1823, allocations: 0 / 0.667 GB, free: 11.36 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0006734/0.183, allocations: 195.5 kB / 0.6671 GB, free: 11.17 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * 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.000144/0.1831, allocations: 107.2 kB / 0.6673 GB, free: 11.05 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.000974/0.1841, allocations: 481 kB / 0.6677 GB, free: 10.57 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.1841, allocations: 0 / 0.6677 GB, free: 10.57 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004219/0.1845, allocations: 222.9 kB / 0.6679 GB, free: 10.35 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007559/0.1853, allocations: 152 kB / 0.6681 GB, free: 10.21 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003032/0.1883, allocations: 1.937 MB / 0.67 GB, free: 8.227 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004306/0.1888, allocations: 0.8979 MB / 0.6708 GB, free: 7.301 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.000319/0.1891, allocations: 72.58 kB / 0.6709 GB, free: 7.23 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000139/0.1893, allocations: 51.42 kB / 0.671 GB, free: 7.18 MB / 474.7 MB Notification: Performance of SimCode: time 4.4e-07/0.1893, allocations: 0 / 0.671 GB, free: 7.18 MB / 474.7 MB Notification: Performance of Templates: time 0.0119/0.2012, allocations: 6.951 MB / 0.6777 GB, free: 312 kB / 474.7 MB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)