Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_latest_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo", uses=false) Using package PowerSystems with version 1.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_matrixEqCirc0") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001393/0.001393, allocations: 176.9 kB / 17.4 MB, free: 4.293 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.617/1.617, allocations: 205.4 MB / 223.5 MB, free: 9.023 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007504/0.0007503, allocations: 92.97 kB / 271.9 MB, free: 8.246 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2/0.2, allocations: 38.07 MB / 358.3 MB, free: 1.727 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003788, allocations: 15.98 kB / 425.2 MB, free: 37.36 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3375/0.3379, allocations: 56.31 MB / 481.6 MB, free: 9.598 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1311/0.469, allocations: 87.17 MB / 0.5554 GB, free: 15.1 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.4694, allocations: 91.75 kB / 0.5555 GB, free: 15.01 MB / 394.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/Examples/AC3ph/Precalculation.mo:1142:3-1142:79:writable] Error: No matching function found for z_matrix(0, x_q, xsig_s, r_s, {}, {}, {}) of type .PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.z_matrix(Integer n, Real(quantity = "Reactance", unit = "Ohm/Ohm") x, Real(quantity = "Reactance", unit = "Ohm/Ohm") xsig_s, Real(quantity = "Resistance", unit = "Ohm/(V.V/VA)", min = 0.0) r_s, Integer[0] xm2_n, Real(quantity = "Reactance", unit = "Ohm/Ohm")[0] xsig_r, Real(quantity = "Resistance", unit = "Ohm/(V.V/VA)", min = 0.0)[0] r_r) => (Real(unit = "1", quantity = "Resistance", min = 0.0)[1 + n] zr, Real(unit = "1", quantity = "Reactance")[1 + n, 1 + n] zx) in component candidates are .PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0.z_matrix(Integer n, Real(unit = "1", quantity = "Reactance") x, Real(unit = "1", quantity = "Reactance") xsig_s, Real(unit = "1", quantity = "Resistance", min = 0.0) r_s, Real(unit = "1", quantity = "Reactance")[-1 + n] xm2_n, Real(unit = "1", quantity = "Reactance")[n] xsig_r, Real(unit = "1", quantity = "Resistance", min = 0.0)[n] r_r) => (Real(unit = "1", quantity = "Resistance", min = 0.0)[1 + n] zr, Real(unit = "1", quantity = "Reactance")[1 + n, 1 + n] zx) Error: Error occurred while flattening model PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0 Notification: Performance of FrontEnd: time 0.004677/0.474, allocations: 1.562 MB / 0.557 GB, free: 13.45 MB / 394.7 MB