Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.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.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset") translateModel(Annex60.Controls.Continuous.Examples.LimPIDWithReset,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008659/0.0008661, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.006816/0.006817, allocations: 173.3 kB / 16.26 MB, free: 6.613 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.549/1.549, allocations: 205.4 MB / 222.4 MB, free: 5.559 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4352/0.4352, allocations: 55 MB / 325.8 MB, free: 0.6445 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.0005591/0.0005592, allocations: 12 kB / 397.3 MB, free: 11.37 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3877/0.3883, allocations: 60.71 MB / 458 MB, free: 38.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.LimPIDWithReset): time 0.005501/0.3939, allocations: 3.711 MB / 461.7 MB, free: 37.87 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003346/0.3972, allocations: 1.39 MB / 463.1 MB, free: 37.41 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00103/0.3983, allocations: 24.31 kB / 463.1 MB, free: 37.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005025/0.3988, allocations: 93.12 kB / 463.2 MB, free: 37.36 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0008993/0.3998, allocations: 148.2 kB / 463.3 MB, free: 37.27 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001307/0.4011, allocations: 424.2 kB / 463.7 MB, free: 37.22 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009227/0.402, allocations: 0.9004 MB / 464.6 MB, free: 37.05 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006951/0.4027, allocations: 424 kB / 465.1 MB, free: 36.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003003/0.403, allocations: 242.9 kB / 465.3 MB, free: 36.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002603/0.4033, allocations: 255.2 kB / 465.5 MB, free: 36.79 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 5.869e-05/0.4034, allocations: 23.78 kB / 465.6 MB, free: 36.79 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.883e-05/0.4034, allocations: 25.47 kB / 465.6 MB, free: 36.79 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.531e-05/0.4035, allocations: 107.2 kB / 465.7 MB, free: 36.72 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002352/0.4038, allocations: 334.2 kB / 466 MB, free: 36.49 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006201/0.4044, allocations: 0.9654 MB / 467 MB, free: 36.2 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.487e-06/0.4044, allocations: 3.938 kB / 467 MB, free: 36.2 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.322e-06/0.4044, allocations: 0 / 467 MB, free: 36.2 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.017e-05/0.4044, allocations: 3 kB / 467 MB, free: 36.2 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: 148 * Number of variables: 148 Notification: Performance of Generate backend data structure: time 0.001562/0.406, allocations: 0.9597 MB / 468 MB, free: 35.53 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.15e-05/0.406, allocations: 10.12 kB / 468 MB, free: 35.53 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001394/0.4062, allocations: 82.53 kB / 468 MB, free: 35.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007261/0.4069, allocations: 0.5668 MB / 468.6 MB, free: 35.07 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.412e-05/0.407, allocations: 46.75 kB / 468.7 MB, free: 35.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.831e-05/0.4071, allocations: 61.72 kB / 468.7 MB, free: 35.02 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009841/0.4081, allocations: 0.6176 MB / 469.3 MB, free: 34.73 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.545e-05/0.4081, allocations: 3.375 kB / 469.3 MB, free: 34.73 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.412e-05/0.4082, allocations: 26.36 kB / 469.4 MB, free: 34.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.344e-05/0.4082, allocations: 16.66 kB / 469.4 MB, free: 34.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009087/0.4091, allocations: 473.3 kB / 469.8 MB, free: 34.55 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002487/0.4116, allocations: 2.048 MB / 471.9 MB, free: 33.3 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008104/0.4124, allocations: 468.3 kB / 472.3 MB, free: 33.11 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004022/0.4128, allocations: 250.5 kB / 472.6 MB, free: 33.01 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.196e-05/0.4129, allocations: 4.156 kB / 472.6 MB, free: 33.01 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005165/0.4134, allocations: 258.6 kB / 472.8 MB, free: 32.89 MB / 382.1 MB Notification: Performance of pre-optimization done (n=49): time 2.184e-06/0.4134, allocations: 2.719 kB / 472.8 MB, free: 32.89 MB / 382.1 MB Notification: Performance of matching and sorting (n=49): time 0.00117/0.4146, allocations: 0.6014 MB / 473.4 MB, free: 32.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.103e-05/0.4146, allocations: 61.66 kB / 473.5 MB, free: 32.58 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004115/0.4151, allocations: 453.2 kB / 474 MB, free: 32.36 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.313e-05/0.4151, allocations: 37.77 kB / 474 MB, free: 32.32 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001713/0.4153, allocations: 328.9 kB / 474.3 MB, free: 32.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.137e-05/0.4154, allocations: 166.1 kB / 474.5 MB, free: 31.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.972e-05/0.4154, allocations: 50.31 kB / 474.5 MB, free: 31.89 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.384e-05/0.4155, allocations: 372 kB / 474.9 MB, free: 31.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003435/0.4159, allocations: 177.3 kB / 475.1 MB, free: 31.49 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003674/0.4162, allocations: 260.8 kB / 475.3 MB, free: 31.34 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007188/0.417, allocations: 469.7 kB / 475.8 MB, free: 31.06 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.417, allocations: 3.938 kB / 475.8 MB, free: 31.06 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0009227/0.4179, allocations: 0.5788 MB / 476.4 MB, free: 30.79 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.158e-05/0.418, allocations: 177.9 kB / 476.5 MB, free: 30.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.418, allocations: 6.656 kB / 476.5 MB, free: 30.58 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.894e-05/0.4181, allocations: 2.719 kB / 476.5 MB, free: 30.58 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004466/0.4185, allocations: 119.2 kB / 476.7 MB, free: 30.57 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.4185, allocations: 2.625 kB / 476.7 MB, free: 30.57 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003511/0.4189, allocations: 75.02 kB / 476.7 MB, free: 30.54 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.461e-05/0.4189, allocations: 16.75 kB / 476.7 MB, free: 30.53 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 7.374e-06/0.4189, allocations: 8.75 kB / 476.8 MB, free: 30.53 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007476/0.4197, allocations: 0.493 MB / 477.2 MB, free: 30.32 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.4197, allocations: 3.031 kB / 477.3 MB, free: 30.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.649e-06/0.4197, allocations: 3.938 kB / 477.3 MB, free: 30.32 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003668/0.4201, allocations: 111 kB / 477.4 MB, free: 30.3 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.4201, allocations: 8.234 kB / 477.4 MB, free: 30.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002725/0.4204, allocations: 61.25 kB / 477.4 MB, free: 30.27 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.4204, allocations: 19.75 kB / 477.4 MB, free: 30.27 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 9 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,conNoRes.trigger.y,conWitRes.trigger.y,$whenCondition1,$whenCondition2,conNoRes.conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (65): * Single equations (assignments): 64 * Array equations: 0 * Algorithm blocks: 1 * 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.0002525/0.4207, allocations: 286.2 kB / 477.7 MB, free: 30.02 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.315e-05/0.4208, allocations: 60.58 kB / 477.8 MB, free: 29.98 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001287/0.4209, allocations: 60.38 kB / 477.8 MB, free: 29.95 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.353e-06/0.4209, allocations: 6.812 kB / 477.9 MB, free: 29.95 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/0.4209, allocations: 4 kB / 477.9 MB, free: 29.94 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.434e-06/0.4209, allocations: 3.375 kB / 477.9 MB, free: 29.94 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001627/0.4226, allocations: 1.194 MB / 479.1 MB, free: 29.25 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.4226, allocations: 6.031 kB / 479.1 MB, free: 29.25 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000427/0.423, allocations: 96.48 kB / 479.2 MB, free: 29.25 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.423, allocations: 2.625 kB / 479.2 MB, free: 29.25 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.158e-05/0.4231, allocations: 13.72 kB / 479.2 MB, free: 29.24 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.4231, allocations: 0 / 479.2 MB, free: 29.24 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4231, allocations: 0 / 479.2 MB, free: 29.24 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001247/0.4243, allocations: 0.7832 MB / 480 MB, free: 28.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001433/0.4245, allocations: 178.5 kB / 480.1 MB, free: 28.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.714e-05/0.4246, allocations: 6.875 kB / 480.1 MB, free: 28.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002931/0.4249, allocations: 35.28 kB / 480.2 MB, free: 28.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001101/0.425, allocations: 35.17 kB / 480.2 MB, free: 28.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.551e-05/0.425, allocations: 12.69 kB / 480.2 MB, free: 28.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.00033/0.4253, allocations: 312.3 kB / 480.5 MB, free: 28.5 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4253, allocations: 4 kB / 480.5 MB, free: 28.49 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006663/0.426, allocations: 257.2 kB / 480.8 MB, free: 28.42 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (plaWitRes.cap.T,plaWitRes.cap1.T,conWitRes.conPID.I.y,plaNoRes.cap.T,plaNoRes.cap1.T,conNoRes.conPID.I.y) * Number of discrete variables: 6 (conWitRes.trigger.y,$whenCondition2,$whenCondition1,conNoRes.trigger.y,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 47 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001254/0.4262, allocations: 109.9 kB / 480.9 MB, free: 28.32 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001186/0.4273, allocations: 0.795 MB / 481.7 MB, free: 27.96 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.4274, allocations: 0.9375 kB / 481.7 MB, free: 27.96 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003642/0.4277, allocations: 224.1 kB / 481.9 MB, free: 27.89 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007828/0.4285, allocations: 155 kB / 482.1 MB, free: 27.84 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002592/0.4311, allocations: 1.712 MB / 483.8 MB, free: 26.77 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003526/0.4315, allocations: 0.8974 MB / 484.7 MB, free: 26.06 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003461/0.4318, allocations: 67.84 kB / 484.7 MB, free: 26.04 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001169/0.432, allocations: 40.77 kB / 484.8 MB, free: 26.04 MB / 382.1 MB Notification: Performance of SimCode: time 3.9e-07/0.432, allocations: 2.656 kB / 484.8 MB, free: 26.04 MB / 382.1 MB Notification: Performance of Templates: time 0.01466/0.4466, allocations: 6.089 MB / 490.9 MB, free: 25.63 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.pipe 2>&1) Environment - environmentSimulation: