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/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 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) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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 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(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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008624/0.0008624, allocations: 99.23 kB / 15.05 MB, free: 1.105 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.0008548/0.0008547, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.258/1.258, allocations: 223.2 MB / 239.9 MB, free: 5.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9194/0.9194, allocations: 135.2 MB / 426.2 MB, free: 14.3 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002941/0.0002942, allocations: 12.77 kB / 0.5068 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1511/0.1514, allocations: 82.31 MB / 0.5872 GB, free: 3.129 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.003393/0.1548, allocations: 3.373 MB / 0.5905 GB, free: 15.73 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001657/0.1565, allocations: 1.239 MB / 0.5917 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002331/0.1567, allocations: 27.81 kB / 0.5917 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 9.268e-05/0.1568, allocations: 63.36 kB / 0.5918 GB, free: 14.4 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0004698/0.1573, allocations: 219.3 kB / 0.592 GB, free: 14.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.1579, allocations: 302.9 kB / 0.5923 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0006002/0.1585, allocations: 0.5821 MB / 0.5928 GB, free: 13.31 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000371/0.1589, allocations: 307.5 kB / 0.5931 GB, free: 13 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002258/0.1591, allocations: 234.9 kB / 0.5934 GB, free: 12.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002286/0.1593, allocations: 234.7 kB / 0.5936 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 4.966e-05/0.1594, allocations: 27.94 kB / 0.5936 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.443e-05/0.1595, allocations: 24 kB / 0.5936 GB, free: 12.48 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 7.93e-05/0.1595, allocations: 103.5 kB / 0.5937 GB, free: 12.38 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001009/0.1596, allocations: 153.3 kB / 0.5939 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005714/0.1602, allocations: 0.8066 MB / 0.5947 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.885e-06/0.1602, allocations: 0 / 0.5947 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.773e-06/0.1602, allocations: 0 / 0.5947 GB, free: 11.42 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.697e-06/0.1603, allocations: 0 / 0.5947 GB, free: 11.42 MB / 0.4981 GB 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.001409/0.1617, allocations: 0.9618 MB / 0.5956 GB, free: 10.4 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.206e-05/0.1617, allocations: 8.031 kB / 0.5956 GB, free: 10.39 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000116/0.1618, allocations: 86.97 kB / 0.5957 GB, free: 10.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006974/0.1625, allocations: 0.5291 MB / 0.5962 GB, free: 9.738 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.621e-05/0.1626, allocations: 49.25 kB / 0.5963 GB, free: 9.691 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.843e-05/0.1627, allocations: 56 kB / 0.5963 GB, free: 9.637 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009007/0.1636, allocations: 0.6075 MB / 0.5969 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.1636, allocations: 0 / 0.5969 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.796e-05/0.1637, allocations: 24 kB / 0.5969 GB, free: 8.98 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.1637, allocations: 12 kB / 0.5969 GB, free: 8.969 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008476/0.1645, allocations: 469 kB / 0.5974 GB, free: 8.512 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00236/0.1669, allocations: 2.028 MB / 0.5994 GB, free: 6.414 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008045/0.1677, allocations: 458.4 kB / 0.5998 GB, free: 5.961 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.1677, allocations: 4.438 kB / 0.5998 GB, free: 5.957 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004939/0.1682, allocations: 269.2 kB / 0.6001 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 1.873e-06/0.1683, allocations: 0 / 0.6001 GB, free: 5.68 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.001117/0.1694, allocations: 0.5922 MB / 0.6006 GB, free: 5.082 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.407e-05/0.1694, allocations: 63.8 kB / 0.6007 GB, free: 5.008 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003978/0.1698, allocations: 438.7 kB / 0.6011 GB, free: 4.57 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.276e-05/0.1699, allocations: 41.7 kB / 0.6012 GB, free: 4.523 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001854/0.1701, allocations: 316.3 kB / 0.6015 GB, free: 4.207 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001093/0.1702, allocations: 173.5 kB / 0.6016 GB, free: 4.035 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.312e-05/0.1702, allocations: 12 kB / 0.6016 GB, free: 4.023 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.1703, allocations: 362.8 kB / 0.602 GB, free: 3.66 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003349/0.1707, allocations: 169 kB / 0.6021 GB, free: 3.492 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000375/0.1711, allocations: 257.8 kB / 0.6024 GB, free: 3.219 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003759/0.1715, allocations: 223.9 kB / 0.6026 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1715, allocations: 0 / 0.6026 GB, free: 2.996 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008825/0.1724, allocations: 0.5663 MB / 0.6032 GB, free: 2.414 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.246e-05/0.1724, allocations: 33.7 kB / 0.6032 GB, free: 2.375 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.933e-06/0.1724, allocations: 4.25 kB / 0.6032 GB, free: 2.371 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.428e-05/0.1724, allocations: 8 kB / 0.6032 GB, free: 2.363 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.1729, allocations: 115.8 kB / 0.6033 GB, free: 2.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.058e-05/0.1729, allocations: 7.953 kB / 0.6033 GB, free: 2.242 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.1732, allocations: 71.5 kB / 0.6034 GB, free: 2.172 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.1732, allocations: 16 kB / 0.6034 GB, free: 2.156 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition2,$whenCondition1,conWitRes.trigger.y,conNoRes.trigger.y,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002109/0.1735, allocations: 219.5 kB / 0.6036 GB, free: 1.934 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.646e-05/0.1735, allocations: 51.34 kB / 0.6037 GB, free: 1.883 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001109/0.1736, allocations: 61.59 kB / 0.6037 GB, free: 1.824 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.1737, allocations: 4 kB / 0.6037 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/0.1737, allocations: 0 / 0.6037 GB, free: 1.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.716e-06/0.1737, allocations: 7.938 kB / 0.6037 GB, free: 1.812 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001475/0.1752, allocations: 1.193 MB / 0.6049 GB, free: 0.5625 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.337e-06/0.1752, allocations: 4 kB / 0.6049 GB, free: 0.5586 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004267/0.1756, allocations: 99.88 kB / 0.605 GB, free: 472 kB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.1756, allocations: 4 kB / 0.605 GB, free: 468 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.162e-05/0.1757, allocations: 12 kB / 0.605 GB, free: 456 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.1757, allocations: 3.953 kB / 0.605 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.002e-06/0.1757, allocations: 0 / 0.605 GB, free: 452 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2693/0.445, allocations: 0.7692 MB / 0.6058 GB, free: 48.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002566/0.4453, allocations: 168.9 kB / 0.6059 GB, free: 48.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.326e-05/0.4453, allocations: 10.75 kB / 0.6059 GB, free: 48.48 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003024/0.4456, allocations: 31.75 kB / 0.606 GB, free: 48.48 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.108e-05/0.4457, allocations: 40.64 kB / 0.606 GB, free: 48.48 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.52e-05/0.4458, allocations: 16.3 kB / 0.606 GB, free: 48.48 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0003026/0.4461, allocations: 302.9 kB / 0.6063 GB, free: 48.39 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.51e-07/0.4461, allocations: 3.156 kB / 0.6063 GB, free: 48.39 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0004615/0.4466, allocations: 140.6 kB / 0.6065 GB, free: 48.39 MB / 0.4981 GB 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001261/0.4467, allocations: 114.4 kB / 0.6066 GB, free: 48.3 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0008567/0.4475, allocations: 494.1 kB / 0.607 GB, free: 48.24 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.4476, allocations: 1.5 kB / 0.607 GB, free: 48.24 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003676/0.4479, allocations: 222 kB / 0.6072 GB, free: 48.24 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005981/0.4485, allocations: 130.4 kB / 0.6074 GB, free: 48.24 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002231/0.4508, allocations: 1.618 MB / 0.6089 GB, free: 47.44 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002597/0.4511, allocations: 0.8998 MB / 0.6098 GB, free: 46.73 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002333/0.4513, allocations: 68.8 kB / 0.6099 GB, free: 46.71 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.323e-05/0.4514, allocations: 38.66 kB / 0.6099 GB, free: 46.71 MB / 0.4981 GB Notification: Performance of SimCode: time 4.41e-07/0.4514, allocations: 0 / 0.6099 GB, free: 46.71 MB / 0.4981 GB Notification: Performance of Templates: time 0.00813/0.4595, allocations: 5.344 MB / 0.6151 GB, free: 46.41 MB / 0.4981 GB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: