Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.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.001334/0.001334, allocations: 113.5 kB / 20.43 MB, free: 1.301 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.001671/0.001671, allocations: 181.4 kB / 23.72 MB, free: 4.551 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.487/1.487, 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.1858/0.1858, allocations: 38.54 MB / 346.3 MB, free: 2.129 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.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0")
translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002087, allocations: 63.89 kB / 484.6 MB, free: 11.14 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4493/0.4513, allocations: 61.29 MB / 0.5331 GB, free: 5.566 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003494/0.4548, allocations: 2.196 MB / 0.5352 GB, free: 4 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002854/0.4577, allocations: 2.076 MB / 0.5372 GB, free: 2.547 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.9e-05/0.4578, allocations: 0 / 0.5372 GB, free: 2.547 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0002151/0.458, allocations: 10.67 kB / 0.5372 GB, free: 2.539 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 8.684e-05/0.4581, allocations: 34.7 kB / 0.5373 GB, free: 2.512 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002725/0.4608, allocations: 0.988 MB / 0.5382 GB, free: 1.871 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001816/0.461, allocations: 76.06 kB / 0.5383 GB, free: 1.832 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.997e-05/0.461, allocations: 2.156 kB / 0.5383 GB, free: 1.832 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001144/0.4611, allocations: 37.62 kB / 0.5383 GB, free: 1.812 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.4612, allocations: 42.25 kB / 0.5384 GB, free: 1.789 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.4613, allocations: 5.094 kB / 0.5384 GB, free: 1.785 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003724/0.465, allocations: 2.227 MB / 0.5406 GB, free: 248 kB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.414e-05/0.465, allocations: 6.719 kB / 0.5406 GB, free: 248 kB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.859e-05/0.4651, allocations: 26.02 kB / 0.5406 GB, free: 228 kB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002151/0.4672, allocations: 1.351 MB / 0.5419 GB, free: 15.41 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.651e-06/0.4672, allocations: 0 / 0.5419 GB, free: 15.41 MB / 398.1 MB
Notification: Performance of FrontEnd: time 3.737e-06/0.4672, allocations: 0.9688 kB / 0.5419 GB, free: 15.41 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 8.376e-06/0.4672, allocations: 3.938 kB / 0.5419 GB, free: 15.41 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: 8
 * Number of variables: 8
