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.001705/0.001705, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.003212/0.003212, allocations: 194.8 kB / 16.53 MB, free: 6.391 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.371/1.371, allocations: 222.9 MB / 240.2 MB, free: 4.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9461/0.9461, allocations: 135.2 MB / 425.5 MB, free: 11.89 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 64.58 kB / 0.5054 GB, free: 5.277 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1797/0.1811, allocations: 80.92 MB / 0.5844 GB, free: 4.504 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.007166/0.1884, allocations: 4.327 MB / 0.5886 GB, free: 152 kB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.004079/0.1925, allocations: 1.582 MB / 0.5902 GB, free: 14.56 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001096/0.1936, allocations: 31.81 kB / 0.5902 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0006721/0.1943, allocations: 170.2 kB / 0.5904 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001143/0.1956, allocations: 226.1 kB / 0.5906 GB, free: 14.14 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001698/0.1973, allocations: 0.6693 MB / 0.5912 GB, free: 13.48 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001768/0.199, allocations: 1.21 MB / 0.5924 GB, free: 12.27 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001015/0.2001, allocations: 0.5002 MB / 0.5929 GB, free: 11.74 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008212/0.2009, allocations: 461.9 kB / 0.5933 GB, free: 11.29 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007054/0.2016, allocations: 461.4 kB / 0.5938 GB, free: 10.84 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0002046/0.2018, allocations: 104 kB / 0.5939 GB, free: 10.73 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001657/0.202, allocations: 104 kB / 0.594 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001984/0.2022, allocations: 231.1 kB / 0.5942 GB, free: 10.41 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004344/0.2027, allocations: 493 kB / 0.5947 GB, free: 9.922 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.2038, allocations: 1.113 MB / 0.5958 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.969e-06/0.2038, allocations: 0 / 0.5958 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2038, allocations: 0 / 0.5958 GB, free: 8.805 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.367e-05/0.2038, allocations: 0 / 0.5958 GB, free: 8.805 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: 168 * Number of variables: 168 Notification: Performance of Generate backend data structure: time 0.002463/0.2063, allocations: 1.399 MB / 0.5971 GB, free: 7.352 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.902e-05/0.2063, allocations: 8.031 kB / 0.5971 GB, free: 7.344 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001991/0.2065, allocations: 127.4 kB / 0.5972 GB, free: 7.219 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001159/0.2077, allocations: 0.7353 MB / 0.598 GB, free: 6.441 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.15e-05/0.2078, allocations: 76.27 kB / 0.598 GB, free: 6.363 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001075/0.2079, allocations: 76.28 kB / 0.5981 GB, free: 6.289 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001249/0.2092, allocations: 0.7329 MB / 0.5988 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.585e-05/0.2092, allocations: 0 / 0.5988 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.89e-05/0.2093, allocations: 32 kB / 0.5989 GB, free: 5.484 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.53e-05/0.2093, allocations: 16 kB / 0.5989 GB, free: 5.469 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001136/0.2104, allocations: 0.5204 MB / 0.5994 GB, free: 4.945 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003423/0.2139, allocations: 2.267 MB / 0.6016 GB, free: 2.609 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.2153, allocations: 0.621 MB / 0.6022 GB, free: 1.98 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005246/0.2159, allocations: 270.4 kB / 0.6025 GB, free: 1.711 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.882e-05/0.2159, allocations: 12.56 kB / 0.6025 GB, free: 1.699 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006993/0.2166, allocations: 315.1 kB / 0.6028 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=60): time 2.435e-06/0.2166, allocations: 0 / 0.6028 GB, free: 1.383 MB / 0.4981 GB Notification: Performance of matching and sorting (n=60): time 0.001733/0.2184, allocations: 0.7555 MB / 0.6035 GB, free: 0.625 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.242e-05/0.2185, allocations: 89.67 kB / 0.6036 GB, free: 0.5195 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3255/0.544, allocations: 0.7522 MB / 0.6043 GB, free: 52.28 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001954/0.5443, allocations: 38.55 kB / 0.6044 GB, free: 52.25 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003858/0.5447, allocations: 439.8 kB / 0.6048 GB, free: 52.17 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001517/0.5448, allocations: 210.6 kB / 0.605 GB, free: 52.12 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001889/0.545, allocations: 106.2 kB / 0.6051 GB, free: 52.1 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 6.447e-05/0.5451, allocations: 325.4 kB / 0.6054 GB, free: 51.8 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004819/0.5456, allocations: 212.8 kB / 0.6056 GB, free: 51.79 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004807/0.5461, allocations: 303.2 kB / 0.6059 GB, free: 51.7 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008613/0.5469, allocations: 0.5097 MB / 0.6064 GB, free: 51.62 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.6e-06/0.547, allocations: 4.031 kB / 0.6064 GB, free: 51.62 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001315/0.5483, allocations: 0.656 MB / 0.607 GB, free: 51.37 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.5483, allocations: 10.62 kB / 0.607 GB, free: 51.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.5483, allocations: 0 / 0.607 GB, free: 51.37 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.919e-05/0.5484, allocations: 6.719 kB / 0.6071 GB, free: 51.37 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006253/0.549, allocations: 140.6 kB / 0.6072 GB, free: 51.37 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.385e-05/0.549, allocations: 19.45 kB / 0.6072 GB, free: 51.37 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004311/0.5495, allocations: 69.67 kB / 0.6073 GB, free: 51.33 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.709e-05/0.5495, allocations: 22.91 kB / 0.6073 GB, free: 51.32 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005607/0.5501, allocations: 354.8 kB / 0.6076 GB, free: 51.12 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003854/0.5505, allocations: 295.3 kB / 0.6079 GB, free: 50.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007276/0.5512, allocations: 498.4 kB / 0.6084 GB, free: 50.69 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.966e-06/0.5512, allocations: 0 / 0.6084 GB, free: 50.69 MB / 0.4981 GB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0009626/0.5522, allocations: 0.6296 MB / 0.609 GB, free: 50.42 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.5522, allocations: 9.406 kB / 0.609 GB, free: 50.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.5522, allocations: 2.969 kB / 0.609 GB, free: 50.42 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.552e-06/0.5522, allocations: 5.781 kB / 0.609 GB, free: 50.42 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005653/0.5528, allocations: 138.4 kB / 0.6092 GB, free: 50.42 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.5528, allocations: 10.36 kB / 0.6092 GB, free: 50.42 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003938/0.5532, allocations: 56.62 kB / 0.6092 GB, free: 50.39 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.484e-05/0.5533, allocations: 24.97 kB / 0.6092 GB, free: 50.38 MB / 0.4981 GB 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.0001574/0.5534, allocations: 217.3 kB / 0.6094 GB, free: 50.18 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.5535, allocations: 88.41 kB / 0.6095 GB, free: 50.14 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001974/0.5537, allocations: 112.1 kB / 0.6096 GB, free: 50.07 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.831e-06/0.5537, allocations: 7.594 kB / 0.6096 GB, free: 50.07 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.634e-06/0.5538, allocations: 3.656 kB / 0.6096 GB, free: 50.07 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.866e-06/0.5538, allocations: 9.312 kB / 0.6097 GB, free: 50.07 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001883/0.5557, allocations: 1.442 MB / 0.6111 GB, free: 49.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.5557, allocations: 3.469 kB / 0.6111 GB, free: 49.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005366/0.5562, allocations: 100.4 kB / 0.6112 GB, free: 49.33 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.5562, allocations: 2.719 kB / 0.6112 GB, free: 49.33 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.575e-05/0.5563, allocations: 14.39 kB / 0.6112 GB, free: 49.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.757e-06/0.5563, allocations: 2.75 kB / 0.6112 GB, free: 49.32 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.5563, allocations: 1.188 kB / 0.6112 GB, free: 49.32 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001497/0.5578, allocations: 0.9643 MB / 0.6121 GB, free: 48.85 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002368/0.558, allocations: 224.5 kB / 0.6123 GB, free: 48.66 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.317e-05/0.5581, allocations: 16.8 kB / 0.6124 GB, free: 48.65 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004327/0.5586, allocations: 36.41 kB / 0.6124 GB, free: 48.64 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.807e-05/0.5587, allocations: 35.08 kB / 0.6124 GB, free: 48.63 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.5587, allocations: 18.3 kB / 0.6124 GB, free: 48.63 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005344/0.5593, allocations: 0.5151 MB / 0.6129 GB, free: 48.41 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5593, allocations: 0 / 0.6129 GB, free: 48.41 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0006916/0.56, allocations: 275.4 kB / 0.6132 GB, free: 48.34 MB / 0.4981 GB 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.0001307/0.5601, allocations: 119.5 kB / 0.6133 GB, free: 48.24 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.001693/0.5618, allocations: 0.8178 MB / 0.6141 GB, free: 47.99 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.506e-06/0.5618, allocations: 0 / 0.6141 GB, free: 47.99 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0004738/0.5623, allocations: 269.1 kB / 0.6144 GB, free: 47.91 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001134/0.5634, allocations: 273.5 kB / 0.6146 GB, free: 47.84 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002307/0.5658, allocations: 1.569 MB / 0.6162 GB, free: 47 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003748/0.5662, allocations: 0.9962 MB / 0.6171 GB, free: 46.29 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0005006/0.5667, allocations: 119.2 kB / 0.6173 GB, free: 46.27 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001647/0.5668, allocations: 58.69 kB / 0.6173 GB, free: 46.26 MB / 0.4981 GB Notification: Performance of SimCode: time 7.01e-07/0.5668, allocations: 0 / 0.6173 GB, free: 46.26 MB / 0.4981 GB Notification: Performance of Templates: time 0.01623/0.5831, allocations: 9.257 MB / 0.6264 GB, free: 45.69 MB / 0.4981 GB 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)