﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3685	SimCode generation time does not scale properly with the system size	Francesco Casella	Willi Braun	"Consider the results on the compilation of the models {{{ScalableTestSuite.Electrical.TransmissionLine.ScaledExperiments.TransmissionLineModelica_N_XX}}} reported here: 

https://test.openmodelica.org/libraries/ScalableTestSuite_Experimental/BuildModelRecursive.html

It is immediate to notice that the SimCode time scales approximately with the square of the sytem size. This is not right, as we might expect that the amount of code that describes these models is roughly proportional to their size. For large models, this can lead to prohibitevely high times.

It might be the case that the implementation of the functionalities in SimCode contains some double recursion that originates this behaviour.

Please investigate if this is the case and, if so, try to reimplement the functions avoiding the double recursion and the quadratic growth of the execution time."	defect	closed	critical		Code Generation	v1.9.4-dev-nightly	fixed		
