Convert InitWithGlobalDefault to Init
function convertToInit extends Modelica.Icons.Function; import Modelica_LinearSystems2.Controllers.Types; input Types.InitWithGlobalDefault globalInit; input Types.Init sampleInit; output Types.Init Init; end convertToInit;