Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat.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.001374/0.001374, allocations: 109.5 kB / 20.43 MB, free: 1.457 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.001585/0.001585, allocations: 181.6 kB / 23.71 MB, free: 4.695 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.467/1.467, allocations: 225.6 MB / 252.5 MB, free: 13 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.2315/0.2315, allocations: 38.54 MB / 346.3 MB, free: 2.035 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.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat")
translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="PowerSystems_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.002085/0.002085, allocations: 75.88 kB / 484.5 MB, free: 11.09 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3834/0.3855, allocations: 61.29 MB / 0.533 GB, free: 5.746 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003437/0.3889, allocations: 2.246 MB / 0.5352 GB, free: 4.141 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002616/0.3915, allocations: 2.077 MB / 0.5373 GB, free: 2.641 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 5.803e-05/0.3916, allocations: 0 / 0.5373 GB, free: 2.641 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001612/0.3917, allocations: 14.28 kB / 0.5373 GB, free: 2.629 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 0.0001091/0.3918, allocations: 40.55 kB / 0.5373 GB, free: 2.598 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.00228/0.3941, allocations: 0.9622 MB / 0.5383 GB, free: 1.977 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001424/0.3943, allocations: 94.36 kB / 0.5384 GB, free: 1.93 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.422e-05/0.3943, allocations: 14.58 kB / 0.5384 GB, free: 1.918 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 8.611e-05/0.3944, allocations: 39.08 kB / 0.5384 GB, free: 1.898 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.955e-05/0.3945, allocations: 63.23 kB / 0.5385 GB, free: 1.863 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.514e-05/0.3945, allocations: 1.375 kB / 0.5385 GB, free: 1.863 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002665/0.3972, allocations: 2.169 MB / 0.5406 GB, free: 376 kB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.385e-05/0.3972, allocations: 31.91 kB / 0.5406 GB, free: 360 kB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 6.26e-05/0.3973, allocations: 41.78 kB / 0.5407 GB, free: 332 kB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001648/0.3989, allocations: 1.368 MB / 0.542 GB, free: 15.5 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.3989, allocations: 1.188 kB / 0.542 GB, free: 15.5 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.813e-06/0.3989, allocations: 0 / 0.542 GB, free: 15.5 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.061e-06/0.3989, allocations: 0 / 0.542 GB, free: 15.5 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: 14
 * Number of variables: 14
Notification: Performance of Generate backend data structure: time 0.0007101/0.3996, allocations: 480.1 kB / 0.5424 GB, free: 15.06 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.627e-05/0.3997, allocations: 8.969 kB / 0.5425 GB, free: 15.06 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 5.062e-05/0.3997, allocations: 18.16 kB / 0.5425 GB, free: 15.05 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002035/0.3999, allocations: 142 kB / 0.5426 GB, free: 14.9 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.321e-05/0.3999, allocations: 5.406 kB / 0.5426 GB, free: 14.89 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.294e-05/0.4, allocations: 1.156 kB / 0.5426 GB, free: 14.89 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/0.4001, allocations: 80.47 kB / 0.5427 GB, free: 14.84 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.4001, allocations: 0 / 0.5427 GB, free: 14.84 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.4002, allocations: 0 / 0.5427 GB, free: 14.84 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.4002, allocations: 5.469 kB / 0.5427 GB, free: 14.84 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.954e-05/0.4002, allocations: 38.41 kB / 0.5427 GB, free: 14.82 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001864/0.4004, allocations: 149.8 kB / 0.5429 GB, free: 14.65 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 0.0001075/0.4005, allocations: 62.45 kB / 0.5429 GB, free: 14.61 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.505e-05/0.4006, allocations: 43.11 kB / 0.543 GB, free: 14.59 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 8.115e-06/0.4006, allocations: 0 / 0.543 GB, free: 14.59 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.242e-05/0.4006, allocations: 35.62 kB / 0.543 GB, free: 14.54 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=14): time 8.12e-07/0.4006, allocations: 0 / 0.543 GB, free: 14.54 MB / 398.1 MB
Notification: Performance of matching and sorting (n=14): time 0.0003702/0.401, allocations: 224.7 kB / 0.5432 GB, free: 14.43 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 6.821e-05/0.4011, allocations: 94.11 kB / 0.5433 GB, free: 14.33 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001357/0.4012, allocations: 154.2 kB / 0.5435 GB, free: 14.2 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.956e-05/0.4012, allocations: 25.7 kB / 0.5435 GB, free: 14.17 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 5.993e-05/0.4013, allocations: 97.72 kB / 0.5436 GB, free: 14.08 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 5.778e-05/0.4013, allocations: 50.5 kB / 0.5436 GB, free: 14.04 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.487e-05/0.4014, allocations: 23.17 kB / 0.5437 GB, free: 14.01 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.000137/0.4015, allocations: 322.4 kB / 0.544 GB, free: 13.69 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 6.815e-05/0.4016, allocations: 38.67 kB / 0.544 GB, free: 13.68 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 6.111e-05/0.4017, allocations: 47.19 kB / 0.544 GB, free: 13.66 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001885/0.4018, allocations: 173.2 kB / 0.5442 GB, free: 13.55 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/0.4018, allocations: 3.938 kB / 0.5442 GB, free: 13.55 MB / 398.1 MB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002332/0.4021, allocations: 182.6 kB / 0.5444 GB, free: 13.44 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.097e-05/0.4021, allocations: 44.47 kB / 0.5444 GB, free: 13.41 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.679e-06/0.4021, allocations: 0 / 0.5444 GB, free: 13.41 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.407e-05/0.4021, allocations: 0 / 0.5444 GB, free: 13.41 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.4021, allocations: 4.875 kB / 0.5444 GB, free: 13.4 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.898e-06/0.4022, allocations: 0 / 0.5444 GB, free: 13.4 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.634e-05/0.4022, allocations: 3.469 kB / 0.5444 GB, free: 13.4 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.442e-05/0.4022, allocations: 13.2 kB / 0.5444 GB, free: 13.39 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.0001423/0.4024, allocations: 168.9 kB / 0.5446 GB, free: 13.23 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 2.687e-05/0.4024, allocations: 15.03 kB / 0.5446 GB, free: 13.23 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.722e-05/0.4024, allocations: 15.98 kB / 0.5446 GB, free: 13.21 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-06/0.4024, allocations: 1.062 kB / 0.5446 GB, free: 13.21 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 3.517e-06/0.4024, allocations: 3.938 kB / 0.5446 GB, free: 13.21 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.644e-06/0.4024, allocations: 1 kB / 0.5446 GB, free: 13.21 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001437/0.4026, allocations: 169.1 kB / 0.5448 GB, free: 13.02 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.92e-07/0.4026, allocations: 0 / 0.5448 GB, free: 13.02 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.4026, allocations: 5.219 kB / 0.5448 GB, free: 13.01 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.4026, allocations: 0 / 0.5448 GB, free: 13.01 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.349e-05/0.4026, allocations: 4.562 kB / 0.5448 GB, free: 13.01 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.113e-06/0.4026, allocations: 0 / 0.5448 GB, free: 13.01 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.4026, allocations: 0 / 0.5448 GB, free: 13.01 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003767/0.403, allocations: 303.7 kB / 0.5451 GB, free: 12.83 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.916e-05/0.403, allocations: 15.44 kB / 0.5451 GB, free: 12.82 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.36e-05/0.403, allocations: 2.281 kB / 0.5451 GB, free: 12.82 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.905e-05/0.4031, allocations: 6.344 kB / 0.5451 GB, free: 12.82 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 1.96e-05/0.4031, allocations: 2.25 kB / 0.5451 GB, free: 12.82 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.213e-05/0.4031, allocations: 5.625 kB / 0.5451 GB, free: 12.82 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 8.951e-05/0.4032, allocations: 118.2 kB / 0.5452 GB, free: 12.72 MB / 398.1 MB
Notification: Performance of sort global known variables: time 7e-08/0.4032, allocations: 0 / 0.5452 GB, free: 12.72 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0009078/0.4041, allocations: 329.4 kB / 0.5456 GB, free: 12.67 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.0009245/0.405, allocations: 385.5 kB / 0.5459 GB, free: 12.46 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.0003446/0.4054, allocations: 237 kB / 0.5462 GB, free: 12.33 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.144e-06/0.4054, allocations: 1.219 kB / 0.5462 GB, free: 12.33 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001811/0.4055, allocations: 161.4 kB / 0.5463 GB, free: 12.23 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002858/0.4058, allocations: 17.34 kB / 0.5463 GB, free: 12.22 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006049/0.4064, allocations: 353 kB / 0.5467 GB, free: 11.99 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.4068, allocations: 0.7113 MB / 0.5474 GB, free: 11.28 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 1.517e-05/0.4068, allocations: 2.125 kB / 0.5474 GB, free: 11.28 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.523e-05/0.4068, allocations: 8.5 kB / 0.5474 GB, free: 11.27 MB / 398.1 MB
Notification: Performance of SimCode: time 3.4e-07/0.4068, allocations: 1.125 kB / 0.5474 GB, free: 11.27 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.0707802046090364]
Failed to read output from testmodel.py, exit status != 0:
0.4288952499628067 0.44187027300000004 0.039976786
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7ff49b4517b0>