Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc.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.001341/0.001341, allocations: 112 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.001515/0.001515, 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.507/1.507, 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-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 2.0.0-master/package.mo): time 0.1893/0.1893, allocations: 38.54 MB / 346.3 MB, free: 2.125 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-master/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.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc")
translateModel(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|tc_d.1.|tc_d.2.|tc_q.1.|tc_q.2.|to_d.1.|to_d.2.|to_q.1.|to_q.2.|xtr_d.1.|xtr_d.2.|xtr_q.1.|xtr_q.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00202/0.00202, allocations: 67.88 kB / 484.5 MB, free: 11.15 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3891, allocations: 61.3 MB / 0.533 GB, free: 5.582 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.TransDatFromEqCirc): time 0.004558/0.3937, allocations: 2.247 MB / 0.5352 GB, free: 3.977 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.001808/0.3955, allocations: 1.081 MB / 0.5363 GB, free: 3.258 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.088e-05/0.3956, allocations: 3.938 kB / 0.5363 GB, free: 3.254 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.3957, allocations: 12.98 kB / 0.5363 GB, free: 3.25 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001416/0.3959, allocations: 62.88 kB / 0.5364 GB, free: 3.215 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.001057/0.3969, allocations: 338.7 kB / 0.5367 GB, free: 3 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001894/0.3971, allocations: 124 kB / 0.5368 GB, free: 2.938 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.452e-05/0.3972, allocations: 1.375 kB / 0.5368 GB, free: 2.938 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.000105/0.3973, allocations: 49.95 kB / 0.5369 GB, free: 2.914 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.0001113/0.3974, allocations: 76.7 kB / 0.5369 GB, free: 2.871 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.603e-05/0.3974, allocations: 2.75 kB / 0.5369 GB, free: 2.871 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.0008718/0.3983, allocations: 0.6471 MB / 0.5376 GB, free: 2.414 MB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.535e-05/0.3983, allocations: 33.45 kB / 0.5376 GB, free: 2.398 MB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.876e-05/0.3984, allocations: 42.92 kB / 0.5376 GB, free: 2.371 MB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.0006984/0.3991, allocations: 0.5373 MB / 0.5382 GB, free: 2.062 MB / 382.1 MB
Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.3991, allocations: 0 / 0.5382 GB, free: 2.062 MB / 382.1 MB
Notification: Performance of FrontEnd: time 1.653e-06/0.3991, allocations: 0 / 0.5382 GB, free: 2.062 MB / 382.1 MB
Notification: Performance of Transformations before backend: time 6.883e-06/0.3991, allocations: 0 / 0.5382 GB, free: 2.062 MB / 382.1 MB
Notification: Model statistics after passing the front-end and creating the data structures used by the back-end:
 * Number of equations: 20
 * Number of variables: 20
Notification: Performance of Generate backend data structure: time 0.0004951/0.3996, allocations: 392.5 kB / 0.5385 GB, free: 1.691 MB / 382.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/0.3996, allocations: 13.73 kB / 0.5386 GB, free: 1.688 MB / 382.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.603e-05/0.3997, allocations: 21.25 kB / 0.5386 GB, free: 1.672 MB / 382.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001532/0.3998, allocations: 125.6 kB / 0.5387 GB, free: 1.535 MB / 382.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.015e-06/0.3998, allocations: 1.719 kB / 0.5387 GB, free: 1.535 MB / 382.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 2.079e-05/0.3999, allocations: 5.562 kB / 0.5387 GB, free: 1.531 MB / 382.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/0.4, allocations: 95.59 kB / 0.5388 GB, free: 1.473 MB / 382.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.4001, allocations: 0 / 0.5388 GB, free: 1.473 MB / 382.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.25e-05/0.4001, allocations: 1.219 kB / 0.5388 GB, free: 1.473 MB / 382.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.4001, allocations: 0 / 0.5388 GB, free: 1.473 MB / 382.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 7.949e-05/0.4001, allocations: 65.28 kB / 0.5389 GB, free: 1.445 MB / 382.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001232/0.4003, allocations: 153.9 kB / 0.539 GB, free: 1.266 MB / 382.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/0.4004, allocations: 72.97 kB / 0.5391 GB, free: 1.223 MB / 382.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 7.765e-05/0.4005, allocations: 72.67 kB / 0.5391 GB, free: 1.184 MB / 382.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 6.161e-06/0.4005, allocations: 1.375 kB / 0.5391 GB, free: 1.184 MB / 382.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.516e-05/0.4005, allocations: 34.5 kB / 0.5392 GB, free: 1.141 MB / 382.1 MB
Notification: Performance of pre-optimization done (n=20): time 8.72e-07/0.4005, allocations: 1.375 kB / 0.5392 GB, free: 1.141 MB / 382.1 MB
Notification: Performance of matching and sorting (n=20): time 0.0004876/0.401, allocations: 294 kB / 0.5395 GB, free: 1 MB / 382.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 4.278e-05/0.401, allocations: 97.62 kB / 0.5396 GB, free: 0.8984 MB / 382.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.4011, allocations: 136.5 kB / 0.5397 GB, free: 0.7812 MB / 382.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.4011, allocations: 25.7 kB / 0.5397 GB, free: 0.75 MB / 382.1 MB
Notification: Performance of collectInitialEqns (initialization): time 3.493e-05/0.4012, allocations: 96.67 kB / 0.5398 GB, free: 0.6562 MB / 382.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.196e-05/0.4012, allocations: 62.98 kB / 0.5399 GB, free: 0.6016 MB / 382.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.4013, allocations: 27.48 kB / 0.5399 GB, free: 0.5781 MB / 382.1 MB
Notification: Performance of setup shared object (initialization): time 7.45e-05/0.4013, allocations: 323.9 kB / 0.5402 GB, free: 264 kB / 382.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.908e-05/0.4014, allocations: 56.09 kB / 0.5402 GB, free: 244 kB / 382.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.166e-05/0.4015, allocations: 65.16 kB / 0.5403 GB, free: 216 kB / 382.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002334/0.4017, allocations: 230.4 kB / 0.5405 GB, free: 84 kB / 382.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.4017, allocations: 0 / 0.5405 GB, free: 84 kB / 382.1 MB
Notification: Performance of matching and sorting (n=20) (initialization): time 0.0003146/0.402, allocations: 226.1 kB / 0.5407 GB, free: 15.96 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 6.657e-05/0.4021, allocations: 59.45 kB / 0.5408 GB, free: 15.91 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.749e-06/0.4021, allocations: 0 / 0.5408 GB, free: 15.91 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.878e-05/0.4021, allocations: 0 / 0.5408 GB, free: 15.91 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.22e-07/0.4021, allocations: 1.312 kB / 0.5408 GB, free: 15.91 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.08e-06/0.4021, allocations: 0 / 0.5408 GB, free: 15.91 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.656e-05/0.4022, allocations: 12.86 kB / 0.5408 GB, free: 15.9 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.876e-05/0.4022, allocations: 13.5 kB / 0.5408 GB, free: 15.89 MB / 398.1 MB
Notification: Model statistics after passing the back-end for initialization:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for initialization (1):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 1
 * 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.0001893/0.4024, allocations: 179.7 kB / 0.541 GB, free: 15.73 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.228e-05/0.4025, allocations: 17.5 kB / 0.541 GB, free: 15.72 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.145e-05/0.4025, allocations: 11.5 kB / 0.541 GB, free: 15.71 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.4025, allocations: 3.938 kB / 0.541 GB, free: 15.71 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.4025, allocations: 1.344 kB / 0.541 GB, free: 15.71 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.4025, allocations: 0 / 0.541 GB, free: 15.71 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001924/0.4027, allocations: 166.6 kB / 0.5412 GB, free: 15.52 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.72e-07/0.4027, allocations: 0 / 0.5412 GB, free: 15.52 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.4027, allocations: 5.062 kB / 0.5412 GB, free: 15.52 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.223e-06/0.4027, allocations: 0 / 0.5412 GB, free: 15.52 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/0.4027, allocations: 5.25 kB / 0.5412 GB, free: 15.52 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.4027, allocations: 0 / 0.5412 GB, free: 15.52 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4027, allocations: 1.062 kB / 0.5412 GB, free: 15.52 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000618/0.4033, allocations: 390.3 kB / 0.5416 GB, free: 15.3 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.814e-05/0.4034, allocations: 16.22 kB / 0.5416 GB, free: 15.29 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.063e-05/0.4034, allocations: 7.516 kB / 0.5416 GB, free: 15.29 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.126e-05/0.4034, allocations: 8.438 kB / 0.5416 GB, free: 15.28 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.407e-05/0.4035, allocations: 5.469 kB / 0.5416 GB, free: 15.28 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.855e-05/0.4035, allocations: 9.906 kB / 0.5416 GB, free: 15.27 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 9.205e-05/0.4036, allocations: 102 kB / 0.5417 GB, free: 15.19 MB / 398.1 MB
Notification: Performance of sort global known variables: time 8e-08/0.4036, allocations: 1.5 kB / 0.5417 GB, free: 15.19 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.000567/0.4041, allocations: 130.1 kB / 0.5418 GB, free: 15.17 MB / 398.1 MB
Notification: Model statistics after passing the back-end for simulation:
 * Number of independent subsystems: 1
 * Number of states: 0 ()
 * Number of discrete variables: 0 ()
 * Number of discrete states: 0 ()
 * Number of clocked states: 0 ()
 * Top-level inputs: 0
Notification: Strong component statistics for simulation (1):
 * Single equations (assignments): 0
 * Array equations: 0
 * Algorithm blocks: 1
 * 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 Backend phase and start with SimCode phase: time 0.000521/0.4047, allocations: 193.8 kB / 0.542 GB, free: 15.04 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0005544/0.4052, allocations: 321.4 kB / 0.5423 GB, free: 14.88 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.4052, allocations: 0 / 0.5423 GB, free: 14.88 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.000281/0.4055, allocations: 207.7 kB / 0.5425 GB, free: 14.75 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002515/0.4057, allocations: 25.75 kB / 0.5426 GB, free: 14.74 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007294/0.4065, allocations: 396.8 kB / 0.5429 GB, free: 14.49 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004232/0.4069, allocations: 0.723 MB / 0.5436 GB, free: 13.77 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 1.806e-05/0.4069, allocations: 1.594 kB / 0.5436 GB, free: 13.77 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.641e-05/0.4069, allocations: 8.719 kB / 0.5437 GB, free: 13.77 MB / 398.1 MB
Notification: Performance of SimCode: time 3.21e-07/0.4069, allocations: 0 / 0.5437 GB, free: 13.77 MB / 398.1 MB
[CodegenCFunctions.tpl:5647:13-5647:13:writable] Error: Template error: This should have been handled in indexed assign and should not have gotten here. eigenvalues[:,2].
"
[Timeout remaining time 660]
[Calling sys.exit(0), Time elapsed: 3.1673460584133863]
Failed to read output from testmodel.py, exit status != 0:
0.4259455827996135 0.441485852 0.039176135
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f59921d17b0>