﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc
2584	How to handle bad used StateSelect.never attribute?	Lennart Ochel	probably noone	"Should the following model fail or not?

{{{#!mo
model Unnamed
  Real y(fixed=true, stateSelect=StateSelect.never);
equation
  der(y) = time;
end Unnamed;
}}}

This is what the specification says:
{{{
type StateSelect = enumeration(
never   ""Do not use as state at all."",
avoid   ""Use as state, if it cannot be avoided (but only if variable
         appears differentiated and no other potential state with 
         Attribute default, prefer, or always can be selected)."",
default ""Use as state if appropriate, but only if variable appears
         differentiated."",
prefer  ""Prefer it as state over those having the default value
         (also variables can be selected, which do not appear
         differentiated). "",
always  ""Do use it as a state.""
);
}}}

Currently, the variable y gets selected as state anyway. That is not what I would expect for StateSelect.never."	discussion	new	high	Future	Backend	trunk			
