Opened 5 years ago

Last modified 5 years ago

#5418 new defect

Avoid confusing error messages from the solvers

Reported by: casella Owned by: adeas31
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 casella 5 years ago.

Download all attachments as: .zip

Change History (4)

Changed 5 years ago by casella

comment:1 follow-up: Changed 5 years ago by adeas31

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?

comment:2 in reply to: ↑ 1 Changed 5 years ago by ceraolo

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 Changed 5 years ago by adeas31

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.