Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.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.002022/0.002022, allocations: 112.2 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.001417/0.001417, allocations: 189.6 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.583/1.583, allocations: 225.6 MB / 252.5 MB, free: 13.02 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.1887/0.1887, allocations: 38.55 MB / 346.3 MB, free: 2.09 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.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line")
translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Line,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00203/0.00203, allocations: 68.12 kB / 484.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4519/0.4539, allocations: 61.29 MB / 0.533 GB, free: 5.586 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Line): time 0.007972/0.4619, allocations: 5.063 MB / 0.538 GB, free: 1.93 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002435/0.4643, allocations: 1.319 MB / 0.5393 GB, free: 0.8672 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0002969/0.4646, allocations: 21.44 kB / 0.5393 GB, free: 0.8555 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0005054/0.4651, allocations: 125.7 kB / 0.5394 GB, free: 0.7539 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0008979/0.466, allocations: 331.3 kB / 0.5397 GB, free: 0.5 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005655/0.4666, allocations: 166 kB / 0.5399 GB, free: 380 kB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0009829/0.4675, allocations: 0.7043 MB / 0.5406 GB, free: 15.98 MB / 398.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002781/0.4678, allocations: 104.4 kB / 0.5407 GB, free: 15.92 MB / 398.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0006101/0.4684, allocations: 316.9 kB / 0.541 GB, free: 15.75 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0007926/0.4692, allocations: 475.5 kB / 0.5414 GB, free: 15.49 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 9.759e-05/0.4693, allocations: 44.75 kB / 0.5415 GB, free: 15.49 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0001328/0.4695, allocations: 46.78 kB / 0.5415 GB, free: 15.49 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0003085/0.4698, allocations: 242.2 kB / 0.5417 GB, free: 15.33 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0003521/0.4701, allocations: 282.7 kB / 0.542 GB, free: 15.15 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0008053/0.4709, allocations: 0.6165 MB / 0.5426 GB, free: 14.75 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.552e-06/0.4709, allocations: 1.375 kB / 0.5426 GB, free: 14.75 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.924e-06/0.4709, allocations: 0 / 0.5426 GB, free: 14.75 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.017e-05/0.4709, allocations: 0 / 0.5426 GB, free: 14.75 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: 84
 * Number of variables: 84
Notification: Performance of Generate backend data structure: time 0.002569/0.4735, allocations: 0.8825 MB / 0.5435 GB, free: 14.11 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.431e-05/0.4736, allocations: 12.91 kB / 0.5435 GB, free: 14.1 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001641/0.4737, allocations: 54.92 kB / 0.5435 GB, free: 14.07 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.001475/0.4752, allocations: 0.5464 MB / 0.5441 GB, free: 13.7 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.645e-05/0.4752, allocations: 27.16 kB / 0.5441 GB, free: 13.68 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001358/0.4754, allocations: 43.52 kB / 0.5441 GB, free: 13.66 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.001023/0.4764, allocations: 0.5508 MB / 0.5447 GB, free: 13.3 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.48e-05/0.4764, allocations: 1.156 kB / 0.5447 GB, free: 13.3 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.985e-05/0.4765, allocations: 15.34 kB / 0.5447 GB, free: 13.29 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003544/0.4768, allocations: 83.53 kB / 0.5448 GB, free: 13.26 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006472/0.4775, allocations: 364.5 kB / 0.5451 GB, free: 13.1 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00382/0.4813, allocations: 2.021 MB / 0.5471 GB, free: 11.61 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0009825/0.4823, allocations: 367.8 kB / 0.5474 GB, free: 11.42 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0005899/0.4829, allocations: 288.5 kB / 0.5477 GB, free: 11.29 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.633e-05/0.4829, allocations: 6.438 kB / 0.5477 GB, free: 11.29 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.021e-05/0.4829, allocations: 37.38 kB / 0.5478 GB, free: 11.24 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=32): time 2.574e-06/0.4829, allocations: 0 / 0.5478 GB, free: 11.24 MB / 398.1 MB
Notification: Performance of matching and sorting (n=33): time 0.004914/0.4878, allocations: 1.94 MB / 0.5497 GB, free: 10.21 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.944e-05/0.4879, allocations: 89.02 kB / 0.5497 GB, free: 10.11 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005186/0.4884, allocations: 373.6 kB / 0.5501 GB, free: 9.879 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 4.869e-05/0.4885, allocations: 35.58 kB / 0.5501 GB, free: 9.84 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002302/0.4887, allocations: 255.1 kB / 0.5504 GB, free: 9.609 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001546/0.4889, allocations: 143.6 kB / 0.5505 GB, free: 9.484 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001708/0.489, allocations: 98.42 kB / 0.5506 GB, free: 9.426 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002146/0.4893, allocations: 363.2 kB / 0.551 GB, free: 9.074 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000456/0.4897, allocations: 247.6 kB / 0.5512 GB, free: 8.973 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005692/0.4903, allocations: 358.2 kB / 0.5515 GB, free: 8.738 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001052/0.4913, allocations: 0.6124 MB / 0.5521 GB, free: 8.207 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.4913, allocations: 0 / 0.5521 GB, free: 8.207 MB / 398.1 MB
Notification: Performance of matching and sorting (n=60) (initialization): time 0.001968/0.4933, allocations: 1.006 MB / 0.5531 GB, free: 7.188 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 3.2e-05/0.4933, allocations: 7.938 kB / 0.5531 GB, free: 7.18 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.4934, allocations: 4 kB / 0.5531 GB, free: 7.176 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.4945, allocations: 409.3 kB / 0.5535 GB, free: 6.77 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003025/0.4948, allocations: 87.86 kB / 0.5536 GB, free: 6.684 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006257/0.5011, allocations: 4.932 MB / 0.5584 GB, free: 1.527 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005129/0.5016, allocations: 43.94 kB / 0.5585 GB, free: 1.484 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.11e-05/0.5016, allocations: 20.06 kB / 0.5585 GB, free: 1.465 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 (48):
 * 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: 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,6,100.0%), (1,6,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0003523/0.502, allocations: 208.7 kB / 0.5587 GB, free: 1.254 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 9.718e-05/0.5021, allocations: 39.72 kB / 0.5587 GB, free: 1.215 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001687/0.5037, allocations: 0.8347 MB / 0.5595 GB, free: 360 kB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.823e-06/0.5038, allocations: 7.938 kB / 0.5595 GB, free: 352 kB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.402e-06/0.5038, allocations: 4 kB / 0.5595 GB, free: 348 kB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.153e-06/0.5038, allocations: 3.984 kB / 0.5595 GB, free: 344 kB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00263/0.5064, allocations: 1.383 MB / 0.5609 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.5064, allocations: 3.938 kB / 0.5609 GB, free: 14.88 MB / 414.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001749/0.5066, allocations: 35.97 kB / 0.5609 GB, free: 14.84 MB / 414.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/0.5078, allocations: 445.4 kB / 0.5614 GB, free: 14.38 MB / 414.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.386e-05/0.5079, allocations: 43.97 kB / 0.5614 GB, free: 14.34 MB / 414.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007791/0.5157, allocations: 6.304 MB / 0.5676 GB, free: 7.57 MB / 414.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.5157, allocations: 0 / 0.5676 GB, free: 7.57 MB / 414.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002775/0.5185, allocations: 1.118 MB / 0.5686 GB, free: 6.402 MB / 414.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 0.0003157/0.5188, allocations: 51.64 kB / 0.5687 GB, free: 6.352 MB / 414.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001208/0.5189, allocations: 27.98 kB / 0.5687 GB, free: 6.324 MB / 414.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004265/0.5193, allocations: 35.94 kB / 0.5688 GB, free: 6.289 MB / 414.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001734/0.5195, allocations: 35.88 kB / 0.5688 GB, free: 6.254 MB / 414.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.152e-05/0.5196, allocations: 23.97 kB / 0.5688 GB, free: 6.23 MB / 414.1 MB
Notification: Performance of sorting global known variables: time 0.000501/0.5201, allocations: 263.1 kB / 0.5691 GB, free: 5.977 MB / 414.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.5201, allocations: 0 / 0.5691 GB, free: 5.977 MB / 414.1 MB
Notification: Performance of remove unused functions: time 0.001093/0.5212, allocations: 160 kB / 0.5692 GB, free: 5.82 MB / 414.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 14 (line.v[1,1],line.v[1,2],line.v[1,3],line.v[2,1],line.v[2,2],line.v[2,3],line.i[1,1],line.i[1,2],line.i[1,3],line.i[1,4],line.i[2,1],line.i[2,2],line.i[2,3],line.i[2,4])
 * 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 (29):
 * Single equations (assignments): 21
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 1
 * If-equations: 0
 * Equation systems (not torn): 3
 * Torn equation systems: 4
 * Mixed (continuous/discrete) equation systems: 0
Notification: Equation system details (not torn):
 * Constant Jacobian (size): 0 systems
 * Linear Jacobian (size,density): 3 systems
   {(2,100.0%), (2,100.0%), (2,100.0%)}
 * Non-linear Jacobian (size): 0 systems
 * Without analytic Jacobian (size): 0 systems
Notification: Torn system details for strict tearing set:
 * Linear torn systems (#iteration vars, #inner vars, density): 4 systems
   {(1,1,100.0%), (1,1,100.0%), (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.0002862/0.5214, allocations: 115.2 kB / 0.5693 GB, free: 5.699 MB / 414.1 MB
Notification: Performance of simCode: created initialization part: time 0.002486/0.5239, allocations: 0.8683 MB / 0.5702 GB, free: 4.805 MB / 414.1 MB
Notification: Performance of simCode: created event and clocks part: time 7.103e-06/0.5239, allocations: 4 kB / 0.5702 GB, free: 4.801 MB / 414.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.002004/0.5259, allocations: 0.845 MB / 0.571 GB, free: 3.895 MB / 414.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00122/0.5272, allocations: 135.7 kB / 0.5711 GB, free: 3.766 MB / 414.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004902/0.5321, allocations: 1.855 MB / 0.5729 GB, free: 1.879 MB / 414.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009431/0.533, allocations: 0.8898 MB / 0.5738 GB, free: 0.9648 MB / 414.1 MB
Notification: Performance of simCode: alias equations: time 0.0004277/0.5334, allocations: 68.34 kB / 0.5739 GB, free: 0.8945 MB / 414.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001709/0.5336, allocations: 39.42 kB / 0.5739 GB, free: 0.8555 MB / 414.1 MB
Notification: Performance of SimCode: time 2.595e-06/0.5336, allocations: 4 kB / 0.5739 GB, free: 0.8516 MB / 414.1 MB
Notification: Performance of Templates: time 0.02466/0.5583, allocations: 8.025 MB / 0.5818 GB, free: 8.867 MB / 430.1 MB
"
[Timeout remaining time 659]
make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Line.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.669268992729485]
Failed to read output from testmodel.py, exit status != 0:
0.5686492947861552 0.58326963 0.109187323
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f8705d217b0>