Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.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.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID") translateModel(Annex60.Controls.Continuous.Examples.LimPID,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009978/0.0009979, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007878/0.007878, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.592/1.592, allocations: 205.4 MB / 222.4 MB, free: 5.57 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.4191/0.4191, allocations: 55.01 MB / 325.8 MB, free: 0.5312 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.0005871/0.000587, allocations: 16 kB / 397.3 MB, free: 11.32 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4169/0.4175, allocations: 60.72 MB / 458 MB, free: 38.31 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.LimPID): time 0.00357/0.4211, allocations: 3.303 MB / 461.3 MB, free: 37.93 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002348/0.4235, allocations: 1.375 MB / 462.7 MB, free: 37.47 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003442/0.4238, allocations: 22.72 kB / 462.7 MB, free: 37.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002376/0.4241, allocations: 95.98 kB / 462.8 MB, free: 37.41 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004227/0.4245, allocations: 152.7 kB / 462.9 MB, free: 37.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001068/0.4256, allocations: 0.559 MB / 463.5 MB, free: 37.25 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007857/0.4264, allocations: 0.9223 MB / 464.4 MB, free: 37.11 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000511/0.4269, allocations: 331.8 kB / 464.7 MB, free: 37.06 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003829/0.4273, allocations: 289.6 kB / 465 MB, free: 36.95 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002801/0.4276, allocations: 285.7 kB / 465.3 MB, free: 36.84 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.865e-05/0.4276, allocations: 20.53 kB / 465.3 MB, free: 36.84 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.824e-05/0.4277, allocations: 25.53 kB / 465.3 MB, free: 36.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001083/0.4278, allocations: 112.4 kB / 465.4 MB, free: 36.8 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002441/0.4281, allocations: 337.3 kB / 465.8 MB, free: 36.61 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005181/0.4286, allocations: 0.7867 MB / 466.6 MB, free: 36.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.4286, allocations: 0 / 466.6 MB, free: 36.33 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.442e-06/0.4286, allocations: 0 / 466.6 MB, free: 36.33 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.367e-06/0.4286, allocations: 3.156 kB / 466.6 MB, free: 36.33 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: 128 * Number of variables: 128 Notification: Performance of Generate backend data structure: time 0.00162/0.4303, allocations: 1.07 MB / 467.6 MB, free: 35.6 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.991e-05/0.4303, allocations: 11.59 kB / 467.6 MB, free: 35.6 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001463/0.4305, allocations: 98.92 kB / 467.7 MB, free: 35.55 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007715/0.4312, allocations: 0.6137 MB / 468.3 MB, free: 35.13 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.399e-05/0.4313, allocations: 98.8 kB / 468.4 MB, free: 35.05 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.769e-05/0.4314, allocations: 56.91 kB / 468.5 MB, free: 35.03 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009652/0.4324, allocations: 0.6295 MB / 469.1 MB, free: 34.7 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.4324, allocations: 3.938 kB / 469.1 MB, free: 34.7 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.206e-05/0.4325, allocations: 23.2 kB / 469.2 MB, free: 34.68 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.209e-05/0.4325, allocations: 12.78 kB / 469.2 MB, free: 34.68 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008753/0.4334, allocations: 455.3 kB / 469.6 MB, free: 34.53 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002391/0.4358, allocations: 2.15 MB / 471.8 MB, free: 33.09 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.4369, allocations: 0.5104 MB / 472.3 MB, free: 32.91 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000472/0.4374, allocations: 233.9 kB / 472.5 MB, free: 32.82 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.12e-05/0.4375, allocations: 10.27 kB / 472.5 MB, free: 32.81 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007318/0.4382, allocations: 297.5 kB / 472.8 MB, free: 32.68 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.975e-06/0.4382, allocations: 3.938 kB / 472.8 MB, free: 32.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.001494/0.4397, allocations: 0.6362 MB / 473.4 MB, free: 32.44 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.334e-05/0.4398, allocations: 90.42 kB / 473.5 MB, free: 32.34 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009115/0.4407, allocations: 0.621 MB / 474.2 MB, free: 32.06 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.902e-05/0.4408, allocations: 37.33 kB / 474.2 MB, free: 32.02 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003065/0.4411, allocations: 372.9 kB / 474.6 MB, free: 31.73 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001224/0.4412, allocations: 157.2 kB / 474.7 MB, free: 31.61 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.144e-05/0.4413, allocations: 54.44 kB / 474.8 MB, free: 31.57 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.549e-05/0.4414, allocations: 327.3 kB / 475.1 MB, free: 31.25 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004216/0.4418, allocations: 186.3 kB / 475.3 MB, free: 31.2 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004609/0.4423, allocations: 294.3 kB / 475.5 MB, free: 31.02 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007972/0.4431, allocations: 0.4908 MB / 476 MB, free: 30.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.4431, allocations: 0 / 476 MB, free: 30.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001071/0.4442, allocations: 0.6222 MB / 476.7 MB, free: 30.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001772/0.4444, allocations: 192.5 kB / 476.8 MB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/0.4444, allocations: 0 / 476.8 MB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.199e-05/0.4444, allocations: 5.688 kB / 476.9 MB, free: 30.23 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005133/0.445, allocations: 120.4 kB / 477 MB, free: 30.22 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/0.445, allocations: 10.28 kB / 477 MB, free: 30.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000436/0.4454, allocations: 65.84 kB / 477 MB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.4455, allocations: 20.25 kB / 477.1 MB, free: 30.18 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 9.989e-06/0.4455, allocations: 3.844 kB / 477.1 MB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0009852/0.4465, allocations: 497.7 kB / 477.6 MB, free: 29.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.054e-06/0.4465, allocations: 2.594 kB / 477.6 MB, free: 29.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.326e-06/0.4465, allocations: 5.188 kB / 477.6 MB, free: 29.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004083/0.447, allocations: 105.6 kB / 477.7 MB, free: 29.95 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.827e-06/0.447, allocations: 6.562 kB / 477.7 MB, free: 29.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003313/0.4473, allocations: 54.19 kB / 477.7 MB, free: 29.92 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.186e-05/0.4474, allocations: 20.27 kB / 477.7 MB, free: 29.92 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 8 (pulse.count,$PRE.pulse.count,pulse.T_start,$PRE.pulse.T_start,$whenCondition1,limPIDOri.I.local_reset,limPIDRev.I.trigger_internal,limPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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.0003183/0.4477, allocations: 276.3 kB / 478 MB, free: 29.67 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001024/0.4478, allocations: 79 kB / 478.1 MB, free: 29.63 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00019/0.448, allocations: 85.92 kB / 478.2 MB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-05/0.448, allocations: 6.312 kB / 478.2 MB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.086e-05/0.448, allocations: 3.422 kB / 478.2 MB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.542e-06/0.4481, allocations: 0 / 478.2 MB, free: 29.57 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007239/0.4488, allocations: 0.6329 MB / 478.8 MB, free: 29.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.4488, allocations: 4.781 kB / 478.8 MB, free: 29.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004209/0.4492, allocations: 82.48 kB / 478.9 MB, free: 29.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.096e-06/0.4492, allocations: 4 kB / 478.9 MB, free: 29.18 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.061e-05/0.4493, allocations: 11.12 kB / 478.9 MB, free: 29.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/0.4493, allocations: 4.062 kB / 478.9 MB, free: 29.18 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.4493, allocations: 7.266 kB / 478.9 MB, free: 29.17 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00141/0.4507, allocations: 0.7518 MB / 479.7 MB, free: 28.83 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001943/0.4509, allocations: 194.1 kB / 479.9 MB, free: 28.67 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.056e-05/0.451, allocations: 6.969 kB / 479.9 MB, free: 28.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003947/0.4514, allocations: 43.8 kB / 479.9 MB, free: 28.66 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/0.4515, allocations: 35.91 kB / 480 MB, free: 28.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.602e-05/0.4515, allocations: 20.67 kB / 480 MB, free: 28.64 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004686/0.452, allocations: 434.5 kB / 480.4 MB, free: 28.46 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.452, allocations: 0 / 480.4 MB, free: 28.46 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006005/0.4526, allocations: 222.9 kB / 480.6 MB, free: 28.4 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 6 (limPID.I.y,limPID.D.x,limPIDRev.I.y,limPIDRev.D.x,limPIDOri.I.y,limPIDOri.D.x) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 43 * 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.000132/0.4528, allocations: 110.9 kB / 480.7 MB, free: 28.3 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001391/0.4542, allocations: 0.8061 MB / 481.5 MB, free: 27.95 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.686e-06/0.4542, allocations: 3.031 kB / 481.5 MB, free: 27.95 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000421/0.4546, allocations: 223.7 kB / 481.8 MB, free: 27.88 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009309/0.4555, allocations: 201.4 kB / 482 MB, free: 27.82 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001832/0.4574, allocations: 1.49 MB / 483.4 MB, free: 26.89 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002933/0.4577, allocations: 0.9227 MB / 484.4 MB, free: 26.18 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003461/0.4581, allocations: 94.95 kB / 484.5 MB, free: 26.17 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001544/0.4582, allocations: 50.81 kB / 484.5 MB, free: 26.16 MB / 382.1 MB Notification: Performance of SimCode: time 3.91e-07/0.4582, allocations: 1.125 kB / 484.5 MB, free: 26.16 MB / 382.1 MB Notification: Performance of Templates: time 0.01689/0.4751, allocations: 7.439 MB / 491.9 MB, free: 25.69 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.makefile Environment - environmentSimulation: (rm -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe ; mkfifo Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe ; head -c 1048576 < Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe >> ../files/Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.sim & ./Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID -abortSlowSimulation -alarm=480 -lv LOG_STATS > Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.pipe 2>&1) Environment - environmentSimulation: