Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset") translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001336/0.001336, allocations: 104.2 kB / 16.35 MB, free: 5.879 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.001092/0.001092, allocations: 197.6 kB / 17.3 MB, free: 5.52 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.399/1.399, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8641/0.8641, allocations: 135.1 MB / 426.3 MB, free: 4.133 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001433/0.001433, allocations: 63.88 kB / 0.5067 GB, free: 7.68 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4207/0.4222, allocations: 80.91 MB / 0.5857 GB, free: 25.61 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.004977/0.4272, allocations: 4.328 MB / 0.59 GB, free: 22.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.00306/0.4303, allocations: 1.586 MB / 0.5915 GB, free: 20.59 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005559/0.4309, allocations: 35.81 kB / 0.5916 GB, free: 20.56 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003824/0.4312, allocations: 164.3 kB / 0.5917 GB, free: 20.4 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005831/0.4319, allocations: 225.4 kB / 0.5919 GB, free: 20.18 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001074/0.433, allocations: 0.6751 MB / 0.5926 GB, free: 19.52 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009068/0.4339, allocations: 1.22 MB / 0.5938 GB, free: 18.3 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006222/0.4345, allocations: 0.5027 MB / 0.5943 GB, free: 17.79 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003906/0.4349, allocations: 462.6 kB / 0.5947 GB, free: 17.34 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003358/0.4353, allocations: 463.8 kB / 0.5952 GB, free: 16.88 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001124/0.4354, allocations: 104 kB / 0.5953 GB, free: 16.78 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.829e-05/0.4355, allocations: 100 kB / 0.5953 GB, free: 16.68 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000147/0.4357, allocations: 231.1 kB / 0.5956 GB, free: 16.46 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002809/0.4359, allocations: 493 kB / 0.596 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0008283/0.4368, allocations: 1.157 MB / 0.5972 GB, free: 14.82 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.143e-06/0.4368, allocations: 1.125 kB / 0.5972 GB, free: 14.82 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.344e-06/0.4368, allocations: 3.938 kB / 0.5972 GB, free: 14.81 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.313e-05/0.4368, allocations: 0 / 0.5972 GB, free: 14.81 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002026/0.4389, allocations: 1.393 MB / 0.5985 GB, free: 13.38 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.4389, allocations: 9.109 kB / 0.5985 GB, free: 13.37 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001555/0.4391, allocations: 123.4 kB / 0.5987 GB, free: 13.25 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001067/0.4401, allocations: 0.7613 MB / 0.5994 GB, free: 12.45 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.81e-05/0.4402, allocations: 80.25 kB / 0.5995 GB, free: 12.37 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-05/0.4403, allocations: 76.97 kB / 0.5996 GB, free: 12.29 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009831/0.4413, allocations: 0.7295 MB / 0.6003 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.552e-05/0.4413, allocations: 0 / 0.6003 GB, free: 11.54 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.422e-05/0.4414, allocations: 35.94 kB / 0.6003 GB, free: 11.5 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.687e-05/0.4414, allocations: 21.33 kB / 0.6003 GB, free: 11.48 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009126/0.4423, allocations: 0.5102 MB / 0.6008 GB, free: 10.97 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002511/0.4449, allocations: 2.25 MB / 0.603 GB, free: 8.66 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001144/0.446, allocations: 0.6268 MB / 0.6036 GB, free: 8.035 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000404/0.4464, allocations: 272.2 kB / 0.6039 GB, free: 7.77 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.706e-05/0.4465, allocations: 14.55 kB / 0.6039 GB, free: 7.758 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005257/0.447, allocations: 324.1 kB / 0.6042 GB, free: 7.426 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.024e-06/0.447, allocations: 0 / 0.6042 GB, free: 7.426 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001286/0.4483, allocations: 0.7548 MB / 0.6049 GB, free: 6.668 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.179e-05/0.4484, allocations: 82.73 kB / 0.605 GB, free: 6.57 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006584/0.4491, allocations: 0.7595 MB / 0.6058 GB, free: 5.797 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.001e-05/0.4491, allocations: 38.36 kB / 0.6058 GB, free: 5.754 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002354/0.4493, allocations: 441.5 kB / 0.6062 GB, free: 5.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.4495, allocations: 201 kB / 0.6064 GB, free: 5.121 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001413/0.4496, allocations: 114.2 kB / 0.6065 GB, free: 5 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.764e-05/0.4497, allocations: 327.9 kB / 0.6068 GB, free: 4.676 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003749/0.45, allocations: 217.3 kB / 0.607 GB, free: 4.465 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003975/0.4505, allocations: 302.7 kB / 0.6073 GB, free: 4.137 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007519/0.4512, allocations: 0.5065 MB / 0.6078 GB, free: 3.609 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.477e-06/0.4512, allocations: 0 / 0.6078 GB, free: 3.609 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009462/0.4522, allocations: 0.6539 MB / 0.6085 GB, free: 2.949 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.954e-05/0.4522, allocations: 8 kB / 0.6085 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.983e-06/0.4522, allocations: 0 / 0.6085 GB, free: 2.941 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.096e-05/0.4522, allocations: 11.41 kB / 0.6085 GB, free: 2.934 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005655/0.4528, allocations: 143.8 kB / 0.6086 GB, free: 2.793 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.191e-05/0.4528, allocations: 7.938 kB / 0.6086 GB, free: 2.785 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003793/0.4532, allocations: 75.28 kB / 0.6087 GB, free: 2.711 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.926e-05/0.4533, allocations: 24 kB / 0.6087 GB, free: 2.688 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004716/0.4538, allocations: 355.2 kB / 0.6091 GB, free: 2.34 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004311/0.4542, allocations: 298.3 kB / 0.6094 GB, free: 2.02 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006718/0.4549, allocations: 499.9 kB / 0.6098 GB, free: 1.5 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.613e-06/0.4549, allocations: 0 / 0.6098 GB, free: 1.5 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0008546/0.4558, allocations: 0.623 MB / 0.6104 GB, free: 0.8711 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.516e-06/0.4558, allocations: 8 kB / 0.6104 GB, free: 0.8633 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.797e-06/0.4558, allocations: 4 kB / 0.6104 GB, free: 0.8594 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.27e-06/0.4558, allocations: 4 kB / 0.6105 GB, free: 0.8555 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005155/0.4563, allocations: 139.8 kB / 0.6106 GB, free: 0.7188 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.4563, allocations: 11.92 kB / 0.6106 GB, free: 0.707 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003518/0.4567, allocations: 55.52 kB / 0.6106 GB, free: 0.6523 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.245e-05/0.4567, allocations: 23.94 kB / 0.6107 GB, free: 0.6289 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,trigger.pulseStart,$PRE.trigger.pulseStart,trigger.y,$whenCondition2,limPIDOri.I.local_reset,limPIDDef.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (76): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * 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.0001502/0.4569, allocations: 224.1 kB / 0.6109 GB, free: 412 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.616e-05/0.457, allocations: 94.78 kB / 0.611 GB, free: 316 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000153/0.4571, allocations: 105.2 kB / 0.6111 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.4571, allocations: 4 kB / 0.6111 GB, free: 204 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.127e-06/0.4572, allocations: 3.938 kB / 0.6111 GB, free: 200 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.994e-06/0.4572, allocations: 3.984 kB / 0.6111 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002074/0.4592, allocations: 1.443 MB / 0.6125 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.056e-06/0.4593, allocations: 0 / 0.6125 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005283/0.4598, allocations: 103.8 kB / 0.6126 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.583e-06/0.4598, allocations: 4 kB / 0.6126 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.999e-05/0.4599, allocations: 12 kB / 0.6126 GB, free: 14.57 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.085e-06/0.4599, allocations: 4 kB / 0.6126 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.4599, allocations: 0 / 0.6126 GB, free: 14.56 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001605/0.4615, allocations: 0.9673 MB / 0.6136 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.4618, allocations: 219.8 kB / 0.6138 GB, free: 13.35 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.445e-05/0.4618, allocations: 16.03 kB / 0.6138 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004159/0.4623, allocations: 35.95 kB / 0.6138 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001018/0.4624, allocations: 36.5 kB / 0.6139 GB, free: 13.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.132e-05/0.4624, allocations: 23.98 kB / 0.6139 GB, free: 13.23 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006054/0.463, allocations: 0.5146 MB / 0.6144 GB, free: 12.73 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.463, allocations: 4 kB / 0.6144 GB, free: 12.72 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007111/0.4638, allocations: 279 kB / 0.6146 GB, free: 12.45 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 8 (limPIDPar.I.y,limPIDPar.D.x,limPIDDef.I.y,limPIDDef.D.x,limPIDInp.I.y,limPIDInp.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 4 (trigger.y,$whenCondition2,$whenCondition1,trigger.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001746/0.4639, allocations: 111.3 kB / 0.6148 GB, free: 12.33 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001519/0.4655, allocations: 0.7917 MB / 0.6155 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.4655, allocations: 0 / 0.6155 GB, free: 11.54 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004674/0.466, allocations: 275.8 kB / 0.6158 GB, free: 11.27 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001029/0.467, allocations: 256.4 kB / 0.616 GB, free: 11.03 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.4696, allocations: 1.547 MB / 0.6175 GB, free: 9.449 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005374/0.4702, allocations: 0.9898 MB / 0.6185 GB, free: 8.434 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004305/0.4706, allocations: 122.8 kB / 0.6186 GB, free: 8.309 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001699/0.4708, allocations: 55.44 kB / 0.6187 GB, free: 8.254 MB / 462.1 MB Notification: Performance of SimCode: time 1.393e-06/0.4708, allocations: 0 / 0.6187 GB, free: 8.254 MB / 462.1 MB Notification: Performance of Templates: time 0.01631/0.4871, allocations: 9.275 MB / 0.6277 GB, free: 15.09 MB / 478.1 MB make -j1 -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & ./IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)