Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.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.001778/0.001778, 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.001395/0.001395, 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.472/1.472, 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.1862/0.1862, allocations: 38.53 MB / 346.3 MB, free: 2.066 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.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator")
translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002272/0.002272, allocations: 71.88 kB / 484.5 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3601, allocations: 61.3 MB / 0.533 GB, free: 5.562 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGenerator): time 0.008781/0.3689, allocations: 7.719 MB / 0.5406 GB, free: 15.82 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00656/0.3754, allocations: 3.003 MB / 0.5435 GB, free: 13.41 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007028/0.3761, allocations: 32.81 kB / 0.5435 GB, free: 13.4 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.002496/0.3786, allocations: 0.7717 MB / 0.5443 GB, free: 12.8 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.002586/0.3812, allocations: 0.7049 MB / 0.545 GB, free: 12.26 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001371/0.3826, allocations: 382.9 kB / 0.5454 GB, free: 11.97 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.002489/0.3851, allocations: 1.357 MB / 0.5467 GB, free: 11.21 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0009113/0.386, allocations: 497.6 kB / 0.5472 GB, free: 10.89 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001045/0.387, allocations: 0.5694 MB / 0.5477 GB, free: 10.56 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001015/0.388, allocations: 0.6674 MB / 0.5484 GB, free: 10.16 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.0001342/0.3882, allocations: 75.59 kB / 0.5484 GB, free: 10.16 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001125/0.3893, allocations: 0.5403 MB / 0.549 GB, free: 9.887 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0004506/0.3898, allocations: 455.6 kB / 0.5494 GB, free: 9.602 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0005759/0.3903, allocations: 0.5057 MB / 0.5499 GB, free: 9.27 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001792/0.3921, allocations: 1.429 MB / 0.5513 GB, free: 8.34 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.3921, allocations: 0 / 0.5513 GB, free: 8.34 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.333e-06/0.3921, allocations: 0 / 0.5513 GB, free: 8.34 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.491e-05/0.3921, allocations: 0 / 0.5513 GB, free: 8.34 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: 222
 * Number of variables: 222
