Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.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.001276/0.001276, 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.001352/0.001352, allocations: 189 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.1904/0.1904, allocations: 38.53 MB / 346.3 MB, free: 2.078 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.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine")
translateModel(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002037/0.002037, allocations: 67.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4151/0.4171, allocations: 61.3 MB / 0.533 GB, free: 5.578 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine): time 0.01403/0.4311, allocations: 9.782 MB / 0.5426 GB, free: 14.21 MB / 398.1 MB
Notification: Performance of NFInst.instExpressions: time 0.008864/0.44, allocations: 3.59 MB / 0.5461 GB, free: 11.33 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.00133/0.4413, allocations: 46.44 kB / 0.5461 GB, free: 11.31 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.003572/0.4449, allocations: 1.14 MB / 0.5473 GB, free: 10.43 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.003436/0.4483, allocations: 0.9108 MB / 0.5481 GB, free: 9.719 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001589/0.4499, allocations: 489.6 kB / 0.5486 GB, free: 9.348 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003301/0.4532, allocations: 1.817 MB / 0.5504 GB, free: 8.336 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.001164/0.4544, allocations: 0.649 MB / 0.551 GB, free: 7.906 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.001672/0.4561, allocations: 0.7874 MB / 0.5518 GB, free: 7.453 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.001658/0.4577, allocations: 0.9706 MB / 0.5527 GB, free: 6.867 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 0.000217/0.4579, allocations: 105.5 kB / 0.5528 GB, free: 6.867 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.001607/0.4595, allocations: 0.6131 MB / 0.5534 GB, free: 6.57 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0007726/0.4603, allocations: 0.6452 MB / 0.5541 GB, free: 6.16 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0009709/0.4613, allocations: 0.7079 MB / 0.5548 GB, free: 5.691 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002892/0.4642, allocations: 1.909 MB / 0.5566 GB, free: 3.926 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.4642, allocations: 3.938 kB / 0.5566 GB, free: 3.922 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.894e-06/0.4642, allocations: 4 kB / 0.5566 GB, free: 3.918 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 2.461e-05/0.4642, allocations: 3.938 kB / 0.5566 GB, free: 3.914 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: 298
 * Number of variables: 298
