﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
4724	Boxed expressions are passed to the back-end which cannot handle them	Francesco Casella	Per Östlund	"All the examples from {{{Modelica.Electrical.Analog.Examples.OpAmps}}} eventually fail when compiled with the new front-end, because boxed expressions are passed to the back-end that cannot handle them.

For example, OpAmps.Comparator contains
{{{
#(opAmp.v_out) = smooth(0, min(opAmp.Vps, max(opAmp.Vns, opAmp.V0 * opAmp.v_in)));
}}}

This causes a mismatch in equation counting (OMEdit reports 61 equations and 60 variables), and later on also an error in the Backend due to equation-variables mismatch.

Unless this causes significant overhead, a check should be performed at the end of the front-end that no boxed expressions are left for the backend to process, so that meaningful error messages can be issued in that case."	defect	closed	high	2.0.0	New Instantiation		fixed		
