﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1008	Matrix equations in connections not flattened properly	rruusu	rruusu	"Matrix components are not properly handled in connection equations. They are flattened to a sets of vector equations, instead scalar equations.

A simple test case for reproduction:
{{{connector A
  Real[3,3] matrix;
end A;

model B
  A a, b;
equation
  connect(a, b);
end B;}}}

 The resulting flattened model is:
{{{fclass B
Real a.matrix[1,1];
Real a.matrix[1,2];
Real a.matrix[1,3];
Real a.matrix[2,1];
Real a.matrix[2,2];
Real a.matrix[2,3];
Real a.matrix[3,1];
Real a.matrix[3,2];
Real a.matrix[3,3];
Real b.matrix[1,1];
Real b.matrix[1,2];
Real b.matrix[1,3];
Real b.matrix[2,1];
Real b.matrix[2,2];
Real b.matrix[2,3];
Real b.matrix[3,1];
Real b.matrix[3,2];
Real b.matrix[3,3];
equation
  a.matrix[1] = b.matrix[1];
  a.matrix[2] = b.matrix[2];
  a.matrix[3] = b.matrix[3];
end B;
}}}"	defect	closed	critical				fixed		rruusu Adrian Pop