Notification: Performance of Generate backend data structure: time 0.0008611/0.4681, allocations: 435.9 kB / 0.5423 GB, free: 15 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 5.104e-05/0.4682, allocations: 9.469 kB / 0.5423 GB, free: 15 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 6.733e-05/0.4682, allocations: 15.81 kB / 0.5424 GB, free: 14.99 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002122/0.4684, allocations: 129.3 kB / 0.5425 GB, free: 14.85 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.478e-05/0.4685, allocations: 5.062 kB / 0.5425 GB, free: 14.84 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.177e-05/0.4685, allocations: 1.125 kB / 0.5425 GB, free: 14.84 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.4686, allocations: 60.7 kB / 0.5425 GB, free: 14.8 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 1.024e-05/0.4687, allocations: 0 / 0.5425 GB, free: 14.8 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.898e-06/0.4687, allocations: 0 / 0.5425 GB, free: 14.8 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.538e-06/0.4687, allocations: 1.188 kB / 0.5425 GB, free: 14.8 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.002e-05/0.4687, allocations: 23.98 kB / 0.5426 GB, free: 14.79 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001925/0.4689, allocations: 144.6 kB / 0.5427 GB, free: 14.61 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001047/0.469, allocations: 39.25 kB / 0.5427 GB, free: 14.58 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.587e-05/0.4691, allocations: 28.03 kB / 0.5428 GB, free: 14.57 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.048e-05/0.4691, allocations: 0 / 0.5428 GB, free: 14.57 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.4691, allocations: 35.56 kB / 0.5428 GB, free: 14.52 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=8): time 7.92e-07/0.4691, allocations: 1.25 kB / 0.5428 GB, free: 14.52 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8): time 0.0003365/0.4695, allocations: 154 kB / 0.543 GB, free: 14.43 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.837e-05/0.4696, allocations: 85.92 kB / 0.543 GB, free: 14.33 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.4697, allocations: 126.2 kB / 0.5432 GB, free: 14.22 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.352e-05/0.4697, allocations: 27.08 kB / 0.5432 GB, free: 14.19 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.922e-05/0.4698, allocations: 86.55 kB / 0.5433 GB, free: 14.1 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.799e-05/0.4699, allocations: 31.55 kB / 0.5433 GB, free: 14.07 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.4699, allocations: 15.88 kB / 0.5433 GB, free: 14.06 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001809/0.4701, allocations: 325.1 kB / 0.5436 GB, free: 13.73 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.016e-05/0.4701, allocations: 24.02 kB / 0.5436 GB, free: 13.73 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 3.874e-05/0.4702, allocations: 28.03 kB / 0.5437 GB, free: 13.71 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001531/0.4703, allocations: 127 kB / 0.5438 GB, free: 13.62 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.4703, allocations: 0 / 0.5438 GB, free: 13.62 MB / 398.1 MB
Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001716/0.4705, allocations: 127.9 kB / 0.5439 GB, free: 13.54 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.577e-05/0.4706, allocations: 44.66 kB / 0.544 GB, free: 13.5 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.51e-06/0.4706, allocations: 1.156 kB / 0.544 GB, free: 13.5 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.678e-05/0.4706, allocations: 0 / 0.544 GB, free: 13.5 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.31e-07/0.4706, allocations: 0 / 0.544 GB, free: 13.5 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.4706, allocations: 1.281 kB / 0.544 GB, free: 13.5 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.179e-05/0.4706, allocations: 5.438 kB / 0.544 GB, free: 13.5 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.301e-05/0.4707, allocations: 8.156 kB / 0.544 GB, free: 13.49 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.0001635/0.4708, allocations: 157.3 kB / 0.5441 GB, free: 13.34 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.105e-05/0.4708, allocations: 8.047 kB / 0.5441 GB, free: 13.33 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.021e-05/0.4709, allocations: 10.91 kB / 0.5441 GB, free: 13.32 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.192e-06/0.4709, allocations: 0 / 0.5441 GB, free: 13.32 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.4709, allocations: 1.5 kB / 0.5441 GB, free: 13.32 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.4709, allocations: 7.875 kB / 0.5441 GB, free: 13.31 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001488/0.471, allocations: 142.1 kB / 0.5443 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.183e-06/0.471, allocations: 1.219 kB / 0.5443 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.471, allocations: 4 kB / 0.5443 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.013e-06/0.471, allocations: 1.188 kB / 0.5443 GB, free: 13.14 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.675e-05/0.471, allocations: 6.938 kB / 0.5443 GB, free: 13.13 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.471, allocations: 0 / 0.5443 GB, free: 13.13 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.471, allocations: 0 / 0.5443 GB, free: 13.13 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.4713, allocations: 227.7 kB / 0.5445 GB, free: 12.98 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.379e-05/0.4714, allocations: 6.203 kB / 0.5445 GB, free: 12.98 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.207e-05/0.4714, allocations: 2.375 kB / 0.5445 GB, free: 12.98 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.448e-05/0.4714, allocations: 5.156 kB / 0.5445 GB, free: 12.97 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.191e-05/0.4714, allocations: 6.125 kB / 0.5445 GB, free: 12.97 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.033e-05/0.4714, allocations: 3.219 kB / 0.5445 GB, free: 12.97 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 9.157e-05/0.4715, allocations: 98.52 kB / 0.5446 GB, free: 12.88 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4715, allocations: 0 / 0.5446 GB, free: 12.88 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.001109/0.4726, allocations: 326.6 kB / 0.5449 GB, free: 12.82 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.001003/0.4736, allocations: 377.5 kB / 0.5453 GB, free: 12.62 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0002691/0.4739, allocations: 169.2 kB / 0.5455 GB, free: 12.53 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.514e-06/0.4739, allocations: 0 / 0.5455 GB, free: 12.53 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001408/0.474, allocations: 120.6 kB / 0.5456 GB, free: 12.45 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.4743, allocations: 12.66 kB / 0.5456 GB, free: 12.44 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000486/0.4748, allocations: 244.6 kB / 0.5458 GB, free: 12.27 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003695/0.4752, allocations: 0.6925 MB / 0.5465 GB, free: 11.56 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 1.122e-05/0.4752, allocations: 1.094 kB / 0.5465 GB, free: 11.56 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.607e-05/0.4752, allocations: 8.531 kB / 0.5465 GB, free: 11.55 MB / 398.1 MB
Notification: Performance of SimCode: time 2.81e-07/0.4752, allocations: 1 kB / 0.5465 GB, free: 11.55 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.18818031065166]
Failed to read output from testmodel.py, exit status != 0:
0.5002703098580241 0.5146558729999999 0.04418082
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fcd330957b0>