Conversion of dc power input into dc power output with intermediate conversion into ac by static converters