﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4741	analyzeInitialSystem scales as O(N^3) when NF is used	Francesco Casella	Per Östlund	"Please consider the {{{ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_XXX}}} models in the ScalableTestSuite. 

The [https://libraries.openmodelica.org/branches/master/ScalableTestSuite/ScalableTestSuite.html times spent by the analyzeInitialSystem] function of the back-end when the old FE is used are roughly linear with N and have a marginal impact on the total build time. If you check the [https://libraries.openmodelica.org/branches/newInst/ScalableTestSuite/files/ScalableTestSuite_ScalableTestSuite.Thermal.Advection.ScaledExperiments.AdvectionReaction_N_3200.err times spent] when the NF is used, you get these values:

||= N =||= Time (s) =||
||  400|| 0.08||
||  800|| 0.61||
|| 1600|| 4.74||
|| 3200|| 40.50||

It seems that for some reason if the backend is handed the model by the NF it scales very badly. Please check."	defect	closed	high	2.0.0	New Instantiation		fixed		
