encapsulated function reduceRosenbrock import Modelica; import Modelica.Math.Matrices.flipLeftRight; import Modelica_LinearSystems2; import Modelica_LinearSystems2.StateSpace; import Modelica_LinearSystems2.Math.Matrices; import Modelica_LinearSystems2.Math.Vectors; import Modelica.Utilities.Streams.print; input Real A[:, :]; input Real B[:, :]; input Real C[:, :]; input Real D[:, :]; output Real Ar[:, :]; output Real Br[:, :]; output Real Cr[:, :]; output Real Dr[:, :]; output Integer n; output Integer m; output Integer p; end reduceRosenbrock;