Ap: prearm: accels inconsistent error on MAV console during ArduPilot SITL for Iris drone

I am working with Iris drone Ardupilot SITL in gazebo, the entire simulation environment was working fine since last 2 weeks that i’ve installed the Ardupilot Simulation related repos, however since yesterday when i run the SITL alongwith the gazebo simulation, i get an “ap: prearm: accels inconsistent” error on the mav console. The official documentation on arducopter only shows how to remove this error by recalibrating the physical drone but it doesn’t say anything about SITL. This error causes further errors during arming motors and takeoff( in case i do get the motors armed). Can anyone tell me how to resolve this in SITL? Thanks in advance.