Dynamic mode decomposition analysis of the common research model with adjoint-based gradient optimization