Simulation and experimental demonstration of a linearized adaptive optics control loop