-
Notifications
You must be signed in to change notification settings - Fork 8
Description
I recently tried to run the examples in Modia3D. I only installed the package and tried to run each of the examples in the tutorial such as:
include("$(Modia3D.path)/test/Tutorial/Pendulum1.jl")
This throws the following error:
julia> include("$(Modia3D.path)/test/Tutorial/Pendulum1.jl")
Instantiating model Pendulum
in module: Main.Pendulum1
in file: C:\Users\jonda.julia\packages\Modia3D\il61O\test\Tutorial\Pendulum1.jl:11
ERROR:
solution = simulate!(Pendulum, ...) failed with solution.retcode = :Success at time = 3.0.
Stacktrace:
[1] error(::String, ::String, ::String)
@ Base .\error.jl:44
[2] macro expansion
@ C:\Users\jonda.julia\packages\Modia\TXKQS\src\SimulateAndPlot.jl:246 [inlined]
[3] macro expansion
@ C:\Users\jonda.julia\packages\TimerOutputs\LHjFw\src\TimerOutput.jl:237 [inlined]
[4] simulate!(m::Modia.SimulationModel{Float64, Float64}, algorithm::Missing; merge::Nothing, kwargs::Base.Pairs{Symbol, Float64, Tuple{Symbol},
NamedTuple{(:stopTime,), Tuple{Float64}}})
@ Modia C:\Users\jonda.julia\packages\Modia\TXKQS\src\SimulateAndPlot.jl:235
[5] top-level scope
@ C:\Users\jonda.julia\packages\Modia3D\il61O\test\Tutorial\Pendulum1.jl:12
Same error for each of the examples in the tutorial. It does produce the .json files and there appears to be data inside of them. However, if I try to import them into Three.js, nothing happens. The rendered scene just stays empty.