MarekMatejak / Physiolibrary

Modelica library for Physiology
BSD 3-Clause "New" or "Revised" License
33 stars 19 forks source link

OpenModelica fails on Physiolibrary.Blocks.Interpolation.Curve #6

Closed TomasKulhanek closed 10 years ago

TomasKulhanek commented 10 years ago

The following is thrown: Error: Cyclically dependent constants or parameters found in scope Physiolibrary.Blocks.Interpolation.Curve: {data,x}, {data,y}, {data,slope}. Error: Error occurred while flattening model Physiolibrary.Blocks.Interpolation.Curve

The workaround in Physiolibrary may be to comment the initial values of "x,y,slope" because they refers to "data" and "data" cyclically refers to "transpose({x,y,slope})".