Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.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.001607/0.001607, 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.00147/0.00147, allocations: 187.8 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.512/1.512, 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.1902/0.1902, 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.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC")
translateModel(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC,tolerance=1e-06,outputFormat="empty",numberOfIntervals=10000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002176/0.002176, allocations: 63.89 kB / 484.5 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4485/0.4507, allocations: 61.29 MB / 0.533 GB, free: 5.574 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC): time 0.005572/0.4563, allocations: 4.331 MB / 0.5373 GB, free: 2.5 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001897/0.4582, allocations: 0.9658 MB / 0.5382 GB, free: 1.723 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.000258/0.4584, allocations: 20.06 kB / 0.5382 GB, free: 1.711 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.000241/0.4587, allocations: 51.62 kB / 0.5383 GB, free: 1.664 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0006165/0.4593, allocations: 206.7 kB / 0.5385 GB, free: 1.496 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0002454/0.4595, allocations: 105.6 kB / 0.5386 GB, free: 1.41 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0006299/0.4601, allocations: 481.6 kB / 0.539 GB, free: 1.141 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002788/0.4604, allocations: 96.22 kB / 0.5391 GB, free: 1.086 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000357/0.4608, allocations: 212.2 kB / 0.5393 GB, free: 0.9688 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004086/0.4612, allocations: 265 kB / 0.5396 GB, free: 0.8125 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.218e-05/0.4613, allocations: 26.12 kB / 0.5396 GB, free: 0.8125 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 7.107e-05/0.4613, allocations: 28.41 kB / 0.5396 GB, free: 0.8125 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.000135/0.4615, allocations: 131.3 kB / 0.5398 GB, free: 0.7227 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0001731/0.4616, allocations: 171.5 kB / 0.5399 GB, free: 0.6094 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.4621, allocations: 378.5 kB / 0.5403 GB, free: 372 kB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 6.252e-06/0.4621, allocations: 3.938 kB / 0.5403 GB, free: 368 kB / 382.1 MB
Notification: Performance of FrontEnd: time 1.673e-06/0.4621, allocations: 0 / 0.5403 GB, free: 368 kB / 382.1 MB
Notification: Performance of Transformations before backend: time 8.556e-06/0.4621, allocations: 0 / 0.5403 GB, free: 368 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: 64
 * Number of variables: 64
Notification: Performance of Generate backend data structure: time 0.001442/0.4635, allocations: 0.6398 MB / 0.5409 GB, free: 15.84 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 7.25e-05/0.4636, allocations: 9.156 kB / 0.5409 GB, free: 15.84 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001316/0.4637, allocations: 39.83 kB / 0.541 GB, free: 15.82 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009004/0.4646, allocations: 336.3 kB / 0.5413 GB, free: 15.56 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.472e-05/0.4647, allocations: 18.09 kB / 0.5413 GB, free: 15.55 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 7.535e-05/0.4648, allocations: 28.69 kB / 0.5413 GB, free: 15.54 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008002/0.4656, allocations: 359.4 kB / 0.5417 GB, free: 15.29 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.752e-05/0.4656, allocations: 1.219 kB / 0.5417 GB, free: 15.29 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.115e-05/0.4656, allocations: 14.8 kB / 0.5417 GB, free: 15.27 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.661e-05/0.4656, allocations: 6.188 kB / 0.5417 GB, free: 15.27 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006303/0.4663, allocations: 258.2 kB / 0.5419 GB, free: 15.15 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002656/0.4689, allocations: 1.405 MB / 0.5433 GB, free: 13.92 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0004008/0.4693, allocations: 153.7 kB / 0.5434 GB, free: 13.81 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002127/0.4695, allocations: 75.42 kB / 0.5435 GB, free: 13.76 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.646e-05/0.4696, allocations: 1.062 kB / 0.5435 GB, free: 13.76 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.661e-05/0.4696, allocations: 36.47 kB / 0.5436 GB, free: 13.72 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=15): time 2.324e-06/0.4696, allocations: 0 / 0.5436 GB, free: 13.72 MB / 398.1 MB
Notification: Performance of matching and sorting (n=16): time 0.001411/0.471, allocations: 0.6072 MB / 0.5441 GB, free: 13.29 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.4711, allocations: 83.33 kB / 0.5442 GB, free: 13.2 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003885/0.4715, allocations: 293.9 kB / 0.5445 GB, free: 13 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.671e-05/0.4715, allocations: 30.86 kB / 0.5445 GB, free: 12.97 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002099/0.4717, allocations: 215.1 kB / 0.5447 GB, free: 12.77 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 8.382e-05/0.4718, allocations: 71.31 kB / 0.5448 GB, free: 12.71 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001055/0.4719, allocations: 56.25 kB / 0.5449 GB, free: 12.67 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001916/0.4721, allocations: 337.1 kB / 0.5452 GB, free: 12.34 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001188/0.4722, allocations: 67.36 kB / 0.5452 GB, free: 12.3 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002162/0.4724, allocations: 174.5 kB / 0.5454 GB, free: 12.13 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0003929/0.4728, allocations: 267.5 kB / 0.5457 GB, free: 11.91 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.4728, allocations: 5.281 kB / 0.5457 GB, free: 11.91 MB / 398.1 MB
Notification: Performance of matching and sorting (n=29) (initialization): time 0.000478/0.4733, allocations: 284.2 kB / 0.5459 GB, free: 11.75 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 2.159e-05/0.4733, allocations: 6.656 kB / 0.546 GB, free: 11.75 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/0.4733, allocations: 3.281 kB / 0.546 GB, free: 11.75 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.139e-05/0.4734, allocations: 6.156 kB / 0.546 GB, free: 11.75 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002797/0.4736, allocations: 58.81 kB / 0.546 GB, free: 11.74 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.288e-05/0.4737, allocations: 4.812 kB / 0.546 GB, free: 11.74 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001933/0.4739, allocations: 18.44 kB / 0.546 GB, free: 11.73 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.547e-05/0.4739, allocations: 13.84 kB / 0.5461 GB, free: 11.72 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 (29):
 * Single equations (assignments): 29
 * Array equations: 0
 * Algorithm blocks: 0
 * Record equations: 0
 * When equations: 0
 * If-equations: 0
 * Equation systems (not torn): 0
 * Torn equation systems: 0
 * Mixed (continuous/discrete) equation systems: 0
