On repeated analysis, check if LUSOL workspace has been allocated before. If so, nuke it and allocate the new one. This is a brute-force solution to prevent memory leaks and should be refined.
Created allocateSolverData and freeSolverData private methods.
Some bandaid solutions for LUSOL:
allocateSolverData
andfreeSolverData
private methods.out
.