﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
6116	NF includes input records in the variables count	Andrea Bartolini	Per Östlund	"Consider the following package (also attached):
{{{
package TestInput
  record R1
    Real x;
    Real y;
  end R1;
  
  model M1
    input R1 rec1;
    Real z;  
  equation
    z = time;    
  end M1;
end TestInput;
}}}
In the model {{{M1}}} the record {{{R1}}} id declared as {{{input}}}, so when I check the model M1 I expect to obtain a balanced model with 1 equation and 1 variable.

Instead of that, this is what I obtain:
{{{
Check of TestInput.M1 completed successfully.
Class TestInput.M1 has 1 equation(s) and 3 variable(s).
1 of these are trivial equation(s).
}}}

so it seems that the NF includes in the variables count the two variables declared inside the record {{{R1}}}, also if that record is declared as {{{input}}} in the model {{{M1}}}.


OMEdit - OpenModelica Connection Editor
Connected to OpenModelica 1.16.0~dev-624-g08661c9

Sysop: linux Ubuntu 18.04
"	defect	closed	critical	2.0.0	New Instantiation	v1.16.0-dev	fixed		Francesco Casella