Notification: Performance of Generate backend data structure: time 0.003457/0.4677, allocations: 1.587 MB / 0.5582 GB, free: 2.289 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.4677, allocations: 12.03 kB / 0.5582 GB, free: 2.277 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001748/0.4695, allocations: 279.8 kB / 0.5585 GB, free: 2.004 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.002312/0.4718, allocations: 0.8696 MB / 0.5593 GB, free: 1.105 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.078e-05/0.4718, allocations: 90.03 kB / 0.5594 GB, free: 1.016 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003439/0.4722, allocations: 131.9 kB / 0.5595 GB, free: 0.8867 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.002622/0.4748, allocations: 1.493 MB / 0.561 GB, free: 15.32 MB / 414.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 3.974e-05/0.4748, allocations: 3.984 kB / 0.561 GB, free: 15.32 MB / 414.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001216/0.475, allocations: 47.98 kB / 0.561 GB, free: 15.27 MB / 414.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003399/0.4753, allocations: 102.1 kB / 0.5611 GB, free: 15.17 MB / 414.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002238/0.4775, allocations: 1.254 MB / 0.5624 GB, free: 13.91 MB / 414.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008812/0.4864, allocations: 5.531 MB / 0.5678 GB, free: 8.047 MB / 414.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.00102/0.4874, allocations: 0.559 MB / 0.5683 GB, free: 7.469 MB / 414.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.000584/0.488, allocations: 375.5 kB / 0.5687 GB, free: 7.094 MB / 414.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 4.735e-05/0.488, allocations: 16.58 kB / 0.5687 GB, free: 7.078 MB / 414.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.928e-05/0.4881, allocations: 47.22 kB / 0.5687 GB, free: 7.023 MB / 414.1 MB
Notification: Performance of pre-optimization done (n=67): time 3.126e-06/0.4881, allocations: 0 / 0.5687 GB, free: 7.023 MB / 414.1 MB
Notification: Performance of matching and sorting (n=74): time 0.008064/0.4961, allocations: 3.205 MB / 0.5719 GB, free: 3.77 MB / 414.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.243e-05/0.4962, allocations: 89.7 kB / 0.5719 GB, free: 3.664 MB / 414.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001084/0.4973, allocations: 0.7391 MB / 0.5727 GB, free: 2.91 MB / 414.1 MB
Notification: Performance of collectPreVariables (initialization): time 6.122e-05/0.4973, allocations: 37.7 kB / 0.5727 GB, free: 2.867 MB / 414.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0005397/0.4979, allocations: 0.6014 MB / 0.5733 GB, free: 2.258 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0002948/0.4982, allocations: 285.6 kB / 0.5736 GB, free: 1.977 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002964/0.4985, allocations: 182.5 kB / 0.5737 GB, free: 1.793 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002411/0.4987, allocations: 406.7 kB / 0.5741 GB, free: 1.387 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006323/0.4993, allocations: 389.8 kB / 0.5745 GB, free: 1.008 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008552/0.5002, allocations: 0.6574 MB / 0.5751 GB, free: 236 kB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001652/0.5019, allocations: 1.148 MB / 0.5763 GB, free: 14.96 MB / 430.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.5019, allocations: 0 / 0.5763 GB, free: 14.96 MB / 430.1 MB
Notification: Performance of matching and sorting (n=125) (initialization): time 0.003636/0.5055, allocations: 1.686 MB / 0.5779 GB, free: 13.25 MB / 430.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.556e-05/0.5055, allocations: 12 kB / 0.5779 GB, free: 13.24 MB / 430.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.002802/0.5083, allocations: 1.286 MB / 0.5792 GB, free: 11.95 MB / 430.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.002067/0.5104, allocations: 0.577 MB / 0.5797 GB, free: 11.36 MB / 430.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006944/0.5111, allocations: 171.7 kB / 0.5799 GB, free: 11.19 MB / 430.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01405/0.5251, allocations: 9.959 MB / 0.5896 GB, free: 0.75 MB / 430.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/0.5262, allocations: 47.97 kB / 0.5897 GB, free: 0.7031 MB / 430.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.384e-05/0.5263, allocations: 44 kB / 0.5897 GB, free: 0.6602 MB / 430.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 39
 * 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 (93):
 * Single equations (assignments): 89
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 3 systems
   {(1,4,100.0%), (2,8,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(3,16)}
Notification: Performance of prepare postOptimizeDAE: time 0.0007864/0.5271, allocations: 389.4 kB / 0.5901 GB, free: 276 kB / 430.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000196/0.5273, allocations: 91.39 kB / 0.5902 GB, free: 184 kB / 430.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002566/0.5299, allocations: 1.236 MB / 0.5914 GB, free: 14.92 MB / 446.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.129e-05/0.5299, allocations: 8 kB / 0.5914 GB, free: 14.91 MB / 446.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 9.959e-06/0.5299, allocations: 11.98 kB / 0.5914 GB, free: 14.9 MB / 446.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.148e-05/0.5299, allocations: 4 kB / 0.5914 GB, free: 14.9 MB / 446.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00476/0.5346, allocations: 2.371 MB / 0.5937 GB, free: 12.44 MB / 446.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.516e-06/0.5347, allocations: 4 kB / 0.5937 GB, free: 12.44 MB / 446.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004933/0.5352, allocations: 104.1 kB / 0.5938 GB, free: 12.34 MB / 446.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001153/0.5363, allocations: 376 kB / 0.5942 GB, free: 11.95 MB / 446.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.089e-05/0.5364, allocations: 31.92 kB / 0.5942 GB, free: 11.92 MB / 446.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008815/0.5452, allocations: 8.782 MB / 0.6028 GB, free: 2.562 MB / 446.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.174e-06/0.5452, allocations: 11.91 kB / 0.6028 GB, free: 2.551 MB / 446.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00306/0.5483, allocations: 1.667 MB / 0.6044 GB, free: 0.8281 MB / 446.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0005114/0.5488, allocations: 163.2 kB / 0.6046 GB, free: 0.668 MB / 446.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000135/0.5489, allocations: 20 kB / 0.6046 GB, free: 0.6484 MB / 446.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000488/0.5494, allocations: 31.97 kB / 0.6046 GB, free: 0.6172 MB / 446.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001674/0.5496, allocations: 64.47 kB / 0.6047 GB, free: 0.5547 MB / 446.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.055e-05/0.5496, allocations: 24 kB / 0.6047 GB, free: 0.5312 MB / 446.1 MB
Notification: Performance of sorting global known variables: time 0.0007491/0.5504, allocations: 0.5029 MB / 0.6052 GB, free: 32 kB / 446.1 MB
Notification: Performance of sort global known variables: time 1.1e-07/0.5504, allocations: 4 kB / 0.6052 GB, free: 28 kB / 446.1 MB
Notification: Performance of remove unused functions: time 0.001454/0.5518, allocations: 364.1 kB / 0.6055 GB, free: 15.67 MB / 462.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 9
 * 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 (57):
 * Single equations (assignments): 51
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 5
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 5 systems
   {(2,10,100.0%), (1,3,100.0%), (1,3,100.0%), (1,1,100.0%), (1,2,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0003444/0.5522, allocations: 158.8 kB / 0.6057 GB, free: 15.51 MB / 462.1 MB
Notification: Performance of simCode: created initialization part: time 0.002828/0.555, allocations: 1.52 MB / 0.6072 GB, free: 13.94 MB / 462.1 MB
Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.555, allocations: 0 / 0.6072 GB, free: 13.94 MB / 462.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.001831/0.5568, allocations: 1.085 MB / 0.6082 GB, free: 12.79 MB / 462.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001297/0.5581, allocations: 202.1 kB / 0.6084 GB, free: 12.59 MB / 462.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005064/0.5632, allocations: 2.76 MB / 0.6111 GB, free: 9.781 MB / 462.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00113/0.5643, allocations: 1.255 MB / 0.6124 GB, free: 8.496 MB / 462.1 MB
Notification: Performance of simCode: alias equations: time 0.000581/0.5649, allocations: 219.6 kB / 0.6126 GB, free: 8.277 MB / 462.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001861/0.5651, allocations: 71.42 kB / 0.6126 GB, free: 8.207 MB / 462.1 MB
Notification: Performance of SimCode: time 1.793e-06/0.5651, allocations: 0 / 0.6126 GB, free: 8.207 MB / 462.1 MB
Notification: Performance of Templates: time 0.0329/0.598, allocations: 16.49 MB / 0.6287 GB, free: 7.777 MB / 478.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Generation.TurbineGeneratorLine.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.756103845313191]
Failed to read output from testmodel.py, exit status != 0:
0.6073830565437675 0.6221663909999999 0.15472713000000002
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f26c2b017b0>