Notification: Performance of Generate backend data structure: time 0.002401/0.3945, allocations: 1.235 MB / 0.5525 GB, free: 7.422 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.486e-05/0.3946, allocations: 14.06 kB / 0.5525 GB, free: 7.418 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001287/0.3959, allocations: 212.6 kB / 0.5527 GB, free: 7.316 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001566/0.3974, allocations: 0.6705 MB / 0.5534 GB, free: 6.84 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.544e-05/0.3975, allocations: 62 kB / 0.5534 GB, free: 6.809 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002432/0.3977, allocations: 97.31 kB / 0.5535 GB, free: 6.773 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001795/0.3995, allocations: 1.096 MB / 0.5546 GB, free: 5.902 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.511e-05/0.3996, allocations: 11.94 kB / 0.5546 GB, free: 5.891 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.034e-05/0.3997, allocations: 31.98 kB / 0.5546 GB, free: 5.859 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001817/0.3998, allocations: 81.95 kB / 0.5547 GB, free: 5.777 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001472/0.4013, allocations: 0.8704 MB / 0.5556 GB, free: 4.91 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005954/0.4073, allocations: 3.895 MB / 0.5594 GB, free: 0.8203 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000676/0.4079, allocations: 338.7 kB / 0.5597 GB, free: 484 kB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004025/0.4083, allocations: 258.2 kB / 0.5599 GB, free: 220 kB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.428e-05/0.4084, allocations: 16.42 kB / 0.5599 GB, free: 204 kB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.622e-05/0.4084, allocations: 38.94 kB / 0.56 GB, free: 156 kB / 398.1 MB
Notification: Performance of pre-optimization done (n=48): time 2.495e-06/0.4084, allocations: 0 / 0.56 GB, free: 156 kB / 398.1 MB
Notification: Performance of matching and sorting (n=51): time 0.003364/0.4118, allocations: 1.66 MB / 0.5616 GB, free: 14.46 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.531e-05/0.4119, allocations: 81.55 kB / 0.5617 GB, free: 14.36 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007467/0.4126, allocations: 0.6015 MB / 0.5623 GB, free: 13.75 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.471e-05/0.4126, allocations: 33.7 kB / 0.5623 GB, free: 13.71 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0003838/0.413, allocations: 479.8 kB / 0.5628 GB, free: 13.24 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.4132, allocations: 198.5 kB / 0.5629 GB, free: 13.04 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.00024/0.4135, allocations: 138.6 kB / 0.5631 GB, free: 12.9 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002427/0.4137, allocations: 378.8 kB / 0.5634 GB, free: 12.52 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004201/0.4141, allocations: 253.8 kB / 0.5637 GB, free: 12.27 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006415/0.4148, allocations: 476.9 kB / 0.5641 GB, free: 11.71 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001174/0.4159, allocations: 0.7753 MB / 0.5649 GB, free: 10.85 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.3e-06/0.4159, allocations: 0 / 0.5649 GB, free: 10.85 MB / 414.1 MB
Notification: Performance of matching and sorting (n=94) (initialization): time 0.002272/0.4182, allocations: 1.041 MB / 0.5659 GB, free: 9.789 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.916e-05/0.4182, allocations: 8.344 kB / 0.5659 GB, free: 9.781 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.001457/0.4197, allocations: 0.7142 MB / 0.5666 GB, free: 9.059 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0007839/0.4205, allocations: 222.3 kB / 0.5668 GB, free: 8.832 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005529/0.421, allocations: 155.8 kB / 0.567 GB, free: 8.68 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006407/0.4274, allocations: 5.359 MB / 0.5722 GB, free: 2.965 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007162/0.4282, allocations: 43.92 kB / 0.5722 GB, free: 2.922 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.699e-05/0.4282, allocations: 32 kB / 0.5723 GB, free: 2.891 MB / 414.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 31
 * 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 (80):
 * Single equations (assignments): 77
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 3
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 2 systems
   {(1,3,100.0%), (1,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(2,7)}
Notification: Performance of prepare postOptimizeDAE: time 0.0005517/0.4288, allocations: 305.4 kB / 0.5726 GB, free: 2.582 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000139/0.4289, allocations: 71.58 kB / 0.5726 GB, free: 2.512 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.43, allocations: 0.6085 MB / 0.5732 GB, free: 1.891 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.046e-06/0.43, allocations: 8 kB / 0.5732 GB, free: 1.883 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 1.924e-06/0.43, allocations: 0 / 0.5732 GB, free: 1.883 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.43, allocations: 3.984 kB / 0.5732 GB, free: 1.879 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002725/0.4327, allocations: 1.462 MB / 0.5747 GB, free: 356 kB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.4327, allocations: 0 / 0.5747 GB, free: 356 kB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000637/0.4334, allocations: 123.9 kB / 0.5748 GB, free: 232 kB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.721e-06/0.4334, allocations: 4 kB / 0.5748 GB, free: 228 kB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.4334, allocations: 24.09 kB / 0.5748 GB, free: 204 kB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.764e-06/0.4334, allocations: 4 kB / 0.5748 GB, free: 200 kB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/0.4334, allocations: 4.219 kB / 0.5748 GB, free: 196 kB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001423/0.4349, allocations: 0.9362 MB / 0.5757 GB, free: 15.22 MB / 430.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003826/0.4352, allocations: 107.5 kB / 0.5758 GB, free: 15.12 MB / 430.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001111/0.4353, allocations: 31.81 kB / 0.5759 GB, free: 15.09 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003464/0.4357, allocations: 19.98 kB / 0.5759 GB, free: 15.07 MB / 430.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 7.533e-05/0.4358, allocations: 36.31 kB / 0.5759 GB, free: 15.03 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-05/0.4358, allocations: 16 kB / 0.5759 GB, free: 15.02 MB / 430.1 MB
Notification: Performance of sorting global known variables: time 0.0006031/0.4364, allocations: 423 kB / 0.5763 GB, free: 14.61 MB / 430.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4364, allocations: 0 / 0.5763 GB, free: 14.61 MB / 430.1 MB
Notification: Performance of remove unused functions: time 0.001057/0.4375, allocations: 235.9 kB / 0.5766 GB, free: 14.38 MB / 430.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 7
 * Number of states: 8 (turboGrp.phi,turboGrp.w,generator.i_s[1],generator.i_s[2],generator.i_s[3],RLgen1.i[1],RLgen1.i[2],RLgen1.i[3])
 * 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 (54):
 * Single equations (assignments): 53
 * 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.000334/0.4378, allocations: 128.5 kB / 0.5767 GB, free: 14.25 MB / 430.1 MB
Notification: Performance of simCode: created initialization part: time 0.001974/0.4398, allocations: 1.007 MB / 0.5777 GB, free: 13.2 MB / 430.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.118e-06/0.4398, allocations: 4.062 kB / 0.5777 GB, free: 13.2 MB / 430.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0004282/0.4402, allocations: 246.3 kB / 0.5779 GB, free: 12.96 MB / 430.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001123/0.4413, allocations: 164.3 kB / 0.5781 GB, free: 12.81 MB / 430.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004777/0.4461, allocations: 2.081 MB / 0.5801 GB, free: 10.68 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001103/0.4472, allocations: 1.075 MB / 0.5812 GB, free: 9.57 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.000631/0.4478, allocations: 193.9 kB / 0.5813 GB, free: 9.379 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002222/0.4481, allocations: 55.42 kB / 0.5814 GB, free: 9.324 MB / 430.1 MB
Notification: Performance of SimCode: time 1.352e-06/0.4481, allocations: 0 / 0.5814 GB, free: 9.324 MB / 430.1 MB
Notification: Performance of Templates: time 0.0204/0.4685, allocations: 10.01 MB / 0.5912 GB, free: 15.37 MB / 446.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGenerator.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.452488699927926]
Failed to read output from testmodel.py, exit status != 0:
0.4778385488316417 0.491582225 0.09623438200000001
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f494e3357b0>