I have the impression that PackageCompiler does not reduce the compilation time for ModelingToolkit models much. I have a function that creates my model and call it in test_for_precompile.jl script of PackageCompiler. If I call the same function when the compiled system image is loaded it still needs 14s for the first run, only 0.8s for the second run.
Any idea?