Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3.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.00178/0.00178, 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.001904/0.001904, 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.485/1.485, allocations: 225.6 MB / 252.5 MB, free: 12.99 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.1845/0.1845, allocations: 38.54 MB / 346.3 MB, free: 2.066 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_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3")
translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002074/0.002074, allocations: 71.88 kB / 484.5 MB, free: 11.12 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3774/0.3794, allocations: 61.3 MB / 0.533 GB, free: 5.559 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat3): time 0.003094/0.3825, allocations: 2.193 MB / 0.5352 GB, free: 3.992 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002596/0.3851, allocations: 2.08 MB / 0.5372 GB, free: 2.52 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.047e-05/0.3852, allocations: 1.281 kB / 0.5372 GB, free: 2.52 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001424/0.3853, allocations: 9.141 kB / 0.5372 GB, free: 2.512 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 8.701e-05/0.3854, allocations: 31.86 kB / 0.5373 GB, free: 2.488 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002092/0.3875, allocations: 0.9847 MB / 0.5382 GB, free: 1.848 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001246/0.3876, allocations: 75.44 kB / 0.5383 GB, free: 1.809 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 3.695e-05/0.3877, allocations: 2.938 kB / 0.5383 GB, free: 1.809 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 7.596e-05/0.3877, allocations: 34.97 kB / 0.5383 GB, free: 1.789 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 7.469e-05/0.3878, allocations: 59.17 kB / 0.5384 GB, free: 1.754 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.765e-05/0.3878, allocations: 2.75 kB / 0.5384 GB, free: 1.754 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.003/0.3908, allocations: 2.217 MB / 0.5406 GB, free: 228 kB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.539e-05/0.3909, allocations: 42.91 kB / 0.5406 GB, free: 208 kB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.402e-05/0.3909, allocations: 56.17 kB / 0.5406 GB, free: 164 kB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001916/0.3929, allocations: 1.421 MB / 0.542 GB, free: 15.3 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.968e-06/0.3929, allocations: 4 kB / 0.542 GB, free: 15.3 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.242e-06/0.3929, allocations: 1.406 kB / 0.542 GB, free: 15.3 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 7.414e-06/0.3929, allocations: 0 / 0.542 GB, free: 15.3 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: 40
 * Number of variables: 40
