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.001309/0.001309, allocations: 71.75 kB / 21.24 MB, free: 400 kB / 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.001594/0.001594, allocations: 169.2 kB / 24.5 MB, free: 3.453 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.454/1.454, allocations: 177.2 MB / 204.9 MB, free: 8.988 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.1771/0.1771, allocations: 29.42 MB / 290.7 MB, free: 3.297 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: PowerSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002183/0.002183, allocations: 67.84 kB / 431.2 MB, free: 3.227 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3803/0.3825, allocations: 62.45 MB / 493.7 MB, free: 37.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixTrDat0): time 0.0031/0.3856, allocations: 2.179 MB / 495.8 MB, free: 36.25 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.002589/0.3882, allocations: 1.909 MB / 497.7 MB, free: 35.07 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.689e-05/0.3882, allocations: 0 / 497.7 MB, free: 35.07 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001877/0.3884, allocations: 17.78 kB / 497.8 MB, free: 35.06 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 8.003e-05/0.3885, allocations: 29.09 kB / 497.8 MB, free: 35.05 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002121/0.3906, allocations: 0.96 MB / 498.7 MB, free: 34.74 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001135/0.3908, allocations: 73.91 kB / 498.8 MB, free: 34.71 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.021e-05/0.3908, allocations: 4.172 kB / 498.8 MB, free: 34.71 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001193/0.3909, allocations: 50.22 kB / 498.9 MB, free: 34.68 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.192e-05/0.391, allocations: 45.58 kB / 498.9 MB, free: 34.67 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.391, allocations: 3.188 kB / 498.9 MB, free: 34.67 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002532/0.3935, allocations: 1.892 MB / 0.4891 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 4.47e-05/0.3936, allocations: 13.5 kB / 0.4891 GB, free: 34.2 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 3.488e-05/0.3936, allocations: 13.94 kB / 0.4891 GB, free: 34.19 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.3949, allocations: 1.331 MB / 0.4904 GB, free: 33.96 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.3949, allocations: 0 / 0.4904 GB, free: 33.96 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.3949, allocations: 0 / 0.4904 GB, free: 33.96 MB / 446.1 MB Notification: Performance of Transformations before backend: time 6.813e-06/0.3949, allocations: 0 / 0.4904 GB, free: 33.96 MB / 446.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.0004925/0.3954, allocations: 446.2 kB / 0.4908 GB, free: 33.56 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.763e-05/0.3955, allocations: 13.86 kB / 0.4908 GB, free: 33.56 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.359e-05/0.3955, allocations: 12.42 kB / 0.4909 GB, free: 33.55 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001249/0.3957, allocations: 123.9 kB / 0.491 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.029e-05/0.3957, allocations: 4 kB / 0.491 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.345e-06/0.3957, allocations: 0 / 0.491 GB, free: 33.41 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.3958, allocations: 107.8 kB / 0.4911 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.566e-06/0.3958, allocations: 0 / 0.4911 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.3958, allocations: 0 / 0.4911 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.368e-06/0.3958, allocations: 0 / 0.4911 GB, free: 33.33 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.335e-05/0.3959, allocations: 63.61 kB / 0.4911 GB, free: 33.3 MB / 446.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001033/0.396, allocations: 110.2 kB / 0.4912 GB, free: 33.17 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.047e-05/0.3961, allocations: 78.81 kB / 0.4913 GB, free: 33.11 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.977e-05/0.3961, allocations: 68.47 kB / 0.4914 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.88e-06/0.3961, allocations: 0 / 0.4914 GB, free: 33.06 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.3962, allocations: 34.5 kB / 0.4914 GB, free: 33.02 MB / 446.1 MB Notification: Performance of pre-optimization done (n=8): time 8.32e-07/0.3962, allocations: 4 kB / 0.4914 GB, free: 33.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=8): time 0.0002707/0.3964, allocations: 246.3 kB / 0.4917 GB, free: 32.86 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.547e-05/0.3965, allocations: 82.83 kB / 0.4917 GB, free: 32.77 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.914e-05/0.3965, allocations: 123.4 kB / 0.4919 GB, free: 32.66 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.3965, allocations: 25.7 kB / 0.4919 GB, free: 32.63 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.328e-05/0.3966, allocations: 90.45 kB / 0.492 GB, free: 32.55 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.3966, allocations: 30.23 kB / 0.492 GB, free: 32.52 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.981e-05/0.3966, allocations: 19.16 kB / 0.492 GB, free: 32.51 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 4.986e-05/0.3967, allocations: 321.9 kB / 0.4923 GB, free: 32.19 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.891e-05/0.3967, allocations: 68.55 kB / 0.4924 GB, free: 32.15 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.215e-05/0.3968, allocations: 61.27 kB / 0.4924 GB, free: 32.11 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.812e-05/0.3969, allocations: 147.1 kB / 0.4926 GB, free: 32.02 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.714e-06/0.3969, allocations: 3.938 kB / 0.4926 GB, free: 32.02 MB / 446.1 MB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001396/0.397, allocations: 174.3 kB / 0.4927 GB, free: 31.91 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.708e-05/0.397, allocations: 49.22 kB / 0.4928 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.3971, allocations: 0 / 0.4928 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.489e-05/0.3971, allocations: 0 / 0.4928 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.3971, allocations: 0 / 0.4928 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.3971, allocations: 0 / 0.4928 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.589e-05/0.3971, allocations: 6.688 kB / 0.4928 GB, free: 31.87 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.835e-05/0.3971, allocations: 3.219 kB / 0.4928 GB, free: 31.87 MB / 446.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 8.292e-05/0.3972, allocations: 161 kB / 0.493 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.741e-05/0.3972, allocations: 10.05 kB / 0.493 GB, free: 31.71 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.509e-05/0.3972, allocations: 11.72 kB / 0.493 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.3972, allocations: 3.984 kB / 0.493 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.3972, allocations: 0 / 0.493 GB, free: 31.7 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3973, allocations: 11.03 kB / 0.493 GB, free: 31.69 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.422e-05/0.3973, allocations: 114.6 kB / 0.4931 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.262e-06/0.3973, allocations: 2.875 kB / 0.4931 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.91e-07/0.3973, allocations: 0 / 0.4931 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.3973, allocations: 0 / 0.4931 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.327e-06/0.3973, allocations: 6.625 kB / 0.4931 GB, free: 31.56 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.02e-07/0.3973, allocations: 4 kB / 0.4931 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3973, allocations: 0 / 0.4931 GB, free: 31.55 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002042/0.3975, allocations: 259.2 kB / 0.4934 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.181e-05/0.3975, allocations: 11.02 kB / 0.4934 GB, free: 31.39 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.3976, allocations: 7.094 kB / 0.4934 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.197e-05/0.3976, allocations: 0 / 0.4934 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.783e-05/0.3976, allocations: 3.062 kB / 0.4934 GB, free: 31.38 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.205e-06/0.3976, allocations: 3.125 kB / 0.4934 GB, free: 31.38 MB / 446.1 MB Notification: Performance of sorting global known variables: time 4.152e-05/0.3976, allocations: 103.7 kB / 0.4935 GB, free: 31.3 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.3976, allocations: 0 / 0.4935 GB, free: 31.3 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0006622/0.3983, allocations: 317.2 kB / 0.4938 GB, free: 31.26 MB / 446.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.0007248/0.399, allocations: 375.6 kB / 0.4941 GB, free: 31.1 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0002235/0.3993, allocations: 240.5 kB / 0.4944 GB, free: 30.95 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3993, allocations: 0 / 0.4944 GB, free: 30.95 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 9.423e-05/0.3993, allocations: 157.8 kB / 0.4945 GB, free: 30.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002447/0.3996, allocations: 18.28 kB / 0.4945 GB, free: 30.84 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003746/0.4, allocations: 295.7 kB / 0.4948 GB, free: 30.64 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.668e-05/0.4, allocations: 81.25 kB / 0.4949 GB, free: 30.57 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 9.899e-06/0.4, allocations: 0 / 0.4949 GB, free: 30.57 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.212e-05/0.4, allocations: 11.75 kB / 0.4949 GB, free: 30.56 MB / 446.1 MB Notification: Performance of SimCode: time 4.51e-07/0.4, allocations: 0 / 0.4949 GB, free: 30.56 MB / 446.1 MB [CodegenCFunctions.tpl:5678:13-5678: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.971566203981638] Failed to read output from testmodel.py, exit status != 0: 0.41946394194383174 0.42957348300000003 0.031996300000000005 Calling exit ...