﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1876	Expandable connectors: wrong equations generation in Multibody	Bruno Scaglioni	Adrian Pop	"While testing multibody library for MSL 3.2.1 I disovered that the example systems.oneAxis don't simulate anymore (MSL 3.1 simulates) because the flattened model has more equations then variables. 

{{{
Class Modelica.Mechanics.MultiBody.Examples.Systems.RobotR3.oneAxis has 445 equation(s) and 500 variable(s).
329 of these are trivial equation(s).
}}}
Exploring the flattened code from 3.1 and 3.2.1 i discovered that inside {{{controlBus}}} model all the equations of the six {{{axisControlBus}}}
are activated nevertheless only variables of {{{axisControlBus1}}} are assigned (look at PathPlanning1 model), so, referring to Modelica Specification 3.2 rev1 only equations with a matching variables should be activated. 

This happens in MSL 3.2.1 because {{{controlBus}}} model containing the six axisControlBus does not expand anymore an empty {{{controlBus}}} model but in 3.2.1 only the controlBus within six axisControlBus exist. However the models are compliant to the 3.2 rev 1 Specific and they simulate correctly in Dymola, so this should be fixed."	defect	closed	high	1.9.0	Backend	trunk	fixed	expandable connectors	
