#323 fixed (Check usage of regRoot2 throughout the library):

The final issue was that Dymola complains with the pedantic flag:
  "Differentiating xxx under the assumption that it is continuous at switching."

This seems to be too pedantic, since the function in which this expression is used
has an annotation "smoothOrder", and the tools should just accept this definition 
from the user.

In order to avoid this error message, a "smooth(2, ...)" operator has been 
introduced around the corresponding expression.





git-svn-id: https://svn.modelica.org/projects/Modelica/trunk@5871 7ce873d0-865f-4ce7-a662-4bb36ea78beb