Opened 6 years ago
#5424 new defect
How do I access/locate the code fragment transformations while my model is being flattened?
Reported by: | Owned by: | somebody | |
---|---|---|---|
Priority: | high | Milestone: | Future |
Component: | Frontend | Version: | v1.13.2 |
Keywords: | Cc: |
Description
In an effort to learn and improve my almost non-existent debugging skills, a book I've been reading suggests that I look into the code transformations that occur to my model when it is being flattened.
I've known for a while now, that OpenModelica compiles the modelica model from it's EOO language into C. What I recently learned about how the compiler will replace, reject or alter the original input code and change it to the extent that a user with little computer science background (me) will not be able to recognize the errors produced and how to trouble shoot them (me times 100).
I haven't had the best luck with trouble shooting and solving the errors developed from my models and hope that this route will give me a new perspective on debugging.
The book I am referencing is called, "Tools and Methods for Analysis, Debugging, and Performance Improvements of Equation-Based Models" written by Martin Sjolund