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.001461/0.001462, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002576/0.002576, allocations: 192.9 kB / 16.14 MB, free: 6.699 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.53/1.53, allocations: 205.1 MB / 222 MB, free: 4.781 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4106/0.4106, allocations: 54.93 MB / 324.3 MB, free: 140 kB / 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.001448/0.001448, allocations: 64.47 kB / 394.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1608/0.1623, allocations: 59.59 MB / 454.2 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Validation.LimPIDReset): time 0.2468/0.4091, allocations: 4.325 MB / 458.6 MB, free: 38.17 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002874/0.4121, allocations: 1.652 MB / 460.2 MB, free: 37.75 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005862/0.4127, allocations: 34.16 kB / 460.2 MB, free: 37.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003965/0.4131, allocations: 125.2 kB / 460.4 MB, free: 37.67 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006586/0.4138, allocations: 181.9 kB / 460.5 MB, free: 37.57 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001183/0.415, allocations: 0.671 MB / 461.2 MB, free: 37.17 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009546/0.416, allocations: 1.18 MB / 462.4 MB, free: 36.6 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006249/0.4166, allocations: 494.7 kB / 462.9 MB, free: 36.38 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004253/0.417, allocations: 415.1 kB / 463.3 MB, free: 36.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003325/0.4174, allocations: 432 kB / 463.7 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000114/0.4175, allocations: 54.25 kB / 463.8 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.815e-05/0.4176, allocations: 48.72 kB / 463.8 MB, free: 35.95 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.4177, allocations: 182.6 kB / 464 MB, free: 35.83 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002582/0.418, allocations: 453.4 kB / 464.4 MB, free: 35.52 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006373/0.4186, allocations: 1.062 MB / 465.5 MB, free: 35.03 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.4186, allocations: 0 / 465.5 MB, free: 35.03 MB / 382.1 MB Notification: Performance of FrontEnd: time 7.52e-07/0.4186, allocations: 1.531 kB / 465.5 MB, free: 35.03 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.427e-05/0.4187, allocations: 0 / 465.5 MB, free: 35.03 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.002327/0.421, allocations: 1.416 MB / 466.9 MB, free: 34.11 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.421, allocations: 11.41 kB / 466.9 MB, free: 34.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001952/0.4212, allocations: 129.4 kB / 467 MB, free: 34.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001096/0.4223, allocations: 0.7487 MB / 467.8 MB, free: 33.56 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.637e-05/0.4224, allocations: 80.67 kB / 467.9 MB, free: 33.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.806e-05/0.4226, allocations: 78.28 kB / 468 MB, free: 33.47 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001158/0.4237, allocations: 0.7454 MB / 468.7 MB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.8e-05/0.4237, allocations: 0 / 468.7 MB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.968e-05/0.4238, allocations: 29.19 kB / 468.7 MB, free: 33.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.546e-05/0.4238, allocations: 15.09 kB / 468.7 MB, free: 33.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009658/0.4248, allocations: 0.5325 MB / 469.3 MB, free: 32.9 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00287/0.4277, allocations: 2.296 MB / 471.6 MB, free: 31.55 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00126/0.429, allocations: 0.6169 MB / 472.2 MB, free: 31.31 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004549/0.4294, allocations: 278.7 kB / 472.5 MB, free: 31.2 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.931e-05/0.4295, allocations: 6.875 kB / 472.5 MB, free: 31.2 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006745/0.4302, allocations: 328.9 kB / 472.8 MB, free: 31.05 MB / 382.1 MB Notification: Performance of pre-optimization done (n=60): time 2.685e-06/0.4302, allocations: 4 kB / 472.8 MB, free: 31.05 MB / 382.1 MB Notification: Performance of matching and sorting (n=60): time 0.001417/0.4316, allocations: 0.751 MB / 473.5 MB, free: 30.74 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.4317, allocations: 87.12 kB / 473.6 MB, free: 30.64 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007412/0.4324, allocations: 0.7695 MB / 474.4 MB, free: 30.3 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.995e-05/0.4325, allocations: 39.95 kB / 474.4 MB, free: 30.27 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002431/0.4327, allocations: 450.1 kB / 474.9 MB, free: 29.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001072/0.4328, allocations: 200.2 kB / 475.1 MB, free: 29.75 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001445/0.433, allocations: 113.1 kB / 475.2 MB, free: 29.69 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.268e-05/0.4331, allocations: 334.7 kB / 475.5 MB, free: 29.38 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004289/0.4335, allocations: 210.4 kB / 475.7 MB, free: 29.29 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004396/0.4339, allocations: 316.1 kB / 476 MB, free: 29.11 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008116/0.4348, allocations: 0.5103 MB / 476.5 MB, free: 28.82 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.4348, allocations: 0 / 476.5 MB, free: 28.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization): time 0.001053/0.4358, allocations: 0.6618 MB / 477.2 MB, free: 28.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.331e-05/0.4359, allocations: 12.98 kB / 477.2 MB, free: 28.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.042e-05/0.4359, allocations: 2.844 kB / 477.2 MB, free: 28.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.028e-05/0.4359, allocations: 10.81 kB / 477.2 MB, free: 28.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005958/0.4365, allocations: 144.5 kB / 477.4 MB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.274e-05/0.4365, allocations: 9.531 kB / 477.4 MB, free: 28.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004084/0.4369, allocations: 71.28 kB / 477.4 MB, free: 28.46 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.835e-05/0.437, allocations: 21 kB / 477.5 MB, free: 28.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004796/0.4375, allocations: 340 kB / 477.8 MB, free: 28.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003094/0.4378, allocations: 280.3 kB / 478.1 MB, free: 28.08 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005874/0.4384, allocations: 472.1 kB / 478.5 MB, free: 27.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.835e-06/0.4384, allocations: 0.5469 kB / 478.5 MB, free: 27.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=76) (initialization_lambda0): time 0.0007842/0.4392, allocations: 0.6126 MB / 479.1 MB, free: 27.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.088e-06/0.4392, allocations: 5.781 kB / 479.1 MB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.095e-06/0.4392, allocations: 0 / 479.1 MB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.753e-06/0.4392, allocations: 9.438 kB / 479.2 MB, free: 27.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004811/0.4397, allocations: 133.6 kB / 479.3 MB, free: 27.5 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.4397, allocations: 6.891 kB / 479.3 MB, free: 27.5 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003196/0.4401, allocations: 49.97 kB / 479.3 MB, free: 27.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.933e-05/0.4401, allocations: 24.56 kB / 479.4 MB, free: 27.46 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,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.0001531/0.4403, allocations: 216.1 kB / 479.6 MB, free: 27.26 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.586e-05/0.4404, allocations: 95.69 kB / 479.7 MB, free: 27.21 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001656/0.4405, allocations: 100.8 kB / 479.8 MB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.4405, allocations: 5.938 kB / 479.8 MB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.395e-05/0.4406, allocations: 0 / 479.8 MB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.432e-06/0.4406, allocations: 3.281 kB / 479.8 MB, free: 27.14 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.4424, allocations: 1.453 MB / 481.2 MB, free: 26.39 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.4424, allocations: 0 / 481.2 MB, free: 26.39 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005092/0.4429, allocations: 104 kB / 481.3 MB, free: 26.38 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.642e-06/0.4429, allocations: 9.812 kB / 481.3 MB, free: 26.38 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.805e-05/0.443, allocations: 20.38 kB / 481.4 MB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.766e-06/0.443, allocations: 2.625 kB / 481.4 MB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.443, allocations: 0 / 481.4 MB, free: 26.36 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.4444, allocations: 0.9695 MB / 482.3 MB, free: 25.87 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000192/0.4446, allocations: 218.1 kB / 482.5 MB, free: 25.68 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.977e-05/0.4447, allocations: 17.55 kB / 482.6 MB, free: 25.67 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004004/0.4451, allocations: 30.94 kB / 482.6 MB, free: 25.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.22e-05/0.4452, allocations: 36.75 kB / 482.6 MB, free: 25.66 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-05/0.4453, allocations: 24.41 kB / 482.7 MB, free: 25.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006759/0.4459, allocations: 0.5196 MB / 483.2 MB, free: 25.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.4459, allocations: 0 / 483.2 MB, free: 25.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009013/0.4469, allocations: 284.3 kB / 483.5 MB, free: 25.34 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 (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.000155/0.447, allocations: 121.4 kB / 483.6 MB, free: 25.23 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001783/0.4488, allocations: 0.7806 MB / 484.4 MB, free: 24.97 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.488e-06/0.4488, allocations: 2.812 kB / 484.4 MB, free: 24.97 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005612/0.4494, allocations: 271.5 kB / 484.6 MB, free: 24.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.4507, allocations: 261.8 kB / 484.9 MB, free: 24.8 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002593/0.4533, allocations: 1.923 MB / 486.8 MB, free: 23.61 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004622/0.4537, allocations: 0.997 MB / 487.8 MB, free: 22.9 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0005281/0.4543, allocations: 123.8 kB / 487.9 MB, free: 22.88 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000203/0.4545, allocations: 66.73 kB / 488 MB, free: 22.87 MB / 382.1 MB Notification: Performance of SimCode: time 1.273e-06/0.4545, allocations: 0 / 488 MB, free: 22.87 MB / 382.1 MB Notification: Performance of Templates: time 0.02485/0.4793, allocations: 9.222 MB / 497.2 MB, free: 22.27 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Validation.LimPIDReset.makefile (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)