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.001511/0.001511, allocations: 103.4 kB / 15.33 MB, free: 0.5039 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.001893/0.001892, allocations: 198.9 kB / 16.26 MB, free: 6.621 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.536/1.536, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3909/0.3909, allocations: 54.93 MB / 324.4 MB, free: 164 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.001664/0.001664, allocations: 68.33 kB / 394.8 MB, free: 12.2 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1221/0.1238, allocations: 59.58 MB / 454.4 MB, free: 0.5508 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.LimPID): time 0.2446/0.3685, allocations: 3.724 MB / 458.1 MB, free: 38.04 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002309/0.3709, allocations: 1.382 MB / 459.5 MB, free: 37.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004086/0.3713, allocations: 27.38 kB / 459.5 MB, free: 37.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003433/0.3717, allocations: 102.2 kB / 459.6 MB, free: 37.7 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005123/0.3723, allocations: 145.2 kB / 459.8 MB, free: 37.63 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00114/0.3734, allocations: 0.5643 MB / 460.3 MB, free: 37.54 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0012/0.3746, allocations: 0.9885 MB / 461.3 MB, free: 37.24 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006273/0.3753, allocations: 355.8 kB / 461.7 MB, free: 37.08 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000478/0.3757, allocations: 373.3 kB / 462 MB, free: 36.88 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003099/0.3761, allocations: 362.9 kB / 462.4 MB, free: 36.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001077/0.3762, allocations: 78.06 kB / 462.5 MB, free: 36.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001089/0.3763, allocations: 80.22 kB / 462.6 MB, free: 36.68 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001437/0.3764, allocations: 178.8 kB / 462.7 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002849/0.3767, allocations: 388.1 kB / 463.1 MB, free: 36.28 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007621/0.3775, allocations: 0.8664 MB / 464 MB, free: 35.87 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.991e-06/0.3775, allocations: 0.5938 kB / 464 MB, free: 35.87 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.874e-06/0.3775, allocations: 0 / 464 MB, free: 35.87 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.122e-05/0.3775, allocations: 1 kB / 464 MB, free: 35.87 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.001894/0.3794, allocations: 1.201 MB / 465.2 MB, free: 35.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.947e-05/0.3795, allocations: 11.56 kB / 465.2 MB, free: 35.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001445/0.3796, allocations: 95.62 kB / 465.3 MB, free: 35 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007414/0.3804, allocations: 0.6059 MB / 465.9 MB, free: 34.58 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.846e-05/0.3805, allocations: 97.41 kB / 466 MB, free: 34.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.242e-05/0.3806, allocations: 58.34 kB / 466 MB, free: 34.48 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009577/0.3815, allocations: 0.6105 MB / 466.7 MB, free: 34.17 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.588e-05/0.3816, allocations: 0 / 466.7 MB, free: 34.17 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.192e-05/0.3816, allocations: 25.59 kB / 466.7 MB, free: 34.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.474e-05/0.3816, allocations: 15.12 kB / 466.7 MB, free: 34.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008215/0.3825, allocations: 428.1 kB / 467.1 MB, free: 34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002397/0.3849, allocations: 2.138 MB / 469.2 MB, free: 32.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001046/0.3859, allocations: 498.6 kB / 469.7 MB, free: 32.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004174/0.3864, allocations: 224.3 kB / 470 MB, free: 32.29 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.665e-05/0.3864, allocations: 7.734 kB / 470 MB, free: 32.29 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006014/0.387, allocations: 280.8 kB / 470.2 MB, free: 32.17 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 3.356e-06/0.387, allocations: 3.562 kB / 470.2 MB, free: 32.17 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.001311/0.3884, allocations: 0.6161 MB / 470.9 MB, free: 31.92 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.932e-05/0.3884, allocations: 86.55 kB / 470.9 MB, free: 31.82 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005833/0.389, allocations: 0.6251 MB / 471.6 MB, free: 31.55 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.203e-05/0.389, allocations: 40.42 kB / 471.6 MB, free: 31.5 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001931/0.3892, allocations: 366.3 kB / 472 MB, free: 31.22 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.629e-05/0.3893, allocations: 160.4 kB / 472.1 MB, free: 31.09 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00013/0.3895, allocations: 90.94 kB / 472.2 MB, free: 31.04 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.735e-05/0.3896, allocations: 331.1 kB / 472.5 MB, free: 30.72 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004025/0.39, allocations: 186.8 kB / 472.7 MB, free: 30.65 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004407/0.3904, allocations: 274.7 kB / 473 MB, free: 30.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007864/0.3912, allocations: 491 kB / 473.5 MB, free: 30.19 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.466e-06/0.3912, allocations: 0 / 473.5 MB, free: 30.19 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.001061/0.3923, allocations: 0.6066 MB / 474.1 MB, free: 29.91 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.312e-05/0.3923, allocations: 31.3 kB / 474.1 MB, free: 29.88 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.915e-06/0.3923, allocations: 7.094 kB / 474.1 MB, free: 29.88 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.744e-05/0.3924, allocations: 8.625 kB / 474.1 MB, free: 29.88 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004446/0.3928, allocations: 108.8 kB / 474.2 MB, free: 29.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.016e-05/0.3928, allocations: 9.281 kB / 474.2 MB, free: 29.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003688/0.3932, allocations: 63.53 kB / 474.3 MB, free: 29.83 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.751e-05/0.3933, allocations: 26.95 kB / 474.3 MB, free: 29.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.000411/0.3937, allocations: 300.2 kB / 474.6 MB, free: 29.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.000298/0.394, allocations: 254.8 kB / 474.9 MB, free: 29.48 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005676/0.3946, allocations: 441.9 kB / 475.3 MB, free: 29.2 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.555e-06/0.3946, allocations: 3.656 kB / 475.3 MB, free: 29.2 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0007566/0.3953, allocations: 0.5537 MB / 475.9 MB, free: 28.93 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.965e-05/0.3954, allocations: 35.48 kB / 475.9 MB, free: 28.89 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.3954, allocations: 3.453 kB / 475.9 MB, free: 28.89 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.873e-06/0.3954, allocations: 6.312 kB / 475.9 MB, free: 28.89 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003476/0.3957, allocations: 99.86 kB / 476 MB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.17e-06/0.3957, allocations: 2.781 kB / 476 MB, free: 28.88 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003054/0.3961, allocations: 43.88 kB / 476 MB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.867e-05/0.3961, allocations: 21.5 kB / 476.1 MB, free: 28.86 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.0001656/0.3963, allocations: 227.9 kB / 476.3 MB, free: 28.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.763e-05/0.3964, allocations: 73.53 kB / 476.4 MB, free: 28.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001498/0.3965, allocations: 79.33 kB / 476.4 MB, free: 28.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.771e-06/0.3965, allocations: 6.031 kB / 476.4 MB, free: 28.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.091e-05/0.3965, allocations: 0 / 476.4 MB, free: 28.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.3966, allocations: 3.891 kB / 476.4 MB, free: 28.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005612/0.3971, allocations: 0.6273 MB / 477.1 MB, free: 28.17 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.324e-06/0.3971, allocations: 0 / 477.1 MB, free: 28.17 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004359/0.3976, allocations: 85.89 kB / 477.2 MB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.3976, allocations: 4 kB / 477.2 MB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.601e-05/0.3976, allocations: 6.906 kB / 477.2 MB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3976, allocations: 2.938 kB / 477.2 MB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.456e-06/0.3976, allocations: 1.812 kB / 477.2 MB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001334/0.399, allocations: 0.7363 MB / 477.9 MB, free: 27.81 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001936/0.3992, allocations: 193.7 kB / 478.1 MB, free: 27.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.55e-05/0.3993, allocations: 11.5 kB / 478.1 MB, free: 27.64 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003796/0.3997, allocations: 27.64 kB / 478.1 MB, free: 27.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001017/0.3998, allocations: 39.34 kB / 478.2 MB, free: 27.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.568e-05/0.3998, allocations: 18.14 kB / 478.2 MB, free: 27.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004385/0.4003, allocations: 439.2 kB / 478.6 MB, free: 27.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.4003, allocations: 3.938 kB / 478.6 MB, free: 27.43 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006101/0.4009, allocations: 224.6 kB / 478.8 MB, free: 27.37 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.0001312/0.401, allocations: 104.5 kB / 478.9 MB, free: 27.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001443/0.4025, allocations: 0.7968 MB / 479.7 MB, free: 26.91 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.476e-06/0.4025, allocations: 4 kB / 479.7 MB, free: 26.91 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003822/0.4029, allocations: 215.6 kB / 480 MB, free: 26.84 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000891/0.4038, allocations: 211.7 kB / 480.2 MB, free: 26.79 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001944/0.4057, allocations: 1.473 MB / 481.6 MB, free: 25.86 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003399/0.4061, allocations: 0.9191 MB / 482.6 MB, free: 25.15 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0004086/0.4065, allocations: 94.83 kB / 482.6 MB, free: 25.14 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001466/0.4066, allocations: 54.31 kB / 482.7 MB, free: 25.13 MB / 382.1 MB Notification: Performance of SimCode: time 8.12e-07/0.4067, allocations: 0 / 482.7 MB, free: 25.13 MB / 382.1 MB Notification: Performance of Templates: time 0.01849/0.4251, allocations: 7.837 MB / 490.5 MB, free: 24.66 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPID.makefile (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)