Use of the derivative of an external function directly in the model crashes the preprocessor
See email to @sebastien-villemot on June 9th, 2014