﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6365	check type of submodel	lukas.koenemann@…	arunkumar palanisamy	"Hey,
I'm using openmodelica/OMPython to simulate models. After simulation (call *.exe-File) i get the results as a mat-File. Is it possible to read out the type of sub-model/component that is included inside the main-model. For example:

package test

model submodel 
 parameter Real a = 2;
end submodel;
model mainmodel
 parameter Real b = 4;
 submodel S(a=4);
end mainmodel;

end test;

Is there any possibility to check what kind os model ""S"" is (with omc after initialization)? For example like:
loadmodel(test.mainmodel);
--> true
type(S);
--> ""submodel"""	defect	new	high	NeedsInput	OMPython	1.16.2			
