Having issues speeding up code with multithreading

And all the time is spent in allocation required by the linear solve:

2 Likes