you don't say which version of Nastran you are suing. Anyone reading the QRG will find something along these lines
The number of suspected massless mechanisms is determined from the number of high ratio messages. If this number exceeds NLMAX, the number of trial massless mechanisms is reduced...