Safety analysis of the MARS IV nuclear plant