Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2.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.001769/0.001769, 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.002097/0.002097, allocations: 189.6 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.446/1.446, allocations: 225.6 MB / 252.5 MB, free: 13.01 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.1798/0.1798, allocations: 38.54 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.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2")
translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.00241/0.00241, allocations: 71.88 kB / 484.5 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4015/0.4039, allocations: 61.29 MB / 0.533 GB, free: 5.785 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat2): time 0.003346/0.4073, allocations: 2.206 MB / 0.5352 GB, free: 4.207 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002753/0.41, allocations: 2.069 MB / 0.5372 GB, free: 2.73 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.1e-05/0.4101, allocations: 0 / 0.5372 GB, free: 2.73 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001649/0.4102, allocations: 18.59 kB / 0.5372 GB, free: 2.715 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.906e-05/0.4103, allocations: 30.72 kB / 0.5373 GB, free: 2.691 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002183/0.4125, allocations: 0.9759 MB / 0.5382 GB, free: 2.062 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001311/0.4126, allocations: 71.11 kB / 0.5383 GB, free: 2.027 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.864e-05/0.4127, allocations: 7.516 kB / 0.5383 GB, free: 2.023 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.998e-05/0.4128, allocations: 38.84 kB / 0.5383 GB, free: 2 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.311e-05/0.4128, allocations: 45.12 kB / 0.5384 GB, free: 1.977 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.556e-05/0.4129, allocations: 2.219 kB / 0.5384 GB, free: 1.977 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.00287/0.4157, allocations: 2.22 MB / 0.5405 GB, free: 452 kB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 6.564e-05/0.4158, allocations: 29.11 kB / 0.5406 GB, free: 440 kB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.355e-05/0.4159, allocations: 45.55 kB / 0.5406 GB, free: 404 kB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001959/0.4178, allocations: 1.394 MB / 0.542 GB, free: 15.55 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.4178, allocations: 0 / 0.542 GB, free: 15.55 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.353e-06/0.4178, allocations: 0 / 0.542 GB, free: 15.55 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.47e-06/0.4178, allocations: 1.5 kB / 0.542 GB, free: 15.55 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: 24
 * Number of variables: 24
