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.0009731/0.0009731, allocations: 176.4 kB / 8.349 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.447/1.447, allocations: 205.3 MB / 214.1 MB, free: 14.08 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008448/0.0008449, allocations: 91.69 kB / 262.1 MB, free: 13.86 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.1772/0.1772, allocations: 37.98 MB / 348 MB, free: 7.762 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.608e-05/1.61e-05, allocations: 4 kB / 410.6 MB, free: 46.95 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1027/0.1028, allocations: 56.32 MB / 466.9 MB, free: 6.559 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3631/0.4659, allocations: 86.38 MB / 0.5403 GB, free: 8.566 MB / 379.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002424/0.4662, allocations: 79.95 kB / 0.5404 GB, free: 8.488 MB / 379.1 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.004818/0.471, allocations: 1.548 MB / 0.5419 GB, free: 6.949 MB / 379.1 MB