Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.conf.json
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 109.5 kB / 20.43 MB, free: 1.449 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001417/0.001417, allocations: 189.5 kB / 23.72 MB, free: 4.68 MB / 14.72 MB
"
[Timeout remaining time 180]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.479/1.479, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.1941/0.1941, allocations: 38.54 MB / 346.3 MB, free: 2.082 MB / 270.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.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.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest")
translateModel(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002071/0.002071, allocations: 67.88 kB / 484.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3679/0.37, allocations: 61.3 MB / 0.533 GB, free: 5.574 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest): time 0.006274/0.3763, allocations: 3.814 MB / 0.5368 GB, free: 2.895 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002788/0.3791, allocations: 2.081 MB / 0.5388 GB, free: 1.25 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001914/0.3793, allocations: 19.25 kB / 0.5388 GB, free: 1.238 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0009/0.3802, allocations: 241.7 kB / 0.539 GB, free: 1.055 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005697/0.3807, allocations: 287.5 kB / 0.5393 GB, free: 0.832 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000731/0.3815, allocations: 288.4 kB / 0.5396 GB, free: 0.6172 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.000719/0.3822, allocations: 0.5252 MB / 0.5401 GB, free: 308 kB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004369/0.3826, allocations: 158.5 kB / 0.5402 GB, free: 196 kB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006139/0.3832, allocations: 242.7 kB / 0.5405 GB, free: 44 kB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004524/0.3837, allocations: 217.3 kB / 0.5407 GB, free: 15.9 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 8.118e-05/0.3838, allocations: 38.16 kB / 0.5407 GB, free: 15.9 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00108/0.3848, allocations: 408.7 kB / 0.5411 GB, free: 15.7 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002062/0.3851, allocations: 133.3 kB / 0.5412 GB, free: 15.61 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002346/0.3853, allocations: 189.8 kB / 0.5414 GB, free: 15.46 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001077/0.3864, allocations: 0.6374 MB / 0.542 GB, free: 15.04 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.3864, allocations: 0 / 0.542 GB, free: 15.04 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.724e-06/0.3864, allocations: 0 / 0.542 GB, free: 15.04 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.013e-05/0.3864, allocations: 0 / 0.542 GB, free: 15.04 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: 59
 * Number of variables: 59
