﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4290	bug/regression: nested expandable connectors cause error in new release 1.11 not in previous 1.9.7	sinisi@…	somebody	"If I compile the attached toy model using omc v1.11.0 I get the following error:

{{{
Error processing file: A.mo
[/mnt/nfs/sinisi/A.mo:43:3-43:27:writable] Error: Failed to instantiate equation 
connect(busB1.y, bus.b1);.
Error: Error occurred while flattening model A

# Error encountered! Exiting...
# Please check the error message and the flags.

Execution failed!
}}}

Instead using omc v1.9.7 compilation process ends without any error.

I discovered that inverting the order of connect equation in model A from:
{{{
connect(busB1.y, bus.b1);                                                                                                                                                                            
connect(busB2.y, bus.b2);                                                                                                                                                                            
connect(busB1, b1.busB);                                                                                                                                                                             
connect(busB2, b2.busB);                                                                                                                                                                             
connect(bus, b1.bus);                                                                                                                                                                                
connect(bus, b2.bus);                                                                                                                                                                                
connect(const.y, bus.x);
}}} 
to:
{{{                                                                                                                                                                      
connect(busB1, b1.busB);                                                                                                                                                                             
connect(busB2, b2.busB);                                                                                                                                                                             
connect(bus, b1.bus);                                                                                                                                                                                
connect(bus, b2.bus);                                                                                                                                                                          
connect(const.y, bus.x);
connect(busB1.y, bus.b1);                                                                                                                                                                           
connect(busB2.y, bus.b2);
}}}

the problem is solved."	defect	closed	high	maint/1.11	Frontend	v1.11.0	invalid	expandable connector connect equation bug regression v1.11.0 v1.9.7	
