An IDA initialization error means that my default attempt to set the states so that f(y,y') = 0 failed to do so within the requested accuracy.
(f is the set of differential-algebraic equations governing the model)
The default attempt consists of a short 1e-9ms fixed implicit step with the hope that the step is short enough so that the differential states do not change by an observable amount, and long enough (i.e. > 0) so that the
algebraic states have setttled into their quasi-steady state by the end of the fixed step, and long enough (i.e. >> 0) so that the round off error does not
screw everything up via subtractive cancellation. See
http://www.neuron.yale.edu/neuron/stati ... init_dteps
for further information and how to select some alternative methods for initialization that may give better results for your model. However it
may be the case that the optimizer selected a parameter value that
just plain makes it impossible to initialize the problem.
Note that you can set the initialization style so that it produces a warning
instead of an error.
Without examining your model in further detail during such an initialization error I can't be more precise about how to avoid them. My overall understanding is that in a DAE system, there are some or many linear combinations of states that have a time constant of 0 and that if the
next smallest time constant is not >> than cvode.dae_init_dteps then
it will be very difficult to find a consistent initial condition such that
all the linear combinations of states with time constant > 0 remain fixed.