Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.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.001655/0.001655, allocations: 109.5 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.001481/0.001481, allocations: 187.4 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: 12.98 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.1892/0.1892, allocations: 38.53 MB / 346.3 MB, free: 2.035 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.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron")
translateModel(PowerSystems.Examples.Introductory.ReferenceSynchron,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 71.83 kB / 484.5 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3751/0.3771, allocations: 61.29 MB / 0.533 GB, free: 5.559 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.Introductory.ReferenceSynchron): time 0.005198/0.3823, allocations: 4.565 MB / 0.5375 GB, free: 2.277 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.00183/0.3841, allocations: 1.447 MB / 0.5389 GB, free: 1.133 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001366/0.3843, allocations: 20.06 kB / 0.5389 GB, free: 1.121 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0008323/0.3851, allocations: 390.4 kB / 0.5393 GB, free: 0.8242 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0004108/0.3855, allocations: 256.3 kB / 0.5395 GB, free: 0.6211 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.0005478/0.3861, allocations: 243.9 kB / 0.5398 GB, free: 460 kB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0005459/0.3866, allocations: 0.5615 MB / 0.5403 GB, free: 140 kB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 0.0002943/0.3869, allocations: 199.9 kB / 0.5405 GB, free: 16 kB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0003479/0.3873, allocations: 264.8 kB / 0.5407 GB, free: 15.87 MB / 398.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0004712/0.3877, allocations: 381.6 kB / 0.5411 GB, free: 15.65 MB / 398.1 MB
Notification: Performance of NFPackage.collectConstants: time 6.757e-05/0.3878, allocations: 39.78 kB / 0.5411 GB, free: 15.65 MB / 398.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004079/0.3882, allocations: 238.8 kB / 0.5414 GB, free: 15.54 MB / 398.1 MB
Notification: Performance of NFScalarize.scalarize: time 0.0002352/0.3884, allocations: 250 kB / 0.5416 GB, free: 15.39 MB / 398.1 MB
Notification: Performance of NFVerifyModel.verify: time 0.0002736/0.3887, allocations: 257.2 kB / 0.5419 GB, free: 15.22 MB / 398.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0007566/0.3895, allocations: 0.6748 MB / 0.5425 GB, free: 14.78 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3895, allocations: 0 / 0.5425 GB, free: 14.78 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.663e-06/0.3895, allocations: 0 / 0.5425 GB, free: 14.78 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 1.588e-05/0.3895, allocations: 5.438 kB / 0.5425 GB, free: 14.78 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: 118
 * Number of variables: 118
