Ok, thanks for the information.
Let’s maybe try to scale down the problem and have a minimal working version.
Could you post the model definition, so that we could use it as a starter?
If that’s not possible due to licensing etc., feel free to create a “similar” dummy model.