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.001204/0.001204, allocations: 108.7 kB / 16.37 MB, free: 6.465 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.001097/0.001097, allocations: 193.1 kB / 17.31 MB, free: 5.816 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.398/1.398, allocations: 222.9 MB / 241 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7921/0.7921, allocations: 132.2 MB / 423.3 MB, free: 6.574 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 59.91 kB / 0.5032 GB, free: 10.94 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4181, allocations: 80.18 MB / 0.5815 GB, free: 27.63 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.004966/0.4231, allocations: 4.333 MB / 0.5857 GB, free: 24.21 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.003293/0.4265, allocations: 1.579 MB / 0.5873 GB, free: 22.9 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007975/0.4273, allocations: 35.19 kB / 0.5873 GB, free: 22.89 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003949/0.4277, allocations: 172.9 kB / 0.5875 GB, free: 22.73 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0007048/0.4284, allocations: 223.4 kB / 0.5877 GB, free: 22.54 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001255/0.4297, allocations: 0.6716 MB / 0.5883 GB, free: 22.04 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.001137/0.4309, allocations: 1.229 MB / 0.5895 GB, free: 21.25 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006919/0.4316, allocations: 0.4992 MB / 0.59 GB, free: 20.95 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005682/0.4321, allocations: 460.3 kB / 0.5905 GB, free: 20.65 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004254/0.4326, allocations: 461.9 kB / 0.5909 GB, free: 20.29 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.00016/0.4327, allocations: 107.5 kB / 0.591 GB, free: 20.29 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001321/0.4329, allocations: 102.6 kB / 0.5911 GB, free: 20.29 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001624/0.433, allocations: 235.1 kB / 0.5913 GB, free: 20.08 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002661/0.4333, allocations: 493 kB / 0.5918 GB, free: 19.6 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007399/0.4341, allocations: 1.15 MB / 0.5929 GB, free: 18.45 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.811e-06/0.4341, allocations: 0 / 0.5929 GB, free: 18.45 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.994e-06/0.4341, allocations: 0 / 0.5929 GB, free: 18.45 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.292e-05/0.4341, allocations: 0.625 kB / 0.5929 GB, free: 18.45 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.001928/0.436, allocations: 1.403 MB / 0.5943 GB, free: 17 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/0.4361, allocations: 12.62 kB / 0.5943 GB, free: 16.99 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000148/0.4362, allocations: 123.4 kB / 0.5944 GB, free: 16.87 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001144/0.4374, allocations: 0.7626 MB / 0.5952 GB, free: 16.07 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.299e-05/0.4375, allocations: 80.27 kB / 0.5952 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.68e-05/0.4376, allocations: 76.28 kB / 0.5953 GB, free: 15.91 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009833/0.4386, allocations: 0.7333 MB / 0.596 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.602e-05/0.4386, allocations: 3.938 kB / 0.596 GB, free: 15.15 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.34e-05/0.4387, allocations: 28 kB / 0.5961 GB, free: 15.12 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.345e-05/0.4387, allocations: 17.25 kB / 0.5961 GB, free: 15.11 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008749/0.4396, allocations: 0.5181 MB / 0.5966 GB, free: 14.59 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002601/0.4422, allocations: 2.247 MB / 0.5988 GB, free: 12.28 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.4433, allocations: 0.6123 MB / 0.5994 GB, free: 11.66 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004183/0.4438, allocations: 272.4 kB / 0.5996 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.395e-05/0.4438, allocations: 8.562 kB / 0.5996 GB, free: 11.39 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005371/0.4444, allocations: 321.1 kB / 0.5999 GB, free: 11.06 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 2.204e-06/0.4444, allocations: 4 kB / 0.5999 GB, free: 11.05 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001352/0.4458, allocations: 0.752 MB / 0.6007 GB, free: 10.3 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/0.4458, allocations: 85.67 kB / 0.6008 GB, free: 10.2 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006981/0.4465, allocations: 0.7594 MB / 0.6015 GB, free: 9.43 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.58e-05/0.4466, allocations: 38.27 kB / 0.6015 GB, free: 9.387 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002572/0.4468, allocations: 442 kB / 0.602 GB, free: 8.953 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.447, allocations: 208.9 kB / 0.6022 GB, free: 8.746 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001591/0.4471, allocations: 114.2 kB / 0.6023 GB, free: 8.629 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 7.667e-05/0.4472, allocations: 331 kB / 0.6026 GB, free: 8.301 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003878/0.4476, allocations: 209.6 kB / 0.6028 GB, free: 8.094 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000411/0.448, allocations: 303.8 kB / 0.6031 GB, free: 7.766 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007674/0.4488, allocations: 0.5027 MB / 0.6036 GB, free: 7.238 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.4488, allocations: 8 kB / 0.6036 GB, free: 7.23 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.00101/0.4498, allocations: 0.6528 MB / 0.6042 GB, free: 6.57 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.114e-05/0.4499, allocations: 8.781 kB / 0.6042 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.855e-06/0.4499, allocations: 0 / 0.6042 GB, free: 6.562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.063e-05/0.4499, allocations: 8.938 kB / 0.6042 GB, free: 6.555 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005783/0.4505, allocations: 140.5 kB / 0.6044 GB, free: 6.418 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.4505, allocations: 11.92 kB / 0.6044 GB, free: 6.406 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004064/0.4509, allocations: 73.28 kB / 0.6044 GB, free: 6.336 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.646e-05/0.451, allocations: 27.97 kB / 0.6045 GB, free: 6.309 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0005073/0.4515, allocations: 353.9 kB / 0.6048 GB, free: 5.961 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003639/0.4519, allocations: 291.6 kB / 0.6051 GB, free: 5.648 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006999/0.4526, allocations: 494 kB / 0.6056 GB, free: 5.141 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.883e-06/0.4526, allocations: 3.531 kB / 0.6056 GB, free: 5.141 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.00091/0.4535, allocations: 0.6305 MB / 0.6062 GB, free: 4.504 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.656e-06/0.4535, allocations: 8.5 kB / 0.6062 GB, free: 4.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.268e-06/0.4535, allocations: 4 kB / 0.6062 GB, free: 4.492 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.452e-06/0.4536, allocations: 8 kB / 0.6062 GB, free: 4.484 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005324/0.4541, allocations: 143.8 kB / 0.6063 GB, free: 4.344 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.162e-06/0.4541, allocations: 4 kB / 0.6063 GB, free: 4.34 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000345/0.4545, allocations: 59.5 kB / 0.6064 GB, free: 4.281 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.326e-05/0.4545, allocations: 16 kB / 0.6064 GB, free: 4.266 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.0001731/0.4547, allocations: 220.1 kB / 0.6066 GB, free: 4.043 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.867e-05/0.4548, allocations: 94.88 kB / 0.6067 GB, free: 3.949 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001849/0.455, allocations: 105.1 kB / 0.6068 GB, free: 3.844 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.049e-05/0.455, allocations: 7.984 kB / 0.6068 GB, free: 3.836 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.828e-05/0.455, allocations: 7.875 kB / 0.6068 GB, free: 3.828 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.304e-06/0.455, allocations: 4 kB / 0.6068 GB, free: 3.824 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002006/0.457, allocations: 1.435 MB / 0.6082 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.344e-06/0.4571, allocations: 0 / 0.6082 GB, free: 2.336 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005053/0.4576, allocations: 107.8 kB / 0.6083 GB, free: 2.23 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.4576, allocations: 4 kB / 0.6083 GB, free: 2.227 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.075e-05/0.4576, allocations: 12 kB / 0.6083 GB, free: 2.215 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.446e-06/0.4576, allocations: 0 / 0.6083 GB, free: 2.215 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/0.4576, allocations: 4 kB / 0.6083 GB, free: 2.211 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001528/0.4592, allocations: 0.9673 MB / 0.6093 GB, free: 1.223 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002664/0.4595, allocations: 219.8 kB / 0.6095 GB, free: 0.9883 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.908e-05/0.4596, allocations: 16 kB / 0.6095 GB, free: 0.9727 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003851/0.4599, allocations: 27.97 kB / 0.6095 GB, free: 0.9453 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.813e-05/0.4601, allocations: 44.5 kB / 0.6096 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.443e-05/0.4601, allocations: 16 kB / 0.6096 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.000547/0.4606, allocations: 0.5185 MB / 0.6101 GB, free: 380 kB / 446.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.4607, allocations: 0 / 0.6101 GB, free: 380 kB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006285/0.4613, allocations: 283 kB / 0.6104 GB, free: 96 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.000146/0.4614, allocations: 115.2 kB / 0.6105 GB, free: 15.97 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001626/0.4631, allocations: 0.788 MB / 0.6113 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.526e-06/0.4631, allocations: 0 / 0.6113 GB, free: 15.18 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005462/0.4636, allocations: 267.7 kB / 0.6115 GB, free: 14.92 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001286/0.4649, allocations: 278 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.002911/0.4679, allocations: 1.539 MB / 0.6133 GB, free: 13.09 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005775/0.4685, allocations: 0.9898 MB / 0.6142 GB, free: 12.08 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0004761/0.4689, allocations: 118.7 kB / 0.6144 GB, free: 11.96 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001935/0.4691, allocations: 63.42 kB / 0.6144 GB, free: 11.89 MB / 462.1 MB Notification: Performance of SimCode: time 1.212e-06/0.4691, allocations: 0 / 0.6144 GB, free: 11.89 MB / 462.1 MB Notification: Performance of Templates: time 0.01682/0.486, allocations: 9.253 MB / 0.6235 GB, free: 2.758 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 cvode -lv LOG_STATS > IDEAS_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)