The paper addresses issues of using the active rectifier in partially loaded variable frequency drive as active filter in the conditions of non-sinusoidal current and voltage disturbances caused by the presence of high-power non-linear load in the grid. The topology of transformless three-level converter for 6-10 kV suitable for proposed solution has been presented and its mathematical model has been de-rived. Based on the model, the direct power control algorithm with ability to compensate non-linear currents has been designed. The investigation of active rectifier efficiency was performed depending on the relation between linear and non-linear load currents of the grid node, as well as on active power load of the active rectifier. Efficiency analysis was based on the developed computer model of the grid node with connected non-linear load simultaneously with the variable frequency drive with active rectifier.