﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1118	Stack overflow when using Matrix in connector	Schubert TUD	Schubert TUD	"Dear all,

when trying to simulate the simple model given below, the omc fails with a stack overflow. 
The model consists of a connector which in turn consists of 3x3 Matrix. The stack overflow \\
occurs if a matrix element is set equal to a ""variable"" expression, like cos(phi) as in the example below.
If every element is a constant (e.g. identity), everything is fine.

Regards,

Christian

PS: Here is the model:

connector con 
  Real A[3,3]; 
end con;

model Test  
  Real phi(start=1);
  con o;
equation
  der(phi)=1;
  o.A = {{cos(phi),0,0}, {0,1,0}, {0,0,1}}; 
end Test;

PPS: Find attached the out.txt which shows all errors thrown by the omc."	defect	closed	high		Instantiation	1.4.5	worksforme		Schubert TUD
