This error may occur in the following situations:
To solve this problem
Use error trapping in order to detect a singular matrix while executing LU method.
LU Method