Derivation of aggregation matrices for simplified models of linear dynamic systems and their applications for optimal control