Opened 13 years ago

Last modified 12 years ago

#1570 closed discussion

Cryptic error messages returned when checking a model — at Initial Version

Reported by: Leonardo Laguna Owned by: Leonardo Laguna
Priority: high Milestone:
Component: Backend Version:
Keywords: Cc: Leonardo Laguna

Description

We have this very simple model (that is incorrect)

package Danne

model M1

parameter Real x=1;
Danne.M2 m21(M31.m41.m51.x=2);

end M1;
model M2

parameter Real x=1;
Danne.M3 m31;

end M2;

end Danne;

and when checking the model we obtain this error message that is very hard to understand:

Error: Variable m21: In modifier (M31 = (m41 = (m51 = (x = 2), class or component x), class or component m51), class or component m41), class or component M31 not found in <M2>

Is it possible to improve the printing of these type of errors?

Change History (0)

Note: See TracTickets for help on using tickets.