﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
1354	Wrong number of equations reported	Jan Brugård	Jan Brugård	"Consider the following model:

{{{
model WrongNumberofEquations
  type Transparency= Modelica.Icons.TypeReal(min=0, max=1);
  type Shininess= Modelica.Icons.TypeReal(min=0, max=1);
  input Transparency transparency=0 ;
  Shininess shininess=0 ;
end WrongNumberofEquations;
}}}

The model reports that it has 3 equations and 1 variable, which is clearly incorrect. Both types are aliases of type Real. If the model is changed to use reals instead it reports 1 equation and 1 variable (i.e. it works, but it should probably report to of each whereof one is input):

{{{
model WrongNumberofEquations2
  input Real transparency=0 ;
  Real shininess=0 ;
end WrongNumberofEquations2;
}}}"	defect	closed	blocker				fixed		Jan Brugård
