sim1: when there are NaNs/Infs, raise a warning rather than an error.

Otherwise the homotopy procedure can fail prematurely.

Thanks to Tom Holden for the suggestion.