Where is jsbsim in apm?

Hi everyone.
The default sitl tool is jsbsim in apm, but I cannot find where jsbsim is in the apm code and how it is used by API.
Can anyone tell me? Thank you!