Nonlinear dynamic modeling and simulation of a passively cooled small modular reactor