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.001195/0.001195, allocations: 99.86 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.001454/0.001454, allocations: 177.3 kB / 15.94 MB, free: 228 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.421/1.421, allocations: 205.4 MB / 222.1 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3923/0.3923, allocations: 54.98 MB / 325.4 MB, free: 0.7227 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.0005269/0.000527, allocations: 16 kB / 396.6 MB, free: 11.78 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3631/0.3636, allocations: 60.72 MB / 457.3 MB, free: 38.43 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.LimPID): time 0.00337/0.367, allocations: 3.132 MB / 460.4 MB, free: 38.18 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002524/0.3696, allocations: 1.289 MB / 461.7 MB, free: 37.95 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004526/0.3701, allocations: 27.09 kB / 461.7 MB, free: 37.93 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001033/0.3702, allocations: 48.09 kB / 461.8 MB, free: 37.9 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000629/0.3708, allocations: 196.1 kB / 462 MB, free: 37.82 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001109/0.372, allocations: 487 kB / 462.5 MB, free: 37.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009656/0.3729, allocations: 0.6181 MB / 463.1 MB, free: 37.41 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00047/0.3734, allocations: 262.5 kB / 463.3 MB, free: 37.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003393/0.3738, allocations: 302.1 kB / 463.6 MB, free: 37.18 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002458/0.374, allocations: 263.8 kB / 463.9 MB, free: 37.06 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.258e-05/0.3741, allocations: 20.81 kB / 463.9 MB, free: 37.06 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.969e-05/0.3742, allocations: 27.09 kB / 463.9 MB, free: 37.05 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.435e-05/0.3743, allocations: 110.5 kB / 464 MB, free: 37 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.042e-05/0.3744, allocations: 141.8 kB / 464.2 MB, free: 36.89 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004697/0.3748, allocations: 0.6277 MB / 464.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.3749, allocations: 0 / 464.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.144e-06/0.3749, allocations: 0 / 464.8 MB, free: 36.77 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.088e-05/0.3749, allocations: 0 / 464.8 MB, free: 36.77 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.001836/0.3767, allocations: 1.077 MB / 465.9 MB, free: 36.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.605e-05/0.3768, allocations: 11.34 kB / 465.9 MB, free: 36.05 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001467/0.3769, allocations: 93.97 kB / 466 MB, free: 36 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008987/0.3778, allocations: 0.5853 MB / 466.6 MB, free: 35.62 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.3779, allocations: 98.28 kB / 466.7 MB, free: 35.54 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.084e-05/0.378, allocations: 53.5 kB / 466.7 MB, free: 35.52 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009531/0.379, allocations: 0.6252 MB / 467.3 MB, free: 35.2 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.622e-05/0.379, allocations: 0 / 467.3 MB, free: 35.2 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.821e-05/0.3791, allocations: 22.98 kB / 467.4 MB, free: 35.18 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.688e-05/0.3791, allocations: 15.66 kB / 467.4 MB, free: 35.18 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008648/0.38, allocations: 443.6 kB / 467.8 MB, free: 35.04 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002619/0.3826, allocations: 2.152 MB / 470 MB, free: 33.61 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.3838, allocations: 0.5237 MB / 470.5 MB, free: 33.43 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.518e-05/0.3839, allocations: 3.594 kB / 470.5 MB, free: 33.43 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006194/0.3845, allocations: 300.7 kB / 470.8 MB, free: 33.29 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.314e-06/0.3845, allocations: 448 / 470.8 MB, free: 33.29 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.001461/0.386, allocations: 0.6403 MB / 471.4 MB, free: 33.04 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.931e-05/0.386, allocations: 94.28 kB / 471.5 MB, free: 32.94 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000589/0.3866, allocations: 0.6158 MB / 472.1 MB, free: 32.67 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 4.114e-05/0.3867, allocations: 40.55 kB / 472.2 MB, free: 32.62 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002058/0.3869, allocations: 372.5 kB / 472.5 MB, free: 32.33 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001032/0.387, allocations: 152 kB / 472.7 MB, free: 32.21 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.47e-05/0.387, allocations: 14.97 kB / 472.7 MB, free: 32.2 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.52e-05/0.3871, allocations: 326.1 kB / 473 MB, free: 31.89 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004104/0.3875, allocations: 186.1 kB / 473.2 MB, free: 31.83 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004466/0.388, allocations: 281.3 kB / 473.5 MB, free: 31.66 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004434/0.3885, allocations: 237.2 kB / 473.7 MB, free: 31.54 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.3885, allocations: 3.062 kB / 473.7 MB, free: 31.54 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.00118/0.3897, allocations: 0.615 MB / 474.3 MB, free: 31.26 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002485/0.3899, allocations: 0.9951 MB / 475.3 MB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/0.3899, allocations: 2.781 kB / 475.3 MB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.533e-05/0.39, allocations: 8.766 kB / 475.3 MB, free: 30.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004715/0.3904, allocations: 114.9 kB / 475.4 MB, free: 30.19 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.127e-05/0.3905, allocations: 9.531 kB / 475.5 MB, free: 30.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003824/0.3908, allocations: 63.45 kB / 475.5 MB, free: 30.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.319e-05/0.3909, allocations: 22.59 kB / 475.5 MB, free: 30.15 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.123e-05/0.3909, allocations: 5.344 kB / 475.5 MB, free: 30.15 MB / 382.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007561/0.3917, allocations: 491.5 kB / 476 MB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.398e-06/0.3917, allocations: 4.562 kB / 476 MB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.809e-06/0.3917, allocations: 2.938 kB / 476 MB, free: 29.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000363/0.3921, allocations: 109.5 kB / 476.1 MB, free: 29.92 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.135e-06/0.3921, allocations: 7.906 kB / 476.1 MB, free: 29.92 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002826/0.3924, allocations: 53.06 kB / 476.2 MB, free: 29.89 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.843e-05/0.3924, allocations: 18.81 kB / 476.2 MB, free: 29.88 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 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000272/0.3927, allocations: 273.4 kB / 476.5 MB, free: 29.64 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.121e-05/0.3928, allocations: 78.36 kB / 476.6 MB, free: 29.6 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001403/0.3929, allocations: 86.2 kB / 476.6 MB, free: 29.54 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.393, allocations: 5.625 kB / 476.7 MB, free: 29.54 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.426e-05/0.393, allocations: 4.047 kB / 476.7 MB, free: 29.54 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.781e-06/0.393, allocations: 0 / 476.7 MB, free: 29.54 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006172/0.3936, allocations: 0.6324 MB / 477.3 MB, free: 29.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.3936, allocations: 0 / 477.3 MB, free: 29.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004298/0.3941, allocations: 89.16 kB / 477.4 MB, free: 29.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.3941, allocations: 7.312 kB / 477.4 MB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.083e-05/0.3941, allocations: 11.03 kB / 477.4 MB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/0.3941, allocations: 0 / 477.4 MB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.3941, allocations: 0 / 477.4 MB, free: 29.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001322/0.3955, allocations: 0.7545 MB / 478.1 MB, free: 28.82 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001929/0.3957, allocations: 191.7 kB / 478.3 MB, free: 28.65 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.382e-05/0.3957, allocations: 8.75 kB / 478.3 MB, free: 28.65 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003829/0.3961, allocations: 42.58 kB / 478.4 MB, free: 28.64 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.296e-05/0.3962, allocations: 36.84 kB / 478.4 MB, free: 28.63 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.114e-05/0.3963, allocations: 16.25 kB / 478.4 MB, free: 28.63 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0003984/0.3967, allocations: 435.5 kB / 478.9 MB, free: 28.44 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.3967, allocations: 0 / 478.9 MB, free: 28.44 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005446/0.3972, allocations: 219.8 kB / 479.1 MB, free: 28.38 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 (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.0001252/0.3974, allocations: 108.8 kB / 479.2 MB, free: 28.28 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001243/0.3986, allocations: 0.7973 MB / 480 MB, free: 27.93 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3986, allocations: 0 / 480 MB, free: 27.93 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004257/0.399, allocations: 232.4 kB / 480.2 MB, free: 27.86 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007787/0.3998, allocations: 180.2 kB / 480.4 MB, free: 27.81 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001791/0.4016, allocations: 1.41 MB / 481.8 MB, free: 26.96 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002999/0.4019, allocations: 0.9376 MB / 482.7 MB, free: 26.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003385/0.4023, allocations: 92.3 kB / 482.8 MB, free: 26.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001308/0.4024, allocations: 52.45 kB / 482.9 MB, free: 26.23 MB / 382.1 MB Notification: Performance of SimCode: time 4.2e-07/0.4024, allocations: 0 / 482.9 MB, free: 26.23 MB / 382.1 MB Notification: Performance of Templates: time 0.01392/0.4164, allocations: 7.171 MB / 490 MB, free: 25.79 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: