Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_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.001927/0.001927, 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.002672/0.002672, allocations: 187.8 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.541/1.541, 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-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.1846/0.1846, allocations: 38.54 MB / 346.3 MB, free: 2.117 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.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat")
translateModel(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|r_rd.1.|r_rd.2.|r_rq.1.|r_rq.2.|xm_d.1.|xm_d.2.|xm_d.3.|xm_q.1.|xm_q.2.|xm_q.3.|xsig_rd.1.|xsig_rd.2.|xsig_rq.1.|xsig_rq.2.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat") [Timeout 660]
"Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 67.88 kB / 484.5 MB, free: 11.13 MB / 350.1 MB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.3561/0.3581, allocations: 61.29 MB / 0.533 GB, free: 5.566 MB / 382.1 MB
Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.EqCircFromTransDat): time 0.003458/0.3616, allocations: 2.245 MB / 0.5352 GB, free: 3.961 MB / 382.1 MB
Notification: Performance of NFInst.instExpressions: time 0.002778/0.3643, allocations: 2.069 MB / 0.5373 GB, free: 2.504 MB / 382.1 MB
Notification: Performance of NFInst.updateImplicitVariability: time 4.95e-05/0.3644, allocations: 1.375 kB / 0.5373 GB, free: 2.504 MB / 382.1 MB
Notification: Performance of NFTyping.typeComponents: time 0.0001158/0.3645, allocations: 21.22 kB / 0.5373 GB, free: 2.484 MB / 382.1 MB
Notification: Performance of NFTyping.typeBindings: time 9.307e-05/0.3646, allocations: 37.44 kB / 0.5373 GB, free: 2.457 MB / 382.1 MB
Notification: Performance of NFTyping.typeClassSections: time 0.002093/0.3667, allocations: 0.9657 MB / 0.5383 GB, free: 1.832 MB / 382.1 MB
Notification: Performance of NFFlatten.flatten: time 0.0001499/0.3668, allocations: 98.73 kB / 0.5384 GB, free: 1.781 MB / 382.1 MB
Notification: Performance of NFFlatten.resolveConnections: time 4.791e-05/0.3669, allocations: 10.38 kB / 0.5384 GB, free: 1.773 MB / 382.1 MB
Notification: Performance of NFEvalConstants.evaluate: time 8.336e-05/0.367, allocations: 35.59 kB / 0.5384 GB, free: 1.758 MB / 382.1 MB
Notification: Performance of NFSimplifyModel.simplify: time 8.999e-05/0.3671, allocations: 66.78 kB / 0.5385 GB, free: 1.719 MB / 382.1 MB
Notification: Performance of NFPackage.collectConstants: time 1.545e-05/0.3671, allocations: 2.969 kB / 0.5385 GB, free: 1.719 MB / 382.1 MB
Notification: Performance of NFFlatten.collectFunctions: time 0.002771/0.3698, allocations: 2.165 MB / 0.5406 GB, free: 232 kB / 382.1 MB
Notification: Performance of NFScalarize.scalarize: time 5.403e-05/0.3699, allocations: 31.06 kB / 0.5406 GB, free: 216 kB / 382.1 MB
Notification: Performance of NFVerifyModel.verify: time 5.371e-05/0.37, allocations: 42.61 kB / 0.5407 GB, free: 188 kB / 382.1 MB
Notification: Performance of NFConvertDAE.convert: time 0.001739/0.3717, allocations: 1.367 MB / 0.542 GB, free: 15.36 MB / 398.1 MB
Notification: Performance of FrontEnd - DAE generated: time 3.166e-06/0.3717, allocations: 0 / 0.542 GB, free: 15.36 MB / 398.1 MB
Notification: Performance of FrontEnd: time 1.252e-06/0.3717, allocations: 0 / 0.542 GB, free: 15.36 MB / 398.1 MB
Notification: Performance of Transformations before backend: time 6.081e-06/0.3717, allocations: 0 / 0.542 GB, free: 15.36 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.0007642/0.3725, allocations: 484 kB / 0.5424 GB, free: 14.92 MB / 398.1 MB
Notification: Performance of prepare preOptimizeDAE: time 3.583e-05/0.3725, allocations: 9.625 kB / 0.5425 GB, free: 14.92 MB / 398.1 MB
Notification: Performance of preOpt normalInlineFunction (simulation): time 4.77e-05/0.3725, allocations: 17.22 kB / 0.5425 GB, free: 14.91 MB / 398.1 MB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002127/0.3728, allocations: 138.8 kB / 0.5426 GB, free: 14.76 MB / 398.1 MB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.496e-05/0.3728, allocations: 5.094 kB / 0.5426 GB, free: 14.76 MB / 398.1 MB
Notification: Performance of preOpt expandDerOperator (simulation): time 1.341e-05/0.3728, allocations: 4.906 kB / 0.5426 GB, free: 14.75 MB / 398.1 MB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.373, allocations: 79.19 kB / 0.5427 GB, free: 14.7 MB / 398.1 MB
Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.373, allocations: 0 / 0.5427 GB, free: 14.7 MB / 398.1 MB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.373, allocations: 1 kB / 0.5427 GB, free: 14.7 MB / 398.1 MB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.777e-06/0.373, allocations: 0 / 0.5427 GB, free: 14.7 MB / 398.1 MB
Notification: Performance of preOpt removeEqualRHS (simulation): time 6.942e-05/0.3731, allocations: 39.25 kB / 0.5427 GB, free: 14.69 MB / 398.1 MB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001872/0.3732, allocations: 154.1 kB / 0.5429 GB, free: 14.51 MB / 398.1 MB
Notification: Performance of preOpt comSubExp (simulation): time 9.926e-05/0.3733, allocations: 61.33 kB / 0.5429 GB, free: 14.47 MB / 398.1 MB
Notification: Performance of preOpt resolveLoops (simulation): time 6.574e-05/0.3734, allocations: 47.3 kB / 0.543 GB, free: 14.45 MB / 398.1 MB
Notification: Performance of preOpt evalFunc (simulation): time 1.285e-05/0.3734, allocations: 5.109 kB / 0.543 GB, free: 14.44 MB / 398.1 MB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.13e-05/0.3735, allocations: 31.66 kB / 0.543 GB, free: 14.4 MB / 398.1 MB
Notification: Performance of pre-optimization done (n=14): time 9.42e-07/0.3735, allocations: 0 / 0.543 GB, free: 14.4 MB / 398.1 MB
Notification: Performance of matching and sorting (n=14): time 0.0003682/0.3738, allocations: 221.4 kB / 0.5432 GB, free: 14.29 MB / 398.1 MB
Notification: Performance of inlineWhenForInitialization (initialization): time 7.339e-05/0.3739, allocations: 92.52 kB / 0.5433 GB, free: 14.19 MB / 398.1 MB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001359/0.374, allocations: 154.2 kB / 0.5435 GB, free: 14.06 MB / 398.1 MB
Notification: Performance of collectPreVariables (initialization): time 1.948e-05/0.374, allocations: 25.7 kB / 0.5435 GB, free: 14.03 MB / 398.1 MB
Notification: Performance of collectInitialEqns (initialization): time 6.009e-05/0.3741, allocations: 97.22 kB / 0.5436 GB, free: 13.94 MB / 398.1 MB
Notification: Performance of collectInitialBindings (initialization): time 6.135e-05/0.3742, allocations: 57.27 kB / 0.5436 GB, free: 13.89 MB / 398.1 MB
Notification: Performance of simplifyInitialFunctions (initialization): time 4.558e-05/0.3742, allocations: 21.89 kB / 0.5437 GB, free: 13.87 MB / 398.1 MB
Notification: Performance of setup shared object (initialization): time 0.0001413/0.3744, allocations: 326.3 kB / 0.544 GB, free: 13.54 MB / 398.1 MB
Notification: Performance of preBalanceInitialSystem (initialization): time 5.956e-05/0.3744, allocations: 34.61 kB / 0.544 GB, free: 13.54 MB / 398.1 MB
Notification: Performance of partitionIndependentBlocks (initialization): time 5.662e-05/0.3745, allocations: 42.41 kB / 0.544 GB, free: 13.52 MB / 398.1 MB
Notification: Performance of analyzeInitialSystem (initialization): time 0.0001807/0.3747, allocations: 180.5 kB / 0.5442 GB, free: 13.41 MB / 398.1 MB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.3747, allocations: 3.938 kB / 0.5442 GB, free: 13.41 MB / 398.1 MB
Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002219/0.3749, allocations: 182.4 kB / 0.5444 GB, free: 13.3 MB / 398.1 MB
Notification: Performance of prepare postOptimizeDAE: time 5.595e-05/0.3749, allocations: 51.72 kB / 0.5444 GB, free: 13.25 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.3749, allocations: 0 / 0.5444 GB, free: 13.25 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (initialization): time 1.317e-05/0.375, allocations: 1.156 kB / 0.5444 GB, free: 13.25 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.375, allocations: 0 / 0.5444 GB, free: 13.25 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.993e-06/0.375, allocations: 5.141 kB / 0.5444 GB, free: 13.25 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.314e-05/0.375, allocations: 2.25 kB / 0.5444 GB, free: 13.25 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.58e-05/0.375, allocations: 13.64 kB / 0.5445 GB, free: 13.24 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.0001342/0.3752, allocations: 168.4 kB / 0.5446 GB, free: 13.08 MB / 398.1 MB
Notification: Performance of postOpt lateInlineFunction (simulation): time 4.259e-05/0.3752, allocations: 15.25 kB / 0.5446 GB, free: 13.07 MB / 398.1 MB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.149e-05/0.3752, allocations: 12.14 kB / 0.5446 GB, free: 13.06 MB / 398.1 MB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.305e-06/0.3752, allocations: 1.25 kB / 0.5446 GB, free: 13.06 MB / 398.1 MB
Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.3752, allocations: 0 / 0.5446 GB, free: 13.06 MB / 398.1 MB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3752, allocations: 0 / 0.5446 GB, free: 13.06 MB / 398.1 MB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001507/0.3754, allocations: 169.5 kB / 0.5448 GB, free: 12.87 MB / 398.1 MB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.3754, allocations: 1.188 kB / 0.5448 GB, free: 12.87 MB / 398.1 MB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.32e-07/0.3754, allocations: 4 kB / 0.5448 GB, free: 12.87 MB / 398.1 MB
Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.3754, allocations: 1.188 kB / 0.5448 GB, free: 12.87 MB / 398.1 MB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.3754, allocations: 7.312 kB / 0.5448 GB, free: 12.86 MB / 398.1 MB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.3754, allocations: 4 kB / 0.5448 GB, free: 12.86 MB / 398.1 MB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.3754, allocations: 1.125 kB / 0.5448 GB, free: 12.86 MB / 398.1 MB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003732/0.3758, allocations: 298.7 kB / 0.5451 GB, free: 12.68 MB / 398.1 MB
Notification: Performance of postOpt removeConstants (simulation): time 1.895e-05/0.3758, allocations: 11.28 kB / 0.5451 GB, free: 12.67 MB / 398.1 MB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/0.3758, allocations: 3.281 kB / 0.5451 GB, free: 12.67 MB / 398.1 MB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.906e-05/0.3759, allocations: 6.219 kB / 0.5451 GB, free: 12.67 MB / 398.1 MB
Notification: Performance of postOpt findZeroCrossings (simulation): time 2.569e-05/0.3759, allocations: 6.219 kB / 0.5451 GB, free: 12.66 MB / 398.1 MB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.3759, allocations: 5.438 kB / 0.5451 GB, free: 12.66 MB / 398.1 MB
Notification: Performance of sorting global known variables: time 8.957e-05/0.376, allocations: 119.1 kB / 0.5453 GB, free: 12.57 MB / 398.1 MB
Notification: Performance of sort global known variables: time 9e-08/0.376, allocations: 0 / 0.5453 GB, free: 12.57 MB / 398.1 MB
Notification: Performance of remove unused functions: time 0.0009371/0.3769, allocations: 329.4 kB / 0.5456 GB, free: 12.52 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.0008869/0.3778, allocations: 374 kB / 0.5459 GB, free: 12.32 MB / 398.1 MB
Notification: Performance of simCode: created initialization part: time 0.000338/0.3782, allocations: 235.9 kB / 0.5462 GB, free: 12.2 MB / 398.1 MB
Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.3782, allocations: 1.344 kB / 0.5462 GB, free: 12.2 MB / 398.1 MB
Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.3783, allocations: 161 kB / 0.5463 GB, free: 12.09 MB / 398.1 MB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002594/0.3786, allocations: 20.59 kB / 0.5463 GB, free: 12.09 MB / 398.1 MB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005954/0.3792, allocations: 362 kB / 0.5467 GB, free: 11.85 MB / 398.1 MB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003352/0.3795, allocations: 0.7112 MB / 0.5474 GB, free: 11.14 MB / 398.1 MB
Notification: Performance of simCode: alias equations: time 1.601e-05/0.3796, allocations: 2.469 kB / 0.5474 GB, free: 11.14 MB / 398.1 MB
Notification: Performance of simCode: all other stuff during SimCode phase: time 1.429e-05/0.3796, allocations: 8.469 kB / 0.5474 GB, free: 11.13 MB / 398.1 MB
Notification: Performance of SimCode: time 3.01e-07/0.3796, allocations: 0 / 0.5474 GB, free: 11.13 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.1825145576149225]
Failed to read output from testmodel.py, exit status != 0:
0.4009431339800358 0.419959965 0.042688632000000004
Calling exit ...
<OMPython.OMCSessionZMQ object at 0x7f72b2d2d7b0>