Compile-time dynamic and recursive data structures in Modelica

The current Modelica Standard (v3.3) does not support dynamic or recursive data structures. For many applications this constitutes a serious restriction rendering certain implementations either impossible or requires elaborate and unelegant constructs. In this paper we will show that support for dynamic and recursive data structures can be implemented in the Modelica IDE Dymola using a variety of advanced constructs. This proves the principle viability of the then proposed inclusion of those data structures in the Modelica Standard.