Notification: Performance of Generate backend data structure: time 0.0007962/0.3937, allocations: 0.5433 MB / 0.5426 GB, free: 14.82 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.317e-05/0.3937, allocations: 8.562 kB / 0.5426 GB, free: 14.82 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.424e-05/0.3938, allocations: 23.73 kB / 0.5426 GB, free: 14.8 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.394, allocations: 153 kB / 0.5427 GB, free: 14.64 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.168e-06/0.394, allocations: 0 / 0.5427 GB, free: 14.64 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.296e-05/0.394, allocations: 1.5 kB / 0.5428 GB, free: 14.64 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002112/0.3942, allocations: 143.2 kB / 0.5429 GB, free: 14.57 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.3942, allocations: 0 / 0.5429 GB, free: 14.57 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.313e-05/0.3942, allocations: 5.266 kB / 0.5429 GB, free: 14.56 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.3942, allocations: 0 / 0.5429 GB, free: 14.56 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001165/0.3943, allocations: 95.8 kB / 0.543 GB, free: 14.53 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002151/0.3945, allocations: 190.3 kB / 0.5432 GB, free: 14.33 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001488/0.3947, allocations: 114.1 kB / 0.5433 GB, free: 14.27 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0001271/0.3948, allocations: 99.95 kB / 0.5434 GB, free: 14.23 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 7.694e-06/0.3948, allocations: 5.125 kB / 0.5434 GB, free: 14.23 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.3949, allocations: 35.62 kB / 0.5434 GB, free: 14.18 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=40): time 8.62e-07/0.3949, allocations: 0 / 0.5434 GB, free: 14.18 MB / 398.1 MB
Notification: Performance of matching and sorting (n=40): time 0.0006776/0.3955, allocations: 0.4888 MB / 0.5439 GB, free: 13.99 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 8.232e-05/0.3956, allocations: 108.7 kB / 0.544 GB, free: 13.89 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001756/0.3958, allocations: 168.1 kB / 0.5441 GB, free: 13.75 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.3958, allocations: 25.7 kB / 0.5442 GB, free: 13.72 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 7.073e-05/0.3959, allocations: 110.6 kB / 0.5443 GB, free: 13.61 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.396, allocations: 138.1 kB / 0.5444 GB, free: 13.49 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 6.281e-05/0.3961, allocations: 37.72 kB / 0.5444 GB, free: 13.46 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001695/0.3963, allocations: 338.7 kB / 0.5448 GB, free: 13.13 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001159/0.3964, allocations: 94.77 kB / 0.5449 GB, free: 13.1 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001106/0.3965, allocations: 99.42 kB / 0.545 GB, free: 13.07 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0004335/0.3969, allocations: 385.3 kB / 0.5453 GB, free: 12.89 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.3969, allocations: 0 / 0.5453 GB, free: 12.89 MB / 398.1 MB
Notification: Performance of matching and sorting (n=40) (initialization): time 0.0004111/0.3973, allocations: 339.4 kB / 0.5456 GB, free: 12.73 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 9.071e-05/0.3974, allocations: 88.58 kB / 0.5457 GB, free: 12.68 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.498e-06/0.3974, allocations: 0 / 0.5457 GB, free: 12.68 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.3974, allocations: 0 / 0.5457 GB, free: 12.68 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.92e-07/0.3974, allocations: 0 / 0.5457 GB, free: 12.68 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.975e-06/0.3974, allocations: 5.359 kB / 0.5457 GB, free: 12.67 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.388e-05/0.3975, allocations: 19.25 kB / 0.5458 GB, free: 12.66 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.106e-05/0.3976, allocations: 8.875 kB / 0.5458 GB, free: 12.66 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.0002296/0.3978, allocations: 234.1 kB / 0.546 GB, free: 12.48 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 3.971e-05/0.3978, allocations: 25.77 kB / 0.546 GB, free: 12.46 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.926e-05/0.3978, allocations: 19.34 kB / 0.546 GB, free: 12.45 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.3978, allocations: 0 / 0.546 GB, free: 12.45 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.3978, allocations: 1.125 kB / 0.546 GB, free: 12.45 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.853e-06/0.3979, allocations: 0 / 0.546 GB, free: 12.45 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002003/0.3981, allocations: 216.6 kB / 0.5462 GB, free: 12.23 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3981, allocations: 3.938 kB / 0.5462 GB, free: 12.23 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.21e-07/0.3981, allocations: 1.094 kB / 0.5462 GB, free: 12.23 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.312e-06/0.3981, allocations: 0 / 0.5462 GB, free: 12.23 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.198e-05/0.3981, allocations: 11.66 kB / 0.5463 GB, free: 12.22 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.3981, allocations: 0 / 0.5463 GB, free: 12.22 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.796e-06/0.3981, allocations: 3.984 kB / 0.5463 GB, free: 12.22 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001058/0.3991, allocations: 0.9222 MB / 0.5472 GB, free: 11.83 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 2.991e-05/0.3992, allocations: 22.61 kB / 0.5472 GB, free: 11.82 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.524e-05/0.3992, allocations: 6.656 kB / 0.5472 GB, free: 11.82 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.315e-05/0.3993, allocations: 5.812 kB / 0.5472 GB, free: 11.82 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 3.433e-05/0.3993, allocations: 10.55 kB / 0.5472 GB, free: 11.81 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.439e-05/0.3993, allocations: 17.3 kB / 0.5472 GB, free: 11.8 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 9.753e-05/0.3994, allocations: 127.2 kB / 0.5473 GB, free: 11.7 MB / 398.1 MB
Notification: Performance of sort global known variables: time 1e-07/0.3994, allocations: 4.031 kB / 0.5473 GB, free: 11.7 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.001048/0.4005, allocations: 357 kB / 0.5477 GB, free: 11.64 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.0009336/0.4014, allocations: 369.7 kB / 0.548 GB, free: 11.46 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0009395/0.4023, allocations: 0.8351 MB / 0.5489 GB, free: 11.13 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.4023, allocations: 0 / 0.5489 GB, free: 11.13 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0006078/0.4029, allocations: 0.6054 MB / 0.5494 GB, free: 10.89 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002379/0.4032, allocations: 23.36 kB / 0.5495 GB, free: 10.88 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009974/0.4042, allocations: 0.6742 MB / 0.5501 GB, free: 10.25 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004406/0.4046, allocations: 0.7556 MB / 0.5509 GB, free: 9.465 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 1.043e-05/0.4046, allocations: 0 / 0.5509 GB, free: 9.465 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.726e-05/0.4046, allocations: 11.5 kB / 0.5509 GB, free: 9.453 MB / 398.1 MB
Notification: Performance of SimCode: time 3.1e-07/0.4046, allocations: 0 / 0.5509 GB, free: 9.453 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.1088213929906487]
Failed to read output from testmodel.py, exit status != 0:
0.42824139166623354 0.44210227799999996 0.046149191000000006
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f5e000617b0>