modelica / ModelicaStandardLibrary

Free (standard conforming) library to model mechanical (1D/3D), electrical (analog, digital, machines), magnetic, thermal, fluid, control systems and hierarchical state machines. Also numerical functions and functions for strings, files and streams are included.
https://doc.modelica.org
BSD 3-Clause "New" or "Revised" License
481 stars 169 forks source link

Models that deliberately do not simulate in ModelicaTest #1292

Open modelica-trac-importer opened 7 years ago

modelica-trac-importer commented 7 years ago

Reported by fcasella on 26 Sep 2013 15:03 UTC An important part of the design of the MSL is to make sure that incorrect models cannot be simulated, and that end users can get meaningful feedback to spot the root cause of incorrect models and fix them. These features should also be tested.

As a consequence, there might be models in ModelicaTest that are designed not to produce any simulation result (e.g., overconstrained initialization problems with inconsistent initial conditions). A proper convention should be decided to mark those models, so that the outcome "no simulation result" is considered as the desired output.


Migrated-From: https://trac.modelica.org/Modelica/ticket/1292

beutlich commented 3 years ago

@casella @HansOlsson Do you think the shouldPass annotation of Modelica 3.5 helps to clarify the models of ModelicaTestOverdetermined.mo?