Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr PowerSystems_cpp_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="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0") translateModel(PowerSystems.Examples.AC3ph.Precalculation.Z_matrixEqCirc0,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PowerSystems_cpp_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.001204/0.001204, allocations: 173.5 kB / 16.76 MB, free: 5.051 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.328/1.328, allocations: 205.4 MB / 222.9 MB, free: 8.941 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.0008691/0.0008691, allocations: 93.91 kB / 271.3 MB, free: 8.238 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/PowerSystems 1.0.1-master/package.mo): time 0.2548/0.2548, allocations: 38.08 MB / 357.6 MB, free: 1.711 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003595/0.0003595, allocations: 12 kB / 423.9 MB, free: 38.04 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.252/0.2523, allocations: 56.32 MB / 480.3 MB, free: 9.223 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1172/0.3696, allocations: 87.18 MB / 0.5541 GB, free: 15.21 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002355/0.3698, allocations: 79.95 kB / 0.5542 GB, free: 15.13 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.00455/0.3744, allocations: 1.563 MB / 0.5557 GB, free: 13.57 MB / 394.7 MB