Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00154/0.00154, allocations: 84.38 kB / 20.68 MB, free: 1.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 168.7 kB / 23.95 MB, free: 4.172 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.419/1.419, allocations: 177.1 MB / 204.3 MB, free: 9.195 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo): time 0.1705/0.1705, allocations: 29.43 MB / 290.1 MB, free: 3.305 MB / 270.1 MB " [Timeout remaining time 180] Using package PowerSystems with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="Time|zr_d.1.|zr_d.2.|zr_q.1.|zx_d.1,1.|zx_d.1,2.|zx_d.2,1.|zx_d.2,2.|zx_q.1,1.",fileNamePrefix="PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 430.7 MB, free: 1.949 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.68e-05/2.842e-05, allocations: 5.516 kB / 430.7 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.003561/0.00359, allocations: 2.192 MB / 432.9 MB, free: 15.73 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.003338/0.006927, allocations: 1.906 MB / 434.8 MB, free: 13.82 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.103e-05/0.006978, allocations: 4 kB / 434.8 MB, free: 13.81 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001757/0.007154, allocations: 7.922 kB / 434.8 MB, free: 13.8 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001025/0.007256, allocations: 31.83 kB / 434.9 MB, free: 13.77 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002563/0.00982, allocations: 0.9764 MB / 435.8 MB, free: 12.79 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001395/0.009959, allocations: 83.62 kB / 435.9 MB, free: 12.71 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.309e-05/0.01001, allocations: 8.172 kB / 435.9 MB, free: 12.7 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001686/0.01018, allocations: 47.83 kB / 436 MB, free: 12.66 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.817e-05/0.01028, allocations: 39.88 kB / 436 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 1.289e-05/0.01029, allocations: 0 / 436 MB, free: 12.62 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003121/0.01341, allocations: 1.898 MB / 437.9 MB, free: 10.71 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 4.169e-05/0.01346, allocations: 15.94 kB / 437.9 MB, free: 10.7 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 3.391e-05/0.01349, allocations: 15.92 kB / 437.9 MB, free: 10.68 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001865/0.01535, allocations: 1.469 MB / 439.4 MB, free: 9.211 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.01536, allocations: 0 / 439.4 MB, free: 9.211 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.01536, allocations: 0 / 439.4 MB, free: 9.211 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.11e-06/0.01536, allocations: 0 / 439.4 MB, free: 9.211 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006567/0.01602, allocations: 453.8 kB / 439.9 MB, free: 8.734 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.01606, allocations: 12.03 kB / 439.9 MB, free: 8.723 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.941e-05/0.01611, allocations: 4.891 kB / 439.9 MB, free: 8.719 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001623/0.01627, allocations: 125.7 kB / 440 MB, free: 8.57 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.01629, allocations: 11.94 kB / 440 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.0163, allocations: 0 / 440 MB, free: 8.559 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/0.01646, allocations: 95.36 kB / 440.1 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.01646, allocations: 0 / 440.1 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.616e-06/0.01647, allocations: 0 / 440.1 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.088e-06/0.01648, allocations: 0 / 440.1 MB, free: 8.453 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.458e-05/0.01655, allocations: 69.56 kB / 440.2 MB, free: 8.379 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000133/0.01668, allocations: 113.3 kB / 440.3 MB, free: 8.238 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001035/0.01679, allocations: 80.2 kB / 440.4 MB, free: 8.145 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.915e-05/0.01687, allocations: 70.56 kB / 440.4 MB, free: 8.066 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.897e-06/0.01687, allocations: 4 kB / 440.4 MB, free: 8.062 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.707e-05/0.0169, allocations: 30.56 kB / 440.5 MB, free: 8.023 MB / 366.1 MB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.0169, allocations: 0 / 440.5 MB, free: 8.023 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0003362/0.01724, allocations: 246.8 kB / 440.7 MB, free: 7.758 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.013e-05/0.0173, allocations: 81.11 kB / 440.8 MB, free: 7.66 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.0174, allocations: 125.8 kB / 440.9 MB, free: 7.527 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.785e-05/0.01742, allocations: 25.7 kB / 440.9 MB, free: 7.496 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.818e-05/0.01747, allocations: 88.12 kB / 441 MB, free: 7.406 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.502e-05/0.0175, allocations: 23.8 kB / 441 MB, free: 7.383 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.257e-05/0.01755, allocations: 17.72 kB / 441.1 MB, free: 7.359 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001392/0.01769, allocations: 322.8 kB / 441.4 MB, free: 7.035 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.777e-05/0.01775, allocations: 65.7 kB / 441.4 MB, free: 6.965 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.023e-05/0.01781, allocations: 57.69 kB / 441.5 MB, free: 6.902 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001485/0.01796, allocations: 140.2 kB / 441.6 MB, free: 6.75 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.01796, allocations: 0 / 441.6 MB, free: 6.75 MB / 366.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0002084/0.01817, allocations: 184.9 kB / 441.8 MB, free: 6.551 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.284e-05/0.01821, allocations: 41.69 kB / 441.8 MB, free: 6.504 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.947e-06/0.01822, allocations: 3.938 kB / 441.9 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.338e-05/0.01823, allocations: 0 / 441.9 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.01823, allocations: 0 / 441.9 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.927e-06/0.01824, allocations: 320 / 441.9 MB, free: 6.5 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.727e-05/0.01827, allocations: 7.953 kB / 441.9 MB, free: 6.492 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.583e-05/0.01829, allocations: 4.062 kB / 441.9 MB, free: 6.488 MB / 366.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.0001324/0.01842, allocations: 159.5 kB / 442 MB, free: 6.316 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.01844, allocations: 11.89 kB / 442 MB, free: 6.305 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.085e-05/0.01845, allocations: 8.438 kB / 442 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.01845, allocations: 0 / 442 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.01846, allocations: 0 / 442 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.833e-06/0.01846, allocations: 0 / 442 MB, free: 6.301 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001016/0.01856, allocations: 117.3 kB / 442.2 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/0.01856, allocations: 0 / 442.2 MB, free: 6.156 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.474e-06/0.01857, allocations: 11.94 kB / 442.2 MB, free: 6.145 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.162e-06/0.01857, allocations: 4 kB / 442.2 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.337e-06/0.01858, allocations: 0 / 442.2 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.71e-07/0.01858, allocations: 0 / 442.2 MB, free: 6.141 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.739e-06/0.01859, allocations: 7.984 kB / 442.2 MB, free: 6.133 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002957/0.01888, allocations: 252.3 kB / 442.4 MB, free: 5.855 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.655e-05/0.0189, allocations: 15.83 kB / 442.4 MB, free: 5.84 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.035e-05/0.01892, allocations: 7.938 kB / 442.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.278e-05/0.01894, allocations: 0 / 442.4 MB, free: 5.832 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.01897, allocations: 11.97 kB / 442.5 MB, free: 5.82 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.326e-06/0.01898, allocations: 4 kB / 442.5 MB, free: 5.816 MB / 366.1 MB Notification: Performance of sorting global known variables: time 6.662e-05/0.01905, allocations: 98.14 kB / 442.6 MB, free: 5.723 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.01905, allocations: 4.031 kB / 442.6 MB, free: 5.719 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0007016/0.01975, allocations: 315.4 kB / 442.9 MB, free: 5.41 MB / 366.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.0009344/0.02068, allocations: 408.7 kB / 443.3 MB, free: 5 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002966/0.02098, allocations: 242.7 kB / 443.5 MB, free: 4.738 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.02098, allocations: 4 kB / 443.5 MB, free: 4.734 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000151/0.02113, allocations: 161 kB / 443.7 MB, free: 4.559 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001735/0.02131, allocations: 8 kB / 443.7 MB, free: 4.551 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005078/0.02182, allocations: 262.4 kB / 443.9 MB, free: 4.262 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.54e-05/0.02189, allocations: 83.31 kB / 444 MB, free: 4.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 9.247e-06/0.0219, allocations: 0 / 444 MB, free: 4.16 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.325e-05/0.02191, allocations: 8.5 kB / 444 MB, free: 4.152 MB / 366.1 MB Notification: Performance of SimCode: time 3.9e-07/0.02191, allocations: 0 / 444 MB, free: 4.152 MB / 366.1 MB [CodegenCFunctions.tpl:5727:13-5727: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: 2.6152651980519295] Failed to read output from testmodel.py, exit status != 0: 0.1998647265136242 0.21080029600000003 0.19277807300000002 Calling exit ...