ERROR: ouch, trying to fetch from the past

Hello! I am getting the following message every time with my circuit at ~2.4ms with :
ouch, trying to fetch from the past 49582 49587
Error: ngspice.dll cannot recover and awaits to be detached
Has anyone met this? What’s the reason of the issue and how can I fix it?

Application: KiCad (64-bit)

Version: (6.0.10), release build

Libraries:
wxWidgets 3.2.1
libcurl/7.86.0-DEV Schannel zlib/1.2.13

Platform: Windows 10 (build 19045), 64-bit edition, 64 bit, Little endian, wxMSW

Build Info:
Date: Dec 19 2022 21:23:04
wxWidgets: 3.2.1 (wchar_t,wx containers)
Boost: 1.80.0
OCC: 7.6.2
Curl: 7.86.0-DEV
ngspice: 38
Compiler: Visual C++ 1929 without C++ ABI

Build settings:
KICAD_USE_OCC=ON
KICAD_SPICE=ON

I don’t know too much about ngSpice, but with problems like this always include the full version info from: Help / About KiCad / [Copy Version Info], and paste it into your post.

You can edit your post by clicking on the pencil:
image

1 Like

Indeed this error message is not that helpful.

It stems from the random noise generator. I have never seen this but who knows…

You may try changing TSTEP (just a little bit) to check if then the error goes away.

I would like to check it in detail. So can you zip your project (including all models used) and post it here? I will then have a look.