I am not an expert on simple models in Delphino F28377s, but I imagine that the people who may answer your question will need more information. Things like: what did you try, where in your code do you think is the error.
Try to reduce it to a MWE: the smallest piece of code that you can run which will yield the problem.