Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.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.001336/0.001336, 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.001418/0.001418, 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.535/1.535, 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.1984/0.1984, allocations: 38.53 MB / 346.3 MB, free: 2.078 MB / 270.1 MB
"
[Timeout remaining time 179]
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.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines")
translateModel(PowerSystems.Examples.AC3ph.Elementary.Machines,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002499/0.002499, allocations: 72.12 kB / 484.5 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3984/0.4009, allocations: 61.28 MB / 0.533 GB, free: 5.566 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Elementary.Machines): time 0.006997/0.4079, allocations: 5.562 MB / 0.5385 GB, free: 1.523 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.007275/0.4152, allocations: 4.209 MB / 0.5426 GB, free: 14.2 MB / 398.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0007634/0.416, allocations: 27.53 kB / 0.5426 GB, free: 14.19 MB / 398.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.01342/0.4294, allocations: 5.461 MB / 0.5479 GB, free: 11.14 MB / 398.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.001271/0.4307, allocations: 340.4 kB / 0.5483 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0008346/0.4315, allocations: 255.3 kB / 0.5485 GB, free: 10.67 MB / 398.1 MB
Notification: Performance of NFFlatten.flatten: time 0.003201/0.4347, allocations: 1.645 MB / 0.5501 GB, free: 9.801 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0005835/0.4353, allocations: 279.5 kB / 0.5504 GB, free: 9.613 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000696/0.436, allocations: 386 kB / 0.5507 GB, free: 9.402 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007217/0.4367, allocations: 485.9 kB / 0.5512 GB, free: 9.113 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.07e-05/0.4368, allocations: 46.41 kB / 0.5512 GB, free: 9.113 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0003587/0.4372, allocations: 125 kB / 0.5514 GB, free: 9.07 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003483/0.4375, allocations: 286.8 kB / 0.5516 GB, free: 8.887 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.000408/0.4379, allocations: 322.1 kB / 0.5519 GB, free: 8.676 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001041/0.439, allocations: 0.7524 MB / 0.5527 GB, free: 7.973 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.282e-06/0.439, allocations: 0 / 0.5527 GB, free: 7.973 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.793e-06/0.439, allocations: 0 / 0.5527 GB, free: 7.973 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.191e-05/0.439, allocations: 0 / 0.5527 GB, free: 7.973 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: 121
 * Number of variables: 121
