encapsulated function dgreeOfRedSys import Modelica_LinearSystems2.StateSpace; import Modelica_LinearSystems2; input StateSpace ss; output Integer degree_rs; end dgreeOfRedSys;