Opened 6 years ago

Last modified 6 years ago

#5418 new defect

Avoid confusing error messages from the solvers

Reported by: Francesco Casella Owned by: Adeel Asghar
Priority: blocker Milestone: 2.0.0
Component: OMEdit Version:
Keywords: Cc:

Description

Oftentimes, solvers encounter problems during the initialization or the simulation of the system. Error are issued in threatening red characters, but the the initialization and possibly the simulation are completed successfully (see one example screenshot attached).

This is quite confusing, particularly for beginners. If solvers take too bold steps, fail, but then recovers and successfully completes the task, there's no reason to issue red error messages. A warning could be issued, but not more.

It would be nice to fix this for 2.0.0

Attachments (1)

image.png (63.4 KB ) - added by Francesco Casella 6 years ago.

Download all attachments as: .zip

Change History (4)

by Francesco Casella, 6 years ago

Attachment: image.png added

comment:1 by Adeel Asghar, 6 years ago

This is possible as long as the solver is setting the proper stream. In OMEdit we set red for error, warning and assert streams. I can change warnings to lets say orange.

Can you share a sample model?

in reply to:  1 comment:2 by massimo ceraolo, 6 years ago

Replying to adeas31:

I can change warnings to lets say orange.

Indeed color for warnings is already under user control via settings. You mean that there are some warnings that do not fall yet under that control? Maybe in that case it is better to use also for them the color set via tools|Options|Messages

comment:3 by Adeel Asghar, 6 years ago

Those settings are for the messages shown in Messages Browser but yes we can use the same settings here as well.

Note: See TracTickets for help on using tickets.