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.001595/0.001595, 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.002323/0.002323, allocations: 188.1 kB / 16.13 MB, free: 6.652 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.461/1.461, allocations: 205.1 MB / 222 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.379/0.379, allocations: 54.93 MB / 324.3 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.001458/0.001458, allocations: 67.91 kB / 394.6 MB, free: 12.29 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1121, allocations: 59.59 MB / 454.2 MB, free: 0.6289 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.LimPIDWithReset): time 0.1877/0.2999, allocations: 4.134 MB / 458.4 MB, free: 37.6 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.00189/0.3018, allocations: 1.403 MB / 459.8 MB, free: 37.27 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003258/0.3021, allocations: 24.53 kB / 459.8 MB, free: 37.27 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003177/0.3025, allocations: 97.02 kB / 459.9 MB, free: 37.26 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002647/0.3028, allocations: 150.1 kB / 460 MB, free: 37.17 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006898/0.3035, allocations: 419 kB / 460.4 MB, free: 37.12 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005825/0.3041, allocations: 0.9049 MB / 461.4 MB, free: 36.89 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004635/0.3046, allocations: 431.8 kB / 461.8 MB, free: 36.7 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002178/0.3048, allocations: 281.6 kB / 462 MB, free: 36.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002097/0.305, allocations: 306.8 kB / 462.3 MB, free: 36.4 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 6.986e-05/0.3051, allocations: 40.22 kB / 462.4 MB, free: 36.4 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.635e-05/0.3052, allocations: 40.56 kB / 462.4 MB, free: 36.4 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.257e-05/0.3052, allocations: 135.9 kB / 462.6 MB, free: 36.32 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002226/0.3055, allocations: 347.2 kB / 462.9 MB, free: 36.09 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005518/0.306, allocations: 0.9986 MB / 463.9 MB, free: 35.69 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.306, allocations: 0.625 kB / 463.9 MB, free: 35.69 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.183e-06/0.306, allocations: 2.5 kB / 463.9 MB, free: 35.69 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.338e-06/0.3061, allocations: 0 / 463.9 MB, free: 35.69 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.001523/0.3076, allocations: 1.092 MB / 465 MB, free: 34.92 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.54e-05/0.3076, allocations: 8.594 kB / 465 MB, free: 34.92 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001101/0.3077, allocations: 89.03 kB / 465.1 MB, free: 34.88 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006549/0.3084, allocations: 0.5564 MB / 465.6 MB, free: 34.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.3084, allocations: 45.72 kB / 465.7 MB, free: 34.45 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.537e-05/0.3085, allocations: 60.19 kB / 465.7 MB, free: 34.43 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008658/0.3094, allocations: 0.61 MB / 466.4 MB, free: 34.13 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.124e-05/0.3094, allocations: 12.06 kB / 466.4 MB, free: 34.12 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.541e-05/0.3095, allocations: 26.28 kB / 466.4 MB, free: 34.11 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.114e-05/0.3095, allocations: 18.05 kB / 466.4 MB, free: 34.11 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008328/0.3103, allocations: 456.1 kB / 466.9 MB, free: 33.95 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002258/0.3126, allocations: 2.041 MB / 468.9 MB, free: 32.71 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007482/0.3134, allocations: 447.5 kB / 469.3 MB, free: 32.54 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003588/0.3137, allocations: 238.4 kB / 469.6 MB, free: 32.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.359e-05/0.3138, allocations: 8.125 kB / 469.6 MB, free: 32.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004807/0.3143, allocations: 268 kB / 469.8 MB, free: 32.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=49): time 1.904e-06/0.3143, allocations: 0 / 469.8 MB, free: 32.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=49): time 0.001036/0.3153, allocations: 0.5835 MB / 470.4 MB, free: 32.07 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.705e-05/0.3154, allocations: 57.41 kB / 470.5 MB, free: 32 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000352/0.3157, allocations: 451.8 kB / 470.9 MB, free: 31.78 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.68e-05/0.3158, allocations: 40.48 kB / 471 MB, free: 31.74 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001527/0.3159, allocations: 328.1 kB / 471.3 MB, free: 31.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.574e-05/0.316, allocations: 172 kB / 471.4 MB, free: 31.34 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001127/0.3161, allocations: 95.94 kB / 471.5 MB, free: 31.29 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.547e-05/0.3162, allocations: 370.1 kB / 471.9 MB, free: 30.95 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003286/0.3165, allocations: 172.5 kB / 472.1 MB, free: 30.88 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003376/0.3169, allocations: 253.6 kB / 472.3 MB, free: 30.73 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006458/0.3175, allocations: 460.5 kB / 472.8 MB, free: 30.46 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.357e-06/0.3175, allocations: 3.938 kB / 472.8 MB, free: 30.45 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization): time 0.0008468/0.3184, allocations: 0.5665 MB / 473.3 MB, free: 30.19 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.61e-05/0.3184, allocations: 35.14 kB / 473.4 MB, free: 30.15 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.3184, allocations: 3.219 kB / 473.4 MB, free: 30.15 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.658e-05/0.3185, allocations: 5.062 kB / 473.4 MB, free: 30.15 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004445/0.3189, allocations: 114.2 kB / 473.5 MB, free: 30.14 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.059e-05/0.3189, allocations: 5.312 kB / 473.5 MB, free: 30.14 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003082/0.3192, allocations: 68.38 kB / 473.6 MB, free: 30.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.104e-05/0.3193, allocations: 17.84 kB / 473.6 MB, free: 30.1 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003972/0.3197, allocations: 316.2 kB / 473.9 MB, free: 29.91 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003256/0.32, allocations: 244.8 kB / 474.1 MB, free: 29.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005635/0.3206, allocations: 443.1 kB / 474.6 MB, free: 29.49 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.914e-06/0.3206, allocations: 2.938 kB / 474.6 MB, free: 29.49 MB / 382.1 MB Notification: Performance of matching and sorting (n=66) (initialization_lambda0): time 0.0007335/0.3213, allocations: 0.5532 MB / 475.1 MB, free: 29.22 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.538e-05/0.3214, allocations: 34.92 kB / 475.2 MB, free: 29.19 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.858e-06/0.3214, allocations: 3.328 kB / 475.2 MB, free: 29.19 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.839e-06/0.3214, allocations: 5.438 kB / 475.2 MB, free: 29.19 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003664/0.3218, allocations: 107.8 kB / 475.3 MB, free: 29.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.3218, allocations: 7.719 kB / 475.3 MB, free: 29.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002584/0.322, allocations: 56.81 kB / 475.3 MB, free: 29.15 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.507e-05/0.3221, allocations: 16.53 kB / 475.3 MB, free: 29.14 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 9.754e-05/0.3222, allocations: 214.1 kB / 475.6 MB, free: 28.94 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.706e-05/0.3222, allocations: 60.14 kB / 475.6 MB, free: 28.91 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001048/0.3223, allocations: 67.83 kB / 475.7 MB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.479e-06/0.3223, allocations: 3.625 kB / 475.7 MB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.3224, allocations: 0 / 475.7 MB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.269e-06/0.3224, allocations: 3.469 kB / 475.7 MB, free: 28.86 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001338/0.3237, allocations: 1.182 MB / 476.9 MB, free: 28.18 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.464e-06/0.3237, allocations: 3.938 kB / 476.9 MB, free: 28.18 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004414/0.3242, allocations: 102.2 kB / 477 MB, free: 28.17 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.3242, allocations: 2.594 kB / 477 MB, free: 28.17 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.013e-05/0.3242, allocations: 6.688 kB / 477 MB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.554e-06/0.3242, allocations: 4 kB / 477 MB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.3242, allocations: 5.422 kB / 477 MB, free: 28.16 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001088/0.3253, allocations: 0.7562 MB / 477.7 MB, free: 27.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001291/0.3255, allocations: 174.1 kB / 477.9 MB, free: 27.61 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.066e-05/0.3255, allocations: 16.69 kB / 477.9 MB, free: 27.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002811/0.3258, allocations: 25.11 kB / 478 MB, free: 27.59 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.632e-05/0.3259, allocations: 38.55 kB / 478 MB, free: 27.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.549e-05/0.326, allocations: 11.94 kB / 478 MB, free: 27.58 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002859/0.3262, allocations: 317.9 kB / 478.3 MB, free: 27.42 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3263, allocations: 0 / 478.3 MB, free: 27.42 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0006066/0.3269, allocations: 253.1 kB / 478.6 MB, free: 27.35 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.0001268/0.327, allocations: 119.8 kB / 478.7 MB, free: 27.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001201/0.3282, allocations: 0.7803 MB / 479.5 MB, free: 26.89 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.3282, allocations: 0 / 479.5 MB, free: 26.89 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003435/0.3286, allocations: 213.2 kB / 479.7 MB, free: 26.82 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007266/0.3293, allocations: 150.5 kB / 479.8 MB, free: 26.78 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002402/0.3317, allocations: 1.632 MB / 481.4 MB, free: 25.74 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002879/0.332, allocations: 0.8962 MB / 482.3 MB, free: 25.03 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003622/0.3324, allocations: 73.78 kB / 482.4 MB, free: 25.01 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001137/0.3325, allocations: 44.81 kB / 482.5 MB, free: 25 MB / 382.1 MB Notification: Performance of SimCode: time 6.81e-07/0.3325, allocations: 0 / 482.5 MB, free: 25 MB / 382.1 MB Notification: Performance of Templates: time 0.01283/0.3454, allocations: 6.128 MB / 488.6 MB, free: 24.62 MB / 382.1 MB make -j1 -f Annex60_1.0.0_Annex60.Controls.Continuous.Examples.LimPIDWithReset.makefile (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)