Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1.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.00127/0.00127, 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.001332/0.001332, allocations: 187.8 kB / 23.71 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.434/1.434, 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.1786/0.1786, allocations: 38.53 MB / 346.3 MB, free: 2.055 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_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1")
translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001991/0.001991, allocations: 68.11 kB / 484.5 MB, free: 11.11 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4057/0.4077, allocations: 61.3 MB / 0.533 GB, free: 5.555 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat1): time 0.004002/0.4117, allocations: 2.188 MB / 0.5352 GB, free: 3.996 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002961/0.4147, allocations: 2.07 MB / 0.5372 GB, free: 2.527 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 6.312e-05/0.4147, allocations: 1.375 kB / 0.5372 GB, free: 2.527 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001735/0.4149, allocations: 13.28 kB / 0.5372 GB, free: 2.516 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.415, allocations: 30.72 kB / 0.5372 GB, free: 2.492 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002687/0.4177, allocations: 0.9881 MB / 0.5382 GB, free: 1.852 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001624/0.4179, allocations: 70.5 kB / 0.5383 GB, free: 1.816 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 5.816e-05/0.4179, allocations: 6.719 kB / 0.5383 GB, free: 1.812 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 9.907e-05/0.418, allocations: 44.14 kB / 0.5383 GB, free: 1.785 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.57e-05/0.4181, allocations: 39.08 kB / 0.5384 GB, free: 1.766 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.468e-05/0.4181, allocations: 1.25 kB / 0.5384 GB, free: 1.766 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003075/0.4212, allocations: 2.22 MB / 0.5405 GB, free: 236 kB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.478e-05/0.4212, allocations: 21.2 kB / 0.5406 GB, free: 224 kB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 4.821e-05/0.4213, allocations: 32.23 kB / 0.5406 GB, free: 200 kB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.002059/0.4233, allocations: 1.37 MB / 0.5419 GB, free: 15.37 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.4234, allocations: 0 / 0.5419 GB, free: 15.37 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.583e-06/0.4234, allocations: 0 / 0.5419 GB, free: 15.37 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 5.34e-06/0.4234, allocations: 1.281 kB / 0.5419 GB, free: 15.37 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: 12
 * Number of variables: 12
