The SQP code is fairly new and still has a few issues to be worked out. One of these is the tendencies to produce overflows. You may have to turn off overflow checking to get your SQP models to run.
Please see this forum post
for instructions on how to edit gfortran_init.c
to disable this checking.