Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset") translateModel(IDEAS.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_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.001459/0.001459, allocations: 117.2 kB / 16.37 MB, free: 6.012 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.001525/0.001525, allocations: 191.6 kB / 17.31 MB, free: 5.613 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.312/1.312, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7645/0.7645, allocations: 132.2 MB / 423.4 MB, free: 6.59 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 63.91 kB / 0.5032 GB, free: 10.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3258, allocations: 80.19 MB / 0.5815 GB, free: 27.59 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.00439/0.3302, allocations: 4.325 MB / 0.5857 GB, free: 24.18 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002429/0.3327, allocations: 1.588 MB / 0.5873 GB, free: 22.86 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003991/0.3331, allocations: 35.38 kB / 0.5873 GB, free: 22.85 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003258/0.3334, allocations: 164.5 kB / 0.5875 GB, free: 22.7 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004851/0.3339, allocations: 227.3 kB / 0.5877 GB, free: 22.51 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001031/0.335, allocations: 0.6724 MB / 0.5883 GB, free: 22 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009223/0.3359, allocations: 1.223 MB / 0.5895 GB, free: 21.23 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006096/0.3365, allocations: 0.5064 MB / 0.59 GB, free: 20.92 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004254/0.337, allocations: 459.8 kB / 0.5905 GB, free: 20.61 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/0.3373, allocations: 463.1 kB / 0.5909 GB, free: 20.25 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001396/0.3375, allocations: 101.8 kB / 0.591 GB, free: 20.25 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001211/0.3376, allocations: 102.2 kB / 0.5911 GB, free: 20.25 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001413/0.3377, allocations: 236.2 kB / 0.5913 GB, free: 20.05 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002499/0.338, allocations: 491 kB / 0.5918 GB, free: 19.59 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006826/0.3387, allocations: 1.154 MB / 0.5929 GB, free: 18.44 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.38e-06/0.3387, allocations: 1.031 kB / 0.5929 GB, free: 18.44 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.3387, allocations: 3.938 kB / 0.5929 GB, free: 18.44 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.3387, allocations: 7.938 kB / 0.5929 GB, free: 18.43 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.001889/0.3406, allocations: 1.396 MB / 0.5943 GB, free: 16.99 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.205e-05/0.3407, allocations: 12.03 kB / 0.5943 GB, free: 16.98 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001392/0.3408, allocations: 124.1 kB / 0.5944 GB, free: 16.86 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.3419, allocations: 0.7575 MB / 0.5952 GB, free: 16.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.906e-05/0.342, allocations: 84.27 kB / 0.5952 GB, free: 15.98 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.955e-05/0.342, allocations: 74.84 kB / 0.5953 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009444/0.343, allocations: 0.7316 MB / 0.596 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.609e-05/0.343, allocations: 4 kB / 0.596 GB, free: 15.14 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.942e-05/0.3431, allocations: 25.62 kB / 0.5961 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.027e-05/0.3431, allocations: 16 kB / 0.5961 GB, free: 15.1 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008824/0.344, allocations: 0.5153 MB / 0.5966 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002541/0.3465, allocations: 2.254 MB / 0.5988 GB, free: 12.27 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00117/0.3477, allocations: 0.6144 MB / 0.5994 GB, free: 11.65 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004188/0.3481, allocations: 277.2 kB / 0.5996 GB, free: 11.38 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.922e-05/0.3482, allocations: 8.547 kB / 0.5996 GB, free: 11.37 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000534/0.3487, allocations: 321.2 kB / 0.5999 GB, free: 11.04 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.505e-06/0.3488, allocations: 1.062 kB / 0.6 GB, free: 11.04 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001321/0.3501, allocations: 0.7598 MB / 0.6007 GB, free: 10.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.3501, allocations: 85.67 kB / 0.6008 GB, free: 10.18 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000662/0.3508, allocations: 0.7516 MB / 0.6015 GB, free: 9.418 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.961e-05/0.3508, allocations: 37.7 kB / 0.6015 GB, free: 9.375 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002205/0.3511, allocations: 445 kB / 0.602 GB, free: 8.938 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.889e-05/0.3512, allocations: 210.6 kB / 0.6022 GB, free: 8.73 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001356/0.3513, allocations: 106.3 kB / 0.6023 GB, free: 8.621 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 5.031e-05/0.3514, allocations: 334 kB / 0.6026 GB, free: 8.289 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003786/0.3518, allocations: 205.5 kB / 0.6028 GB, free: 8.086 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003984/0.3522, allocations: 304.7 kB / 0.6031 GB, free: 7.758 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007418/0.3529, allocations: 0.5086 MB / 0.6036 GB, free: 7.223 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/0.3529, allocations: 0.5625 kB / 0.6036 GB, free: 7.223 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009642/0.3539, allocations: 0.6538 MB / 0.6042 GB, free: 6.562 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.394e-05/0.3539, allocations: 4 kB / 0.6042 GB, free: 6.559 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.594e-06/0.3539, allocations: 9.641 kB / 0.6042 GB, free: 6.551 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.354, allocations: 4 kB / 0.6042 GB, free: 6.547 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005824/0.3545, allocations: 139.8 kB / 0.6044 GB, free: 6.41 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.739e-06/0.3546, allocations: 12.62 kB / 0.6044 GB, free: 6.398 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003862/0.355, allocations: 73.66 kB / 0.6044 GB, free: 6.328 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.594e-05/0.355, allocations: 20 kB / 0.6045 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004754/0.3555, allocations: 357.4 kB / 0.6048 GB, free: 5.957 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003632/0.3559, allocations: 292.8 kB / 0.6051 GB, free: 5.645 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006853/0.3565, allocations: 0.4887 MB / 0.6056 GB, free: 5.129 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.134e-06/0.3566, allocations: 320 / 0.6056 GB, free: 5.129 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0008851/0.3574, allocations: 0.6266 MB / 0.6062 GB, free: 4.496 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.805e-06/0.3575, allocations: 8 kB / 0.6062 GB, free: 4.488 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.616e-06/0.3575, allocations: 3.984 kB / 0.6062 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.262e-06/0.3575, allocations: 12.25 kB / 0.6062 GB, free: 4.473 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005428/0.358, allocations: 139.8 kB / 0.6063 GB, free: 4.336 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.636e-06/0.3581, allocations: 11.94 kB / 0.6063 GB, free: 4.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003629/0.3584, allocations: 51.52 kB / 0.6064 GB, free: 4.273 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.717e-05/0.3585, allocations: 23.98 kB / 0.6064 GB, free: 4.25 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.0001874/0.3587, allocations: 216.1 kB / 0.6066 GB, free: 4.031 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/0.3588, allocations: 90.88 kB / 0.6067 GB, free: 3.941 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001854/0.359, allocations: 105.2 kB / 0.6068 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.713e-06/0.359, allocations: 8 kB / 0.6068 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.058e-05/0.359, allocations: 3.938 kB / 0.6068 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.623e-06/0.359, allocations: 3.984 kB / 0.6068 GB, free: 3.82 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001729/0.3607, allocations: 1.439 MB / 0.6082 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.745e-06/0.3607, allocations: 0 / 0.6082 GB, free: 2.328 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005113/0.3613, allocations: 107.8 kB / 0.6083 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.878e-06/0.3613, allocations: 0 / 0.6083 GB, free: 2.223 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.739e-05/0.3613, allocations: 15.98 kB / 0.6083 GB, free: 2.207 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.097e-06/0.3613, allocations: 8 kB / 0.6084 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3613, allocations: 0 / 0.6084 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001338/0.3627, allocations: 0.9674 MB / 0.6093 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002158/0.3629, allocations: 231.8 kB / 0.6095 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.384e-05/0.363, allocations: 12 kB / 0.6095 GB, free: 0.9531 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004055/0.3634, allocations: 31.97 kB / 0.6096 GB, free: 0.9219 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.879e-05/0.3635, allocations: 32.52 kB / 0.6096 GB, free: 0.8867 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.616e-05/0.3635, allocations: 19.98 kB / 0.6096 GB, free: 0.8672 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0004633/0.364, allocations: 0.5146 MB / 0.6101 GB, free: 368 kB / 446.1 MB Notification: Performance of sort global known variables: time 2.3e-07/0.364, allocations: 4 kB / 0.6101 GB, free: 364 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.000612/0.3646, allocations: 271 kB / 0.6104 GB, free: 92 kB / 446.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.0001489/0.3648, allocations: 125 kB / 0.6105 GB, free: 15.96 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001559/0.3664, allocations: 0.7957 MB / 0.6113 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.3664, allocations: 0 / 0.6113 GB, free: 15.16 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005048/0.3669, allocations: 267.1 kB / 0.6115 GB, free: 14.9 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001069/0.368, allocations: 266.6 kB / 0.6118 GB, free: 14.66 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00238/0.3704, allocations: 1.532 MB / 0.6133 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005169/0.3709, allocations: 0.9977 MB / 0.6142 GB, free: 12.07 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.00044/0.3713, allocations: 122.8 kB / 0.6144 GB, free: 11.95 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.3715, allocations: 63.44 kB / 0.6144 GB, free: 11.88 MB / 462.1 MB Notification: Performance of SimCode: time 4.41e-07/0.3715, allocations: 0 / 0.6144 GB, free: 11.88 MB / 462.1 MB Notification: Performance of Templates: time 0.01552/0.3871, allocations: 9.255 MB / 0.6235 GB, free: 2.738 MB / 462.1 MB make -j1 -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.makefile (rm -f IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.sim & ./IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -s gbode -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)