Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.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.001473/0.001473, allocations: 105.5 kB / 20.43 MB, free: 1.473 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.001616/0.001616, allocations: 188.3 kB / 23.72 MB, free: 4.711 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.451/1.451, allocations: 225.6 MB / 252.5 MB, free: 13.03 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.1806/0.1806, allocations: 38.53 MB / 346.3 MB, free: 2.082 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.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial")
translateModel(PowerSystems.Examples.Introductory.ReferenceInertial,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00237/0.00237, allocations: 71.84 kB / 484.5 MB, free: 11.16 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3295/0.3319, allocations: 61.3 MB / 0.533 GB, free: 5.566 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceInertial): time 0.004722/0.3366, allocations: 4.563 MB / 0.5375 GB, free: 2.289 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001817/0.3384, allocations: 1.447 MB / 0.5389 GB, free: 1.141 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001594/0.3386, allocations: 20.72 kB / 0.5389 GB, free: 1.129 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0009396/0.3395, allocations: 390.2 kB / 0.5393 GB, free: 0.832 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0003906/0.3399, allocations: 229.2 kB / 0.5395 GB, free: 0.6484 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005404/0.3405, allocations: 252.8 kB / 0.5397 GB, free: 480 kB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0004487/0.3409, allocations: 0.5267 MB / 0.5403 GB, free: 184 kB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.000307/0.3412, allocations: 189.1 kB / 0.5404 GB, free: 72 kB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003505/0.3416, allocations: 258.1 kB / 0.5407 GB, free: 15.92 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004732/0.342, allocations: 316.5 kB / 0.541 GB, free: 15.74 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.247e-05/0.3421, allocations: 31.81 kB / 0.541 GB, free: 15.74 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.000323/0.3424, allocations: 158.9 kB / 0.5412 GB, free: 15.67 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002196/0.3426, allocations: 223.9 kB / 0.5414 GB, free: 15.53 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002573/0.3429, allocations: 241.3 kB / 0.5416 GB, free: 15.38 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006671/0.3436, allocations: 0.5605 MB / 0.5422 GB, free: 15.01 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3436, allocations: 0 / 0.5422 GB, free: 15.01 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.433e-06/0.3436, allocations: 1.281 kB / 0.5422 GB, free: 15.01 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.766e-06/0.3436, allocations: 0 / 0.5422 GB, free: 15.01 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: 109
 * Number of variables: 109
