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.001342/0.001342, allocations: 104.9 kB / 16.35 MB, free: 5.902 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.001435/0.001435, allocations: 193.9 kB / 17.29 MB, free: 5.523 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.463/1.463, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8208/0.8208, allocations: 132.2 MB / 423.3 MB, free: 6.625 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00125/0.00125, allocations: 55.91 kB / 0.5032 GB, free: 11 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4845/0.4857, allocations: 80.19 MB / 0.5815 GB, free: 27.7 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.005539/0.4913, allocations: 4.095 MB / 0.5855 GB, free: 24.48 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002828/0.4942, allocations: 1.325 MB / 0.5868 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006/0.4948, allocations: 25.31 kB / 0.5868 GB, free: 23.38 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000364/0.4952, allocations: 120.9 kB / 0.5869 GB, free: 23.27 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003726/0.4956, allocations: 183.9 kB / 0.5871 GB, free: 23.11 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000943/0.4966, allocations: 418.8 kB / 0.5875 GB, free: 22.78 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009409/0.4975, allocations: 0.9652 MB / 0.5884 GB, free: 22.16 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006164/0.4982, allocations: 463.9 kB / 0.5889 GB, free: 21.88 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003534/0.4985, allocations: 325.9 kB / 0.5892 GB, free: 21.66 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003249/0.4988, allocations: 341.1 kB / 0.5895 GB, free: 21.41 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001187/0.499, allocations: 90.06 kB / 0.5896 GB, free: 21.41 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001174/0.4991, allocations: 91.59 kB / 0.5897 GB, free: 21.41 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001197/0.4992, allocations: 179 kB / 0.5899 GB, free: 21.25 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0003037/0.4995, allocations: 393.7 kB / 0.5902 GB, free: 20.95 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00079/0.5003, allocations: 1.061 MB / 0.5913 GB, free: 20.12 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.013e-06/0.5003, allocations: 1.031 kB / 0.5913 GB, free: 20.12 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.655e-06/0.5004, allocations: 0 / 0.5913 GB, free: 20.12 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.156e-05/0.5004, allocations: 1.281 kB / 0.5913 GB, free: 20.12 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.001555/0.5019, allocations: 1.075 MB / 0.5923 GB, free: 19.02 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.783e-05/0.502, allocations: 8.031 kB / 0.5923 GB, free: 19.02 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001108/0.5021, allocations: 84 kB / 0.5924 GB, free: 18.93 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008044/0.5029, allocations: 0.5607 MB / 0.593 GB, free: 18.33 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.752e-05/0.503, allocations: 45.69 kB / 0.593 GB, free: 18.29 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.97e-05/0.503, allocations: 64.28 kB / 0.5931 GB, free: 18.23 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008295/0.5039, allocations: 0.607 MB / 0.5936 GB, free: 17.6 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.227e-05/0.5039, allocations: 4 kB / 0.5937 GB, free: 17.59 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.55e-05/0.504, allocations: 24.78 kB / 0.5937 GB, free: 17.57 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.105e-05/0.504, allocations: 16 kB / 0.5937 GB, free: 17.55 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007989/0.5048, allocations: 460.1 kB / 0.5941 GB, free: 17.11 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002194/0.507, allocations: 1.995 MB / 0.5961 GB, free: 15.05 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007328/0.5077, allocations: 452.3 kB / 0.5965 GB, free: 14.6 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003525/0.5081, allocations: 235.7 kB / 0.5967 GB, free: 14.37 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.805e-05/0.5082, allocations: 12.38 kB / 0.5967 GB, free: 14.36 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004254/0.5086, allocations: 264.1 kB / 0.597 GB, free: 14.09 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 2.154e-06/0.5086, allocations: 0 / 0.597 GB, free: 14.09 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.00107/0.5097, allocations: 0.5828 MB / 0.5976 GB, free: 13.5 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.35e-05/0.5097, allocations: 59.83 kB / 0.5976 GB, free: 13.43 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003689/0.5101, allocations: 438 kB / 0.598 GB, free: 13 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.086e-05/0.5101, allocations: 38.2 kB / 0.5981 GB, free: 12.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001512/0.5103, allocations: 333.4 kB / 0.5984 GB, free: 12.62 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.062e-05/0.5104, allocations: 162.6 kB / 0.5986 GB, free: 12.46 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001193/0.5105, allocations: 98.14 kB / 0.5986 GB, free: 12.36 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.438e-05/0.5106, allocations: 364 kB / 0.599 GB, free: 12 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003379/0.5109, allocations: 167.4 kB / 0.5992 GB, free: 11.84 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003398/0.5113, allocations: 246.5 kB / 0.5994 GB, free: 11.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006311/0.5119, allocations: 454.3 kB / 0.5998 GB, free: 11.1 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.507e-06/0.5119, allocations: 4 kB / 0.5998 GB, free: 11.1 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008281/0.5128, allocations: 0.5615 MB / 0.6004 GB, free: 10.53 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.365e-05/0.5128, allocations: 37.64 kB / 0.6004 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.104e-06/0.5128, allocations: 1.062 kB / 0.6004 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.5128, allocations: 8 kB / 0.6004 GB, free: 10.48 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004435/0.5133, allocations: 112.4 kB / 0.6005 GB, free: 10.37 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/0.5133, allocations: 5.875 kB / 0.6005 GB, free: 10.36 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003068/0.5136, allocations: 63.44 kB / 0.6006 GB, free: 10.3 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.5137, allocations: 16 kB / 0.6006 GB, free: 10.29 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.0002174/0.5139, allocations: 207.4 kB / 0.6008 GB, free: 10.07 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.725e-05/0.514, allocations: 61.81 kB / 0.6009 GB, free: 10.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001051/0.5141, allocations: 65.58 kB / 0.6009 GB, free: 9.953 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.821e-06/0.5141, allocations: 4 kB / 0.6009 GB, free: 9.949 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.5141, allocations: 4 kB / 0.6009 GB, free: 9.945 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.5141, allocations: 3.984 kB / 0.6009 GB, free: 9.941 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.5155, allocations: 1.18 MB / 0.6021 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.015e-06/0.5155, allocations: 0 / 0.6021 GB, free: 8.699 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004232/0.516, allocations: 93.11 kB / 0.6022 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.188e-06/0.516, allocations: 0 / 0.6022 GB, free: 8.609 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.967e-05/0.516, allocations: 12.98 kB / 0.6022 GB, free: 8.598 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.516, allocations: 7.984 kB / 0.6022 GB, free: 8.59 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.516, allocations: 3.938 kB / 0.6022 GB, free: 8.586 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001053/0.5171, allocations: 0.7649 MB / 0.6029 GB, free: 7.809 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.5172, allocations: 172.3 kB / 0.6031 GB, free: 7.621 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.818e-05/0.5173, allocations: 12 kB / 0.6031 GB, free: 7.609 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002582/0.5176, allocations: 21.12 kB / 0.6031 GB, free: 7.59 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.993e-05/0.5177, allocations: 36.39 kB / 0.6032 GB, free: 7.555 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/0.5177, allocations: 16.72 kB / 0.6032 GB, free: 7.539 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000256/0.518, allocations: 311.4 kB / 0.6035 GB, free: 7.238 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.518, allocations: 0 / 0.6035 GB, free: 7.238 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004168/0.5184, allocations: 136 kB / 0.6036 GB, free: 7.105 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.0001214/0.5185, allocations: 113.7 kB / 0.6037 GB, free: 6.988 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0007844/0.5193, allocations: 482.8 kB / 0.6042 GB, free: 6.508 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.5193, allocations: 1 kB / 0.6042 GB, free: 6.508 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.5197, allocations: 216.8 kB / 0.6044 GB, free: 6.297 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006771/0.5203, allocations: 163.7 kB / 0.6046 GB, free: 6.148 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002165/0.5225, allocations: 1.329 MB / 0.6059 GB, free: 4.801 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000273/0.5228, allocations: 0.8899 MB / 0.6067 GB, free: 3.883 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002374/0.523, allocations: 72.52 kB / 0.6068 GB, free: 3.809 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001036/0.5232, allocations: 43.42 kB / 0.6068 GB, free: 3.766 MB / 446.1 MB Notification: Performance of SimCode: time 6.51e-07/0.5232, allocations: 0 / 0.6068 GB, free: 3.766 MB / 446.1 MB Notification: Performance of Templates: time 0.009964/0.5331, allocations: 5.906 MB / 0.6126 GB, free: 13.95 MB / 462.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 -s cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1)