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.001464/0.001464, allocations: 103.8 kB / 16.27 MB, free: 6.414 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.001389/0.001389, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.361/1.361, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7992/0.7992, allocations: 135.2 MB / 426.2 MB, free: 4.156 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 59.91 kB / 0.506 GB, free: 8.387 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3475/0.3494, allocations: 80.92 MB / 0.5851 GB, free: 25.25 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Controls.Continuous.Validation.LimPIDReset): time 0.00451/0.3539, allocations: 4.326 MB / 0.5893 GB, free: 21.83 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002674/0.3566, allocations: 1.575 MB / 0.5908 GB, free: 20.52 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004789/0.3571, allocations: 36.53 kB / 0.5908 GB, free: 20.51 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003347/0.3575, allocations: 164.8 kB / 0.591 GB, free: 20.36 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005328/0.358, allocations: 234.7 kB / 0.5912 GB, free: 20.15 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00102/0.3591, allocations: 0.671 MB / 0.5919 GB, free: 19.49 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007972/0.3599, allocations: 1.215 MB / 0.5931 GB, free: 18.28 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0005491/0.3604, allocations: 0.4999 MB / 0.5936 GB, free: 17.77 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00039/0.3608, allocations: 462 kB / 0.594 GB, free: 17.32 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003078/0.3611, allocations: 462.8 kB / 0.5944 GB, free: 16.87 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001081/0.3612, allocations: 100 kB / 0.5945 GB, free: 16.77 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.77e-05/0.3613, allocations: 104 kB / 0.5946 GB, free: 16.67 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001244/0.3615, allocations: 235 kB / 0.5949 GB, free: 16.44 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002421/0.3617, allocations: 486.7 kB / 0.5953 GB, free: 15.96 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006455/0.3624, allocations: 1.119 MB / 0.5964 GB, free: 14.84 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.099e-06/0.3624, allocations: 0 / 0.5964 GB, free: 14.84 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.643e-06/0.3624, allocations: 0 / 0.5964 GB, free: 14.84 MB / 446.1 MB Notification: Performance of Transformations before backend: time 1.06e-05/0.3624, allocations: 4.719 kB / 0.5964 GB, free: 14.84 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.00183/0.3643, allocations: 1.392 MB / 0.5978 GB, free: 13.4 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.522e-05/0.3643, allocations: 13.11 kB / 0.5978 GB, free: 13.39 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001391/0.3644, allocations: 127.4 kB / 0.5979 GB, free: 13.27 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008539/0.3653, allocations: 0.7241 MB / 0.5986 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.147e-05/0.3654, allocations: 80.83 kB / 0.5987 GB, free: 12.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.009e-05/0.3655, allocations: 73.88 kB / 0.5988 GB, free: 12.34 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009444/0.3664, allocations: 0.7339 MB / 0.5995 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.473e-05/0.3664, allocations: 0 / 0.5995 GB, free: 11.58 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.367e-05/0.3665, allocations: 36 kB / 0.5995 GB, free: 11.55 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.241e-05/0.3665, allocations: 16 kB / 0.5995 GB, free: 11.53 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008992/0.3674, allocations: 0.5236 MB / 0.6 GB, free: 11.01 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002459/0.3699, allocations: 2.262 MB / 0.6023 GB, free: 8.695 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001149/0.3711, allocations: 0.6311 MB / 0.6029 GB, free: 8.062 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004151/0.3715, allocations: 275.9 kB / 0.6031 GB, free: 7.793 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.11e-05/0.3715, allocations: 5.219 kB / 0.6031 GB, free: 7.789 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005934/0.3721, allocations: 325.3 kB / 0.6035 GB, free: 7.461 MB / 446.1 MB Notification: Performance of pre-optimization done (n=60): time 1.884e-06/0.3721, allocations: 1.438 kB / 0.6035 GB, free: 7.461 MB / 446.1 MB Notification: Performance of matching and sorting (n=60): time 0.001307/0.3735, allocations: 0.7503 MB / 0.6042 GB, free: 6.707 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.138e-05/0.3735, allocations: 85.66 kB / 0.6043 GB, free: 6.605 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006125/0.3741, allocations: 0.7566 MB / 0.605 GB, free: 5.84 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.855e-05/0.3742, allocations: 41.69 kB / 0.605 GB, free: 5.793 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002121/0.3744, allocations: 437.6 kB / 0.6055 GB, free: 5.363 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.791e-05/0.3745, allocations: 209 kB / 0.6057 GB, free: 5.156 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.3746, allocations: 114.2 kB / 0.6058 GB, free: 5.035 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.97e-05/0.3747, allocations: 327 kB / 0.6061 GB, free: 4.711 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003785/0.3751, allocations: 209 kB / 0.6063 GB, free: 4.508 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00041/0.3755, allocations: 308 kB / 0.6066 GB, free: 4.176 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007617/0.3763, allocations: 0.5075 MB / 0.6071 GB, free: 3.645 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.3763, allocations: 0 / 0.6071 GB, free: 3.645 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.0009752/0.3773, allocations: 0.6544 MB / 0.6077 GB, free: 2.988 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.601e-05/0.3773, allocations: 8 kB / 0.6077 GB, free: 2.98 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/0.3773, allocations: 4 kB / 0.6077 GB, free: 2.977 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.964e-05/0.3773, allocations: 4 kB / 0.6077 GB, free: 2.973 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.3779, allocations: 139.8 kB / 0.6079 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.3779, allocations: 12.16 kB / 0.6079 GB, free: 2.824 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003753/0.3783, allocations: 75.34 kB / 0.6079 GB, free: 2.75 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.292e-05/0.3783, allocations: 24 kB / 0.608 GB, free: 2.727 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004776/0.3788, allocations: 353.4 kB / 0.6083 GB, free: 2.379 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003664/0.3792, allocations: 300.4 kB / 0.6086 GB, free: 2.051 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0007019/0.3799, allocations: 487.7 kB / 0.6091 GB, free: 1.539 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.485e-06/0.3799, allocations: 8 kB / 0.6091 GB, free: 1.531 MB / 446.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.000883/0.3808, allocations: 0.6266 MB / 0.6097 GB, free: 0.8984 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 8.355e-06/0.3808, allocations: 4 kB / 0.6097 GB, free: 0.8945 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3808, allocations: 4.25 kB / 0.6097 GB, free: 0.8906 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.17e-06/0.3808, allocations: 8 kB / 0.6097 GB, free: 0.8828 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005285/0.3814, allocations: 139.8 kB / 0.6098 GB, free: 0.7461 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.112e-06/0.3814, allocations: 4 kB / 0.6098 GB, free: 0.7422 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003537/0.3818, allocations: 59.52 kB / 0.6099 GB, free: 0.6836 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.984e-05/0.3818, allocations: 23.98 kB / 0.6099 GB, free: 0.6602 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.0001328/0.3819, allocations: 216 kB / 0.6101 GB, free: 452 kB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.853e-05/0.382, allocations: 98.78 kB / 0.6102 GB, free: 352 kB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000163/0.3822, allocations: 105.2 kB / 0.6103 GB, free: 244 kB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.668e-06/0.3822, allocations: 7.938 kB / 0.6103 GB, free: 236 kB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.666e-06/0.3822, allocations: 7.938 kB / 0.6103 GB, free: 228 kB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.314e-06/0.3822, allocations: 4.078 kB / 0.6103 GB, free: 224 kB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002219/0.3845, allocations: 1.442 MB / 0.6117 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.3845, allocations: 0 / 0.6117 GB, free: 14.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005614/0.385, allocations: 111.8 kB / 0.6118 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.608e-06/0.3851, allocations: 4 kB / 0.6118 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.998e-05/0.3851, allocations: 15.98 kB / 0.6119 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.3851, allocations: 4 kB / 0.6119 GB, free: 14.59 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.3851, allocations: 4 kB / 0.6119 GB, free: 14.58 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001755/0.3869, allocations: 0.9548 MB / 0.6128 GB, free: 13.61 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000282/0.3872, allocations: 223.8 kB / 0.613 GB, free: 13.37 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.77e-05/0.3873, allocations: 12 kB / 0.613 GB, free: 13.36 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004236/0.3877, allocations: 31.97 kB / 0.6131 GB, free: 13.33 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.614e-05/0.3878, allocations: 32.52 kB / 0.6131 GB, free: 13.3 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.161e-05/0.3878, allocations: 19.98 kB / 0.6131 GB, free: 13.28 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006783/0.3885, allocations: 0.5146 MB / 0.6136 GB, free: 12.77 MB / 462.1 MB Notification: Performance of sort global known variables: time 2.5e-07/0.3885, allocations: 0 / 0.6136 GB, free: 12.77 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0007424/0.3893, allocations: 283 kB / 0.6139 GB, free: 12.49 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.0001548/0.3894, allocations: 119.1 kB / 0.614 GB, free: 12.37 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001925/0.3914, allocations: 0.8113 MB / 0.6148 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.3914, allocations: 7.984 kB / 0.6148 GB, free: 11.55 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005322/0.3919, allocations: 263.7 kB / 0.615 GB, free: 11.29 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001184/0.3931, allocations: 269.2 kB / 0.6153 GB, free: 11.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002847/0.396, allocations: 1.611 MB / 0.6169 GB, free: 9.391 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006519/0.3967, allocations: 0.9898 MB / 0.6178 GB, free: 8.371 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000241/0.3969, allocations: 67.42 kB / 0.6179 GB, free: 8.305 MB / 462.1 MB Notification: Performance of SimCode: time 7.82e-07/0.3969, allocations: 0 / 0.6179 GB, free: 8.305 MB / 462.1 MB Notification: Performance of Templates: time 0.01766/0.4146, allocations: 10.92 MB / 0.6286 GB, free: 13.46 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 -lv LOG_STATS > IDEAS_dev_IDEAS.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1)