We consider a mathematical model of an optical system where the phase modulation introduced by a nonlinear optical element involves a phase shift in an additional time-integral feedback loop, which is determined by the gain coefficient G. In the case of = G 0, this model describes the dynamics of a nonlinear interferometer, where the effect of phase distortion compensation has been numerically and experimentally investigated before. In this paper, the results of 2D numerical simulations are presented for the case > G 0. It is shown that different types of small-amplitude stationary phase inhomogeneities can be fully compensated with time. The effect of the partial suppression of dynamic distortions given in the form of traveling waves and Kolmogorov-spectrum atmospheric irregularities is demonstrated; the quality of the distortion compensation is analyzed, depending on the spatiotemporal characteristics of the waves. The obtained results confirm the potential of using the optical feedback configuration with an additional integral circuit for suppression of both static and dynamic phase distortions.