Notification: Performance of prepare postOptimizeDAE: time 0.0002028/0.4741, allocations: 171.6 kB / 0.5462 GB, free: 11.57 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.203e-05/0.4741, allocations: 27.73 kB / 0.5462 GB, free: 11.55 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004179/0.4746, allocations: 233.1 kB / 0.5465 GB, free: 11.41 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.298e-06/0.4746, allocations: 2.125 kB / 0.5465 GB, free: 11.41 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 7.134e-06/0.4746, allocations: 8.922 kB / 0.5465 GB, free: 11.4 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.819e-06/0.4746, allocations: 1.031 kB / 0.5465 GB, free: 11.4 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008758/0.4755, allocations: 0.6038 MB / 0.5471 GB, free: 10.92 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.913e-06/0.4755, allocations: 1.094 kB / 0.5471 GB, free: 10.92 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002185/0.4757, allocations: 37.05 kB / 0.5471 GB, free: 10.91 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 3.236e-06/0.4757, allocations: 1.469 kB / 0.5471 GB, free: 10.91 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.4757, allocations: 10.77 kB / 0.5471 GB, free: 10.91 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.595e-06/0.4757, allocations: 1.156 kB / 0.5471 GB, free: 10.91 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.4757, allocations: 5.344 kB / 0.5471 GB, free: 10.9 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005681/0.4763, allocations: 420.4 kB / 0.5475 GB, free: 10.62 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.453e-05/0.4763, allocations: 29.31 kB / 0.5475 GB, free: 10.6 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.209e-05/0.4764, allocations: 2.188 kB / 0.5476 GB, free: 10.6 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000165/0.4765, allocations: 12.39 kB / 0.5476 GB, free: 10.59 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 4.095e-05/0.4766, allocations: 21.03 kB / 0.5476 GB, free: 10.57 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.539e-05/0.4766, allocations: 8.312 kB / 0.5476 GB, free: 10.57 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.00024/0.4768, allocations: 211.2 kB / 0.5478 GB, free: 10.43 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4768, allocations: 0 / 0.5478 GB, free: 10.43 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0003679/0.4772, allocations: 63.53 kB / 0.5479 GB, free: 10.42 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 3
 * Number of states: 1 (zLoadAC.psi)
 * 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 (20):
 * Single equations (assignments): 19
 * 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.0001342/0.4773, allocations: 97.28 kB / 0.5479 GB, free: 10.33 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003707/0.4777, allocations: 184.8 kB / 0.5481 GB, free: 10.25 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 3.055e-06/0.4777, allocations: 0.9688 kB / 0.5481 GB, free: 10.25 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001483/0.4779, allocations: 78.42 kB / 0.5482 GB, free: 10.22 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005548/0.4784, allocations: 85.16 kB / 0.5483 GB, free: 10.17 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001237/0.4797, allocations: 0.649 MB / 0.5489 GB, free: 9.715 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004862/0.4801, allocations: 0.8101 MB / 0.5497 GB, free: 8.957 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0001895/0.4803, allocations: 54.3 kB / 0.5498 GB, free: 8.93 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.001e-05/0.4804, allocations: 27.67 kB / 0.5498 GB, free: 8.918 MB / 398.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.4804, allocations: 0 / 0.5498 GB, free: 8.918 MB / 398.1 MB
Notification: Performance of Templates: time 0.008349/0.4888, allocations: 3.191 MB / 0.5529 GB, free: 7.289 MB / 398.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; mkfifo PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe >> ../files/PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.sim & ./PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.AC1ph_DC.Elementary.LoadAC.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.332883923314512]
Failed to read output from testmodel.py, exit status != 0:
0.4997996259480715 0.513456253 0.048242847000000005
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f377cd217b0>