Notification: Performance of Generate backend data structure: time 0.0007867/0.4241, allocations: 456.9 kB / 0.5424 GB, free: 14.95 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/0.4242, allocations: 9.281 kB / 0.5424 GB, free: 14.95 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.522e-05/0.4242, allocations: 13.33 kB / 0.5424 GB, free: 14.94 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.00019/0.4244, allocations: 130.4 kB / 0.5425 GB, free: 14.8 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.033e-05/0.4244, allocations: 4 kB / 0.5425 GB, free: 14.79 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.493e-05/0.4245, allocations: 5.828 kB / 0.5425 GB, free: 14.79 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001606/0.4246, allocations: 64.48 kB / 0.5426 GB, free: 14.75 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.015e-06/0.4246, allocations: 3.938 kB / 0.5426 GB, free: 14.74 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.076e-05/0.4246, allocations: 1.312 kB / 0.5426 GB, free: 14.74 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.218e-06/0.4246, allocations: 0 / 0.5426 GB, free: 14.74 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.327e-05/0.4247, allocations: 31.17 kB / 0.5426 GB, free: 14.73 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001926/0.4249, allocations: 143 kB / 0.5427 GB, free: 14.56 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 8.992e-05/0.425, allocations: 53.5 kB / 0.5428 GB, free: 14.52 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 5.323e-05/0.425, allocations: 36.22 kB / 0.5428 GB, free: 14.51 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.736e-06/0.4251, allocations: 0 / 0.5428 GB, free: 14.51 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.029e-05/0.4251, allocations: 31.53 kB / 0.5429 GB, free: 14.47 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=12): time 8.02e-07/0.4251, allocations: 1.344 kB / 0.5429 GB, free: 14.47 MB / 398.1 MB
Notification: Performance of matching and sorting (n=12): time 0.0003541/0.4254, allocations: 200.1 kB / 0.5431 GB, free: 14.36 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.679e-05/0.4255, allocations: 88.8 kB / 0.5431 GB, free: 14.26 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.4256, allocations: 139 kB / 0.5433 GB, free: 14.14 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.366e-05/0.4257, allocations: 26.8 kB / 0.5433 GB, free: 14.11 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.936e-05/0.4257, allocations: 90.42 kB / 0.5434 GB, free: 14.02 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.045e-05/0.4258, allocations: 40.47 kB / 0.5434 GB, free: 13.98 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.584e-05/0.4258, allocations: 22.12 kB / 0.5434 GB, free: 13.96 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0002148/0.426, allocations: 326.4 kB / 0.5438 GB, free: 13.64 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.353e-05/0.4261, allocations: 30.52 kB / 0.5438 GB, free: 13.63 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 4.523e-05/0.4261, allocations: 34.75 kB / 0.5438 GB, free: 13.62 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001635/0.4263, allocations: 167.3 kB / 0.544 GB, free: 13.52 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/0.4263, allocations: 0 / 0.544 GB, free: 13.52 MB / 398.1 MB
Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001974/0.4265, allocations: 166.8 kB / 0.5441 GB, free: 13.41 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 4.98e-05/0.4266, allocations: 42.22 kB / 0.5442 GB, free: 13.38 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.4266, allocations: 3.938 kB / 0.5442 GB, free: 13.38 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.4266, allocations: 0 / 0.5442 GB, free: 13.38 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.4266, allocations: 2.625 kB / 0.5442 GB, free: 13.38 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.4266, allocations: 0 / 0.5442 GB, free: 13.38 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.688e-05/0.4266, allocations: 3.344 kB / 0.5442 GB, free: 13.38 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.559e-05/0.4267, allocations: 9.609 kB / 0.5442 GB, free: 13.37 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.0001477/0.4268, allocations: 168.3 kB / 0.5444 GB, free: 13.21 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.078e-05/0.4268, allocations: 10.52 kB / 0.5444 GB, free: 13.2 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.809e-05/0.4268, allocations: 7 kB / 0.5444 GB, free: 13.2 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.61e-07/0.4268, allocations: 0 / 0.5444 GB, free: 13.2 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.136e-06/0.4268, allocations: 0.9062 kB / 0.5444 GB, free: 13.2 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.294e-06/0.4268, allocations: 0 / 0.5444 GB, free: 13.2 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001432/0.427, allocations: 162.8 kB / 0.5445 GB, free: 13.01 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.427, allocations: 0 / 0.5445 GB, free: 13.01 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.427, allocations: 0 / 0.5445 GB, free: 13.01 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.263e-06/0.427, allocations: 5.031 kB / 0.5445 GB, free: 13 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.648e-05/0.427, allocations: 15.22 kB / 0.5445 GB, free: 12.99 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.427, allocations: 0 / 0.5445 GB, free: 12.99 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.427, allocations: 1.031 kB / 0.5445 GB, free: 12.99 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003678/0.4274, allocations: 292.3 kB / 0.5448 GB, free: 12.82 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.567e-05/0.4274, allocations: 7.609 kB / 0.5448 GB, free: 12.82 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.4274, allocations: 2.719 kB / 0.5448 GB, free: 12.82 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.847e-05/0.4275, allocations: 2.531 kB / 0.5448 GB, free: 12.82 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.295e-05/0.4275, allocations: 9.359 kB / 0.5448 GB, free: 12.81 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.367e-06/0.4275, allocations: 3.906 kB / 0.5449 GB, free: 12.81 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 8.394e-05/0.4276, allocations: 108.5 kB / 0.545 GB, free: 12.72 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4276, allocations: 0 / 0.545 GB, free: 12.72 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.00106/0.4286, allocations: 325.5 kB / 0.5453 GB, free: 12.66 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.0009582/0.4296, allocations: 370.1 kB / 0.5456 GB, free: 12.48 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003356/0.4299, allocations: 240.4 kB / 0.5458 GB, free: 12.35 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.4299, allocations: 0 / 0.5458 GB, free: 12.35 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001824/0.4301, allocations: 162.8 kB / 0.546 GB, free: 12.25 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002484/0.4304, allocations: 5.5 kB / 0.546 GB, free: 12.25 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005599/0.4309, allocations: 302.7 kB / 0.5463 GB, free: 12.06 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004511/0.4314, allocations: 0.7106 MB / 0.547 GB, free: 11.34 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 1.376e-05/0.4314, allocations: 5.297 kB / 0.547 GB, free: 11.34 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.51e-05/0.4314, allocations: 12.62 kB / 0.547 GB, free: 11.33 MB / 398.1 MB
Notification: Performance of SimCode: time 2.91e-07/0.4314, allocations: 0 / 0.547 GB, free: 11.33 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.013323255814612]
Failed to read output from testmodel.py, exit status != 0:
0.45474585331976414 0.46977661400000004 0.043197966000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7fdd0dd197b0>