Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.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.001625/0.001625, allocations: 112 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.001977/0.001977, allocations: 180.8 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.498/1.498, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.1817/0.1817, allocations: 38.53 MB / 346.3 MB, free: 2.055 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.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2")
translateModel(PowerSystems.Examples.Generic.Test.GeneratorTest2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002097/0.002097, allocations: 67.89 kB / 484.5 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3389/0.341, allocations: 61.29 MB / 0.533 GB, free: 5.57 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Generic.Test.GeneratorTest2): time 0.00587/0.3469, allocations: 5.064 MB / 0.538 GB, free: 1.891 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.003661/0.3506, allocations: 2.525 MB / 0.5404 GB, free: 15.87 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0003641/0.3509, allocations: 21.66 kB / 0.5405 GB, free: 15.86 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.001363/0.3523, allocations: 451.7 kB / 0.5409 GB, free: 15.51 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001339/0.3536, allocations: 0.5041 MB / 0.5414 GB, free: 15.12 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.000792/0.3544, allocations: 288.7 kB / 0.5417 GB, free: 14.9 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009787/0.3554, allocations: 0.7457 MB / 0.5424 GB, free: 14.48 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0004528/0.3559, allocations: 248 kB / 0.5426 GB, free: 14.32 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0004765/0.3563, allocations: 322.1 kB / 0.5429 GB, free: 14.14 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004887/0.3568, allocations: 355.5 kB / 0.5433 GB, free: 13.93 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.809e-05/0.3569, allocations: 40.09 kB / 0.5433 GB, free: 13.92 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001303/0.3582, allocations: 0.651 MB / 0.5439 GB, free: 13.56 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002712/0.3585, allocations: 205.6 kB / 0.5441 GB, free: 13.43 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003085/0.3588, allocations: 241.7 kB / 0.5444 GB, free: 13.28 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001306/0.3601, allocations: 0.7681 MB / 0.5451 GB, free: 12.8 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.3601, allocations: 0 / 0.5451 GB, free: 12.8 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.573e-06/0.3601, allocations: 0 / 0.5451 GB, free: 12.8 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.49e-05/0.3601, allocations: 0 / 0.5451 GB, free: 12.8 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: 114
 * Number of variables: 114
