-
-
Notifications
You must be signed in to change notification settings - Fork 4
Closed
Labels
Description
Output:
> julia include("input_output_function.jl")
[ Info: Reading /home/ufechner/repos/KiteModels.jl/data/ram_air_kite_body.obj
[ Info: Centering vertices of .obj file to the center of mass: [-0.585579315397995, 0.001847170553873602, 0.41404719654294164]
[ Info: Loading 2d polars from /home/ufechner/repos/KiteModels.jl/data/ram_air_kite_foil_cl_polar.csv, /home/ufechner/repos/KiteModels.jl/data/ram_air_kite_foil_cd_polar.csv and /home/ufechner/repos/KiteModels.jl/data/ram_air_kite_foil_cm_polar.csv
[ Info: Creating ODESystem
3.150809 seconds (6.24 M allocations: 150.568 MiB, 0.82% gc time, 18.06% compilation time: 10% of which was recompilation)
[ Info: Simplifying the system
28.914678 seconds (244.71 M allocations: 8.100 GiB, 2.47% gc time, 25.11% compilation time: 26% of which was recompilation)
[ Info: Creating ODEProblem
65.556291 seconds (571.05 M allocations: 19.140 GiB, 2.61% gc time, 22.63% compilation time: 9% of which was recompilation)
[ Info: Initialized integrator in 72.218882659 seconds
Time elapsed: 185.384003675 s
┌ Warning: At t=0.0, dt was forced below floating point epsilon 5.0e-324, and step error estimate = 0.21499501109298944. Aborting. There is either an error in your model specification or the true solution is unstable (or the true solution can not be represented in the precision of Float64).
└ @ SciMLBase ~/.julia/packages/SciMLBase/c6Noy/src/integrator_interface.jl:623
Return code for solution: Unstable
ERROR: LoadError: AssertionError: successful_retcode(s.integrator.sol)
Stacktrace:
[1] next_step!(s::RamAirKite{Float64, Vector{Float64}, 9}, set_values::Vector{Float64}; measure::Nothing, dt::Float64, vsm_interval::Int64)
@ KiteModels ~/repos/KiteModels.jl/src/ram_air_kite.jl:551
[2] next_step!
@ ~/repos/KiteModels.jl/src/ram_air_kite.jl:535 [inlined]
[3] step_with_input(x::Vector{…}, u::Vector{…}, ::Nothing, p::Tuple{…})
@ Main ~/repos/KiteModels.jl/examples/input_output_function.jl:63
[4] macro expansion
@ ./timing.jl:421 [inlined]
[5] test_response(s::RamAirKite{Float64, Vector{Float64}, 9}, input_range::StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}, Int64}, input_idx::Int64; steps::Int64)
@ Main ~/repos/KiteModels.jl/examples/input_output_function.jl:89
[6] test_response(s::RamAirKite{Float64, Vector{Float64}, 9}, input_range::StepRangeLen{Float64, Base.TwicePrecision{Float64}, Base.TwicePrecision{Float64}, Int64}, input_idx::Int64)
@ Main ~/repos/KiteModels.jl/examples/input_output_function.jl:78
[7] top-level scope
@ ~/repos/KiteModels.jl/examples/input_output_function.jl:102
[8] include(fname::String)
@ Main ./sysimg.jl:38
[9] top-level scope
@ none:1
[10] eval
@ ./boot.jl:430 [inlined]
[11] eval
@ ./sysimg.jl:48 [inlined]
[12] example_menu()
@ Main ~/repos/KiteModels.jl/examples/menu.jl:29
[13] top-level scope
@ ~/repos/KiteModels.jl/examples/menu.jl:37
[14] include(fname::String)
@ Main ./sysimg.jl:38
[15] top-level scope
@ REPL[4]:1
in expression starting at /home/ufechner/repos/KiteModels.jl/examples/input_output_function.jl:102
in expression starting at /home/ufechner/repos/KiteModels.jl/examples/menu.jl:37
Some type information was truncated. Use `show(err)` to see complete types.