expandSubsystems
Given a set of subsystems (including groups), this extracts the subsystems from within those groups and returns the set of the subsystems in the set plus the subsystems that are children of the groups (if any).
Return
the expanded set of subsystems
Parameters
subsystems
the set of subsystems to expand