Created
September 22, 2021 13:51
-
-
Save agerlach/5bfd92a72b0888c11ca2a1a2cf1ba8e7 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using ModelingToolkit, OrdinaryDiffEq, LazyGrids | |
@parameters t | |
@variables x(t) y(t) | |
D = Differential(t) | |
eqs = [D(x) ~ y, | |
D(y) ~ x - x^3] | |
@named sys = ODESystem(eqs) | |
prob = ODEProblem(sys, [x => 3.0, y => 3.0], (0.0, 1.0), [], jac = true) | |
sol = solve(prob, Tsit5()) | |
sol | |
function prob_func(prob,i,repeat) | |
remake(prob, u0 = [x => rand(), y => rand()]) | |
end | |
ensemble_prob = EnsembleProblem(prob,prob_func=prob_func) | |
sim2 = solve(ensemble_prob,Tsit5(), trajectories=10) | |
function prob_func2(prob,i,repeat) #OK | |
u0 = ModelingToolkit.varmap_to_vars([x => rand(), y => rand()],states(sys)) | |
remake(prob, u0 = u0) | |
end | |
ensemble_prob2 = EnsembleProblem(prob,prob_func=prob_func2) | |
sim2 = solve(ensemble_prob2,Tsit5(), trajectories=10) | |
sim2 = solve(ensemble_prob,Tsit5(), trajectories=10) | |
ERROR: LoadError: TaskFailedException | |
Stacktrace: | |
[1] wait | |
@ ./task.jl:322 [inlined] | |
[2] threading_run(func::Function) | |
@ Base.Threads ./threadingconstructs.jl:34 | |
[3] macro expansion | |
@ ./threadingconstructs.jl:93 [inlined] | |
[4] tmap(f::Function, args::UnitRange{Int64}) | |
@ SciMLBase ~/.julia/packages/SciMLBase/n3U0M/src/ensemble/basic_ensemble_solve.jl:220 | |
[5] solve_batch(prob::EnsembleProblem{ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, Nothing, ODEFunction{true, ModelingToolkit.var"#f#203"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xd9f1b25e, 0x3ed4a095, 0xcca16b03, 0x9fea9fe1, 0xab8bea1f)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x139e3e04, 0x777e7607, 0xd2c07d15, 0x8b0dc947, 0xe4d8ea32)}}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, ModelingToolkit.var"#_jac#207"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x64ca0855, 0xbba08640, 0x9a6345da, 0x6e10c6b3, 0xf5553ccc)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x0af55156, 0xc48c45a2, 0xfa6f7e36, 0x9430bdad, 0x0949788c)}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, ModelingToolkit.var"#210#generated_observed#210"{Bool, ODESystem, Dict{Any, Any}}, Nothing}, Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:jac,), Tuple{Bool}}}, SciMLBase.StandardODEProblem}, typeof(prob_func), typeof(SciMLBase.DEFAULT_OUTPUT_FUNC), typeof(SciMLBase.DEFAULT_REDUCTION), Nothing}, alg::Tsit5, ensemblealg::EnsembleThreads, II::UnitRange{Int64}, pmap_batch_size::Int64; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) | |
@ SciMLBase ~/.julia/packages/SciMLBase/n3U0M/src/ensemble/basic_ensemble_solve.jl:212 | |
[6] solve_batch | |
@ ~/.julia/packages/SciMLBase/n3U0M/src/ensemble/basic_ensemble_solve.jl:201 [inlined] | |
[7] macro expansion | |
@ ./timing.jl:287 [inlined] | |
[8] __solve(prob::EnsembleProblem{ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, Nothing, ODEFunction{true, ModelingToolkit.var"#f#203"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xd9f1b25e, 0x3ed4a095, 0xcca16b03, 0x9fea9fe1, 0xab8bea1f)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x139e3e04, 0x777e7607, 0xd2c07d15, 0x8b0dc947, 0xe4d8ea32)}}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, ModelingToolkit.var"#_jac#207"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x64ca0855, 0xbba08640, 0x9a6345da, 0x6e10c6b3, 0xf5553ccc)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x0af55156, 0xc48c45a2, 0xfa6f7e36, 0x9430bdad, 0x0949788c)}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, ModelingToolkit.var"#210#generated_observed#210"{Bool, ODESystem, Dict{Any, Any}}, Nothing}, Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:jac,), Tuple{Bool}}}, SciMLBase.StandardODEProblem}, typeof(prob_func), typeof(SciMLBase.DEFAULT_OUTPUT_FUNC), typeof(SciMLBase.DEFAULT_REDUCTION), Nothing}, alg::Tsit5, ensemblealg::EnsembleThreads; trajectories::Int64, batch_size::Int64, pmap_batch_size::Int64, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) | |
@ SciMLBase ~/.julia/packages/SciMLBase/n3U0M/src/ensemble/basic_ensemble_solve.jl:108 | |
[9] #__solve#458 | |
@ ~/.julia/packages/SciMLBase/n3U0M/src/ensemble/basic_ensemble_solve.jl:87 [inlined] | |
[10] #solve#45 | |
@ ~/.julia/packages/DiffEqBase/OPDgm/src/solve.jl:101 [inlined] | |
[11] top-level scope | |
@ ~/Documents/AFRL2/GitLab/JuliaPublicSandbox/agerlach/OccupationKernel/duffing.jl:47 | |
nested task error: MethodError: no method matching Union{Float64, Num}(::Int64) | |
Closest candidates are: | |
(::Type{T})(::T) where T<:Number at boot.jl:760 | |
(::Type{T})(::AbstractChar) where T<:Union{AbstractChar, Number} at char.jl:50 | |
(::Type{T})(::Base.TwicePrecision) where T<:Number at twiceprecision.jl:243 | |
... | |
Stacktrace: | |
[1] convert(#unused#::Type{Union{Float64, Num}}, x::Int64) | |
@ Base ./number.jl:7 | |
[2] one(#unused#::Type{Union{Float64, Num}}) | |
@ Base ./number.jl:295 | |
[3] recursive_unitless_bottom_eltype(a::Type{Union{Float64, Num}}) | |
@ RecursiveArrayTools ~/.julia/packages/RecursiveArrayTools/USU0j/src/utils.jl:98 | |
[4] recursive_unitless_bottom_eltype(a::Type{Pair{Num, Float64}}) | |
@ RecursiveArrayTools ~/.julia/packages/RecursiveArrayTools/USU0j/src/utils.jl:96 | |
[5] recursive_unitless_bottom_eltype(a::Type{Vector{Pair{Num, Float64}}}) | |
@ RecursiveArrayTools ~/.julia/packages/RecursiveArrayTools/USU0j/src/utils.jl:97 | |
[6] recursive_unitless_bottom_eltype(a::Vector{Pair{Num, Float64}}) | |
@ RecursiveArrayTools ~/.julia/packages/RecursiveArrayTools/USU0j/src/utils.jl:95 | |
[7] __init(prob::ODEProblem{Vector{Pair{Num, Float64}}, Tuple{Float64, Float64}, true, Nothing, ODEFunction{true, ModelingToolkit.var"#f#203"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xd9f1b25e, 0x3ed4a095, 0xcca16b03, 0x9fea9fe1, 0xab8bea1f)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x139e3e04, 0x777e7607, 0xd2c07d15, 0x8b0dc947, 0xe4d8ea32)}}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, ModelingToolkit.var"#_jac#207"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x64ca0855, 0xbba08640, 0x9a6345da, 0x6e10c6b3, 0xf5553ccc)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x0af55156, 0xc48c45a2, 0xfa6f7e36, 0x9430bdad, 0x0949788c)}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, ModelingToolkit.var"#210#generated_observed#210"{Bool, ODESystem, Dict{Any, Any}}, Nothing}, Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:jac,), Tuple{Bool}}}, SciMLBase.StandardODEProblem}, alg::Tsit5, timeseries_init::Tuple{}, ts_init::Tuple{}, ks_init::Tuple{}, recompile::Type{Val{true}}; saveat::Tuple{}, tstops::Tuple{}, d_discontinuities::Tuple{}, save_idxs::Nothing, save_everystep::Bool, save_on::Bool, save_start::Bool, save_end::Nothing, callback::Nothing, dense::Bool, calck::Bool, dt::Float64, dtmin::Nothing, dtmax::Float64, force_dtmin::Bool, adaptive::Bool, gamma::Rational{Int64}, abstol::Nothing, reltol::Nothing, qmin::Rational{Int64}, qmax::Int64, qsteady_min::Int64, qsteady_max::Int64, beta1::Nothing, beta2::Nothing, qoldinit::Rational{Int64}, controller::Nothing, fullnormalize::Bool, failfactor::Int64, maxiters::Int64, internalnorm::typeof(DiffEqBase.ODE_DEFAULT_NORM), internalopnorm::typeof(LinearAlgebra.opnorm), isoutofdomain::typeof(DiffEqBase.ODE_DEFAULT_ISOUTOFDOMAIN), unstable_check::typeof(DiffEqBase.ODE_DEFAULT_UNSTABLE_CHECK), verbose::Bool, timeseries_errors::Bool, dense_errors::Bool, advance_to_tstop::Bool, stop_at_next_tstop::Bool, initialize_save::Bool, progress::Bool, progress_steps::Int64, progress_name::String, progress_message::typeof(DiffEqBase.ODE_DEFAULT_PROG_MESSAGE), userdata::Nothing, allow_extrapolation::Bool, initialize_integrator::Bool, alias_u0::Bool, alias_du0::Bool, initializealg::OrdinaryDiffEq.DefaultInit, kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:jac,), Tuple{Bool}}}) | |
@ OrdinaryDiffEq ~/.julia/packages/OrdinaryDiffEq/8K0Aj/src/solve.jl:150 | |
[8] __solve(::ODEProblem{Vector{Pair{Num, Float64}}, Tuple{Float64, Float64}, true, Nothing, ODEFunction{true, ModelingToolkit.var"#f#203"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xd9f1b25e, 0x3ed4a095, 0xcca16b03, 0x9fea9fe1, 0xab8bea1f)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x139e3e04, 0x777e7607, 0xd2c07d15, 0x8b0dc947, 0xe4d8ea32)}}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, ModelingToolkit.var"#_jac#207"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x64ca0855, 0xbba08640, 0x9a6345da, 0x6e10c6b3, 0xf5553ccc)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x0af55156, 0xc48c45a2, 0xfa6f7e36, 0x9430bdad, 0x0949788c)}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, ModelingToolkit.var"#210#generated_observed#210"{Bool, ODESystem, Dict{Any, Any}}, Nothing}, Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:jac,), Tuple{Bool}}}, SciMLBase.StandardODEProblem}, ::Tsit5; kwargs::Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:jac,), Tuple{Bool}}}) | |
@ OrdinaryDiffEq ~/.julia/packages/OrdinaryDiffEq/8K0Aj/src/solve.jl:4 | |
[9] solve_call(_prob::ODEProblem{Vector{Pair{Num, Float64}}, Tuple{Float64, Float64}, true, Nothing, ODEFunction{true, ModelingToolkit.var"#f#203"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xd9f1b25e, 0x3ed4a095, 0xcca16b03, 0x9fea9fe1, 0xab8bea1f)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x139e3e04, 0x777e7607, 0xd2c07d15, 0x8b0dc947, 0xe4d8ea32)}}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, ModelingToolkit.var"#_jac#207"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x64ca0855, 0xbba08640, 0x9a6345da, 0x6e10c6b3, 0xf5553ccc)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x0af55156, 0xc48c45a2, 0xfa6f7e36, 0x9430bdad, 0x0949788c)}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, ModelingToolkit.var"#210#generated_observed#210"{Bool, ODESystem, Dict{Any, Any}}, Nothing}, Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:jac,), Tuple{Bool}}}, SciMLBase.StandardODEProblem}, args::Tsit5; merge_callbacks::Bool, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) | |
@ DiffEqBase ~/.julia/packages/DiffEqBase/OPDgm/src/solve.jl:61 | |
[10] solve_call(_prob::ODEProblem{Vector{Pair{Num, Float64}}, Tuple{Float64, Float64}, true, Nothing, ODEFunction{true, ModelingToolkit.var"#f#203"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xd9f1b25e, 0x3ed4a095, 0xcca16b03, 0x9fea9fe1, 0xab8bea1f)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x139e3e04, 0x777e7607, 0xd2c07d15, 0x8b0dc947, 0xe4d8ea32)}}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, ModelingToolkit.var"#_jac#207"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x64ca0855, 0xbba08640, 0x9a6345da, 0x6e10c6b3, 0xf5553ccc)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x0af55156, 0xc48c45a2, 0xfa6f7e36, 0x9430bdad, 0x0949788c)}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, ModelingToolkit.var"#210#generated_observed#210"{Bool, ODESystem, Dict{Any, Any}}, Nothing}, Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:jac,), Tuple{Bool}}}, SciMLBase.StandardODEProblem}, args::Tsit5) | |
@ DiffEqBase ~/.julia/packages/DiffEqBase/OPDgm/src/solve.jl:48 | |
[11] solve_up(prob::ODEProblem{Vector{Pair{Num, Float64}}, Tuple{Float64, Float64}, true, Nothing, ODEFunction{true, ModelingToolkit.var"#f#203"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xd9f1b25e, 0x3ed4a095, 0xcca16b03, 0x9fea9fe1, 0xab8bea1f)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x139e3e04, 0x777e7607, 0xd2c07d15, 0x8b0dc947, 0xe4d8ea32)}}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, ModelingToolkit.var"#_jac#207"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x64ca0855, 0xbba08640, 0x9a6345da, 0x6e10c6b3, 0xf5553ccc)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x0af55156, 0xc48c45a2, 0xfa6f7e36, 0x9430bdad, 0x0949788c)}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, ModelingToolkit.var"#210#generated_observed#210"{Bool, ODESystem, Dict{Any, Any}}, Nothing}, Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:jac,), Tuple{Bool}}}, SciMLBase.StandardODEProblem}, sensealg::Nothing, u0::Vector{Pair{Num, Float64}}, p::Nothing, args::Tsit5; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) | |
@ DiffEqBase ~/.julia/packages/DiffEqBase/OPDgm/src/solve.jl:87 | |
[12] solve_up(prob::ODEProblem{Vector{Pair{Num, Float64}}, Tuple{Float64, Float64}, true, Nothing, ODEFunction{true, ModelingToolkit.var"#f#203"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xd9f1b25e, 0x3ed4a095, 0xcca16b03, 0x9fea9fe1, 0xab8bea1f)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x139e3e04, 0x777e7607, 0xd2c07d15, 0x8b0dc947, 0xe4d8ea32)}}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, ModelingToolkit.var"#_jac#207"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x64ca0855, 0xbba08640, 0x9a6345da, 0x6e10c6b3, 0xf5553ccc)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x0af55156, 0xc48c45a2, 0xfa6f7e36, 0x9430bdad, 0x0949788c)}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, ModelingToolkit.var"#210#generated_observed#210"{Bool, ODESystem, Dict{Any, Any}}, Nothing}, Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:jac,), Tuple{Bool}}}, SciMLBase.StandardODEProblem}, sensealg::Nothing, u0::Vector{Pair{Num, Float64}}, p::Nothing, args::Tsit5) | |
@ DiffEqBase ~/.julia/packages/DiffEqBase/OPDgm/src/solve.jl:78 | |
[13] solve(prob::ODEProblem{Vector{Pair{Num, Float64}}, Tuple{Float64, Float64}, true, Nothing, ODEFunction{true, ModelingToolkit.var"#f#203"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xd9f1b25e, 0x3ed4a095, 0xcca16b03, 0x9fea9fe1, 0xab8bea1f)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x139e3e04, 0x777e7607, 0xd2c07d15, 0x8b0dc947, 0xe4d8ea32)}}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, ModelingToolkit.var"#_jac#207"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x64ca0855, 0xbba08640, 0x9a6345da, 0x6e10c6b3, 0xf5553ccc)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x0af55156, 0xc48c45a2, 0xfa6f7e36, 0x9430bdad, 0x0949788c)}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, ModelingToolkit.var"#210#generated_observed#210"{Bool, ODESystem, Dict{Any, Any}}, Nothing}, Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:jac,), Tuple{Bool}}}, SciMLBase.StandardODEProblem}, args::Tsit5; sensealg::Nothing, u0::Nothing, p::Nothing, kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) | |
@ DiffEqBase ~/.julia/packages/DiffEqBase/OPDgm/src/solve.jl:73 | |
[14] solve(prob::ODEProblem{Vector{Pair{Num, Float64}}, Tuple{Float64, Float64}, true, Nothing, ODEFunction{true, ModelingToolkit.var"#f#203"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xd9f1b25e, 0x3ed4a095, 0xcca16b03, 0x9fea9fe1, 0xab8bea1f)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x139e3e04, 0x777e7607, 0xd2c07d15, 0x8b0dc947, 0xe4d8ea32)}}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, ModelingToolkit.var"#_jac#207"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x64ca0855, 0xbba08640, 0x9a6345da, 0x6e10c6b3, 0xf5553ccc)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x0af55156, 0xc48c45a2, 0xfa6f7e36, 0x9430bdad, 0x0949788c)}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, ModelingToolkit.var"#210#generated_observed#210"{Bool, ODESystem, Dict{Any, Any}}, Nothing}, Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:jac,), Tuple{Bool}}}, SciMLBase.StandardODEProblem}, args::Tsit5) | |
@ DiffEqBase ~/.julia/packages/DiffEqBase/OPDgm/src/solve.jl:68 | |
[15] batch_func(i::Int64, prob::EnsembleProblem{ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, Nothing, ODEFunction{true, ModelingToolkit.var"#f#203"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xd9f1b25e, 0x3ed4a095, 0xcca16b03, 0x9fea9fe1, 0xab8bea1f)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x139e3e04, 0x777e7607, 0xd2c07d15, 0x8b0dc947, 0xe4d8ea32)}}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, ModelingToolkit.var"#_jac#207"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x64ca0855, 0xbba08640, 0x9a6345da, 0x6e10c6b3, 0xf5553ccc)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x0af55156, 0xc48c45a2, 0xfa6f7e36, 0x9430bdad, 0x0949788c)}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, ModelingToolkit.var"#210#generated_observed#210"{Bool, ODESystem, Dict{Any, Any}}, Nothing}, Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:jac,), Tuple{Bool}}}, SciMLBase.StandardODEProblem}, typeof(prob_func), typeof(SciMLBase.DEFAULT_OUTPUT_FUNC), typeof(SciMLBase.DEFAULT_REDUCTION), Nothing}, alg::Tsit5; kwargs::Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}) | |
@ SciMLBase ~/.julia/packages/SciMLBase/n3U0M/src/ensemble/basic_ensemble_solve.jl:143 | |
[16] batch_func | |
@ ~/.julia/packages/SciMLBase/n3U0M/src/ensemble/basic_ensemble_solve.jl:139 [inlined] | |
[17] #469 | |
@ ~/.julia/packages/SciMLBase/n3U0M/src/ensemble/basic_ensemble_solve.jl:213 [inlined] | |
[18] macro expansion | |
@ ~/.julia/packages/SciMLBase/n3U0M/src/ensemble/basic_ensemble_solve.jl:221 [inlined] | |
[19] (::SciMLBase.var"#446#threadsfor_fun#472"{SciMLBase.var"#469#471"{Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, EnsembleProblem{ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, Nothing, ODEFunction{true, ModelingToolkit.var"#f#203"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xd9f1b25e, 0x3ed4a095, 0xcca16b03, 0x9fea9fe1, 0xab8bea1f)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x139e3e04, 0x777e7607, 0xd2c07d15, 0x8b0dc947, 0xe4d8ea32)}}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, ModelingToolkit.var"#_jac#207"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x64ca0855, 0xbba08640, 0x9a6345da, 0x6e10c6b3, 0xf5553ccc)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x0af55156, 0xc48c45a2, 0xfa6f7e36, 0x9430bdad, 0x0949788c)}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, ModelingToolkit.var"#210#generated_observed#210"{Bool, ODESystem, Dict{Any, Any}}, Nothing}, Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:jac,), Tuple{Bool}}}, SciMLBase.StandardODEProblem}, typeof(prob_func), typeof(SciMLBase.DEFAULT_OUTPUT_FUNC), typeof(SciMLBase.DEFAULT_REDUCTION), Nothing}, Tsit5}, Tuple{UnitRange{Int64}}, Vector{Any}, UnitRange{Int64}})(onethread::Bool) | |
@ SciMLBase ./threadingconstructs.jl:81 | |
[20] (::SciMLBase.var"#446#threadsfor_fun#472"{SciMLBase.var"#469#471"{Base.Iterators.Pairs{Union{}, Union{}, Tuple{}, NamedTuple{(), Tuple{}}}, EnsembleProblem{ODEProblem{Vector{Float64}, Tuple{Float64, Float64}, true, Nothing, ODEFunction{true, ModelingToolkit.var"#f#203"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0xd9f1b25e, 0x3ed4a095, 0xcca16b03, 0x9fea9fe1, 0xab8bea1f)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x139e3e04, 0x777e7607, 0xd2c07d15, 0x8b0dc947, 0xe4d8ea32)}}, LinearAlgebra.UniformScaling{Bool}, Nothing, Nothing, ModelingToolkit.var"#_jac#207"{RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x64ca0855, 0xbba08640, 0x9a6345da, 0x6e10c6b3, 0xf5553ccc)}, RuntimeGeneratedFunctions.RuntimeGeneratedFunction{(:ˍ₋out, :ˍ₋arg1, :ˍ₋arg2, :t), ModelingToolkit.var"#_RGF_ModTag", ModelingToolkit.var"#_RGF_ModTag", (0x0af55156, 0xc48c45a2, 0xfa6f7e36, 0x9430bdad, 0x0949788c)}}, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Nothing, Vector{Symbol}, Symbol, ModelingToolkit.var"#210#generated_observed#210"{Bool, ODESystem, Dict{Any, Any}}, Nothing}, Base.Iterators.Pairs{Symbol, Bool, Tuple{Symbol}, NamedTuple{(:jac,), Tuple{Bool}}}, SciMLBase.StandardODEProblem}, typeof(prob_func), typeof(SciMLBase.DEFAULT_OUTPUT_FUNC), typeof(SciMLBase.DEFAULT_REDUCTION), Nothing}, Tsit5}, Tuple{UnitRange{Int64}}, Vector{Any}, UnitRange{Int64}})() | |
@ SciMLBase ./threadingconstructs.jl:48 | |
in expression starting at /Users/me/duffing.jl:47 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment