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.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.001458/0.001458, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001818/0.001818, allocations: 184.3 kB / 23.71 MB, free: 4.695 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.673/1.673, allocations: 225.6 MB / 252.5 MB, free: 13 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 / 346.3 MB, free: 2.074 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.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: Performance of FrontEnd - loaded program: time 0.002251/0.002251, allocations: 67.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.373/0.3752, allocations: 61.3 MB / 0.533 GB, free: 5.559 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.PowerWorld.Test.WindFarmHVDCTest): time 0.006182/0.3814, allocations: 4.388 MB / 0.5373 GB, free: 2.43 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003297/0.3847, allocations: 2.545 MB / 0.5398 GB, free: 424 kB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002745/0.385, allocations: 15.41 kB / 0.5398 GB, free: 416 kB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001238/0.3862, allocations: 354.9 kB / 0.5402 GB, free: 140 kB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008268/0.387, allocations: 343 kB / 0.5405 GB, free: 15.87 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001019/0.388, allocations: 395.7 kB / 0.5409 GB, free: 15.58 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0007774/0.3888, allocations: 0.614 MB / 0.5415 GB, free: 15.22 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004481/0.3893, allocations: 173.5 kB / 0.5416 GB, free: 15.1 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0005414/0.3898, allocations: 272.6 kB / 0.5419 GB, free: 14.94 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0003728/0.3902, allocations: 265.8 kB / 0.5421 GB, free: 14.77 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.699e-05/0.3903, allocations: 38.47 kB / 0.5422 GB, free: 14.77 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0009323/0.3912, allocations: 0.5549 MB / 0.5427 GB, free: 14.47 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001609/0.3913, allocations: 140.3 kB / 0.5429 GB, free: 14.37 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001997/0.3915, allocations: 188.1 kB / 0.543 GB, free: 14.23 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0009911/0.3925, allocations: 0.6967 MB / 0.5437 GB, free: 13.78 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.869e-06/0.3925, allocations: 1.344 kB / 0.5437 GB, free: 13.78 MB / 398.1 MB
Notification: Performance of FrontEnd: time 2.004e-06/0.3925, allocations: 0 / 0.5437 GB, free: 13.78 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.266e-06/0.3926, allocations: 0 / 0.5437 GB, free: 13.78 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.001526/0.3941, allocations: 0.7165 MB / 0.5444 GB, free: 13.17 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.3941, allocations: 9.625 kB / 0.5444 GB, free: 13.17 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001163/0.3953, allocations: 113.5 kB / 0.5445 GB, free: 13.12 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006758/0.396, allocations: 369.9 kB / 0.5449 GB, free: 12.81 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.376e-05/0.396, allocations: 18.66 kB / 0.5449 GB, free: 12.8 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.041e-05/0.3961, allocations: 27.83 kB / 0.5449 GB, free: 12.79 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009181/0.397, allocations: 449.8 kB / 0.5454 GB, free: 12.49 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.397, allocations: 5.125 kB / 0.5454 GB, free: 12.48 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.854e-05/0.397, allocations: 10.41 kB / 0.5454 GB, free: 12.48 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.515e-05/0.3971, allocations: 23.64 kB / 0.5454 GB, free: 12.46 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00104/0.3981, allocations: 489.5 kB / 0.5459 GB, free: 12.24 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002213/0.4003, allocations: 1.745 MB / 0.5476 GB, free: 10.69 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.001058/0.4014, allocations: 361.3 kB / 0.5479 GB, free: 10.5 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0003683/0.4018, allocations: 136 kB / 0.548 GB, free: 10.42 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.178e-05/0.4018, allocations: 13.78 kB / 0.5481 GB, free: 10.41 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005751/0.4024, allocations: 279.5 kB / 0.5483 GB, free: 10.19 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=30): time 1.623e-06/0.4024, allocations: 0 / 0.5483 GB, free: 10.19 MB / 398.1 MB
Notification: Performance of matching and sorting (n=30): time 0.001387/0.4038, allocations: 0.5245 MB / 0.5488 GB, free: 9.93 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001572/0.4039, allocations: 236.9 kB / 0.5491 GB, free: 9.648 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004197/0.4043, allocations: 359.5 kB / 0.5494 GB, free: 9.414 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.198e-05/0.4044, allocations: 37.89 kB / 0.5494 GB, free: 9.375 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.000161/0.4045, allocations: 208 kB / 0.5496 GB, free: 9.188 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 9.488e-05/0.4046, allocations: 103.6 kB / 0.5497 GB, free: 9.102 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001135/0.4048, allocations: 70.28 kB / 0.5498 GB, free: 9.055 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001637/0.4049, allocations: 353.3 kB / 0.5501 GB, free: 8.711 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000382/0.4053, allocations: 135.6 kB / 0.5503 GB, free: 8.645 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004807/0.4058, allocations: 285.5 kB / 0.5505 GB, free: 8.391 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0008729/0.4067, allocations: 459.1 kB / 0.551 GB, free: 8.039 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.396e-06/0.4067, allocations: 1.188 kB / 0.551 GB, free: 8.039 MB / 398.1 MB
Notification: Performance of matching and sorting (n=45) (initialization): time 0.001124/0.4078, allocations: 0.5271 MB / 0.5515 GB, free: 7.75 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.497e-05/0.4078, allocations: 33.2 kB / 0.5515 GB, free: 7.719 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.4079, allocations: 4.625 kB / 0.5515 GB, free: 7.719 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.291e-05/0.4079, allocations: 7.219 kB / 0.5515 GB, free: 7.719 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003749/0.4082, allocations: 99.56 kB / 0.5516 GB, free: 7.688 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.85e-05/0.4083, allocations: 10.64 kB / 0.5516 GB, free: 7.684 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003364/0.4086, allocations: 51.45 kB / 0.5517 GB, free: 7.652 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.246e-05/0.4086, allocations: 18.42 kB / 0.5517 GB, free: 7.648 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 (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.0002614/0.4089, allocations: 192.1 kB / 0.5519 GB, free: 7.484 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.425e-05/0.409, allocations: 41.39 kB / 0.5519 GB, free: 7.461 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001098/0.4101, allocations: 411.2 kB / 0.5523 GB, free: 7.246 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.706e-06/0.4101, allocations: 4.406 kB / 0.5523 GB, free: 7.246 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.4101, allocations: 1.469 kB / 0.5523 GB, free: 7.246 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/0.4101, allocations: 14.8 kB / 0.5523 GB, free: 7.234 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00125/0.4114, allocations: 0.8152 MB / 0.5531 GB, free: 6.477 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.4114, allocations: 5.453 kB / 0.5531 GB, free: 6.473 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003124/0.4117, allocations: 64.47 kB / 0.5532 GB, free: 6.453 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.385e-05/0.4117, allocations: 11.22 kB / 0.5532 GB, free: 6.445 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.723e-05/0.4117, allocations: 9.562 kB / 0.5532 GB, free: 6.441 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/0.4117, allocations: 7.328 kB / 0.5532 GB, free: 6.438 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.4117, allocations: 9.219 kB / 0.5532 GB, free: 6.43 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009747/0.4127, allocations: 468.2 kB / 0.5537 GB, free: 6.137 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.527e-05/0.4128, allocations: 31.41 kB / 0.5537 GB, free: 6.117 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.271e-05/0.4128, allocations: 13.31 kB / 0.5537 GB, free: 6.109 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002152/0.4131, allocations: 24.44 kB / 0.5538 GB, free: 6.098 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001048/0.4132, allocations: 49.41 kB / 0.5538 GB, free: 6.062 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.673e-05/0.4132, allocations: 13.84 kB / 0.5538 GB, free: 6.059 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002888/0.4135, allocations: 256.3 kB / 0.5541 GB, free: 5.898 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4135, allocations: 0 / 0.5541 GB, free: 5.898 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0005144/0.414, allocations: 90.92 kB / 0.5541 GB, free: 5.879 MB / 398.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.00166/0.4157, allocations: 461.2 kB / 0.5546 GB, free: 5.598 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009594/0.4166, allocations: 403.8 kB / 0.555 GB, free: 5.191 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.4166, allocations: 0 / 0.555 GB, free: 5.191 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004636/0.4171, allocations: 175.2 kB / 0.5551 GB, free: 5.023 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004519/0.4175, allocations: 75.38 kB / 0.5552 GB, free: 4.949 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001256/0.4188, allocations: 0.709 MB / 0.5559 GB, free: 4.195 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004713/0.4193, allocations: 0.815 MB / 0.5567 GB, free: 3.355 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0002288/0.4195, allocations: 91.2 kB / 0.5568 GB, free: 3.27 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001216/0.4196, allocations: 47.42 kB / 0.5568 GB, free: 3.223 MB / 398.1 MB
Notification: Performance of SimCode: time 5.41e-07/0.4196, allocations: 3.938 kB / 0.5568 GB, free: 3.219 MB / 398.1 MB
Notification: Performance of Templates: time 0.01002/0.4296, allocations: 4.961 MB / 0.5617 GB, free: 14.3 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: 5.487593431957066]
Failed to read output from testmodel.py, exit status != 0:
0.4381409650668502 0.451134084 0.05554545099999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f8aa0e617b0>