See the new error message:
ERROR: Non-Number element type inside of an Array detected.
Arrays with non-number element types, such as
Array{Array{Float64}}, are not supported by the
solvers.
If you are trying to use an array of arrays structure,
look at the tools in RecursiveArrayTools.jl. For example:
If this was a mistake, promote the element types to be
all the same. If this was intentional, for example,
using Unitful.jl with different unit values, then use
an array type which has fast broadcast support for
heterogeneous values such as the ArrayPartition
from RecursiveArrayTools.jl. For example:
using RecursiveArrayTools
u0 = ArrayPartition([1.0,2.0],[3.0,4.0])
u0 = VectorOfArray([1.0,2.0],[3.0,4.0])
are both initial conditions which would be compatible with
the solvers.
Element type:
Matrix{Float64}