Running command: translateModel(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid") Notification: Performance of loadModel(Buildings): time 3.798/3.798, allocations: 403.9 MB / 411 MB, free: 400 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.001e-05/2.012e-05, allocations: 4 kB / 0.4942 GB, free: 1.391 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4747/0.4748, allocations: 92.69 MB / 0.5847 GB, free: 2.391 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2595/0.7343, allocations: 187.7 MB / 0.768 GB, free: 6.438 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003154/0.7347, allocations: 99.92 kB / 0.768 GB, free: 6.34 MB / 0.6511 GB [/var/lib/hudson/slave/workspace/OpenModelica_TEST_LIBS/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 5.0.1/Electrical/AC/ThreePhasesBalanced/Lines/Network.mo:8:15-9:95:writable] Error: Type mismatch in binding commercialCable = {Buildings.Electrical.Transmission.LowVoltageCables.Generic(Buildings.Electrical.Transmission.Types.Material.Cu, 130.0, 298.15, 507.65, 0.000517, 7.4e-05)}, expected subtype of record Buildings.Electrical.Transmission.LowVoltageCables.Generic enumeration(Cu, Al) material; Real(start = 0.0, quantity = "ElectricCurrent", unit = "A") Amp; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") T_ref; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") M; Real(start = 0.0, quantity = "Resistance per meter", unit = "Ohm/m") RCha; Real(start = 0.0, quantity = "Reactance per meter", unit = "Ohm/m") XCha; end Buildings.Electrical.Transmission.LowVoltageCables.Generic;, got type record Buildings.Electrical.Transmission.LowVoltageCables.Generic enumeration(Cu, Al) material; Real(start = 0.0, quantity = "ElectricCurrent", unit = "A") Amp; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") T_ref; Real(quantity = "ThermodynamicTemperature", unit = "K", min = 0.0, start = 288.15, nominal = 300.0, displayUnit = "degC") M; Real(start = 0.0, quantity = "Resistance per meter", unit = "Ohm/m") RCha; Real(start = 0.0, quantity = "Reactance per meter", unit = "Ohm/m") XCha; end Buildings.Electrical.Transmission.LowVoltageCables.Generic;[1]. Error: Error occurred while flattening model Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACSimpleGrid Notification: Performance of FrontEnd: time 0.4604/1.195, allocations: 7.852 MB / 0.7757 GB, free: 182.8 MB / 0.6511 GB