Notification: Performance of Generate backend data structure: time 0.001361/0.3909, allocations: 0.7079 MB / 0.5432 GB, free: 14.21 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.039e-05/0.3909, allocations: 9.312 kB / 0.5432 GB, free: 14.21 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005464/0.3914, allocations: 92.09 kB / 0.5433 GB, free: 14.16 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006829/0.3921, allocations: 361.1 kB / 0.5437 GB, free: 13.88 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.624e-05/0.3922, allocations: 32.55 kB / 0.5437 GB, free: 13.86 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.3923, allocations: 44 kB / 0.5437 GB, free: 13.85 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009882/0.3933, allocations: 0.6802 MB / 0.5444 GB, free: 13.41 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.961e-05/0.3933, allocations: 5.031 kB / 0.5444 GB, free: 13.41 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.298e-05/0.3933, allocations: 16.98 kB / 0.5444 GB, free: 13.4 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001786/0.3935, allocations: 49.12 kB / 0.5445 GB, free: 13.38 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00102/0.3945, allocations: 0.6704 MB / 0.5451 GB, free: 13.08 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003582/0.3981, allocations: 2.457 MB / 0.5475 GB, free: 11.14 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005521/0.3987, allocations: 308.2 kB / 0.5478 GB, free: 10.97 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0002954/0.399, allocations: 203.3 kB / 0.548 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 2.947e-05/0.399, allocations: 3.562 kB / 0.548 GB, free: 10.87 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.399, allocations: 44.84 kB / 0.548 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=42): time 1.713e-06/0.399, allocations: 4 kB / 0.548 GB, free: 10.82 MB / 398.1 MB
Notification: Performance of matching and sorting (n=43): time 0.002064/0.4011, allocations: 1.288 MB / 0.5493 GB, free: 10.08 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 5.365e-05/0.4012, allocations: 81.08 kB / 0.5494 GB, free: 9.988 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003173/0.4015, allocations: 302.4 kB / 0.5497 GB, free: 9.789 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 3.436e-05/0.4015, allocations: 31.98 kB / 0.5497 GB, free: 9.754 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 0.0001748/0.4017, allocations: 260 kB / 0.55 GB, free: 9.52 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.4018, allocations: 161.8 kB / 0.5501 GB, free: 9.379 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001363/0.4019, allocations: 94.7 kB / 0.5502 GB, free: 9.32 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001567/0.4021, allocations: 349.3 kB / 0.5505 GB, free: 8.98 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003046/0.4024, allocations: 203.1 kB / 0.5507 GB, free: 8.891 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004152/0.4028, allocations: 367.1 kB / 0.5511 GB, free: 8.59 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0007668/0.4036, allocations: 0.6098 MB / 0.5517 GB, free: 8.164 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.4036, allocations: 2.188 kB / 0.5517 GB, free: 8.164 MB / 398.1 MB
Notification: Performance of matching and sorting (n=67) (initialization): time 0.0009351/0.4045, allocations: 0.6367 MB / 0.5523 GB, free: 7.844 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/0.4045, allocations: 13.09 kB / 0.5523 GB, free: 7.84 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.143e-05/0.4046, allocations: 6.188 kB / 0.5523 GB, free: 7.84 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 2.077e-05/0.4046, allocations: 7.375 kB / 0.5523 GB, free: 7.84 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004246/0.405, allocations: 113.4 kB / 0.5524 GB, free: 7.75 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.331e-05/0.405, allocations: 12 kB / 0.5524 GB, free: 7.738 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002366/0.4053, allocations: 23.97 kB / 0.5525 GB, free: 7.715 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/0.4053, allocations: 24 kB / 0.5525 GB, free: 7.691 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 23
 * 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 (57):
 * Single equations (assignments): 55
 * Array equations: 2
 * 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.0002358/0.4055, allocations: 213.6 kB / 0.5527 GB, free: 7.473 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 8.849e-05/0.4056, allocations: 39.7 kB / 0.5527 GB, free: 7.434 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008203/0.4064, allocations: 496.6 kB / 0.5532 GB, free: 6.941 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.409e-05/0.4065, allocations: 8 kB / 0.5532 GB, free: 6.934 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4065, allocations: 4 kB / 0.5532 GB, free: 6.93 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/0.4065, allocations: 11.98 kB / 0.5532 GB, free: 6.918 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00181/0.4083, allocations: 1.065 MB / 0.5543 GB, free: 5.797 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.615e-06/0.4083, allocations: 0 / 0.5543 GB, free: 5.797 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003691/0.4087, allocations: 71.89 kB / 0.5543 GB, free: 5.727 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 6.532e-06/0.4087, allocations: 8.094 kB / 0.5543 GB, free: 5.719 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.319e-05/0.4087, allocations: 8 kB / 0.5543 GB, free: 5.711 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.42e-06/0.4087, allocations: 4 kB / 0.5543 GB, free: 5.707 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.583e-06/0.4087, allocations: 3.938 kB / 0.5544 GB, free: 5.703 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001168/0.4099, allocations: 0.8322 MB / 0.5552 GB, free: 4.84 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 6.37e-05/0.4099, allocations: 31.77 kB / 0.5552 GB, free: 4.809 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.968e-05/0.41, allocations: 12.03 kB / 0.5552 GB, free: 4.797 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002169/0.4102, allocations: 19.97 kB / 0.5552 GB, free: 4.777 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 6.686e-05/0.4103, allocations: 31.83 kB / 0.5553 GB, free: 4.746 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.984e-05/0.4103, allocations: 12 kB / 0.5553 GB, free: 4.734 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 0.0002323/0.4105, allocations: 207.1 kB / 0.5555 GB, free: 4.531 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4105, allocations: 0 / 0.5555 GB, free: 4.531 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0004986/0.411, allocations: 115.9 kB / 0.5556 GB, free: 4.418 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 (33):
 * Single equations (assignments): 30
 * Array equations: 2
 * 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.0002315/0.4113, allocations: 139.1 kB / 0.5557 GB, free: 4.273 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0007294/0.412, allocations: 466 kB / 0.5562 GB, free: 3.82 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 6.622e-06/0.412, allocations: 4.062 kB / 0.5562 GB, free: 3.816 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0002923/0.4123, allocations: 195.8 kB / 0.5563 GB, free: 3.625 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004993/0.4128, allocations: 79.12 kB / 0.5564 GB, free: 3.555 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001745/0.4146, allocations: 1.139 MB / 0.5575 GB, free: 2.371 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000519/0.4151, allocations: 0.8704 MB / 0.5584 GB, free: 1.477 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 0.0002953/0.4154, allocations: 127.2 kB / 0.5585 GB, free: 1.355 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 9.294e-05/0.4155, allocations: 27.44 kB / 0.5585 GB, free: 1.328 MB / 398.1 MB
Notification: Performance of SimCode: time 3e-07/0.4155, allocations: 0 / 0.5585 GB, free: 1.328 MB / 398.1 MB
Notification: Performance of Templates: time 0.009144/0.4246, allocations: 4.36 MB / 0.5628 GB, free: 12.99 MB / 414.1 MB
"
[Timeout remaining time 660]
make -j1 -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.makefile [Timeout 660]
(rm -f PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; mkfifo PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe ; head -c 1048576 < PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe >> ../files/PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.sim & ./PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron  -abortSlowSimulation -alarm=480 -lv LOG_STATS > PowerSystems_PowerSystems.Examples.Introductory.ReferenceSynchron.pipe 2>&1) [Timeout 480]
[Calling sys.exit(0), Time elapsed: 5.202813791111112]
Failed to read output from testmodel.py, exit status != 0:
0.4329018145799637 0.446413131 0.053964135
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f9010d4d7b0>