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.002524/0.002524, allocations: 95.61 kB / 20.96 MB, free: 3.457 MB / 18.57 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.003071/0.003071, allocations: 161.3 kB / 24.27 MB, free: 152 kB / 18.57 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.587/1.587, allocations: 177.1 MB / 204.6 MB, free: 5.602 MB / 186.7 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.2973/0.2973, allocations: 29.41 MB / 290.5 MB, free: 2.422 MB / 266.7 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 2.294e-06/2.294e-06, allocations: 0 / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.918e-05/4.148e-05, allocations: 2.312 kB / 368.9 MB, free: 11.3 MB / 346.7 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.004537/0.004578, allocations: 2.234 MB / 371.1 MB, free: 9.047 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.003546/0.008124, allocations: 1.953 MB / 373.1 MB, free: 7.082 MB / 346.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.339e-05/0.008177, allocations: 0 / 373.1 MB, free: 7.082 MB / 346.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001906/0.008368, allocations: 11.92 kB / 373.1 MB, free: 7.07 MB / 346.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001055/0.008474, allocations: 35.7 kB / 373.1 MB, free: 7.035 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.002703/0.01118, allocations: 0.9701 MB / 374.1 MB, free: 6.062 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001466/0.01132, allocations: 83.56 kB / 374.2 MB, free: 5.98 MB / 346.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.572e-05/0.01136, allocations: 4.188 kB / 374.2 MB, free: 5.977 MB / 346.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001777/0.01154, allocations: 43.88 kB / 374.2 MB, free: 5.934 MB / 346.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.395e-05/0.01163, allocations: 39.89 kB / 374.3 MB, free: 5.895 MB / 346.7 MB Notification: Performance of NFPackage.collectConstants: time 1.318e-05/0.01164, allocations: 0 / 374.3 MB, free: 5.895 MB / 346.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003576/0.01522, allocations: 1.902 MB / 376.2 MB, free: 3.988 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 4.709e-05/0.01527, allocations: 11.92 kB / 376.2 MB, free: 3.977 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 4.351e-05/0.01531, allocations: 11.94 kB / 376.2 MB, free: 3.965 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002349/0.01766, allocations: 1.477 MB / 377.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.096e-06/0.01766, allocations: 0 / 377.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.01766, allocations: 0 / 377.7 MB, free: 2.484 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.219e-06/0.01767, allocations: 0 / 377.7 MB, free: 2.484 MB / 346.7 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.0008862/0.01856, allocations: 0.5356 MB / 378.2 MB, free: 1.906 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.257e-05/0.0186, allocations: 19.97 kB / 378.2 MB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.046e-05/0.01866, allocations: 8.891 kB / 378.2 MB, free: 1.879 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001859/0.01884, allocations: 132.5 kB / 378.4 MB, free: 1.723 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.553e-05/0.01886, allocations: 7.938 kB / 378.4 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.01887, allocations: 0 / 378.4 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001562/0.01903, allocations: 71.33 kB / 378.4 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.746e-06/0.01903, allocations: 0 / 378.4 MB, free: 1.633 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.003e-05/0.01904, allocations: 4 kB / 378.4 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.01905, allocations: 0 / 378.4 MB, free: 1.629 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.358e-05/0.01911, allocations: 41.67 kB / 378.5 MB, free: 1.582 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001803/0.01929, allocations: 124.6 kB / 378.6 MB, free: 1.426 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000117/0.01941, allocations: 68.69 kB / 378.7 MB, free: 1.34 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.191e-05/0.01948, allocations: 53.41 kB / 378.7 MB, free: 1.277 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.587e-06/0.01949, allocations: 3.938 kB / 378.7 MB, free: 1.273 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.717e-05/0.01954, allocations: 37.39 kB / 378.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of pre-optimization done (n=8): time 1.012e-06/0.01954, allocations: 0 / 378.8 MB, free: 1.227 MB / 346.7 MB Notification: Performance of matching and sorting (n=8): time 0.0003469/0.01989, allocations: 170.7 kB / 378.9 MB, free: 1.035 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.988e-05/0.01997, allocations: 81.11 kB / 379 MB, free: 0.9375 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001828/0.02015, allocations: 185.9 kB / 379.2 MB, free: 0.7383 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.958e-05/0.02018, allocations: 29.7 kB / 379.2 MB, free: 0.7031 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001043/0.02028, allocations: 134.9 kB / 379.3 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.2e-05/0.02033, allocations: 35.92 kB / 379.4 MB, free: 0.5312 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.628e-05/0.02039, allocations: 27.38 kB / 379.4 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0003052/0.0207, allocations: 0.4923 MB / 379.9 MB, free: 15.99 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.68e-05/0.02075, allocations: 41.62 kB / 379.9 MB, free: 15.95 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.187e-05/0.02079, allocations: 37.7 kB / 380 MB, free: 15.9 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001252/0.02092, allocations: 107.3 kB / 380.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.02092, allocations: 0 / 380.1 MB, free: 15.78 MB / 362.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001884/0.02111, allocations: 137 kB / 380.2 MB, free: 15.63 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.652e-05/0.02118, allocations: 37.69 kB / 380.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.02118, allocations: 0 / 380.3 MB, free: 15.59 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.829e-05/0.0212, allocations: 4.062 kB / 380.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.0212, allocations: 0 / 380.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.109e-06/0.02121, allocations: 4 kB / 380.3 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.747e-05/0.02125, allocations: 3.984 kB / 380.3 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.642e-05/0.02128, allocations: 4 kB / 380.3 MB, free: 15.57 MB / 362.7 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.0001944/0.02147, allocations: 198.2 kB / 380.5 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.724e-05/0.0215, allocations: 15.89 kB / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.017e-05/0.02152, allocations: 8.438 kB / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.102e-06/0.02152, allocations: 0 / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.138e-06/0.02153, allocations: 0 / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.02153, allocations: 0 / 380.5 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001524/0.02168, allocations: 140.5 kB / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.333e-06/0.02168, allocations: 0 / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.33e-06/0.02169, allocations: 3.938 kB / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.02169, allocations: 0 / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.18e-05/0.0217, allocations: 4 kB / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.0217, allocations: 0 / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.02171, allocations: 0 / 380.6 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002983/0.022, allocations: 191.8 kB / 380.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.877e-05/0.02202, allocations: 11.89 kB / 380.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.586e-05/0.02205, allocations: 0 / 380.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.329e-05/0.02207, allocations: 4 kB / 380.8 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.759e-05/0.0221, allocations: 7.969 kB / 380.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.078e-05/0.02211, allocations: 4 kB / 380.8 MB, free: 14.91 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0001171/0.02223, allocations: 139.2 kB / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.1e-08/0.02223, allocations: 0 / 381 MB, free: 14.77 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009834/0.02321, allocations: 323.3 kB / 381.3 MB, free: 14.45 MB / 362.7 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.001074/0.02428, allocations: 409.7 kB / 381.7 MB, free: 14.04 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.000287/0.02457, allocations: 182.5 kB / 381.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.02457, allocations: 0 / 381.9 MB, free: 13.84 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000139/0.02471, allocations: 124.8 kB / 382 MB, free: 13.69 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002041/0.02492, allocations: 18.92 kB / 382 MB, free: 13.68 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005098/0.02543, allocations: 243.3 kB / 382.3 MB, free: 13.41 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001027/0.02553, allocations: 75.45 kB / 382.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 1.359e-05/0.02554, allocations: 4 kB / 382.3 MB, free: 13.31 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.421e-05/0.02557, allocations: 12.5 kB / 382.3 MB, free: 13.3 MB / 362.7 MB Notification: Performance of SimCode: time 8.71e-07/0.02557, allocations: 0 / 382.3 MB, free: 13.3 MB / 362.7 MB [CodegenCFunctions.tpl:5886:13-5886: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.6249656970612705]