This paper will present a multi-domain (electrical and thermal) model of a three phase voltage source converter and its implementation in Modelica language. An averaged model is utilised for the electrical domain, and a power balance method is used for linking the DC and AC sides. The thermal domain focuses in deriving the converter losses by deriving the analytical equations of the space vector modulation to derive a function for the duty cycle of each converter leg. With this, the conduction and switching losses are calculated for the individual switches and diodes, without having to model their actual switching behaviour. The model is very fast to simulate, as no switching events are needed, and allows obtaining the simulation of the electrical and thermal behaviour in the same simulation package..