Increment number-produced stat accumulator
Compute & tally time in system (now - time of arrival)
Update time-persistent statistics (as in arrival event)
If queue is non-empty:
Take first part out of queue, compute & tally its waiting time in queue, begin service (schedule departure event)
Else (queue is empty):
Make the machine idle (Note: there will be no departure event scheduled on the future events calendar, which is as desired)