Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo", uses=false) Using package Annex60 with version 1.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Annex60.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset") translateModel(Annex60.Controls.Continuous.Validation.LimPIDReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.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.001363/0.001362, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.00197/0.00197, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.47/1.47, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3881/0.3881, allocations: 54.98 MB / 325.3 MB, free: 0.7266 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Annex60 requested package Modelica of version 3.2.2. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005068/0.0005069, allocations: 16 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3054, allocations: 60.72 MB / 457.3 MB, free: 38.42 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Validation.LimPIDReset): time 0.003257/0.3087, allocations: 3.665 MB / 461 MB, free: 38.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0026/0.3114, allocations: 1.558 MB / 462.5 MB, free: 37.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004541/0.3118, allocations: 30.44 kB / 462.6 MB, free: 37.45 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001181/0.312, allocations: 69.2 kB / 462.6 MB, free: 37.4 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006373/0.3126, allocations: 243.1 kB / 462.9 MB, free: 37.3 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001083/0.3137, allocations: 0.5537 MB / 463.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009418/0.3146, allocations: 0.8026 MB / 464.2 MB, free: 36.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004301/0.3151, allocations: 352.8 kB / 464.6 MB, free: 36.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004041/0.3155, allocations: 379.4 kB / 464.9 MB, free: 36.49 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002825/0.3158, allocations: 340.1 kB / 465.3 MB, free: 36.32 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 7.456e-05/0.3159, allocations: 28.41 kB / 465.3 MB, free: 36.32 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.61e-05/0.3159, allocations: 25.97 kB / 465.3 MB, free: 36.32 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.329e-05/0.316, allocations: 134.9 kB / 465.4 MB, free: 36.26 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.479e-05/0.3161, allocations: 181 kB / 465.6 MB, free: 36.12 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005024/0.3166, allocations: 0.8112 MB / 466.4 MB, free: 35.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.315e-06/0.3167, allocations: 0 / 466.4 MB, free: 35.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.164e-06/0.3167, allocations: 0.7188 kB / 466.4 MB, free: 35.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.293e-05/0.3167, allocations: 3.938 kB / 466.4 MB, free: 35.95 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 171 * Number of variables: 171 Notification: Performance of Generate backend data structure: time 0.001877/0.3186, allocations: 1.264 MB / 467.7 MB, free: 35.16 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.702e-05/0.3186, allocations: 13.44 kB / 467.7 MB, free: 35.16 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000169/0.3188, allocations: 121.7 kB / 467.8 MB, free: 35.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001055/0.3199, allocations: 0.7185 MB / 468.6 MB, free: 34.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.791e-05/0.3199, allocations: 81.59 kB / 468.6 MB, free: 34.61 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.415e-05/0.32, allocations: 70.97 kB / 468.7 MB, free: 34.58 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001052/0.3211, allocations: 0.7406 MB / 469.4 MB, free: 34.22 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.204e-05/0.3211, allocations: 0 / 469.4 MB, free: 34.22 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.256e-05/0.3212, allocations: 35.7 kB / 469.5 MB, free: 34.2 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.3212, allocations: 16.19 kB / 469.5 MB, free: 34.2 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009626/0.3222, allocations: 0.532 MB / 470 MB, free: 34.01 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002795/0.325, allocations: 2.319 MB / 472.3 MB, free: 32.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001325/0.3263, allocations: 0.6612 MB / 473 MB, free: 32.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.473e-05/0.3264, allocations: 10.12 kB / 473 MB, free: 32.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005832/0.327, allocations: 339.9 kB / 473.3 MB, free: 32.28 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.495e-06/0.327, allocations: 0 / 473.3 MB, free: 32.28 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001416/0.3284, allocations: 0.7669 MB / 474.1 MB, free: 31.96 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.326e-05/0.3285, allocations: 85.83 kB / 474.2 MB, free: 31.87 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007486/0.3293, allocations: 0.7567 MB / 475 MB, free: 31.54 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.541e-05/0.3293, allocations: 39.02 kB / 475 MB, free: 31.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002401/0.3296, allocations: 457.1 kB / 475.4 MB, free: 31.14 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001114/0.3297, allocations: 201.7 kB / 475.6 MB, free: 30.98 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.3297, allocations: 10.53 kB / 475.6 MB, free: 30.97 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.095e-05/0.3298, allocations: 333.7 kB / 476 MB, free: 30.66 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000403/0.3302, allocations: 207.1 kB / 476.2 MB, free: 30.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004207/0.3306, allocations: 304.3 kB / 476.5 MB, free: 30.4 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004188/0.331, allocations: 241.1 kB / 476.7 MB, free: 30.29 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.217e-06/0.3311, allocations: 1.312 kB / 476.7 MB, free: 30.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001011/0.3321, allocations: 0.6649 MB / 477.4 MB, free: 30 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.3322, allocations: 0.8776 MB / 478.3 MB, free: 29.07 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.393e-06/0.3322, allocations: 3.344 kB / 478.3 MB, free: 29.07 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.742e-05/0.3323, allocations: 3.562 kB / 478.3 MB, free: 29.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005908/0.3329, allocations: 151.3 kB / 478.4 MB, free: 29.06 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.126e-05/0.3329, allocations: 9.922 kB / 478.4 MB, free: 29.05 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004067/0.3333, allocations: 73.92 kB / 478.5 MB, free: 29.02 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.553e-05/0.3333, allocations: 27.91 kB / 478.5 MB, free: 29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.074e-06/0.3333, allocations: 5.875 kB / 478.5 MB, free: 29 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006519/0.334, allocations: 0.4884 MB / 479 MB, free: 28.8 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.867e-06/0.334, allocations: 2.844 kB / 479 MB, free: 28.8 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.09e-06/0.334, allocations: 5.875 kB / 479 MB, free: 28.8 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004784/0.3345, allocations: 137.5 kB / 479.2 MB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3345, allocations: 10.94 kB / 479.2 MB, free: 28.78 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00031/0.3348, allocations: 64.47 kB / 479.2 MB, free: 28.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.855e-05/0.3349, allocations: 21 kB / 479.2 MB, free: 28.73 MB / 382.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,$whenCondition2,trigger.y,$PRE.trigger.pulseStart,trigger.pulseStart,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002873/0.3352, allocations: 298.8 kB / 479.5 MB, free: 28.47 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.439e-05/0.3353, allocations: 104 kB / 479.6 MB, free: 28.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001499/0.3354, allocations: 99.81 kB / 479.7 MB, free: 28.35 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.563e-06/0.3354, allocations: 8.969 kB / 479.7 MB, free: 28.35 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/0.3355, allocations: 4 kB / 479.7 MB, free: 28.34 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.3355, allocations: 6.312 kB / 479.8 MB, free: 28.34 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001838/0.3373, allocations: 1.452 MB / 481.2 MB, free: 27.61 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/0.3373, allocations: 0.6875 kB / 481.2 MB, free: 27.61 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005137/0.3379, allocations: 113.5 kB / 481.3 MB, free: 27.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.459e-06/0.3379, allocations: 3.469 kB / 481.3 MB, free: 27.59 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.537e-05/0.3379, allocations: 10.75 kB / 481.3 MB, free: 27.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.877e-06/0.3379, allocations: 6.719 kB / 481.3 MB, free: 27.58 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3379, allocations: 2 kB / 481.3 MB, free: 27.58 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001421/0.3393, allocations: 0.9754 MB / 482.3 MB, free: 27.1 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002242/0.3396, allocations: 221.8 kB / 482.5 MB, free: 26.91 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.675e-05/0.3397, allocations: 14.56 kB / 482.5 MB, free: 26.9 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004166/0.3401, allocations: 46.58 kB / 482.6 MB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.745e-05/0.3402, allocations: 32.11 kB / 482.6 MB, free: 26.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.514e-05/0.3402, allocations: 22.44 kB / 482.6 MB, free: 26.88 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004947/0.3407, allocations: 0.5182 MB / 483.2 MB, free: 26.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3407, allocations: 0 / 483.2 MB, free: 26.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006521/0.3414, allocations: 282 kB / 483.4 MB, free: 26.57 MB / 382.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001163/0.3415, allocations: 113.5 kB / 483.6 MB, free: 26.46 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.00124/0.3428, allocations: 0.782 MB / 484.3 MB, free: 26.2 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.3428, allocations: 0.8125 kB / 484.3 MB, free: 26.2 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004693/0.3433, allocations: 280.4 kB / 484.6 MB, free: 26.11 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00113/0.3444, allocations: 240.9 kB / 484.8 MB, free: 26.05 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002473/0.3469, allocations: 1.859 MB / 486.7 MB, free: 24.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004096/0.3473, allocations: 1.022 MB / 487.7 MB, free: 24.23 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005004/0.3478, allocations: 117.8 kB / 487.8 MB, free: 24.21 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001826/0.348, allocations: 62.41 kB / 487.9 MB, free: 24.2 MB / 382.1 MB Notification: Performance of SimCode: time 4.71e-07/0.348, allocations: 0 / 487.9 MB, free: 24.2 MB / 382.1 MB Notification: Performance of Templates: time 0.01832/0.3663, allocations: 8.831 MB / 496.7 MB, free: 23.61 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.pipe 2>&1) Environment - environmentSimulation: