Determine the event times are correct
function eventCheck extends Modelica.Icons.Function; input Real eventtime[:] "event times"; output Boolean result "= true, if event times are correctly"; end eventCheck;