Bogolyubov’s theorem for a controlled system related to a variational inequality