﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
3534	Optimize FMI getters and setters for aliases	Rüdiger Franke	Adeel Asghar	"[changeset:5e6d738f1b768a0f1e9432e56f3b93bf9403de50/OMCompiler] uses value references of the original variables for positive aliases in FMI 2.0 modelDescription.xml. 

This causes two tests to fail:
openmodelica_fmi_ModelExchange_2.0.Modelica_Mechanics_MultiBody_Examples_Elementary_DoublePendulum.mos
openmodelica_fmi_ModelExchange_2.0.Modelica_Mechanics_MultiBody_Examples_Elementary_Pendulum.mos

This is why the elimination of alias references has been disabled again for C FMI export in [changeset:2490aa1ec587f5a97b2cb6db6167b4e3fce40ad7/OMCompiler].
The reason for the error (incorrect alias variables with start attribute) can still be considered there -- it is just not visible in modelDescription.xml if alias variables have own value references.

Once this is resolved, the respective case statements for getting or setting positive aliases can be removed from exported C code.

The new function SimCodeUtil.getValueReference takes the boolean input `inElimNegAliases`. This can be set to true for FMI 1.0 to also eliminate getter/setter code for negated aliases."	enhancement	new	normal	Future	FMI				