Notification: Performance of Generate backend data structure: time 0.0008335/0.4187, allocations: 0.4931 MB / 0.5425 GB, free: 15.1 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.4187, allocations: 9.344 kB / 0.5425 GB, free: 15.1 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.263e-05/0.4188, allocations: 13.91 kB / 0.5425 GB, free: 15.09 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002095/0.419, allocations: 149.6 kB / 0.5426 GB, free: 14.93 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.058e-05/0.419, allocations: 5.469 kB / 0.5426 GB, free: 14.93 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.419, allocations: 0 / 0.5426 GB, free: 14.93 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001879/0.4192, allocations: 99.09 kB / 0.5427 GB, free: 14.87 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.356e-06/0.4192, allocations: 1.281 kB / 0.5427 GB, free: 14.87 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.142e-05/0.4192, allocations: 0 / 0.5427 GB, free: 14.87 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.079e-06/0.4192, allocations: 3.938 kB / 0.5427 GB, free: 14.87 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 9.266e-05/0.4193, allocations: 65.62 kB / 0.5428 GB, free: 14.84 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001957/0.4195, allocations: 160.6 kB / 0.5429 GB, free: 14.66 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001195/0.4196, allocations: 85.12 kB / 0.543 GB, free: 14.61 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 9.046e-05/0.4197, allocations: 64.34 kB / 0.5431 GB, free: 14.59 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.885e-06/0.4197, allocations: 1 kB / 0.5431 GB, free: 14.59 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.615e-05/0.4197, allocations: 35.69 kB / 0.5431 GB, free: 14.54 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=24): time 1.002e-06/0.4197, allocations: 0 / 0.5431 GB, free: 14.54 MB / 398.1 MB
Notification: Performance of matching and sorting (n=24): time 0.0005724/0.4203, allocations: 321.2 kB / 0.5434 GB, free: 14.4 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/0.4204, allocations: 95.03 kB / 0.5435 GB, free: 14.3 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001678/0.4206, allocations: 159 kB / 0.5437 GB, free: 14.18 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.4206, allocations: 25.7 kB / 0.5437 GB, free: 14.14 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.454e-05/0.4207, allocations: 101.2 kB / 0.5438 GB, free: 14.05 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001018/0.4208, allocations: 84.41 kB / 0.5439 GB, free: 13.97 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 5.013e-05/0.4208, allocations: 28.61 kB / 0.5439 GB, free: 13.95 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001604/0.421, allocations: 333.6 kB / 0.5442 GB, free: 13.62 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 7.861e-05/0.421, allocations: 55.61 kB / 0.5443 GB, free: 13.61 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 7.888e-05/0.4211, allocations: 60.94 kB / 0.5443 GB, free: 13.59 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0002684/0.4214, allocations: 257.9 kB / 0.5446 GB, free: 13.46 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.4214, allocations: 1.156 kB / 0.5446 GB, free: 13.46 MB / 398.1 MB
Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003031/0.4217, allocations: 240.8 kB / 0.5448 GB, free: 13.33 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 8.142e-05/0.4218, allocations: 64.97 kB / 0.5449 GB, free: 13.29 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.4218, allocations: 0 / 0.5449 GB, free: 13.29 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.4218, allocations: 0 / 0.5449 GB, free: 13.29 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.313e-06/0.4218, allocations: 1.125 kB / 0.5449 GB, free: 13.29 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.309e-06/0.4218, allocations: 0 / 0.5449 GB, free: 13.29 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.52e-05/0.4219, allocations: 13.61 kB / 0.5449 GB, free: 13.28 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.725e-05/0.4219, allocations: 5.125 kB / 0.5449 GB, free: 13.28 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.0001918/0.4221, allocations: 203.5 kB / 0.5451 GB, free: 13.1 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.26e-05/0.4221, allocations: 16.66 kB / 0.5451 GB, free: 13.09 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.306e-05/0.4221, allocations: 12.56 kB / 0.5451 GB, free: 13.08 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.4222, allocations: 1.156 kB / 0.5451 GB, free: 13.08 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.4222, allocations: 0 / 0.5451 GB, free: 13.08 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.996e-06/0.4222, allocations: 1.062 kB / 0.5451 GB, free: 13.08 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001833/0.4223, allocations: 186.1 kB / 0.5453 GB, free: 12.88 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.4223, allocations: 0 / 0.5453 GB, free: 12.88 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.4223, allocations: 5.094 kB / 0.5453 GB, free: 12.88 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.4223, allocations: 0 / 0.5453 GB, free: 12.88 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.98e-05/0.4224, allocations: 9.781 kB / 0.5453 GB, free: 12.87 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.4224, allocations: 3.938 kB / 0.5453 GB, free: 12.87 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.4224, allocations: 0 / 0.5453 GB, free: 12.87 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007761/0.4231, allocations: 0.5253 MB / 0.5458 GB, free: 12.61 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.466e-05/0.4232, allocations: 16.12 kB / 0.5458 GB, free: 12.6 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.975e-05/0.4232, allocations: 3.75 kB / 0.5458 GB, free: 12.6 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.316e-05/0.4232, allocations: 4.281 kB / 0.5458 GB, free: 12.6 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.836e-05/0.4233, allocations: 2.625 kB / 0.5458 GB, free: 12.6 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.682e-05/0.4233, allocations: 9.938 kB / 0.5459 GB, free: 12.6 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 9.592e-05/0.4234, allocations: 120 kB / 0.546 GB, free: 12.5 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.4234, allocations: 0 / 0.546 GB, free: 12.5 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.001189/0.4246, allocations: 334.7 kB / 0.5463 GB, free: 12.45 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.001099/0.4257, allocations: 375.8 kB / 0.5466 GB, free: 12.26 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0006358/0.4263, allocations: 471.4 kB / 0.5471 GB, free: 12.06 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.315e-06/0.4263, allocations: 0 / 0.5471 GB, free: 12.06 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0003759/0.4267, allocations: 318.1 kB / 0.5474 GB, free: 11.91 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002739/0.427, allocations: 16.19 kB / 0.5474 GB, free: 11.91 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008112/0.4278, allocations: 464.2 kB / 0.5479 GB, free: 11.65 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/0.4282, allocations: 0.731 MB / 0.5486 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 1.299e-05/0.4282, allocations: 0 / 0.5486 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.625e-05/0.4282, allocations: 8.594 kB / 0.5486 GB, free: 10.93 MB / 398.1 MB
Notification: Performance of SimCode: time 6.11e-07/0.4282, allocations: 1.094 kB / 0.5486 GB, free: 10.93 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.0770131666213274]
Failed to read output from testmodel.py, exit status != 0:
0.45222770143300295 0.46708353299999994 0.04598128599999994
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f29955b57b0>