Discovering the Hidden Structure of Complex Dynamic Systems