Notification: Performance of Generate backend data structure: time 0.001871/0.4408, allocations: 0.853 MB / 0.5535 GB, free: 7.09 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 6.128e-05/0.4409, allocations: 15.97 kB / 0.5535 GB, free: 7.074 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005327/0.4414, allocations: 92.44 kB / 0.5536 GB, free: 6.984 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001184/0.4426, allocations: 0.4888 MB / 0.5541 GB, free: 6.469 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.137e-05/0.4427, allocations: 40.97 kB / 0.5541 GB, free: 6.43 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001047/0.4428, allocations: 47.95 kB / 0.5542 GB, free: 6.383 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001034/0.4438, allocations: 0.6531 MB / 0.5548 GB, free: 5.691 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.4438, allocations: 0 / 0.5548 GB, free: 5.691 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.37e-05/0.4439, allocations: 16 kB / 0.5548 GB, free: 5.676 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001483/0.444, allocations: 48.97 kB / 0.5549 GB, free: 5.629 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008067/0.4448, allocations: 499.5 kB / 0.5554 GB, free: 5.141 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003747/0.4486, allocations: 2.455 MB / 0.5577 GB, free: 2.559 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005533/0.4491, allocations: 299.6 kB / 0.558 GB, free: 2.238 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002818/0.4494, allocations: 166.5 kB / 0.5582 GB, free: 2.066 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.71e-05/0.4495, allocations: 4.5 kB / 0.5582 GB, free: 2.062 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.721e-05/0.4495, allocations: 46.5 kB / 0.5582 GB, free: 2.008 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=32): time 1.694e-06/0.4495, allocations: 0 / 0.5582 GB, free: 2.008 MB / 398.1 MB
Notification: Performance of matching and sorting (n=33): time 0.002586/0.4521, allocations: 1.265 MB / 0.5595 GB, free: 0.6992 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.145e-05/0.4522, allocations: 114.8 kB / 0.5596 GB, free: 0.5625 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004757/0.4527, allocations: 421.8 kB / 0.56 GB, free: 144 kB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.4527, allocations: 29.7 kB / 0.56 GB, free: 108 kB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002648/0.453, allocations: 324.3 kB / 0.5603 GB, free: 15.79 MB / 414.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001192/0.4531, allocations: 122.9 kB / 0.5604 GB, free: 15.66 MB / 414.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001401/0.4532, allocations: 90.14 kB / 0.5605 GB, free: 15.57 MB / 414.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001776/0.4534, allocations: 362.7 kB / 0.5609 GB, free: 15.21 MB / 414.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002727/0.4537, allocations: 168.9 kB / 0.561 GB, free: 15.04 MB / 414.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003764/0.454, allocations: 297.1 kB / 0.5613 GB, free: 14.7 MB / 414.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0006839/0.4547, allocations: 495.4 kB / 0.5618 GB, free: 14.15 MB / 414.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4547, allocations: 8 kB / 0.5618 GB, free: 14.14 MB / 414.1 MB
Notification: Performance of matching and sorting (n=55) (initialization): time 0.001385/0.4561, allocations: 0.7166 MB / 0.5625 GB, free: 13.41 MB / 414.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.94e-05/0.4561, allocations: 4 kB / 0.5625 GB, free: 13.41 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/0.4561, allocations: 8 kB / 0.5625 GB, free: 13.4 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0006854/0.4568, allocations: 209.1 kB / 0.5627 GB, free: 13.2 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000347/0.4572, allocations: 76.11 kB / 0.5628 GB, free: 13.12 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005076/0.4623, allocations: 4.02 MB / 0.5667 GB, free: 8.871 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003702/0.4626, allocations: 23.89 kB / 0.5667 GB, free: 8.848 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.477e-05/0.4627, allocations: 27.98 kB / 0.5668 GB, free: 8.82 MB / 414.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: 1 (system.initime)
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (40):
 * Single equations (assignments): 38
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * Mixed (continuous/discrete) equation systems: 0
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 1 system
   {(1,3,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 1 system
   {(3,10)}
Notification: Performance of prepare postOptimizeDAE: time 0.0003457/0.463, allocations: 221.7 kB / 0.567 GB, free: 8.594 MB / 414.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001064/0.4631, allocations: 47.72 kB / 0.567 GB, free: 8.547 MB / 414.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009669/0.4641, allocations: 0.4908 MB / 0.5675 GB, free: 8.047 MB / 414.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.82e-06/0.4641, allocations: 4 kB / 0.5675 GB, free: 8.043 MB / 414.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.4641, allocations: 0 / 0.5675 GB, free: 8.043 MB / 414.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.66e-06/0.4641, allocations: 4 kB / 0.5675 GB, free: 8.039 MB / 414.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001802/0.4659, allocations: 1.012 MB / 0.5685 GB, free: 6.965 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/0.4659, allocations: 4.094 kB / 0.5685 GB, free: 6.961 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004752/0.4664, allocations: 71.89 kB / 0.5686 GB, free: 6.891 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0001787/0.4666, allocations: 61.59 kB / 0.5686 GB, free: 6.824 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.141e-05/0.4666, allocations: 8.062 kB / 0.5686 GB, free: 6.816 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002378/0.469, allocations: 2.64 MB / 0.5712 GB, free: 3.945 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.923e-06/0.469, allocations: 0 / 0.5712 GB, free: 3.945 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001185/0.4702, allocations: 0.8068 MB / 0.572 GB, free: 3.105 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0001971/0.4704, allocations: 75.58 kB / 0.5721 GB, free: 3.031 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.381e-05/0.4704, allocations: 15.98 kB / 0.5721 GB, free: 3.016 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002617/0.4707, allocations: 8 kB / 0.5721 GB, free: 3.008 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.943e-05/0.4708, allocations: 31.94 kB / 0.5721 GB, free: 2.977 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.763e-05/0.4708, allocations: 12 kB / 0.5721 GB, free: 2.965 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.0003843/0.4712, allocations: 295.1 kB / 0.5724 GB, free: 2.68 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.4712, allocations: 0 / 0.5724 GB, free: 2.68 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.0006683/0.4718, allocations: 128 kB / 0.5725 GB, free: 2.555 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 7 (asynchron.i[3],asynchron.phi_el,asynchron.psi_s[1],asynchron.psi_s[2],asynchron.psi_rd[1],asynchron.psi_rq[1],rotor.w)
 * 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 (35):
 * Single equations (assignments): 32
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 2
 * 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,1,100.0%), (1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of Backend phase and start with SimCode phase: time 0.0001684/0.472, allocations: 111.2 kB / 0.5726 GB, free: 2.438 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.001522/0.4735, allocations: 0.7126 MB / 0.5733 GB, free: 1.699 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.657e-06/0.4735, allocations: 4.062 kB / 0.5733 GB, free: 1.695 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006109/0.4741, allocations: 417 kB / 0.5737 GB, free: 1.262 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008972/0.475, allocations: 114.4 kB / 0.5739 GB, free: 1.152 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002589/0.4776, allocations: 1.509 MB / 0.5753 GB, free: 15.61 MB / 430.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006274/0.4782, allocations: 0.9444 MB / 0.5762 GB, free: 14.64 MB / 430.1 MB
Notification: Performance of simCode: alias equations: time 0.0002939/0.4785, allocations: 100.4 kB / 0.5763 GB, free: 14.54 MB / 430.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.4787, allocations: 39.42 kB / 0.5764 GB, free: 14.5 MB / 430.1 MB
Notification: Performance of SimCode: time 7.41e-07/0.4787, allocations: 0 / 0.5764 GB, free: 14.5 MB / 430.1 MB
Notification: Performance of Templates: time 0.01505/0.4937, allocations: 7.289 MB / 0.5835 GB, free: 7.258 MB / 430.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.sim & ./PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC3ph.Elementary.Machines.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.505512887611985]
Failed to read output from testmodel.py, exit status != 0:
0.5042813438922167 0.5186429300000001 0.076292997
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f14fb4817b0>