﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
5591	Protected top-level input connectors are not handled correctly by the NF	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 ()
}}}

The protected input u is just one variable as any other one, why isn't it counted as such?

Then, the model runs anyway and produces a wrong result, but that's another story, probably related to #5564.

"	defect	closed	blocker	1.16.0	Backend		fixed		
