# How to debug IDA

**URL:** <https://discourse.julialang.org/t/how-to-debug-ida/54643>\
**Category:** Modelling & Simulations\
**Tags:** question\
**Created:** [February 4, 2021, 7:13pm UTC](https://discourse.julialang.org/t/how-to-debug-ida/54643 "2021-02-04T19:13:36Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![ohmsweetohm1](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/ohmsweetohm1/32/49126_2.png) [@ohmsweetohm1](https://discourse.julialang.org/u/ohmsweetohm1)\
**Post date:** [February 4, 2021, 7:13pm UTC](https://discourse.julialang.org/t/how-to-debug-ida/54643/1 "2021-02-04T19:13:36Z")

</div>

I have a large DAE problem (102 variables) and have trouble finding consistent initial conditions.  
I always get:

[IDAS ERROR] IDACalcIC  
Newton/Linesearch algorithm failed to converge.

Is there a way to debug this?

---

<div class="post-metadata">

**Author:** ![ChrisRackauckas](https://sea2.discourse-cdn.com/julialang/user_avatar/discourse.julialang.org/chrisrackauckas/32/77_2.png) [@ChrisRackauckas](https://discourse.julialang.org/u/ChrisRackauckas)\
**Post date:** [March 18, 2021, 6:26pm UTC](https://discourse.julialang.org/t/how-to-debug-ida/54643/2 "2021-03-18T18:26:07Z")

</div>

There’s a reason why we are trying to move away from opaque C++ libraries 😆. Not really, that’s what SUNDIALS reports: we’re giving you all of it. gg nore. Try DABDF2 and see what it does: we can at least inspect that more.
