Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.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.001394/0.001394, 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.00204/0.00204, 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.476/1.476, 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.1909/0.1909, allocations: 38.53 MB / 346.3 MB, free: 2.105 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.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance")
translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance,tolerance=1e-06,outputFormat="empty",numberOfIntervals=740,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002005/0.002005, allocations: 59.89 kB / 484.5 MB, free: 11.17 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4082/0.4102, allocations: 61.3 MB / 0.533 GB, free: 5.57 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.Impedance): time 0.005633/0.4159, allocations: 4.492 MB / 0.5374 GB, free: 2.375 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001439/0.4173, allocations: 0.9499 MB / 0.5383 GB, free: 1.613 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001754/0.4175, allocations: 20.06 kB / 0.5384 GB, free: 1.602 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002061/0.4177, allocations: 52.98 kB / 0.5384 GB, free: 1.555 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0005482/0.4182, allocations: 240.3 kB / 0.5386 GB, free: 1.367 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.4185, allocations: 107 kB / 0.5387 GB, free: 1.281 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004888/0.4189, allocations: 0.495 MB / 0.5392 GB, free: 1.008 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002148/0.4192, allocations: 96.05 kB / 0.5393 GB, free: 0.9531 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0002836/0.4194, allocations: 227.2 kB / 0.5395 GB, free: 0.8281 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004018/0.4198, allocations: 286.7 kB / 0.5398 GB, free: 0.668 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 5.078e-05/0.4199, allocations: 24.22 kB / 0.5398 GB, free: 0.668 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 6.477e-05/0.42, allocations: 23.09 kB / 0.5399 GB, free: 0.668 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0001529/0.4201, allocations: 156.8 kB / 0.54 GB, free: 0.5703 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001716/0.4203, allocations: 180 kB / 0.5402 GB, free: 464 kB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0003861/0.4207, allocations: 365.5 kB / 0.5405 GB, free: 224 kB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.4207, allocations: 0 / 0.5405 GB, free: 224 kB / 382.1 MB
Notification: Performance of FrontEnd: time 1.563e-06/0.4207, allocations: 0 / 0.5405 GB, free: 224 kB / 382.1 MB
Notification: Performance of Transformations before backend: time 7.213e-06/0.4207, allocations: 0 / 0.5405 GB, free: 224 kB / 382.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 63
 * Number of variables: 63
Notification: Performance of Generate backend data structure: time 0.001214/0.4219, allocations: 0.5931 MB / 0.5411 GB, free: 15.73 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.4219, allocations: 13.5 kB / 0.5411 GB, free: 15.73 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 8.786e-05/0.422, allocations: 38.7 kB / 0.5412 GB, free: 15.71 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000649/0.4227, allocations: 318.4 kB / 0.5415 GB, free: 15.45 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.552e-05/0.4227, allocations: 26.11 kB / 0.5415 GB, free: 15.44 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 6.157e-05/0.4228, allocations: 25.66 kB / 0.5415 GB, free: 15.43 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/0.4233, allocations: 353 kB / 0.5418 GB, free: 15.18 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.4233, allocations: 1.375 kB / 0.5418 GB, free: 15.18 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.138e-05/0.4234, allocations: 10.75 kB / 0.5419 GB, free: 15.17 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001142/0.4235, allocations: 30.38 kB / 0.5419 GB, free: 15.16 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004129/0.4239, allocations: 238.3 kB / 0.5421 GB, free: 15.04 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001765/0.4257, allocations: 1.332 MB / 0.5434 GB, free: 13.89 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.000376/0.426, allocations: 168 kB / 0.5436 GB, free: 13.78 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001974/0.4262, allocations: 87.58 kB / 0.5437 GB, free: 13.73 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.925e-05/0.4263, allocations: 9.078 kB / 0.5437 GB, free: 13.72 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.621e-05/0.4263, allocations: 36.84 kB / 0.5437 GB, free: 13.68 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=14): time 1.392e-06/0.4263, allocations: 4 kB / 0.5437 GB, free: 13.67 MB / 398.1 MB
Notification: Performance of matching and sorting (n=15): time 0.001476/0.4278, allocations: 0.6162 MB / 0.5443 GB, free: 13.25 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.78e-05/0.4278, allocations: 79.55 kB / 0.5444 GB, free: 13.15 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000304/0.4282, allocations: 299.6 kB / 0.5447 GB, free: 12.96 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.4282, allocations: 34.98 kB / 0.5447 GB, free: 12.92 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001619/0.4283, allocations: 219.7 kB / 0.5449 GB, free: 12.72 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.173e-05/0.4284, allocations: 54.88 kB / 0.545 GB, free: 12.67 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 8.232e-05/0.4285, allocations: 52.31 kB / 0.545 GB, free: 12.63 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001585/0.4286, allocations: 338 kB / 0.5453 GB, free: 12.3 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001178/0.4287, allocations: 68.17 kB / 0.5454 GB, free: 12.27 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001956/0.4289, allocations: 175 kB / 0.5456 GB, free: 12.1 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003323/0.4293, allocations: 254.4 kB / 0.5458 GB, free: 11.89 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4293, allocations: 0 / 0.5458 GB, free: 11.89 MB / 398.1 MB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.0005128/0.4298, allocations: 322.6 kB / 0.5461 GB, free: 11.71 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.4298, allocations: 7.406 kB / 0.5461 GB, free: 11.71 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.775e-06/0.4298, allocations: 3.281 kB / 0.5461 GB, free: 11.71 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 0.0002147/0.43, allocations: 49.17 kB / 0.5462 GB, free: 11.69 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001922/0.4302, allocations: 48.75 kB / 0.5462 GB, free: 11.68 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001506/0.4317, allocations: 1.519 MB / 0.5477 GB, free: 10.24 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001597/0.4319, allocations: 9.594 kB / 0.5477 GB, free: 10.24 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.897e-05/0.4319, allocations: 12.72 kB / 0.5477 GB, free: 10.23 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 (28):
 * Single equations (assignments): 27
 * 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): 1 system
   {(1,1,100.0%)}
 * Non-linear torn systems (#iteration vars, #inner vars): 0 systems
Notification: Performance of prepare postOptimizeDAE: time 0.0001941/0.4321, allocations: 171.2 kB / 0.5479 GB, free: 10.09 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 5.602e-05/0.4322, allocations: 23.98 kB / 0.5479 GB, free: 10.07 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004469/0.4326, allocations: 240.3 kB / 0.5481 GB, free: 9.926 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.329e-06/0.4326, allocations: 3.156 kB / 0.5481 GB, free: 9.926 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 2.205e-06/0.4326, allocations: 0 / 0.5481 GB, free: 9.926 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/0.4326, allocations: 1.438 kB / 0.5481 GB, free: 9.926 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001008/0.4336, allocations: 0.6195 MB / 0.5488 GB, free: 9.434 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.4336, allocations: 1.531 kB / 0.5488 GB, free: 9.434 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001103/0.4337, allocations: 21.73 kB / 0.5488 GB, free: 9.43 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 0.0002115/0.4339, allocations: 57.11 kB / 0.5488 GB, free: 9.398 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.143e-05/0.434, allocations: 7.078 kB / 0.5488 GB, free: 9.395 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001505/0.4355, allocations: 1.504 MB / 0.5503 GB, free: 7.977 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4355, allocations: 1.25 kB / 0.5503 GB, free: 7.977 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005892/0.4361, allocations: 406.7 kB / 0.5507 GB, free: 7.691 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.085e-05/0.4361, allocations: 28.45 kB / 0.5507 GB, free: 7.672 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.291e-05/0.4362, allocations: 10.77 kB / 0.5507 GB, free: 7.664 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.4363, allocations: 10.81 kB / 0.5507 GB, free: 7.656 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.354e-05/0.4363, allocations: 13.69 kB / 0.5508 GB, free: 7.648 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.307e-05/0.4364, allocations: 3.562 kB / 0.5508 GB, free: 7.648 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002292/0.4366, allocations: 212 kB / 0.551 GB, free: 7.508 MB / 398.1 MB
Notification: Performance of sort global known variables: time 6e-08/0.4366, allocations: 0 / 0.551 GB, free: 7.508 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0004145/0.437, allocations: 66.56 kB / 0.551 GB, free: 7.504 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 2 (ind.i[1],ind.i[2])
 * 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 (16):
 * Single equations (assignments): 14
 * 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): 1 system
   {(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.0001282/0.4371, allocations: 108.6 kB / 0.5511 GB, free: 7.402 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006183/0.4378, allocations: 298.3 kB / 0.5514 GB, free: 7.215 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.4378, allocations: 0 / 0.5514 GB, free: 7.215 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003945/0.4382, allocations: 211.3 kB / 0.5516 GB, free: 7.055 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005218/0.4387, allocations: 77.64 kB / 0.5517 GB, free: 7.008 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001394/0.4401, allocations: 0.7315 MB / 0.5524 GB, free: 6.5 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.4405, allocations: 0.8093 MB / 0.5532 GB, free: 5.742 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001461/0.4407, allocations: 49.5 kB / 0.5532 GB, free: 5.719 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 6.217e-05/0.4408, allocations: 22.09 kB / 0.5533 GB, free: 5.711 MB / 398.1 MB
Notification: Performance of SimCode: time 5.11e-07/0.4408, allocations: 0 / 0.5533 GB, free: 5.711 MB / 398.1 MB
Notification: Performance of Templates: time 0.008151/0.4489, allocations: 3.149 MB / 0.5563 GB, free: 3.504 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.Impedance.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.358211860992014]
Failed to read output from testmodel.py, exit status != 0:
0.4579868074506521 0.472760779 0.048609374000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fdd879a17b0>