Notification: Performance of Generate backend data structure: time 0.001443/0.3615, allocations: 0.7145 MB / 0.5458 GB, free: 12.22 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.338e-05/0.3616, allocations: 8.719 kB / 0.5458 GB, free: 12.22 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00177/0.3634, allocations: 203.8 kB / 0.546 GB, free: 12.13 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006745/0.364, allocations: 308.7 kB / 0.5463 GB, free: 11.87 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.153e-05/0.3641, allocations: 31.14 kB / 0.5463 GB, free: 11.85 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001026/0.3642, allocations: 51.19 kB / 0.5464 GB, free: 11.83 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001113/0.3653, allocations: 0.6214 MB / 0.547 GB, free: 11.44 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.708e-05/0.3653, allocations: 5.594 kB / 0.547 GB, free: 11.44 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.821e-05/0.3654, allocations: 11.56 kB / 0.547 GB, free: 11.43 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-05/0.3654, allocations: 38.98 kB / 0.547 GB, free: 11.42 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001018/0.3665, allocations: 0.6115 MB / 0.5476 GB, free: 11.13 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003594/0.37, allocations: 2.176 MB / 0.5498 GB, free: 9.441 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0006399/0.3707, allocations: 392.7 kB / 0.5501 GB, free: 9.215 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000326/0.371, allocations: 212.6 kB / 0.5503 GB, free: 9.102 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.869e-05/0.371, allocations: 4.344 kB / 0.5503 GB, free: 9.102 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.589e-05/0.3711, allocations: 42.03 kB / 0.5504 GB, free: 9.055 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=42): time 1.953e-06/0.3711, allocations: 0 / 0.5504 GB, free: 9.055 MB / 398.1 MB
Notification: Performance of matching and sorting (n=43): time 0.003706/0.3748, allocations: 1.559 MB / 0.5519 GB, free: 8.148 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.035e-05/0.3749, allocations: 86.3 kB / 0.552 GB, free: 8.051 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003204/0.3752, allocations: 283 kB / 0.5523 GB, free: 7.863 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.69e-05/0.3752, allocations: 31.89 kB / 0.5523 GB, free: 7.828 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001757/0.3754, allocations: 234.1 kB / 0.5525 GB, free: 7.613 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001513/0.3755, allocations: 157.7 kB / 0.5527 GB, free: 7.477 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001463/0.3757, allocations: 84.56 kB / 0.5527 GB, free: 7.422 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001767/0.3759, allocations: 352 kB / 0.5531 GB, free: 7.078 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002999/0.3762, allocations: 181.5 kB / 0.5533 GB, free: 6.992 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003847/0.3765, allocations: 293.4 kB / 0.5535 GB, free: 6.742 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007397/0.3773, allocations: 0.5003 MB / 0.554 GB, free: 6.195 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.435e-06/0.3773, allocations: 0 / 0.554 GB, free: 6.195 MB / 398.1 MB
Notification: Performance of matching and sorting (n=58) (initialization): time 0.001302/0.3786, allocations: 0.6694 MB / 0.5547 GB, free: 5.516 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.3786, allocations: 11.98 kB / 0.5547 GB, free: 5.504 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.3786, allocations: 4 kB / 0.5547 GB, free: 5.5 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006373/0.3793, allocations: 181 kB / 0.5549 GB, free: 5.32 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003808/0.3796, allocations: 95.83 kB / 0.555 GB, free: 5.227 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003896/0.3835, allocations: 2.684 MB / 0.5576 GB, free: 2.441 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000383/0.3839, allocations: 27.92 kB / 0.5576 GB, free: 2.414 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.933e-05/0.384, allocations: 16 kB / 0.5576 GB, free: 2.398 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 15
 * 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 (47):
 * Single equations (assignments): 46
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(4,8)}
Notification: Performance of prepare postOptimizeDAE: time 0.0003101/0.3843, allocations: 197.7 kB / 0.5578 GB, free: 2.195 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.532e-05/0.3844, allocations: 43.7 kB / 0.5579 GB, free: 2.152 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001291/0.3856, allocations: 0.6256 MB / 0.5585 GB, free: 1.508 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.669e-05/0.3857, allocations: 8 kB / 0.5585 GB, free: 1.5 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.465e-06/0.3857, allocations: 0 / 0.5585 GB, free: 1.5 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.076e-06/0.3857, allocations: 3.938 kB / 0.5585 GB, free: 1.496 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.3881, allocations: 1.316 MB / 0.5598 GB, free: 108 kB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.067e-06/0.3881, allocations: 4.172 kB / 0.5598 GB, free: 104 kB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00036/0.3884, allocations: 87.77 kB / 0.5598 GB, free: 16 kB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0004975/0.3889, allocations: 148.7 kB / 0.56 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.063e-05/0.389, allocations: 8 kB / 0.56 GB, free: 15.86 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003349/0.3923, allocations: 2.457 MB / 0.5624 GB, free: 13.29 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.3923, allocations: 4.25 kB / 0.5624 GB, free: 13.29 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001634/0.3939, allocations: 0.9616 MB / 0.5633 GB, free: 12.3 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001197/0.3941, allocations: 35.77 kB / 0.5634 GB, free: 12.26 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.304e-05/0.3941, allocations: 15.94 kB / 0.5634 GB, free: 12.25 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.3943, allocations: 16.03 kB / 0.5634 GB, free: 12.23 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.783e-05/0.3944, allocations: 31.94 kB / 0.5634 GB, free: 12.2 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.938e-05/0.3945, allocations: 15.98 kB / 0.5634 GB, free: 12.18 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.000224/0.3947, allocations: 195.1 kB / 0.5636 GB, free: 11.99 MB / 414.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.3947, allocations: 0 / 0.5636 GB, free: 11.99 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0006688/0.3954, allocations: 140 kB / 0.5638 GB, free: 11.86 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 4
 * Number of states: 4 (inertia.w,constantTorque.phi,inertia1.w,constantTorque1.phi)
 * 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 (38):
 * Single equations (assignments): 36
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 1
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 0 systems
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(3,7)}
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001428/0.3955, allocations: 115.2 kB / 0.5639 GB, free: 11.73 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001387/0.3969, allocations: 0.6423 MB / 0.5645 GB, free: 11.08 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.993e-06/0.3969, allocations: 8.25 kB / 0.5645 GB, free: 11.07 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0007762/0.3977, allocations: 398.3 kB / 0.5649 GB, free: 10.67 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005386/0.3982, allocations: 72.84 kB / 0.565 GB, free: 10.6 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002299/0.4005, allocations: 1.145 MB / 0.5661 GB, free: 9.426 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006338/0.4011, allocations: 0.8669 MB / 0.5669 GB, free: 8.535 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0002298/0.4014, allocations: 75.22 kB / 0.567 GB, free: 8.461 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.4015, allocations: 39.36 kB / 0.567 GB, free: 8.422 MB / 414.1 MB
Notification: Performance of SimCode: time 9.62e-07/0.4015, allocations: 0 / 0.567 GB, free: 8.422 MB / 414.1 MB
Notification: Performance of Templates: time 0.01395/0.4154, allocations: 6.288 MB / 0.5732 GB, free: 2.137 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe >> ../files/PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.sim & ./PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Generic.Test.GeneratorTest2.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.338557502254844]
Failed to read output from testmodel.py, exit status != 0:
0.42484045773744583 0.439526377 0.076240449
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa39e7097b0>