Add modelica test. Add ability to pass dictionary of list in MultiGrid instead of list of dict