﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1899	Discusssion on how to make the generated code smaller	Adrian Pop	somebody	"
This ticket sets up a discussion on how we can make the 
generated code smaller so that compilation times go down.

As pointed out by VTT:
http://www.simantics.org/~luukkainen/OM_PerformanceReport.pdf 
the C files for the simulation are quite large 
and that requires quite some time to compile.

For example 
[https://trac.openmodelica.org/OpenModelica/browser/trunk/testsuite/simulation/libraries/3rdParty/VTT/FreeBody18.mo FreeBody18.mos]
generates ~10MB of C code.
and 15MB of .xml file.

One way to fix this we should move *ALL* the static data
in the Model_init.xml file to make the C file smaller.
But this might not be enough as we already moved quite
some data to the .xml file.

Could we get rid of the defines completely?
Any other ideas? Feel free to comment here.

"	discussion	new	high	Future	Backend	trunk			Willi Braun Jens Frenkel Lennart Ochel Martin Sjölund Per Östlund
