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.001137/0.001137, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001155/0.001155, allocations: 192.2 kB / 16.14 MB, free: 6.703 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.48/1.48, allocations: 205.1 MB / 222 MB, free: 4.742 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Annex60 1.0.0/package.mo): time 0.3994/0.3994, allocations: 54.93 MB / 324.3 MB, free: 160 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.001286/0.001286, allocations: 63.91 kB / 394.7 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1314, allocations: 59.59 MB / 454.2 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Annex60.Controls.Continuous.Examples.LimPID): time 0.212/0.3434, allocations: 3.715 MB / 458 MB, free: 37.79 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002067/0.3455, allocations: 1.387 MB / 459.3 MB, free: 37.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003162/0.3459, allocations: 26.16 kB / 459.4 MB, free: 37.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002866/0.3462, allocations: 97.02 kB / 459.5 MB, free: 37.46 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004076/0.3466, allocations: 145.4 kB / 459.6 MB, free: 37.4 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009834/0.3476, allocations: 0.5558 MB / 460.2 MB, free: 37.31 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006416/0.3483, allocations: 0.9238 MB / 461.1 MB, free: 37.13 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004289/0.3487, allocations: 341.7 kB / 461.4 MB, free: 36.98 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003231/0.349, allocations: 332.3 kB / 461.7 MB, free: 36.82 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002703/0.3493, allocations: 332.2 kB / 462.1 MB, free: 36.64 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.376e-05/0.3494, allocations: 39.56 kB / 462.1 MB, free: 36.64 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.623e-05/0.3495, allocations: 38.75 kB / 462.1 MB, free: 36.64 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.918e-05/0.3496, allocations: 140.8 kB / 462.3 MB, free: 36.55 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002087/0.3498, allocations: 340.3 kB / 462.6 MB, free: 36.32 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005176/0.3503, allocations: 0.826 MB / 463.4 MB, free: 35.94 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.792e-06/0.3503, allocations: 3.156 kB / 463.4 MB, free: 35.94 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.483e-06/0.3503, allocations: 3.938 kB / 463.5 MB, free: 35.94 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.071e-05/0.3504, allocations: 0 / 463.5 MB, free: 35.94 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.00194/0.3523, allocations: 1.191 MB / 464.6 MB, free: 35.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.113e-05/0.3524, allocations: 10.06 kB / 464.7 MB, free: 35.12 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001573/0.3525, allocations: 95.97 kB / 464.7 MB, free: 35.08 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008218/0.3534, allocations: 0.6089 MB / 465.4 MB, free: 34.66 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.063e-05/0.3535, allocations: 96.03 kB / 465.4 MB, free: 34.57 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.672e-05/0.3535, allocations: 58.8 kB / 465.5 MB, free: 34.55 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009391/0.3545, allocations: 0.6126 MB / 466.1 MB, free: 34.24 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.483e-05/0.3545, allocations: 7.531 kB / 466.1 MB, free: 34.24 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.916e-05/0.3546, allocations: 21.5 kB / 466.1 MB, free: 34.22 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.049e-05/0.3546, allocations: 12.78 kB / 466.2 MB, free: 34.22 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008442/0.3554, allocations: 432 kB / 466.6 MB, free: 34.08 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002329/0.3578, allocations: 2.139 MB / 468.7 MB, free: 32.64 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001047/0.3588, allocations: 497.7 kB / 469.2 MB, free: 32.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000391/0.3592, allocations: 221.7 kB / 469.4 MB, free: 32.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.659e-05/0.3593, allocations: 7.625 kB / 469.4 MB, free: 32.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006415/0.3599, allocations: 284.8 kB / 469.7 MB, free: 32.24 MB / 382.1 MB Notification: Performance of pre-optimization done (n=45): time 2.144e-06/0.3599, allocations: 0 / 469.7 MB, free: 32.24 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.001278/0.3612, allocations: 0.6114 MB / 470.3 MB, free: 32 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.087e-05/0.3613, allocations: 87.17 kB / 470.4 MB, free: 31.9 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005643/0.3619, allocations: 0.6227 MB / 471 MB, free: 31.62 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.919e-05/0.3619, allocations: 36.45 kB / 471.1 MB, free: 31.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001909/0.3621, allocations: 374 kB / 471.4 MB, free: 31.29 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.478e-05/0.3622, allocations: 156 kB / 471.6 MB, free: 31.17 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001242/0.3623, allocations: 90.58 kB / 471.7 MB, free: 31.12 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 5.457e-05/0.3624, allocations: 329.7 kB / 472 MB, free: 30.8 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003935/0.3628, allocations: 185 kB / 472.2 MB, free: 30.73 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004051/0.3632, allocations: 285.8 kB / 472.5 MB, free: 30.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007898/0.364, allocations: 483.4 kB / 472.9 MB, free: 30.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.364, allocations: 1.094 kB / 472.9 MB, free: 30.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization): time 0.0009858/0.365, allocations: 0.6067 MB / 473.5 MB, free: 29.99 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.005e-05/0.365, allocations: 33.58 kB / 473.6 MB, free: 29.96 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.636e-06/0.3651, allocations: 3.688 kB / 473.6 MB, free: 29.96 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.3651, allocations: 6 kB / 473.6 MB, free: 29.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004373/0.3655, allocations: 111.7 kB / 473.7 MB, free: 29.94 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.328e-06/0.3655, allocations: 5.797 kB / 473.7 MB, free: 29.94 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003512/0.3659, allocations: 63.66 kB / 473.7 MB, free: 29.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.488e-05/0.3659, allocations: 29.09 kB / 473.8 MB, free: 29.9 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0004328/0.3664, allocations: 299.5 kB / 474.1 MB, free: 29.72 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003012/0.3667, allocations: 267.7 kB / 474.3 MB, free: 29.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0005474/0.3672, allocations: 438.9 kB / 474.8 MB, free: 29.27 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.214e-06/0.3673, allocations: 0.625 kB / 474.8 MB, free: 29.27 MB / 382.1 MB Notification: Performance of matching and sorting (n=64) (initialization_lambda0): time 0.0007669/0.368, allocations: 0.5569 MB / 475.3 MB, free: 29 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3681, allocations: 33.08 kB / 475.4 MB, free: 28.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-06/0.3681, allocations: 3.469 kB / 475.4 MB, free: 28.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.689e-06/0.3681, allocations: 9.844 kB / 475.4 MB, free: 28.96 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003508/0.3684, allocations: 95.97 kB / 475.5 MB, free: 28.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3684, allocations: 9.812 kB / 475.5 MB, free: 28.95 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002969/0.3688, allocations: 45.16 kB / 475.5 MB, free: 28.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.967e-05/0.3688, allocations: 22.95 kB / 475.5 MB, free: 28.93 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.0001358/0.3689, allocations: 222.3 kB / 475.8 MB, free: 28.71 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.863e-05/0.369, allocations: 71.59 kB / 475.8 MB, free: 28.67 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001316/0.3692, allocations: 84.48 kB / 475.9 MB, free: 28.61 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.1e-06/0.3692, allocations: 5.688 kB / 475.9 MB, free: 28.61 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.268e-05/0.3692, allocations: 2.344 kB / 475.9 MB, free: 28.61 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.3692, allocations: 3.328 kB / 475.9 MB, free: 28.61 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005587/0.3698, allocations: 0.6317 MB / 476.5 MB, free: 28.24 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3698, allocations: 0 / 476.5 MB, free: 28.24 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004378/0.3702, allocations: 82.81 kB / 476.6 MB, free: 28.23 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.3702, allocations: 0 / 476.6 MB, free: 28.23 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.25e-05/0.3703, allocations: 11.34 kB / 476.6 MB, free: 28.23 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.597e-06/0.3703, allocations: 6.562 kB / 476.6 MB, free: 28.23 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.3703, allocations: 0 / 476.6 MB, free: 28.23 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001283/0.3716, allocations: 0.7277 MB / 477.4 MB, free: 27.89 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001776/0.3718, allocations: 197.7 kB / 477.6 MB, free: 27.72 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.411e-05/0.3718, allocations: 11.72 kB / 477.6 MB, free: 27.71 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003749/0.3722, allocations: 36.23 kB / 477.6 MB, free: 27.71 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.099e-05/0.3723, allocations: 28.61 kB / 477.6 MB, free: 27.7 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.3724, allocations: 16.02 kB / 477.7 MB, free: 27.7 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004117/0.3728, allocations: 442.2 kB / 478.1 MB, free: 27.51 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3728, allocations: 0 / 478.1 MB, free: 27.51 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005538/0.3733, allocations: 221 kB / 478.3 MB, free: 27.45 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.0001082/0.3735, allocations: 114.5 kB / 478.4 MB, free: 27.35 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001216/0.3747, allocations: 0.7814 MB / 479.2 MB, free: 27 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.3747, allocations: 1.188 kB / 479.2 MB, free: 27 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003801/0.3751, allocations: 210.5 kB / 479.4 MB, free: 26.93 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008325/0.3759, allocations: 197.6 kB / 479.6 MB, free: 26.88 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001726/0.3777, allocations: 1.47 MB / 481.1 MB, free: 25.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.3779, allocations: 0.9189 MB / 482 MB, free: 25.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0003601/0.3783, allocations: 92.88 kB / 482.1 MB, free: 25.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001364/0.3784, allocations: 55.27 kB / 482.1 MB, free: 25.22 MB / 382.1 MB Notification: Performance of SimCode: time 4.21e-07/0.3784, allocations: 0 / 482.1 MB, free: 25.22 MB / 382.1 MB Notification: Performance of Templates: time 0.01396/0.3924, allocations: 7.494 MB / 489.6 MB, free: 24.78 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)