﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4861	TimeTable models fail in NF because of lack of function evaluation	Francesco Casella	Per Östlund	"Please check [https://libraries.openmodelica.org/branches/newInst/ScalableTestSuite/files/ScalableTestSuite_ScalableTestSuite.Elementary.Tables.Models.TimeTable.err ScalableTestSuite.Elementary.Tables.Models.TimeTable]. It fails in the CodeGen phase. Flattening the model with the NF gives declarations such as
{{{
  final parameter Real tableX[1] = linspace(0.0, 1.0, 10)[1];
  parameter Real timeTable.table[1,1] = cat(2, promote(tableX, 2), promote(tableY, 2))[1, 1];
}}}
instead of 
{{{
  final parameter Real tableX[1] = 0.0;
  parameter Real timeTable.table[1,1] = tableX[1] ;
}}}
produced by the old FE.

I guess this is also related to the lack of function evaluation."	defect	closed	high	2.0.0	New Instantiation		fixed		
