Jupyter-lab kernel stays on idle, while trying to run simulation

Hi everyone,

I’m trying to run a model that I’ve made on Jupyter-lab. It runs well for a small amount of time, but the moment I scale it up a bit and run it again, the kernel turns to idle while the cell that I’m running still needs to be executed [*]. Since the small model runs almost instantly and only a fraction larger will create this problem, I think it’s a problem with jupyterlab.

I’m fairly new to jupyterlab and python, so I don’t know if this has a simple solution. I did find that the notebook I’m writing in shows to be not trusted in the terminal, but changing that (by copying the code in a new notebook) did not seem to solve it.

I hope anyone knows what might be wrong, if you need any details I’d be happy to send some.