Critical behavior in ultrastrong-coupled oscillators