The Generator model periodically generates messages and send them through its output port.
The first message is generated at time = firstGeneration. The value of the generated message is outValue. Another message is generated every elapsed period.
The numGenerations parameter sets the maximum number of messages to be generated.
model Generator = Examples.SimpleModels.Generator.generator;