Necessary first and second order optimality conditions in one optimal control stepwise problem with discrete-continuous system - R. O. Mastaliev (International Scientific Technical Journal «Problems of Control and Informatics», 2015)