Optimized auxiliary oscillators for the simulation of general open quantum systems