Thanks a lot for your help! I am afraid, I am still a bit lost with your explanation about “autodiffed abs”. Could you explain this in a bit more detail? In particular, why does this error only occurs after the second compilation / after the second forward evaluation?