Yes this is an art form in itself. I've been planning to do a series on debugging Modelica and the different failure modes that come up, and what tools can be used. It is a known limitation in the Modelica community, but it is also really hard to address in an automatic fashion. See [1] and [2] for some ideas.