Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 112.2 kB / 21.19 MB, free: 0.7617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001521/0.001521, allocations: 209.9 kB / 24.49 MB, free: 4.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.505/1.505, allocations: 230.6 MB / 258.3 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0/package.mo): time 0.1859/0.1859, allocations: 38.53 MB / 353.2 MB, free: 12.54 MB / 286.1 MB " [Timeout remaining time 180] 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.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest") [Timeout 660] "Notification: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002186/0.002186, allocations: 67.91 kB / 493.8 MB, free: 4.383 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3303/0.3325, allocations: 62.47 MB / 0.5432 GB, free: 0.5898 MB / 382.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006537/0.339, allocations: 4.418 MB / 0.5475 GB, free: 13.12 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.004502/0.3435, allocations: 2.698 MB / 0.5502 GB, free: 10.99 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002698/0.3438, allocations: 15.91 kB / 0.5502 GB, free: 10.98 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001215/0.345, allocations: 351.2 kB / 0.5505 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0009678/0.346, allocations: 381.7 kB / 0.5509 GB, free: 10.43 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009278/0.3469, allocations: 358 kB / 0.5512 GB, free: 10.16 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0008427/0.3478, allocations: 0.6267 MB / 0.5518 GB, free: 9.785 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0004244/0.3482, allocations: 227.1 kB / 0.5521 GB, free: 9.621 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005735/0.3488, allocations: 283.8 kB / 0.5523 GB, free: 9.449 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004075/0.3492, allocations: 263 kB / 0.5526 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 6.481e-05/0.3492, allocations: 40.16 kB / 0.5526 GB, free: 9.281 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001126/0.3504, allocations: 0.6086 MB / 0.5532 GB, free: 8.953 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000163/0.3505, allocations: 140.4 kB / 0.5533 GB, free: 8.855 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002243/0.3507, allocations: 201.1 kB / 0.5535 GB, free: 8.707 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001059/0.3518, allocations: 0.7468 MB / 0.5543 GB, free: 8.219 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.248e-06/0.3518, allocations: 0 / 0.5543 GB, free: 8.219 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.693e-06/0.3518, allocations: 0 / 0.5543 GB, free: 8.219 MB / 398.1 MB Notification: Performance of Transformations before backend: time 1.328e-05/0.3518, allocations: 1.219 kB / 0.5543 GB, free: 8.219 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: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.001437/0.3533, allocations: 0.732 MB / 0.555 GB, free: 7.602 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.3533, allocations: 13.48 kB / 0.555 GB, free: 7.598 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001061/0.3544, allocations: 117.9 kB / 0.5551 GB, free: 7.543 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006749/0.355, allocations: 367.5 kB / 0.5555 GB, free: 7.238 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.11e-05/0.3551, allocations: 18.47 kB / 0.5555 GB, free: 7.23 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/0.3551, allocations: 28.19 kB / 0.5555 GB, free: 7.219 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008881/0.356, allocations: 450.5 kB / 0.5559 GB, free: 6.91 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.418e-05/0.356, allocations: 8.875 kB / 0.5559 GB, free: 6.902 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.997e-05/0.3561, allocations: 15.52 kB / 0.556 GB, free: 6.891 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.772e-05/0.3561, allocations: 19.2 kB / 0.556 GB, free: 6.887 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001049/0.3572, allocations: 488.8 kB / 0.5564 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002309/0.3595, allocations: 1.751 MB / 0.5581 GB, free: 4.941 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001029/0.3605, allocations: 365.1 kB / 0.5585 GB, free: 4.566 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003556/0.3609, allocations: 133.6 kB / 0.5586 GB, free: 4.43 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.858e-05/0.3609, allocations: 4 kB / 0.5586 GB, free: 4.426 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005885/0.3615, allocations: 289.5 kB / 0.5589 GB, free: 4.109 MB / 398.1 MB Notification: Performance of pre-optimization done (n=30): time 2.033e-06/0.3615, allocations: 0 / 0.5589 GB, free: 4.109 MB / 398.1 MB Notification: Performance of matching and sorting (n=30): time 0.001373/0.3629, allocations: 0.513 MB / 0.5594 GB, free: 3.59 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001533/0.363, allocations: 247.2 kB / 0.5596 GB, free: 3.293 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004633/0.3635, allocations: 369.9 kB / 0.56 GB, free: 2.922 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.436e-05/0.3635, allocations: 41.7 kB / 0.56 GB, free: 2.875 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000177/0.3637, allocations: 208.6 kB / 0.5602 GB, free: 2.668 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.819e-05/0.3638, allocations: 107.2 kB / 0.5603 GB, free: 2.562 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001273/0.3639, allocations: 73.64 kB / 0.5604 GB, free: 2.484 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.3641, allocations: 346.8 kB / 0.5607 GB, free: 2.137 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003821/0.3645, allocations: 144.3 kB / 0.5609 GB, free: 1.992 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004826/0.365, allocations: 269.8 kB / 0.5611 GB, free: 1.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000903/0.3659, allocations: 469.5 kB / 0.5616 GB, free: 1.145 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.076e-06/0.3659, allocations: 0 / 0.5616 GB, free: 1.145 MB / 398.1 MB Notification: Performance of matching and sorting (n=45) (initialization): time 0.001118/0.367, allocations: 0.5261 MB / 0.5621 GB, free: 0.6055 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.596e-05/0.367, allocations: 37.69 kB / 0.5621 GB, free: 0.5625 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.367, allocations: 4 kB / 0.5621 GB, free: 0.5586 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.333e-05/0.3671, allocations: 8 kB / 0.5621 GB, free: 0.5508 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003517/0.3674, allocations: 95.81 kB / 0.5622 GB, free: 468 kB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.276e-05/0.3674, allocations: 11.94 kB / 0.5622 GB, free: 456 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002986/0.3677, allocations: 51.89 kB / 0.5623 GB, free: 404 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.217e-05/0.3678, allocations: 20 kB / 0.5623 GB, free: 384 kB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.windFarm.wind.nextTimeEvent,$whenCondition2,windFarm.disturbance.count,$PRE.windFarm.disturbance.count,windFarm.disturbance.T_start,$PRE.windFarm.disturbance.T_start,windFarm.wind.nextTimeEventScaled,$PRE.windFarm.wind.nextTimeEventScaled,windFarm.wind.nextTimeEvent,$whenCondition1,system.initime) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (44): * Single equations (assignments): 43 * 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.0002412/0.368, allocations: 197.6 kB / 0.5625 GB, free: 176 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.673e-05/0.3681, allocations: 43.7 kB / 0.5625 GB, free: 132 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001012/0.3691, allocations: 407.3 kB / 0.5629 GB, free: 15.72 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.093e-05/0.3691, allocations: 8 kB / 0.5629 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.3691, allocations: 4 kB / 0.5629 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/0.3691, allocations: 0 / 0.5629 GB, free: 15.71 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000966/0.3701, allocations: 0.8342 MB / 0.5638 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.364e-06/0.3701, allocations: 0 / 0.5638 GB, free: 14.81 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002669/0.3704, allocations: 71.95 kB / 0.5638 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.521e-06/0.3704, allocations: 4 kB / 0.5638 GB, free: 14.74 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.772e-05/0.3704, allocations: 8 kB / 0.5638 GB, free: 14.73 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-06/0.3704, allocations: 7.984 kB / 0.5638 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.3704, allocations: 4 kB / 0.5638 GB, free: 14.72 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009385/0.3713, allocations: 450.3 kB / 0.5643 GB, free: 14.24 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.764e-05/0.3714, allocations: 43.69 kB / 0.5643 GB, free: 14.2 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.511e-05/0.3715, allocations: 20 kB / 0.5643 GB, free: 14.18 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.3717, allocations: 23.97 kB / 0.5644 GB, free: 14.16 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001042/0.3718, allocations: 31.89 kB / 0.5644 GB, free: 14.12 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.245e-05/0.3718, allocations: 15.98 kB / 0.5644 GB, free: 14.11 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003034/0.3721, allocations: 263.2 kB / 0.5647 GB, free: 13.86 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3721, allocations: 0 / 0.5647 GB, free: 13.86 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0004746/0.3726, allocations: 107.8 kB / 0.5648 GB, free: 13.75 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 7 (system.initime,$whenCondition2,$whenCondition1,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled,windFarm.disturbance.T_start,windFarm.disturbance.count) * Number of discrete states: 3 (windFarm.disturbance.count,windFarm.wind.nextTimeEvent,windFarm.wind.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 25 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001834/0.3744, allocations: 0.5243 MB / 0.5653 GB, free: 13.41 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0009608/0.3754, allocations: 403.9 kB / 0.5657 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 4.638e-06/0.3754, allocations: 4 kB / 0.5657 GB, free: 13 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004419/0.3759, allocations: 167.6 kB / 0.5658 GB, free: 12.84 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004625/0.3763, allocations: 71.83 kB / 0.5659 GB, free: 12.77 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.3777, allocations: 0.7561 MB / 0.5666 GB, free: 11.96 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000476/0.3782, allocations: 0.815 MB / 0.5674 GB, free: 11.12 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001461/0.3783, allocations: 47.42 kB / 0.5675 GB, free: 11.07 MB / 414.1 MB Notification: Performance of SimCode: time 6.22e-07/0.3783, allocations: 0 / 0.5675 GB, free: 11.07 MB / 414.1 MB Notification: Performance of Templates: time 0.009775/0.3881, allocations: 5.945 MB / 0.5733 GB, free: 5.152 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.makefile [Timeout 660] (rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.363060740055516] Failed to read output from testmodel.py, exit status != 0: 0.3971620290540159 0.41163719400000004 0.05662633 Calling exit ...