dataserver can restore the model database without affecting master.
WARNING! Shut down Adaptive Server before you use any dataserver command.
On UNIX platforms:
dataserver -d /devname -w model
On Windows:
sqlsrvr -d physicalname -w model