Skip to content

Conversation

hersle
Copy link
Contributor

@hersle hersle commented Oct 1, 2025

Fix or mitigate #3882.

julia> dsys = debug_system(sys; functions = []);
       dprob = ODEProblem(dsys, [], (0.0, 10.0));
       dsol = solve(dprob, Tsit5(); dtmin = 0.1); # high dtmin only to show less clutter on this page
┌ Error: Assertion (u1(t) + u2(t)) >= 2.0 failed:
│ Oh no!
└ @ ModelingToolkit ~/.julia/dev/ModelingToolkit.jl/src/debugging.jl:67
┌ Error: Assertion (u1(t) + u2(t)) >= 2.0 failed:
│ Oh no!
└ @ ModelingToolkit ~/.julia/dev/ModelingToolkit.jl/src/debugging.jl:67
┌ Error: Assertion (u1(t) + u2(t)) >= 2.0 failed:
│ Oh no!
└ @ ModelingToolkit ~/.julia/dev/ModelingToolkit.jl/src/debugging.jl:67
┌ Error: Assertion (u1(t) + u2(t)) >= 2.0 failed:
│ Oh no!
└ @ ModelingToolkit ~/.julia/dev/ModelingToolkit.jl/src/debugging.jl:67
┌ Error: Assertion (u1(t) + u2(t)) >= 2.0 failed:
│ Oh no!
└ @ ModelingToolkit ~/.julia/dev/ModelingToolkit.jl/src/debugging.jl:67
┌ Error: Assertion (u1(t) + u2(t)) >= 2.0 failed:
│ Oh no!
└ @ ModelingToolkit ~/.julia/dev/ModelingToolkit.jl/src/debugging.jl:67
┌ Warning: dt(0.1) <= dtmin(0.1) at t=0.4538820261379217, and step error estimate = NaN. Aborting. There is either an error in your model specification or the true solution is unstable.
└ @ SciMLBase ~/.julia/packages/SciMLBase/YE7xF/src/integrator_interface.jl:646

@ChrisRackauckas ChrisRackauckas merged commit 688b559 into SciML:master Oct 1, 2025
1 of 4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants