function booleanClock input Boolean condition; input Real startInterval = 0.0; output Clock c; end booleanClock;