Confusion control in generalized Petri nets using synchronized events