added error logging to ModelProcessor with respective test