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.001436/0.001436, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.0132/0.0132, allocations: 171.7 kB / 16.27 MB, free: 6.652 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.606/1.606, allocations: 223.3 MB / 240.3 MB, free: 5.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8391/0.8391, allocations: 132.4 MB / 423.8 MB, free: 1.918 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003684/0.0003684, allocations: 9.844 kB / 0.504 GB, free: 3.887 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6214/0.6218, allocations: 81.57 MB / 0.5837 GB, free: 4.031 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Examples.LimPIDWithReset): time 0.006177/0.6281, allocations: 3.701 MB / 0.5873 GB, free: 1.316 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.004253/0.6324, allocations: 1.28 MB / 0.5885 GB, free: 392 kB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.6339, allocations: 24.28 kB / 0.5885 GB, free: 384 kB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007153/0.6347, allocations: 94.67 kB / 0.5886 GB, free: 324 kB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0014/0.6361, allocations: 145.3 kB / 0.5888 GB, free: 216 kB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001641/0.6378, allocations: 385.5 kB / 0.5891 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.002267/0.64, allocations: 0.8693 MB / 0.59 GB, free: 15.52 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00121/0.6413, allocations: 426.2 kB / 0.5904 GB, free: 15.29 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008809/0.6422, allocations: 234.2 kB / 0.5906 GB, free: 15.18 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008006/0.643, allocations: 256.3 kB / 0.5909 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002036/0.6432, allocations: 23.25 kB / 0.5909 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002377/0.6434, allocations: 26.53 kB / 0.5909 GB, free: 15.04 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002002/0.6437, allocations: 103 kB / 0.591 GB, free: 14.98 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008411/0.6445, allocations: 326.4 kB / 0.5913 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.002066/0.6466, allocations: 0.9593 MB / 0.5923 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.522e-06/0.6466, allocations: 0 / 0.5923 GB, free: 14.46 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.695e-06/0.6466, allocations: 0 / 0.5923 GB, free: 14.46 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.067e-05/0.6467, allocations: 1.062 kB / 0.5923 GB, free: 14.46 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.003382/0.6501, allocations: 0.953 MB / 0.5932 GB, free: 13.79 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.488e-05/0.6501, allocations: 9.75 kB / 0.5932 GB, free: 13.79 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005521/0.6507, allocations: 90.19 kB / 0.5933 GB, free: 13.74 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001633/0.6523, allocations: 0.5563 MB / 0.5938 GB, free: 13.32 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.384e-05/0.6524, allocations: 40.88 kB / 0.5939 GB, free: 13.31 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000146/0.6526, allocations: 60.16 kB / 0.5939 GB, free: 13.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001785/0.6544, allocations: 0.6165 MB / 0.5945 GB, free: 12.99 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.847e-05/0.6544, allocations: 5.781 kB / 0.5945 GB, free: 12.98 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.445e-05/0.6545, allocations: 21.78 kB / 0.5946 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.537e-05/0.6545, allocations: 14.56 kB / 0.5946 GB, free: 12.97 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001268/0.6558, allocations: 475.7 kB / 0.595 GB, free: 12.8 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004338/0.6601, allocations: 2.013 MB / 0.597 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.6613, allocations: 457.2 kB / 0.5974 GB, free: 11.34 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005293/0.6618, allocations: 248.2 kB / 0.5977 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.601e-05/0.6619, allocations: 5.938 kB / 0.5977 GB, free: 11.22 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007362/0.6626, allocations: 269.5 kB / 0.5979 GB, free: 11.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=49): time 3.537e-06/0.6627, allocations: 1.031 kB / 0.5979 GB, free: 11.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=49): time 0.001628/0.6643, allocations: 0.598 MB / 0.5985 GB, free: 10.74 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.972e-05/0.6644, allocations: 57.5 kB / 0.5986 GB, free: 10.68 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007808/0.6652, allocations: 443 kB / 0.599 GB, free: 10.41 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 7.421e-05/0.6653, allocations: 44.91 kB / 0.599 GB, free: 10.36 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003156/0.6656, allocations: 328.8 kB / 0.5993 GB, free: 10.07 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.6658, allocations: 165.6 kB / 0.5995 GB, free: 9.926 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001113/0.6659, allocations: 47.17 kB / 0.5995 GB, free: 9.891 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.000223/0.6661, allocations: 370 kB / 0.5999 GB, free: 9.531 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005154/0.6667, allocations: 170.2 kB / 0.6001 GB, free: 9.449 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005168/0.6672, allocations: 254.2 kB / 0.6003 GB, free: 9.281 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001041/0.6682, allocations: 466.2 kB / 0.6007 GB, free: 8.988 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.933e-06/0.6683, allocations: 1.438 kB / 0.6007 GB, free: 8.988 MB / 446.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001376/0.6696, allocations: 0.5713 MB / 0.6013 GB, free: 8.676 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 6.06e-05/0.6697, allocations: 40.81 kB / 0.6013 GB, free: 8.637 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.185e-05/0.6697, allocations: 6.078 kB / 0.6013 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.728e-05/0.6698, allocations: 4.406 kB / 0.6014 GB, free: 8.633 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005462/0.6703, allocations: 115.8 kB / 0.6015 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.727e-05/0.6703, allocations: 4.656 kB / 0.6015 GB, free: 8.605 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005155/0.6709, allocations: 71.44 kB / 0.6015 GB, free: 8.562 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.374e-05/0.6709, allocations: 21.84 kB / 0.6016 GB, free: 8.555 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.000423/0.6714, allocations: 206.1 kB / 0.6018 GB, free: 8.379 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001352/0.6715, allocations: 62.2 kB / 0.6018 GB, free: 8.344 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001791/0.6717, allocations: 69.59 kB / 0.6019 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-05/0.6717, allocations: 5.781 kB / 0.6019 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.534e-05/0.6717, allocations: 0 / 0.6019 GB, free: 8.289 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.018e-05/0.6718, allocations: 4.953 kB / 0.6019 GB, free: 8.285 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.6742, allocations: 1.189 MB / 0.6031 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.539e-06/0.6742, allocations: 1.031 kB / 0.6031 GB, free: 7.418 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005146/0.6747, allocations: 98.16 kB / 0.6031 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.241e-05/0.6748, allocations: 2.5 kB / 0.6031 GB, free: 7.395 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.579e-05/0.6748, allocations: 10.56 kB / 0.6032 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/0.6748, allocations: 2.188 kB / 0.6032 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.6749, allocations: 0 / 0.6032 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001669/0.6765, allocations: 0.785 MB / 0.6039 GB, free: 6.926 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003076/0.6769, allocations: 171.2 kB / 0.6041 GB, free: 6.758 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.677, allocations: 7.156 kB / 0.6041 GB, free: 6.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003693/0.6773, allocations: 33 kB / 0.6041 GB, free: 6.738 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.6775, allocations: 36.56 kB / 0.6042 GB, free: 6.719 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.608e-05/0.6775, allocations: 17.25 kB / 0.6042 GB, free: 6.711 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0005049/0.678, allocations: 307.3 kB / 0.6045 GB, free: 6.523 MB / 446.1 MB Notification: Performance of sort global known variables: time 3.41e-07/0.6781, allocations: 0 / 0.6045 GB, free: 6.523 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006692/0.6787, allocations: 142.2 kB / 0.6046 GB, free: 6.484 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.0002333/0.679, allocations: 116.7 kB / 0.6047 GB, free: 6.383 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001207/0.6802, allocations: 493.9 kB / 0.6052 GB, free: 6.129 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 3.326e-06/0.6802, allocations: 5.062 kB / 0.6052 GB, free: 6.125 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005269/0.6807, allocations: 224 kB / 0.6054 GB, free: 6.031 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.6818, allocations: 146.7 kB / 0.6055 GB, free: 5.957 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003711/0.6855, allocations: 1.693 MB / 0.6072 GB, free: 4.723 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006941/0.6862, allocations: 0.8895 MB / 0.6081 GB, free: 3.934 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0004396/0.6867, allocations: 63.8 kB / 0.6081 GB, free: 3.898 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001553/0.6868, allocations: 38.84 kB / 0.6082 GB, free: 3.895 MB / 446.1 MB Notification: Performance of SimCode: time 1.733e-06/0.6868, allocations: 4 kB / 0.6082 GB, free: 3.891 MB / 446.1 MB Notification: Performance of Templates: time 0.01644/0.7033, allocations: 5.513 MB / 0.6136 GB, free: 1.246 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)