﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5589	Protected top-level input connectors are not handled correctly by the backend	Francesco Casella	Lennart Ochel	"Please run the following test case
{{{
model TestProtectedInput
  protected
    Modelica.Blocks.Interfaces.BooleanInput u;
equation
  u = time > 1 and time < 2;
  annotation(
    experiment(StopTime = 10));
end TestProtectedInput;
}}}
OMEdit outputs two red error messages:
{{{
[1] 12:51:14 Symbolic Error
Too many equations, over-determined system. The model has 1 equation(s) and 0 variable(s).

[2] 12:51:14 Translation Error
[TestProtectedRealInput: 5:3-5:47]: Internal error u = if time > 1.0 and time < 2.0 then 1.0 else 0.0 has size size 1 but 0 variables ()
}}}

I guess the problem here is that a defaul connection equation is added to the system because of the top-level connector. This shouldn't be the case, as the connector is protected.

Then, the model runs anyway and produces a wrong result, but that's another story, probably related to #5564.

"	defect	closed	blocker	1.14.0	Backend		invalid		Karim Adbdelhak Andreas Heuermann
