Hello dumitru-daniel.popa
I have the same problem with my modified model from PMSM Workshop Module 5.
The Simulation is successful but after I want to build the model this error occurs:

Could you help ? I attached the model with KV4x.
Do you have a block or more called DAS in your model?
I already searched in the model Explorer and didn't found any match.
Best regards
Leon