Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_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_IDEAS.Controls.Continuous.Examples.LimPIDWithReset") translateModel(IDEAS.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.0009789/0.0009789, allocations: 99.86 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.001139/0.001139, 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.317/1.317, allocations: 223.2 MB / 239.9 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8924/0.8924, allocations: 135.2 MB / 426.2 MB, free: 14.26 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003301/0.0003301, allocations: 8 kB / 0.5068 GB, free: 5.297 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1742/0.1745, allocations: 82.32 MB / 0.5872 GB, free: 3.152 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.004102/0.1787, allocations: 3.38 MB / 0.5905 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002556/0.1813, allocations: 1.232 MB / 0.5917 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006695/0.182, allocations: 19.88 kB / 0.5917 GB, free: 14.5 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002535/0.1823, allocations: 59.36 kB / 0.5918 GB, free: 14.44 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.0009093/0.1832, allocations: 219.3 kB / 0.592 GB, free: 14.22 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008916/0.1841, allocations: 310.7 kB / 0.5923 GB, free: 13.92 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001088/0.1852, allocations: 0.5783 MB / 0.5928 GB, free: 13.34 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005052/0.1857, allocations: 303.5 kB / 0.5931 GB, free: 13.03 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003949/0.1861, allocations: 242.9 kB / 0.5934 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002635/0.1864, allocations: 234.6 kB / 0.5936 GB, free: 12.56 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.36e-05/0.1864, allocations: 27.94 kB / 0.5936 GB, free: 12.54 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 5.764e-05/0.1865, allocations: 24 kB / 0.5936 GB, free: 12.51 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 8.65e-05/0.1866, allocations: 95.53 kB / 0.5937 GB, free: 12.42 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001232/0.1867, allocations: 157.3 kB / 0.5939 GB, free: 12.26 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.0006324/0.1874, allocations: 0.8027 MB / 0.5947 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.1874, allocations: 3.938 kB / 0.5947 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.563e-06/0.1874, allocations: 0 / 0.5947 GB, free: 11.45 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 8.886e-06/0.1874, allocations: 0 / 0.5947 GB, free: 11.45 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.001548/0.1889, allocations: 0.96 MB / 0.5956 GB, free: 10.43 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.557e-05/0.189, allocations: 12.03 kB / 0.5956 GB, free: 10.42 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001295/0.1891, allocations: 86.97 kB / 0.5957 GB, free: 10.33 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007643/0.1899, allocations: 0.533 MB / 0.5962 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.022e-05/0.1899, allocations: 45.31 kB / 0.5963 GB, free: 9.719 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.64e-05/0.19, allocations: 52 kB / 0.5963 GB, free: 9.668 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009992/0.191, allocations: 0.6114 MB / 0.5969 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.893e-05/0.1911, allocations: 0 / 0.5969 GB, free: 9.031 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.146e-05/0.1911, allocations: 24 kB / 0.5969 GB, free: 9.008 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.334e-05/0.1911, allocations: 16 kB / 0.5969 GB, free: 8.992 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009186/0.1921, allocations: 469 kB / 0.5974 GB, free: 8.535 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002614/0.1947, allocations: 2.02 MB / 0.5994 GB, free: 6.445 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000824/0.1955, allocations: 465.7 kB / 0.5998 GB, free: 5.988 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 3.749e-05/0.1956, allocations: 4.438 kB / 0.5998 GB, free: 5.984 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000531/0.1961, allocations: 265.3 kB / 0.6001 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=49): time 2.023e-06/0.1961, allocations: 0 / 0.6001 GB, free: 5.711 MB / 0.4981 GB Notification: Performance of matching and sorting (n=49): time 0.001243/0.1974, allocations: 0.5961 MB / 0.6006 GB, free: 5.109 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.307e-05/0.1974, allocations: 59.78 kB / 0.6007 GB, free: 5.039 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004629/0.1979, allocations: 442.7 kB / 0.6011 GB, free: 4.598 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 3.978e-05/0.198, allocations: 37.7 kB / 0.6012 GB, free: 4.555 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002081/0.1982, allocations: 320.3 kB / 0.6015 GB, free: 4.234 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001266/0.1983, allocations: 173.5 kB / 0.6016 GB, free: 4.062 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.371e-05/0.1983, allocations: 12 kB / 0.6016 GB, free: 4.051 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1985, allocations: 358.8 kB / 0.602 GB, free: 3.691 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003483/0.1988, allocations: 173 kB / 0.6022 GB, free: 3.52 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003952/0.1992, allocations: 253.8 kB / 0.6024 GB, free: 3.25 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003981/0.1996, allocations: 227.8 kB / 0.6026 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.561e-06/0.1996, allocations: 0 / 0.6026 GB, free: 3.023 MB / 0.4981 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009562/0.2006, allocations: 0.5701 MB / 0.6032 GB, free: 2.441 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.193e-05/0.2007, allocations: 33.7 kB / 0.6032 GB, free: 2.402 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.576e-06/0.2007, allocations: 4 kB / 0.6032 GB, free: 2.398 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.649e-05/0.2007, allocations: 4 kB / 0.6032 GB, free: 2.395 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.2012, allocations: 115.8 kB / 0.6033 GB, free: 2.281 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.29e-05/0.2012, allocations: 7.953 kB / 0.6033 GB, free: 2.273 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003374/0.2016, allocations: 67.81 kB / 0.6034 GB, free: 2.207 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.517e-05/0.2016, allocations: 16 kB / 0.6034 GB, free: 2.191 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.0002923/0.2019, allocations: 215.5 kB / 0.6036 GB, free: 1.973 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.718e-05/0.202, allocations: 63.27 kB / 0.6037 GB, free: 1.91 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/0.2021, allocations: 65.59 kB / 0.6037 GB, free: 1.848 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.845e-06/0.2021, allocations: 8 kB / 0.6037 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.137e-06/0.2021, allocations: 4 kB / 0.6037 GB, free: 1.836 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.2022, allocations: 7.938 kB / 0.6038 GB, free: 1.828 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001693/0.2039, allocations: 1.178 MB / 0.6049 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.118e-06/0.2039, allocations: 4 kB / 0.6049 GB, free: 0.5898 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004369/0.2043, allocations: 99.81 kB / 0.605 GB, free: 0.4922 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.281e-06/0.2043, allocations: 4 kB / 0.605 GB, free: 500 kB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.904e-05/0.2044, allocations: 8 kB / 0.605 GB, free: 492 kB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.2044, allocations: 7.953 kB / 0.605 GB, free: 484 kB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.533e-06/0.2044, allocations: 4 kB / 0.605 GB, free: 480 kB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3068/0.5112, allocations: 0.7663 MB / 0.6058 GB, free: 48.6 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003778/0.5116, allocations: 166.3 kB / 0.6059 GB, free: 48.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.104e-05/0.5117, allocations: 9.75 kB / 0.6059 GB, free: 48.5 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003249/0.512, allocations: 39.47 kB / 0.606 GB, free: 48.5 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001148/0.5122, allocations: 35.67 kB / 0.606 GB, free: 48.5 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.5122, allocations: 14.22 kB / 0.606 GB, free: 48.5 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0004113/0.5126, allocations: 304.1 kB / 0.6063 GB, free: 48.42 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.282e-06/0.5126, allocations: 2.219 kB / 0.6063 GB, free: 48.42 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.000531/0.5132, allocations: 147.2 kB / 0.6065 GB, free: 48.42 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.0001505/0.5133, allocations: 108.9 kB / 0.6066 GB, free: 48.33 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0009241/0.5143, allocations: 494.1 kB / 0.607 GB, free: 48.27 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.5143, allocations: 0 / 0.607 GB, free: 48.27 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0003857/0.5147, allocations: 221.7 kB / 0.6072 GB, free: 48.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006622/0.5153, allocations: 136.4 kB / 0.6074 GB, free: 48.27 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002612/0.5179, allocations: 1.621 MB / 0.609 GB, free: 47.45 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003539/0.5183, allocations: 0.9028 MB / 0.6098 GB, free: 46.75 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0002566/0.5186, allocations: 68.8 kB / 0.6099 GB, free: 46.73 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001066/0.5187, allocations: 36.56 kB / 0.6099 GB, free: 46.73 MB / 0.4981 GB Notification: Performance of SimCode: time 6.31e-07/0.5187, allocations: 0 / 0.6099 GB, free: 46.73 MB / 0.4981 GB Notification: Performance of Templates: time 0.01022/0.5289, allocations: 5.321 MB / 0.6151 GB, free: 46.43 MB / 0.4981 GB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile Environment - environmentSimulation: (rm -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) Environment - environmentSimulation: