Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.Units.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001323/0.001323, allocations: 103.2 kB / 19.61 MB, free: 2.461 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00139/0.00139, allocations: 192 kB / 22.76 MB, free: 5.719 MB / 14.72 MB [Timeout remaining time 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.382/1.382, allocations: 225.6 MB / 251.4 MB, free: 13.43 MB / 206.1 MB [Timeout remaining time 88] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 90] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.2171/0.2171, allocations: 38.51 MB / 344.9 MB, free: 2.594 MB / 270.1 MB [Timeout remaining time 90] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") translateModel(PowerSystems.Examples.Introductory.Units,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.Units") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.00195/0.00195, allocations: 67.88 kB / 482.4 MB, free: 12.25 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3365/0.3384, allocations: 61.25 MB / 0.5309 GB, free: 5.457 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.Units): time 0.00732/0.3457, allocations: 6.193 MB / 0.537 GB, free: 1.098 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003095/0.3488, allocations: 1.963 MB / 0.5389 GB, free: 15.55 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000391/0.3492, allocations: 27 kB / 0.5389 GB, free: 15.54 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.3511, allocations: 0.694 MB / 0.5396 GB, free: 15 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009357/0.3521, allocations: 384.3 kB / 0.54 GB, free: 14.7 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001078/0.3531, allocations: 396.2 kB / 0.5403 GB, free: 14.42 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.001132/0.3543, allocations: 0.9445 MB / 0.5413 GB, free: 13.89 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006465/0.3549, allocations: 408.2 kB / 0.5416 GB, free: 13.67 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006693/0.3556, allocations: 436.2 kB / 0.5421 GB, free: 13.42 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0008292/0.3564, allocations: 0.5713 MB / 0.5426 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 9.44e-05/0.3565, allocations: 57.62 kB / 0.5427 GB, free: 13.08 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005402/0.3571, allocations: 252.2 kB / 0.5429 GB, free: 12.98 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004207/0.3575, allocations: 418.3 kB / 0.5433 GB, free: 12.73 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004894/0.358, allocations: 428.8 kB / 0.5437 GB, free: 12.45 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001342/0.3593, allocations: 1.015 MB / 0.5447 GB, free: 11.79 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.3593, allocations: 0 / 0.5447 GB, free: 11.79 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.764e-06/0.3593, allocations: 0 / 0.5447 GB, free: 11.79 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.422e-05/0.3593, allocations: 3.938 kB / 0.5447 GB, free: 11.79 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 208 * Number of variables: 208 Notification: Performance of Generate backend data structure: time 0.002037/0.3614, allocations: 1.091 MB / 0.5458 GB, free: 10.93 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.667e-05/0.3614, allocations: 17.55 kB / 0.5458 GB, free: 10.93 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007388/0.3621, allocations: 143.3 kB / 0.5459 GB, free: 10.86 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001123/0.3633, allocations: 0.5532 MB / 0.5465 GB, free: 10.41 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.797e-05/0.3633, allocations: 57.03 kB / 0.5465 GB, free: 10.39 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001474/0.3635, allocations: 89.47 kB / 0.5466 GB, free: 10.35 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001745/0.3652, allocations: 1.123 MB / 0.5477 GB, free: 9.555 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.143e-05/0.3652, allocations: 11.75 kB / 0.5477 GB, free: 9.547 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.405e-05/0.3653, allocations: 33.34 kB / 0.5478 GB, free: 9.523 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.889e-05/0.3654, allocations: 47.3 kB / 0.5478 GB, free: 9.52 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001518/0.3669, allocations: 0.8682 MB / 0.5486 GB, free: 9.105 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006181/0.3731, allocations: 5.054 MB / 0.5536 GB, free: 4.699 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007512/0.3739, allocations: 387.2 kB / 0.5539 GB, free: 4.504 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003234/0.3742, allocations: 193.6 kB / 0.5541 GB, free: 4.402 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.468e-05/0.3742, allocations: 13.83 kB / 0.5541 GB, free: 4.395 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.845e-05/0.3743, allocations: 42.5 kB / 0.5542 GB, free: 4.344 MB / 398.1 MB Notification: Performance of pre-optimization done (n=43): time 2.715e-06/0.3743, allocations: 0 / 0.5542 GB, free: 4.344 MB / 398.1 MB Notification: Performance of matching and sorting (n=44): time 0.002124/0.3764, allocations: 1.084 MB / 0.5552 GB, free: 3.25 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.195e-05/0.3765, allocations: 81.11 kB / 0.5553 GB, free: 3.152 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005969/0.3771, allocations: 0.4978 MB / 0.5558 GB, free: 2.641 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.292e-05/0.3771, allocations: 29.7 kB / 0.5558 GB, free: 2.605 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003465/0.3774, allocations: 475.4 kB / 0.5563 GB, free: 2.137 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001493/0.3776, allocations: 158.7 kB / 0.5564 GB, free: 1.98 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002086/0.3778, allocations: 154.5 kB / 0.5566 GB, free: 1.824 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0002086/0.378, allocations: 366.8 kB / 0.5569 GB, free: 1.457 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000371/0.3784, allocations: 233.9 kB / 0.5572 GB, free: 1.23 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007176/0.3791, allocations: 0.6248 MB / 0.5578 GB, free: 432 kB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001197/0.3803, allocations: 0.9418 MB / 0.5587 GB, free: 15.3 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.472e-06/0.3803, allocations: 4 kB / 0.5587 GB, free: 15.29 MB / 414.1 MB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001401/0.3817, allocations: 0.8958 MB / 0.5596 GB, free: 14.39 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.459e-05/0.3817, allocations: 12 kB / 0.5596 GB, free: 14.38 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.856e-05/0.3817, allocations: 15.98 kB / 0.5596 GB, free: 14.36 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.405e-05/0.3818, allocations: 20.75 kB / 0.5596 GB, free: 14.34 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007592/0.3825, allocations: 227.6 kB / 0.5598 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.116e-05/0.3826, allocations: 19.94 kB / 0.5599 GB, free: 14.1 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004513/0.383, allocations: 55.91 kB / 0.5599 GB, free: 14.05 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.07e-05/0.3831, allocations: 40 kB / 0.5599 GB, free: 14.01 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * 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.0004262/0.3835, allocations: 309.2 kB / 0.5602 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001017/0.3836, allocations: 59.62 kB / 0.5603 GB, free: 13.64 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009939/0.3846, allocations: 0.5602 MB / 0.5608 GB, free: 13.07 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.873e-06/0.3846, allocations: 4 kB / 0.5608 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.701e-06/0.3846, allocations: 0 / 0.5608 GB, free: 13.06 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.3846, allocations: 15.91 kB / 0.5609 GB, free: 13.05 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00225/0.3869, allocations: 1.339 MB / 0.5622 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.735e-06/0.3869, allocations: 4 kB / 0.5622 GB, free: 11.62 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004408/0.3873, allocations: 111.8 kB / 0.5623 GB, free: 11.51 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.528e-06/0.3873, allocations: 7.938 kB / 0.5623 GB, free: 11.5 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.152e-05/0.3874, allocations: 15.98 kB / 0.5623 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.981e-06/0.3874, allocations: 4 kB / 0.5623 GB, free: 11.48 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.7e-06/0.3874, allocations: 8.25 kB / 0.5623 GB, free: 11.47 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008428/0.3882, allocations: 0.646 MB / 0.5629 GB, free: 10.78 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001614/0.3884, allocations: 132.7 kB / 0.5631 GB, free: 10.63 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.711e-05/0.3884, allocations: 15.94 kB / 0.5631 GB, free: 10.62 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002555/0.3887, allocations: 23.97 kB / 0.5631 GB, free: 10.59 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.423e-05/0.3888, allocations: 35.89 kB / 0.5631 GB, free: 10.56 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.3888, allocations: 20 kB / 0.5632 GB, free: 10.54 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003855/0.3892, allocations: 330.8 kB / 0.5635 GB, free: 10.22 MB / 414.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3892, allocations: 0 / 0.5635 GB, free: 10.22 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0007495/0.3899, allocations: 160 kB / 0.5636 GB, free: 10.06 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 1 (system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001978/0.3901, allocations: 107.2 kB / 0.5637 GB, free: 9.949 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009657/0.3911, allocations: 0.575 MB / 0.5643 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.886e-06/0.3911, allocations: 0.9375 kB / 0.5643 GB, free: 9.375 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003361/0.3914, allocations: 231.7 kB / 0.5645 GB, free: 9.148 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007078/0.3921, allocations: 112.8 kB / 0.5646 GB, free: 9.047 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00253/0.3947, allocations: 1.451 MB / 0.566 GB, free: 7.523 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007275/0.3954, allocations: 0.9996 MB / 0.567 GB, free: 6.496 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001804/0.3956, allocations: 59.44 kB / 0.5671 GB, free: 6.438 MB / 414.1 MB Notification: Performance of SimCode: time 5.31e-07/0.3956, allocations: 0 / 0.5671 GB, free: 6.438 MB / 414.1 MB Notification: Performance of Templates: time 0.01344/0.409, allocations: 8.398 MB / 0.5753 GB, free: 14.05 MB / 430.1 MB [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.Units.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.Units.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.Units.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.Units.sim & ./PowerSystems_PowerSystems.Examples.Introductory.Units -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.Units.pipe 2>&1) [Timeout 480]