Online greedy identification of linear dynamical systems