In Modelica.StateGraph.Examples.ShowCompositeStep, there are no connection to compositeStep.resume and compositeStep.suspend.
Both these connectors contain an input variable, which are counted as variables in the context of Modelica.StateGraph.Examples.ShowCompositeStep, but the equations that set the value to these connectors is in Modelica.StateGraph.PartialCompositeStep.
In other words, when resume and/or suspend are not connected Modelica.StateGraph.Examples.Utilities.CompositeStep is locally unbalanced.