Notification: Performance of Generate backend data structure: time 0.001282/0.3449, allocations: 0.6725 MB / 0.5428 GB, free: 14.46 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.153e-05/0.3449, allocations: 13.09 kB / 0.5428 GB, free: 14.46 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005916/0.3455, allocations: 83.47 kB / 0.5429 GB, free: 14.42 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007439/0.3462, allocations: 348.7 kB / 0.5432 GB, free: 14.14 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.418e-05/0.3463, allocations: 29.81 kB / 0.5433 GB, free: 14.13 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.000135/0.3464, allocations: 50.42 kB / 0.5433 GB, free: 14.11 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009283/0.3473, allocations: 0.6226 MB / 0.5439 GB, free: 13.65 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 2.212e-05/0.3474, allocations: 5.188 kB / 0.5439 GB, free: 13.65 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.517e-05/0.3474, allocations: 17.03 kB / 0.5439 GB, free: 13.64 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001188/0.3475, allocations: 32.98 kB / 0.544 GB, free: 13.63 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007646/0.3483, allocations: 484.8 kB / 0.5444 GB, free: 13.4 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003341/0.3516, allocations: 2.827 MB / 0.5472 GB, free: 10.92 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0003985/0.352, allocations: 221 kB / 0.5474 GB, free: 10.79 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002214/0.3522, allocations: 136.6 kB / 0.5475 GB, free: 10.71 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/0.3523, allocations: 7.344 kB / 0.5475 GB, free: 10.71 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.3523, allocations: 32.78 kB / 0.5476 GB, free: 10.67 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=27): time 1.804e-06/0.3523, allocations: 0 / 0.5476 GB, free: 10.67 MB / 398.1 MB
Notification: Performance of matching and sorting (n=28): time 0.001673/0.354, allocations: 0.8924 MB / 0.5484 GB, free: 10.12 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.666e-05/0.354, allocations: 85.14 kB / 0.5485 GB, free: 10.02 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004103/0.3545, allocations: 330.1 kB / 0.5488 GB, free: 9.809 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.091e-05/0.3545, allocations: 30.92 kB / 0.5489 GB, free: 9.773 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0002018/0.3547, allocations: 278.6 kB / 0.5491 GB, free: 9.523 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001033/0.3548, allocations: 108.3 kB / 0.5492 GB, free: 9.43 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001308/0.3549, allocations: 92.98 kB / 0.5493 GB, free: 9.371 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001685/0.3551, allocations: 348.4 kB / 0.5497 GB, free: 9.031 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002395/0.3553, allocations: 144.3 kB / 0.5498 GB, free: 8.969 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004833/0.3558, allocations: 346.5 kB / 0.5501 GB, free: 8.637 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007149/0.3565, allocations: 0.5238 MB / 0.5506 GB, free: 8.207 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.3565, allocations: 1.469 kB / 0.5506 GB, free: 8.207 MB / 398.1 MB
Notification: Performance of matching and sorting (n=58) (initialization): time 0.0008347/0.3574, allocations: 0.5261 MB / 0.5512 GB, free: 7.941 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.822e-05/0.3574, allocations: 7.75 kB / 0.5512 GB, free: 7.941 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.015e-05/0.3574, allocations: 11.16 kB / 0.5512 GB, free: 7.938 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.287e-05/0.3574, allocations: 10.25 kB / 0.5512 GB, free: 7.938 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004143/0.3578, allocations: 113.7 kB / 0.5513 GB, free: 7.914 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.671e-05/0.3579, allocations: 16.77 kB / 0.5513 GB, free: 7.906 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002596/0.3581, allocations: 32.75 kB / 0.5513 GB, free: 7.887 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.458e-05/0.3582, allocations: 23.5 kB / 0.5514 GB, free: 7.883 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 30
 * 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 (58):
 * Single equations (assignments): 58
 * 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.0002749/0.3584, allocations: 217.9 kB / 0.5516 GB, free: 7.703 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 7.531e-05/0.3585, allocations: 30.88 kB / 0.5516 GB, free: 7.688 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006768/0.3592, allocations: 370.7 kB / 0.552 GB, free: 7.473 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.89e-06/0.3592, allocations: 3.094 kB / 0.552 GB, free: 7.473 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.961e-06/0.3592, allocations: 1.312 kB / 0.552 GB, free: 7.473 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.3592, allocations: 0 / 0.552 GB, free: 7.473 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001555/0.3608, allocations: 0.8509 MB / 0.5528 GB, free: 6.867 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.779e-06/0.3608, allocations: 13.23 kB / 0.5528 GB, free: 6.855 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003639/0.3611, allocations: 66.47 kB / 0.5529 GB, free: 6.84 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 5.35e-06/0.3611, allocations: 2.156 kB / 0.5529 GB, free: 6.84 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.64e-05/0.3612, allocations: 12.36 kB / 0.5529 GB, free: 6.832 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.444e-06/0.3612, allocations: 6.156 kB / 0.5529 GB, free: 6.828 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.524e-06/0.3612, allocations: 9.016 kB / 0.5529 GB, free: 6.82 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009785/0.3622, allocations: 0.5848 MB / 0.5535 GB, free: 6.441 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.794e-05/0.3622, allocations: 34.08 kB / 0.5535 GB, free: 6.418 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.738e-05/0.3623, allocations: 7.281 kB / 0.5535 GB, free: 6.414 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001843/0.3625, allocations: 12.19 kB / 0.5535 GB, free: 6.406 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.3625, allocations: 29.48 kB / 0.5535 GB, free: 6.387 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.507e-05/0.3626, allocations: 9.719 kB / 0.5536 GB, free: 6.383 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002837/0.3628, allocations: 227.5 kB / 0.5538 GB, free: 6.215 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8.1e-08/0.3628, allocations: 0 / 0.5538 GB, free: 6.215 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0004995/0.3633, allocations: 88 kB / 0.5539 GB, free: 6.129 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 5
 * Number of states: 3 (load_dq0.i[1],load_dq0.i[2],load_dq0.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 (31):
 * Single equations (assignments): 30
 * 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.0001732/0.3635, allocations: 107.2 kB / 0.554 GB, free: 6.012 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006478/0.3642, allocations: 344.8 kB / 0.5543 GB, free: 5.676 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.3642, allocations: 4 kB / 0.5543 GB, free: 5.672 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002153/0.3644, allocations: 135.8 kB / 0.5544 GB, free: 5.539 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005282/0.3649, allocations: 67.69 kB / 0.5545 GB, free: 5.48 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001738/0.3667, allocations: 1.01 MB / 0.5555 GB, free: 4.43 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006305/0.3673, allocations: 0.8582 MB / 0.5563 GB, free: 3.547 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0003311/0.3676, allocations: 131.1 kB / 0.5564 GB, free: 3.418 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.894e-05/0.3677, allocations: 31.44 kB / 0.5565 GB, free: 3.387 MB / 398.1 MB
Notification: Performance of SimCode: time 5.01e-07/0.3677, allocations: 3.938 kB / 0.5565 GB, free: 3.383 MB / 398.1 MB
Notification: Performance of Templates: time 0.009288/0.377, allocations: 3.766 MB / 0.5601 GB, free: 15.63 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceInertial.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.041130864992738]
Failed to read output from testmodel.py, exit status != 0:
0.38693240843713284 0.40218012399999997 0.05536449099999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fa76b6397b0>