Notification: Performance of Generate backend data structure: time 0.001461/0.3878, allocations: 0.6836 MB / 0.5427 GB, free: 14.46 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.071e-05/0.3879, allocations: 9.469 kB / 0.5427 GB, free: 14.46 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009132/0.3888, allocations: 112.3 kB / 0.5428 GB, free: 14.4 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006514/0.3895, allocations: 359.1 kB / 0.5432 GB, free: 14.1 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.603e-05/0.3895, allocations: 18.56 kB / 0.5432 GB, free: 14.09 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 5.744e-05/0.3895, allocations: 31.64 kB / 0.5432 GB, free: 14.07 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.000897/0.3904, allocations: 446 kB / 0.5436 GB, free: 13.78 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.3904, allocations: 0 / 0.5436 GB, free: 13.78 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.976e-05/0.3905, allocations: 14.38 kB / 0.5437 GB, free: 13.77 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.711e-05/0.3905, allocations: 18.64 kB / 0.5437 GB, free: 13.77 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001065/0.3916, allocations: 0.5022 MB / 0.5442 GB, free: 13.52 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002294/0.3939, allocations: 1.625 MB / 0.5458 GB, free: 12.14 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001066/0.3949, allocations: 361.5 kB / 0.5461 GB, free: 11.94 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004223/0.3954, allocations: 139 kB / 0.5462 GB, free: 11.86 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 5.373e-05/0.3954, allocations: 13.88 kB / 0.5462 GB, free: 11.85 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006595/0.3961, allocations: 283.2 kB / 0.5465 GB, free: 11.62 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=31): time 1.563e-06/0.3961, allocations: 0 / 0.5465 GB, free: 11.62 MB / 398.1 MB
Notification: Performance of matching and sorting (n=31): time 0.001631/0.3977, allocations: 0.53 MB / 0.547 GB, free: 11.36 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001916/0.3979, allocations: 293.5 kB / 0.5473 GB, free: 11.01 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004517/0.3984, allocations: 331.9 kB / 0.5476 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 5.041e-05/0.3984, allocations: 38.83 kB / 0.5477 GB, free: 10.75 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001796/0.3986, allocations: 202.8 kB / 0.5479 GB, free: 10.57 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.3987, allocations: 110.9 kB / 0.548 GB, free: 10.47 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001247/0.3988, allocations: 70.03 kB / 0.548 GB, free: 10.43 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001767/0.399, allocations: 340 kB / 0.5484 GB, free: 10.09 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004088/0.3994, allocations: 139.9 kB / 0.5485 GB, free: 10.03 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004962/0.3999, allocations: 278.8 kB / 0.5488 GB, free: 9.777 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0009276/0.4008, allocations: 457.1 kB / 0.5492 GB, free: 9.426 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.4008, allocations: 1.219 kB / 0.5492 GB, free: 9.426 MB / 398.1 MB
Notification: Performance of matching and sorting (n=44) (initialization): time 0.001137/0.402, allocations: 0.524 MB / 0.5497 GB, free: 9.137 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.578e-05/0.402, allocations: 37.03 kB / 0.5497 GB, free: 9.102 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.969e-06/0.402, allocations: 5.031 kB / 0.5497 GB, free: 9.102 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.469e-05/0.4021, allocations: 5.844 kB / 0.5497 GB, free: 9.102 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003431/0.4024, allocations: 87.7 kB / 0.5498 GB, free: 9.078 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.692e-05/0.4024, allocations: 11.3 kB / 0.5498 GB, free: 9.074 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003013/0.4027, allocations: 46.98 kB / 0.5499 GB, free: 9.047 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.006e-05/0.4028, allocations: 18.83 kB / 0.5499 GB, free: 9.043 MB / 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 (43):
 * Single equations (assignments): 42
 * 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.0002523/0.403, allocations: 195.4 kB / 0.5501 GB, free: 8.875 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.575e-05/0.4031, allocations: 41.48 kB / 0.5501 GB, free: 8.852 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00102/0.4041, allocations: 406 kB / 0.5505 GB, free: 8.633 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.855e-06/0.4041, allocations: 4.688 kB / 0.5505 GB, free: 8.633 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.4041, allocations: 3.188 kB / 0.5505 GB, free: 8.633 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.174e-06/0.4041, allocations: 6.469 kB / 0.5505 GB, free: 8.629 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00107/0.4052, allocations: 1.002 MB / 0.5515 GB, free: 7.688 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.651e-06/0.4052, allocations: 6.375 kB / 0.5515 GB, free: 7.684 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002582/0.4055, allocations: 63.95 kB / 0.5516 GB, free: 7.664 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.4055, allocations: 3.469 kB / 0.5516 GB, free: 7.664 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.638e-05/0.4055, allocations: 9.031 kB / 0.5516 GB, free: 7.66 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.569e-06/0.4055, allocations: 3.5 kB / 0.5516 GB, free: 7.66 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.4055, allocations: 6.281 kB / 0.5516 GB, free: 7.656 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001035/0.4065, allocations: 471.9 kB / 0.552 GB, free: 7.355 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.892e-05/0.4066, allocations: 42.2 kB / 0.5521 GB, free: 7.324 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.345e-05/0.4067, allocations: 18.67 kB / 0.5521 GB, free: 7.312 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002419/0.4069, allocations: 24.34 kB / 0.5521 GB, free: 7.301 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/0.407, allocations: 37.98 kB / 0.5522 GB, free: 7.277 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.451e-05/0.4071, allocations: 14.91 kB / 0.5522 GB, free: 7.273 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002992/0.4074, allocations: 241.4 kB / 0.5524 GB, free: 7.113 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4074, allocations: 0 / 0.5524 GB, free: 7.113 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0004703/0.4078, allocations: 88.47 kB / 0.5525 GB, free: 7.094 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 9
 * 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 (31):
 * Single equations (assignments): 26
 * 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.001672/0.4095, allocations: 464.4 kB / 0.5529 GB, free: 6.875 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.001024/0.4105, allocations: 411.1 kB / 0.5533 GB, free: 6.648 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 5.33e-06/0.4105, allocations: 5.469 kB / 0.5533 GB, free: 6.645 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0005176/0.4111, allocations: 189.3 kB / 0.5535 GB, free: 6.555 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004831/0.4115, allocations: 76.09 kB / 0.5536 GB, free: 6.516 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001381/0.4129, allocations: 0.6993 MB / 0.5543 GB, free: 5.879 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004571/0.4134, allocations: 0.8072 MB / 0.5551 GB, free: 5.043 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0002398/0.4136, allocations: 91.19 kB / 0.5551 GB, free: 4.949 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001149/0.4137, allocations: 47.42 kB / 0.5552 GB, free: 4.902 MB / 398.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.4137, allocations: 0 / 0.5552 GB, free: 4.902 MB / 398.1 MB
Notification: Performance of Templates: time 0.01027/0.424, allocations: 4.891 MB / 0.56 GB, free: 60 kB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; mkfifo PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe >> ../files/PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.sim & ./PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.PowerWorld.Test.WindFarmGridTest.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.26114384829998]
Failed to read output from testmodel.py, exit status != 0:
0.4328095270320773 0.447108125 0.057562844
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fcf8160d7b0>