Continuous time, discrete event system in Julia