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/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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.00112/0.00112, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001301/0.001301, allocations: 195.8 kB / 16.26 MB, free: 6.621 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.328/1.328, allocations: 222.9 MB / 239.9 MB, free: 4.453 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7726/0.7726, allocations: 132.2 MB / 422.3 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001173/0.001173, allocations: 65.55 kB / 0.5013 GB, free: 4.254 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4378/0.439, allocations: 80.21 MB / 0.5796 GB, free: 4.555 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005291/0.4443, allocations: 4.116 MB / 0.5836 GB, free: 1.613 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.002544/0.4469, allocations: 1.278 MB / 0.5849 GB, free: 0.6797 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004997/0.4474, allocations: 24.34 kB / 0.5849 GB, free: 0.6719 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003575/0.4478, allocations: 94.47 kB / 0.585 GB, free: 0.6133 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003812/0.4482, allocations: 145.8 kB / 0.5851 GB, free: 0.5078 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008774/0.4491, allocations: 390 kB / 0.5855 GB, free: 264 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.001089/0.4502, allocations: 0.9476 MB / 0.5864 GB, free: 15.74 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007061/0.4509, allocations: 458.2 kB / 0.5869 GB, free: 15.5 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004733/0.4514, allocations: 331.7 kB / 0.5872 GB, free: 15.31 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003778/0.4518, allocations: 341.5 kB / 0.5875 GB, free: 15.12 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001434/0.4519, allocations: 93.94 kB / 0.5876 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.4521, allocations: 90.5 kB / 0.5877 GB, free: 15.11 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001616/0.4523, allocations: 177 kB / 0.5878 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000364/0.4526, allocations: 395.9 kB / 0.5882 GB, free: 14.71 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001216/0.4539, allocations: 1.031 MB / 0.5892 GB, free: 14.29 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4539, allocations: 1.328 kB / 0.5892 GB, free: 14.29 MB / 446.1 MB Notification: Performance of FrontEnd: time 3.847e-06/0.4539, allocations: 0 / 0.5892 GB, free: 14.29 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.539e-05/0.4539, allocations: 4.531 kB / 0.5892 GB, free: 14.28 MB / 446.1 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.001985/0.4559, allocations: 1.082 MB / 0.5903 GB, free: 13.5 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.4559, allocations: 9.938 kB / 0.5903 GB, free: 13.5 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001835/0.4561, allocations: 82.09 kB / 0.5904 GB, free: 13.46 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008956/0.457, allocations: 0.5465 MB / 0.5909 GB, free: 13.06 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.512e-05/0.4571, allocations: 45.88 kB / 0.591 GB, free: 13.04 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001157/0.4572, allocations: 68.14 kB / 0.591 GB, free: 13.01 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001197/0.4584, allocations: 0.6043 MB / 0.5916 GB, free: 12.72 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.4585, allocations: 5.344 kB / 0.5916 GB, free: 12.71 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.72e-05/0.4585, allocations: 21.36 kB / 0.5916 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.957e-05/0.4586, allocations: 13.72 kB / 0.5916 GB, free: 12.7 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001019/0.4596, allocations: 470.3 kB / 0.5921 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003351/0.463, allocations: 2.013 MB / 0.5941 GB, free: 11.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001127/0.4641, allocations: 440.3 kB / 0.5945 GB, free: 11.09 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000559/0.4647, allocations: 237.5 kB / 0.5947 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.63e-05/0.4647, allocations: 6.266 kB / 0.5947 GB, free: 11 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008408/0.4656, allocations: 270.3 kB / 0.595 GB, free: 10.86 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 3.567e-06/0.4656, allocations: 0 / 0.595 GB, free: 10.86 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001637/0.4672, allocations: 0.5769 MB / 0.5955 GB, free: 10.62 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.268e-05/0.4673, allocations: 58.08 kB / 0.5956 GB, free: 10.56 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007609/0.4681, allocations: 452.2 kB / 0.596 GB, free: 10.3 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 5.202e-05/0.4681, allocations: 32.23 kB / 0.596 GB, free: 10.27 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003038/0.4685, allocations: 321.9 kB / 0.5964 GB, free: 9.988 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001728/0.4686, allocations: 164.2 kB / 0.5965 GB, free: 9.844 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002038/0.4688, allocations: 91.66 kB / 0.5966 GB, free: 9.785 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002657/0.4691, allocations: 366.3 kB / 0.5969 GB, free: 9.43 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/0.4696, allocations: 164.9 kB / 0.5971 GB, free: 9.348 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005445/0.4701, allocations: 252.4 kB / 0.5973 GB, free: 9.176 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001015/0.4712, allocations: 457.5 kB / 0.5978 GB, free: 8.883 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.377e-06/0.4712, allocations: 0 / 0.5978 GB, free: 8.883 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001227/0.4724, allocations: 0.5581 MB / 0.5983 GB, free: 8.574 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.597e-05/0.4725, allocations: 42.5 kB / 0.5984 GB, free: 8.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.234e-05/0.4725, allocations: 10.78 kB / 0.5984 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.338e-05/0.4725, allocations: 4.406 kB / 0.5984 GB, free: 8.527 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005463/0.4731, allocations: 113.7 kB / 0.5985 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.64e-05/0.4731, allocations: 3.719 kB / 0.5985 GB, free: 8.5 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004448/0.4736, allocations: 66.41 kB / 0.5986 GB, free: 8.457 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.623e-05/0.4737, allocations: 21.91 kB / 0.5986 GB, free: 8.449 MB / 446.1 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.0003383/0.474, allocations: 211 kB / 0.5988 GB, free: 8.27 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.4741, allocations: 56.97 kB / 0.5988 GB, free: 8.238 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001505/0.4743, allocations: 63.36 kB / 0.5989 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.029e-05/0.4743, allocations: 4.875 kB / 0.5989 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/0.4743, allocations: 0 / 0.5989 GB, free: 8.191 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.259e-05/0.4743, allocations: 7.969 kB / 0.5989 GB, free: 8.184 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002232/0.4766, allocations: 1.183 MB / 0.6001 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.4766, allocations: 0 / 0.6001 GB, free: 7.312 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005132/0.4771, allocations: 94.78 kB / 0.6002 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.4771, allocations: 2.125 kB / 0.6002 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.906e-05/0.4772, allocations: 7.5 kB / 0.6002 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.4e-06/0.4772, allocations: 2.062 kB / 0.6002 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.4772, allocations: 0 / 0.6002 GB, free: 7.285 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.4788, allocations: 0.7619 MB / 0.6009 GB, free: 6.832 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002166/0.4791, allocations: 172 kB / 0.6011 GB, free: 6.664 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.221e-05/0.4791, allocations: 15.81 kB / 0.6011 GB, free: 6.652 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003032/0.4795, allocations: 28 kB / 0.6011 GB, free: 6.637 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001408/0.4796, allocations: 36.02 kB / 0.6011 GB, free: 6.617 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.265e-05/0.4796, allocations: 21.08 kB / 0.6012 GB, free: 6.605 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000444/0.4801, allocations: 308 kB / 0.6015 GB, free: 6.418 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4801, allocations: 0 / 0.6015 GB, free: 6.418 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0005982/0.4807, allocations: 141.5 kB / 0.6016 GB, free: 6.379 MB / 446.1 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.0001807/0.4809, allocations: 117.4 kB / 0.6017 GB, free: 6.273 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001299/0.4822, allocations: 0.4957 MB / 0.6022 GB, free: 5.996 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 5.83e-06/0.4822, allocations: 1.125 kB / 0.6022 GB, free: 5.996 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004639/0.4827, allocations: 211.2 kB / 0.6024 GB, free: 5.91 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009312/0.4836, allocations: 158.1 kB / 0.6025 GB, free: 5.824 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003208/0.4869, allocations: 1.612 MB / 0.6041 GB, free: 4.668 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004985/0.4874, allocations: 0.8932 MB / 0.605 GB, free: 3.879 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0003416/0.4877, allocations: 64 kB / 0.6051 GB, free: 3.844 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001329/0.4879, allocations: 46.83 kB / 0.6051 GB, free: 3.832 MB / 446.1 MB Notification: Performance of SimCode: time 7.42e-07/0.4879, allocations: 0 / 0.6051 GB, free: 3.832 MB / 446.1 MB Notification: Performance of Templates: time 0.01194/0.4998, allocations: 5.802 MB / 0.6108 GB, free: 1.051 MB / 446.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.makefile (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)