Package evaluation of Modia on Julia 1.13.0-DEV.868 (f2a8e18a98*) started at 2025-07-16T04:15:05.781 ################################################################################ # Set-up # Installing PkgEval dependencies (TestEnv)... Set-up completed after 9.88s ################################################################################ # Installation # Installing Modia... Resolving package versions... Updating `~/.julia/environments/v1.13/Project.toml` [cb905087] + Modia v0.12.1 Updating `~/.julia/environments/v1.13/Manifest.toml` [47edcb42] + ADTypes v1.15.0 [7d9f7c33] + Accessors v0.1.42 [79e6a3ab] + Adapt v4.3.0 [66dad0bd] + AliasTables v1.1.3 [a95523ee] + AlmostBlockDiagonals v0.1.10 [ec485272] + ArnoldiMethod v0.4.0 [4fba245c] + ArrayInterface v7.19.0 [4c555306] + ArrayLayouts v1.11.1 [aae01518] + BandedMatrices v1.9.4 [62783981] + BitTwiddlingConvenienceFunctions v0.1.6 [764a87c0] + BoundaryValueDiffEq v5.18.0 [7227322d] + BoundaryValueDiffEqAscher v1.8.0 [56b672f2] + BoundaryValueDiffEqCore v1.11.0 [85d9eb09] + BoundaryValueDiffEqFIRK v1.9.0 [1a22d4ce] + BoundaryValueDiffEqMIRK v1.9.0 [9255f1d6] + BoundaryValueDiffEqMIRKN v1.8.0 [ed55bfe0] + BoundaryValueDiffEqShooting v1.9.0 [70df07ce] + BracketingNonlinearSolve v1.3.0 [fa961155] + CEnum v0.5.0 [2a0fbf3d] + CPUSummary v0.2.6 [49dc2e85] + Calculus v0.5.2 [d360d2e6] + ChainRulesCore v1.25.2 [fb6a15b2] + CloseOpenIntervals v0.1.13 [38540f10] + CommonSolve v0.2.4 [bbf7d656] + CommonSubexpressions v0.3.1 [f70d9fcc] + CommonWorldInvalidations v1.0.0 [34da2185] + Compat v4.17.0 [a33af91c] + CompositionsBase v0.1.2 [2569d6c7] + ConcreteStructs v0.2.3 [187b0558] + ConstructionBase v1.6.0 [adafc99b] + CpuId v0.3.1 [a8cc5b0e] + Crayons v4.1.1 [9a962f9c] + DataAPI v1.16.0 [a93c6f00] + DataFrames v1.7.0 [864edb3b] + DataStructures v0.18.22 [e2d170a0] + DataValueInterfaces v1.0.0 [bcd4f6db] + DelayDiffEq v5.53.1 [2b5f629d] + DiffEqBase v6.177.2 [459566f4] + DiffEqCallbacks v4.8.0 [77a26b50] + DiffEqNoiseProcess v5.24.1 [163ba53b] + DiffResults v1.1.0 [b552c78f] + DiffRules v1.15.1 [0c46a032] + DifferentialEquations v7.16.1 [a0c0ee7d] + DifferentiationInterface v0.7.2 [b4f34e82] + Distances v0.10.12 [31c24e10] + Distributions v0.25.120 [ffbed154] + DocStringExtensions v0.9.5 [4e289a0a] + EnumX v1.0.5 [f151be2c] + EnzymeCore v0.8.12 [d4d017d3] + ExponentialUtilities v1.27.0 [e2ba6199] + ExprTools v0.1.10 [55351af7] + ExproniconLite v0.10.14 [9d29842c] + FastAlmostBandedMatrices v0.1.5 [7034ab61] + FastBroadcast v0.3.5 [9aa1b823] + FastClosures v0.3.2 [442a2c76] + FastGaussQuadrature v1.0.2 [a4df4552] + FastPower v1.1.3 [1a297f60] + FillArrays v1.13.0 [6a86dc24] + FiniteDiff v2.27.0 ⌅ [f6369f11] + ForwardDiff v0.10.38 [069b7b12] + FunctionWrappers v1.1.3 [77dc65aa] + FunctionWrappersWrappers v0.1.3 [d9f16b24] + Functors v0.5.2 [46192b85] + GPUArraysCore v0.2.0 [c145ed77] + GenericSchur v0.5.5 [86223c79] + Graphs v1.13.0 [3e5b6fbb] + HostCPUFeatures v0.1.17 [34004b35] + HypergeometricFunctions v0.3.28 [615f187c] + IfElse v0.1.1 [d25df0c9] + Inflate v0.1.5 [842dd82b] + InlineStrings v1.4.4 [3587e190] + InverseFunctions v0.1.17 [41ab1584] + InvertedIndices v1.3.1 [92d709cd] + IrrationalConstants v0.2.4 [82899510] + IteratorInterfaceExtensions v1.0.0 [692b3bcd] + JLLWrappers v1.7.0 [682c06a0] + JSON v0.21.4 [ae98c720] + Jieko v0.2.1 [ccbc3e58] + JumpProcesses v9.16.1 [ba0b0d4f] + Krylov v0.10.1 [b964fa9f] + LaTeXStrings v1.4.0 [10f19ff3] + LayoutPointers v0.1.17 [5078a376] + LazyArrays v2.6.1 [2d8b4e74] + LevyArea v1.0.0 [87fe0de2] + LineSearch v0.1.4 [d3d80556] + LineSearches v7.4.0 [7ed4a6bd] + LinearSolve v3.19.1 [2ab3a3ac] + LogExpFunctions v0.3.29 [bdcacae8] + LoopVectorization v0.12.172 [1914dd2f] + MacroTools v0.5.16 [d125e4d3] + ManualMemory v0.1.8 [a3b82374] + MatrixFactorizations v3.0.1 [bb5d69b7] + MaybeInplace v0.1.4 [eff96d63] + Measurements v2.14.0 [e1d29d7a] + Missings v1.2.0 [cb905087] + Modia v0.12.1 [ec7bf1ca] + ModiaBase v0.11.1 [0987c9cc] + MonteCarloMeasurements v1.4.7 [2e0e35c7] + Moshi v0.3.7 [46d2c3a1] + MuladdMacro v0.2.4 [d41bc354] + NLSolversBase v7.10.0 [2774e3e8] + NLsolve v4.5.1 [77ba4419] + NaNMath v1.1.3 [8913a72c] + NonlinearSolve v4.9.0 [be0214bd] + NonlinearSolveBase v1.12.0 [5959db7a] + NonlinearSolveFirstOrder v1.5.0 [9a2c21bd] + NonlinearSolveQuasiNewton v1.6.0 [26075421] + NonlinearSolveSpectralMethods v1.2.0 [6fe1bfb0] + OffsetArrays v1.17.0 [429524aa] + Optim v1.13.2 [bac558e1] + OrderedCollections v1.8.1 [1dea7af3] + OrdinaryDiffEq v6.98.0 [89bda076] + OrdinaryDiffEqAdamsBashforthMoulton v1.2.0 [6ad6398a] + OrdinaryDiffEqBDF v1.6.0 [bbf590c4] + OrdinaryDiffEqCore v1.26.2 [50262376] + OrdinaryDiffEqDefault v1.5.0 [4302a76b] + OrdinaryDiffEqDifferentiation v1.10.0 [9286f039] + OrdinaryDiffEqExplicitRK v1.1.0 [e0540318] + OrdinaryDiffEqExponentialRK v1.4.0 [becaefa8] + OrdinaryDiffEqExtrapolation v1.5.0 [5960d6e9] + OrdinaryDiffEqFIRK v1.12.0 [101fe9f7] + OrdinaryDiffEqFeagin v1.1.0 [d3585ca7] + OrdinaryDiffEqFunctionMap v1.1.1 [d28bc4f8] + OrdinaryDiffEqHighOrderRK v1.1.0 [9f002381] + OrdinaryDiffEqIMEXMultistep v1.3.0 [521117fe] + OrdinaryDiffEqLinear v1.3.0 [1344f307] + OrdinaryDiffEqLowOrderRK v1.2.0 [b0944070] + OrdinaryDiffEqLowStorageRK v1.3.0 [127b3ac7] + OrdinaryDiffEqNonlinearSolve v1.10.0 [c9986a66] + OrdinaryDiffEqNordsieck v1.1.0 [5dd0a6cf] + OrdinaryDiffEqPDIRK v1.3.1 [5b33eab2] + OrdinaryDiffEqPRK v1.1.0 [04162be5] + OrdinaryDiffEqQPRK v1.1.0 [af6ede74] + OrdinaryDiffEqRKN v1.1.0 [43230ef6] + OrdinaryDiffEqRosenbrock v1.11.0 [2d112036] + OrdinaryDiffEqSDIRK v1.3.0 [669c94d9] + OrdinaryDiffEqSSPRK v1.3.0 [e3e12d00] + OrdinaryDiffEqStabilizedIRK v1.3.0 [358294b1] + OrdinaryDiffEqStabilizedRK v1.1.0 [fa646aed] + OrdinaryDiffEqSymplecticRK v1.3.0 [b1df2697] + OrdinaryDiffEqTsit5 v1.1.0 [79d7bb75] + OrdinaryDiffEqVerner v1.2.0 [90014a1f] + PDMats v0.11.35 [d96e819e] + Parameters v0.12.3 [69de0a69] + Parsers v2.8.3 [e409e4f3] + PoissonRandom v0.4.5 [f517fe37] + Polyester v0.7.18 [1d0040c9] + PolyesterWeave v0.2.2 [2dfb63ee] + PooledArrays v1.4.3 [85a6dd25] + PositiveFactorizations v0.2.4 [d236fae5] + PreallocationTools v0.4.29 [aea7be01] + PrecompileTools v1.3.2 [21216c6a] + Preferences v1.4.3 [08abe8d2] + PrettyTables v2.4.0 [43287f4e] + PtrArrays v1.3.0 [1fd47b50] + QuadGK v2.11.2 [74087812] + Random123 v1.7.1 [e6cf234a] + RandomNumbers v1.6.0 [3cdcf5f2] + RecipesBase v1.3.4 [731186ca] + RecursiveArrayTools v3.34.1 [f2c3362d] + RecursiveFactorization v0.2.23 [189a3867] + Reexport v1.2.2 [ae029012] + Requires v1.3.1 [ae5879a3] + ResettableStacks v1.1.1 [79098fc4] + Rmath v0.8.0 [7e49a35a] + RuntimeGeneratedFunctions v0.5.15 [94e857df] + SIMDTypes v0.1.0 [476501e8] + SLEEFPirates v0.6.43 [0bca4576] + SciMLBase v2.103.0 [19f34311] + SciMLJacobianOperators v0.1.6 [c0aeaf25] + SciMLOperators v1.3.1 [53ae85a6] + SciMLStructures v1.7.0 [91c51154] + SentinelArrays v1.4.8 [efcf1570] + Setfield v1.1.2 [3201582d] + SignalTables v0.4.4 [727e6d20] + SimpleNonlinearSolve v2.5.0 [699a6c99] + SimpleTraits v0.9.4 [ce78b400] + SimpleUnPack v1.1.0 [66db9d55] + SnoopPrecompile v1.0.3 [a2af1166] + SortingAlgorithms v1.2.1 ⌅ [9f842d2f] + SparseConnectivityTracer v0.6.21 [0a514795] + SparseMatrixColorings v0.4.21 [276daf66] + SpecialFunctions v2.5.1 [aedffcd0] + Static v1.2.0 [0d7ed370] + StaticArrayInterface v1.8.0 [90137ffa] + StaticArrays v1.9.13 [1e83bf80] + StaticArraysCore v1.4.3 [10745b16] + Statistics v1.11.1 [82ae8749] + StatsAPI v1.7.1 [2913bbd2] + StatsBase v0.34.5 [4c63d2b9] + StatsFuns v1.5.0 [9672c7b4] + SteadyStateDiffEq v2.5.0 [789caeaf] + StochasticDiffEq v6.80.0 [7792a7ef] + StrideArraysCore v0.5.7 [892a3eda] + StringManipulation v0.4.1 [c3572dad] + Sundials v4.28.0 [2efcf032] + SymbolicIndexingInterface v0.3.41 [3783bdb8] + TableTraits v1.0.1 [bd369af6] + Tables v1.12.1 [8290d209] + ThreadingUtilities v0.5.5 [a759f4b9] + TimerOutputs v0.5.29 [d5829a12] + TriangularSolve v0.2.1 [781d530d] + TruncatedStacktraces v1.4.0 [3a884ed6] + UnPack v1.0.2 [1986cc42] + Unitful v1.23.1 [3d5dd08c] + VectorizationBase v0.21.71 [1d5cc7b8] + IntelOpenMP_jll v2025.0.4+0 [856f044c] + MKL_jll v2025.0.1+1 [efe28fd5] + OpenSpecFun_jll v0.5.6+0 [f50d1b31] + Rmath_jll v0.5.1+0 ⌅ [fb77eaff] + Sundials_jll v5.2.3+0 [1317d2d5] + oneTBB_jll v2022.0.0+0 [0dad84c5] + ArgTools v1.1.2 [56f22d72] + Artifacts v1.11.0 [2a0f44e3] + Base64 v1.11.0 [ade2ca70] + Dates v1.11.0 [8ba89e20] + Distributed v1.11.0 [f43a241f] + Downloads v1.7.0 [7b1f6079] + FileWatching v1.11.0 [9fa8497b] + Future v1.11.0 [b77e0a4c] + InteractiveUtils v1.11.0 [ac6e5ff7] + JuliaSyntaxHighlighting v1.12.0 [4af54fe1] + LazyArtifacts v1.11.0 [b27032c2] + LibCURL v0.6.4 [76f85450] + LibGit2 v1.11.0 [8f399da3] + Libdl v1.11.0 [37e2e46d] + LinearAlgebra v1.12.0 [56ddb016] + Logging v1.11.0 [d6f4376e] + Markdown v1.11.0 [a63ad114] + Mmap v1.11.0 [ca575930] + NetworkOptions v1.3.0 [44cfe95a] + Pkg v1.13.0 [de0858da] + Printf v1.11.0 [9a3f8284] + Random v1.11.0 [ea8e919c] + SHA v0.7.0 [9e88b42a] + Serialization v1.11.0 [1a1011a3] + SharedArrays v1.11.0 [6462fe0b] + Sockets v1.11.0 [2f01184e] + SparseArrays v1.12.0 [f489334b] + StyledStrings v1.11.0 [4607b0f0] + SuiteSparse [fa267f1f] + TOML v1.0.3 [a4e569a6] + Tar v1.10.0 [8dfed614] + Test v1.11.0 [cf7118a7] + UUIDs v1.11.0 [4ec0a83e] + Unicode v1.11.0 [e66e0078] + CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] + LibCURL_jll v8.14.1+1 [e37daf67] + LibGit2_jll v1.9.1+0 [29816b5a] + LibSSH2_jll v1.11.3+1 [14a3606d] + MozillaCACerts_jll v2025.5.20 [4536629a] + OpenBLAS_jll v0.3.29+0 [05823500] + OpenLibm_jll v0.8.5+0 [458c3c95] + OpenSSL_jll v3.5.1+0 [efcefdf7] + PCRE2_jll v10.45.0+0 [bea87d4a] + SuiteSparse_jll v7.10.1+0 [83775a58] + Zlib_jll v1.3.1+2 [8e850b90] + libblastrampoline_jll v5.13.1+0 [8e850ede] + nghttp2_jll v1.65.0+0 [3f19e933] + p7zip_jll v17.5.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. To see why use `status --outdated -m` Installation completed after 7.53s ################################################################################ # Precompilation # Precompiling PkgEval dependencies... Precompiling package dependencies... Precompilation completed after 390.34s ################################################################################ # Testing # Testing Modia Status `/tmp/jl_hggjM6/Project.toml` [a93c6f00] DataFrames v1.7.0 [2b5f629d] DiffEqBase v6.177.2 [0c46a032] DifferentialEquations v7.16.1 [6a86dc24] FiniteDiff v2.27.0 ⌅ [f6369f11] ForwardDiff v0.10.38 [682c06a0] JSON v0.21.4 [eff96d63] Measurements v2.14.0 [cb905087] Modia v0.12.1 [ec7bf1ca] ModiaBase v0.11.1 [0987c9cc] MonteCarloMeasurements v1.4.7 [bac558e1] OrderedCollections v1.8.1 [f2c3362d] RecursiveFactorization v0.2.23 [189a3867] Reexport v1.2.2 [3201582d] SignalTables v0.4.4 [66db9d55] SnoopPrecompile v1.0.3 [90137ffa] StaticArrays v1.9.13 [c3572dad] Sundials v4.28.0 [a759f4b9] TimerOutputs v0.5.29 [1986cc42] Unitful v1.23.1 [b77e0a4c] InteractiveUtils v1.11.0 [37e2e46d] LinearAlgebra v1.12.0 [de0858da] Printf v1.11.0 [8dfed614] Test v1.11.0 Status `/tmp/jl_hggjM6/Manifest.toml` [47edcb42] ADTypes v1.15.0 [7d9f7c33] Accessors v0.1.42 [79e6a3ab] Adapt v4.3.0 [66dad0bd] AliasTables v1.1.3 [a95523ee] AlmostBlockDiagonals v0.1.10 [ec485272] ArnoldiMethod v0.4.0 [4fba245c] ArrayInterface v7.19.0 [4c555306] ArrayLayouts v1.11.1 [aae01518] BandedMatrices v1.9.4 [62783981] BitTwiddlingConvenienceFunctions v0.1.6 [764a87c0] BoundaryValueDiffEq v5.18.0 [7227322d] BoundaryValueDiffEqAscher v1.8.0 [56b672f2] BoundaryValueDiffEqCore v1.11.0 [85d9eb09] BoundaryValueDiffEqFIRK v1.9.0 [1a22d4ce] BoundaryValueDiffEqMIRK v1.9.0 [9255f1d6] BoundaryValueDiffEqMIRKN v1.8.0 [ed55bfe0] BoundaryValueDiffEqShooting v1.9.0 [70df07ce] BracketingNonlinearSolve v1.3.0 [fa961155] CEnum v0.5.0 [2a0fbf3d] CPUSummary v0.2.6 [49dc2e85] Calculus v0.5.2 [d360d2e6] ChainRulesCore v1.25.2 [fb6a15b2] CloseOpenIntervals v0.1.13 [38540f10] CommonSolve v0.2.4 [bbf7d656] CommonSubexpressions v0.3.1 [f70d9fcc] CommonWorldInvalidations v1.0.0 [34da2185] Compat v4.17.0 [a33af91c] CompositionsBase v0.1.2 [2569d6c7] ConcreteStructs v0.2.3 [187b0558] ConstructionBase v1.6.0 [adafc99b] CpuId v0.3.1 [a8cc5b0e] Crayons v4.1.1 [9a962f9c] DataAPI v1.16.0 [a93c6f00] DataFrames v1.7.0 [864edb3b] DataStructures v0.18.22 [e2d170a0] DataValueInterfaces v1.0.0 [bcd4f6db] DelayDiffEq v5.53.1 [2b5f629d] DiffEqBase v6.177.2 [459566f4] DiffEqCallbacks v4.8.0 [77a26b50] DiffEqNoiseProcess v5.24.1 [163ba53b] DiffResults v1.1.0 [b552c78f] DiffRules v1.15.1 [0c46a032] DifferentialEquations v7.16.1 [a0c0ee7d] DifferentiationInterface v0.7.2 [b4f34e82] Distances v0.10.12 [31c24e10] Distributions v0.25.120 [ffbed154] DocStringExtensions v0.9.5 [4e289a0a] EnumX v1.0.5 [f151be2c] EnzymeCore v0.8.12 [d4d017d3] ExponentialUtilities v1.27.0 [e2ba6199] ExprTools v0.1.10 [55351af7] ExproniconLite v0.10.14 [9d29842c] FastAlmostBandedMatrices v0.1.5 [7034ab61] FastBroadcast v0.3.5 [9aa1b823] FastClosures v0.3.2 [442a2c76] FastGaussQuadrature v1.0.2 [a4df4552] FastPower v1.1.3 [1a297f60] FillArrays v1.13.0 [6a86dc24] FiniteDiff v2.27.0 ⌅ [f6369f11] ForwardDiff v0.10.38 [069b7b12] FunctionWrappers v1.1.3 [77dc65aa] FunctionWrappersWrappers v0.1.3 [d9f16b24] Functors v0.5.2 [46192b85] GPUArraysCore v0.2.0 [c145ed77] GenericSchur v0.5.5 [86223c79] Graphs v1.13.0 [3e5b6fbb] HostCPUFeatures v0.1.17 [34004b35] HypergeometricFunctions v0.3.28 [615f187c] IfElse v0.1.1 [d25df0c9] Inflate v0.1.5 [842dd82b] InlineStrings v1.4.4 [3587e190] InverseFunctions v0.1.17 [41ab1584] InvertedIndices v1.3.1 [92d709cd] IrrationalConstants v0.2.4 [82899510] IteratorInterfaceExtensions v1.0.0 [692b3bcd] JLLWrappers v1.7.0 [682c06a0] JSON v0.21.4 [ae98c720] Jieko v0.2.1 [ccbc3e58] JumpProcesses v9.16.1 [ba0b0d4f] Krylov v0.10.1 [b964fa9f] LaTeXStrings v1.4.0 [10f19ff3] LayoutPointers v0.1.17 [5078a376] LazyArrays v2.6.1 [2d8b4e74] LevyArea v1.0.0 [87fe0de2] LineSearch v0.1.4 [d3d80556] LineSearches v7.4.0 [7ed4a6bd] LinearSolve v3.19.1 [2ab3a3ac] LogExpFunctions v0.3.29 [bdcacae8] LoopVectorization v0.12.172 [1914dd2f] MacroTools v0.5.16 [d125e4d3] ManualMemory v0.1.8 [a3b82374] MatrixFactorizations v3.0.1 [bb5d69b7] MaybeInplace v0.1.4 [eff96d63] Measurements v2.14.0 [e1d29d7a] Missings v1.2.0 [cb905087] Modia v0.12.1 [ec7bf1ca] ModiaBase v0.11.1 [0987c9cc] MonteCarloMeasurements v1.4.7 [2e0e35c7] Moshi v0.3.7 [46d2c3a1] MuladdMacro v0.2.4 [d41bc354] NLSolversBase v7.10.0 [2774e3e8] NLsolve v4.5.1 [77ba4419] NaNMath v1.1.3 [8913a72c] NonlinearSolve v4.9.0 [be0214bd] NonlinearSolveBase v1.12.0 [5959db7a] NonlinearSolveFirstOrder v1.5.0 [9a2c21bd] NonlinearSolveQuasiNewton v1.6.0 [26075421] NonlinearSolveSpectralMethods v1.2.0 [6fe1bfb0] OffsetArrays v1.17.0 [429524aa] Optim v1.13.2 [bac558e1] OrderedCollections v1.8.1 [1dea7af3] OrdinaryDiffEq v6.98.0 [89bda076] OrdinaryDiffEqAdamsBashforthMoulton v1.2.0 [6ad6398a] OrdinaryDiffEqBDF v1.6.0 [bbf590c4] OrdinaryDiffEqCore v1.26.2 [50262376] OrdinaryDiffEqDefault v1.5.0 [4302a76b] OrdinaryDiffEqDifferentiation v1.10.0 [9286f039] OrdinaryDiffEqExplicitRK v1.1.0 [e0540318] OrdinaryDiffEqExponentialRK v1.4.0 [becaefa8] OrdinaryDiffEqExtrapolation v1.5.0 [5960d6e9] OrdinaryDiffEqFIRK v1.12.0 [101fe9f7] OrdinaryDiffEqFeagin v1.1.0 [d3585ca7] OrdinaryDiffEqFunctionMap v1.1.1 [d28bc4f8] OrdinaryDiffEqHighOrderRK v1.1.0 [9f002381] OrdinaryDiffEqIMEXMultistep v1.3.0 [521117fe] OrdinaryDiffEqLinear v1.3.0 [1344f307] OrdinaryDiffEqLowOrderRK v1.2.0 [b0944070] OrdinaryDiffEqLowStorageRK v1.3.0 [127b3ac7] OrdinaryDiffEqNonlinearSolve v1.10.0 [c9986a66] OrdinaryDiffEqNordsieck v1.1.0 [5dd0a6cf] OrdinaryDiffEqPDIRK v1.3.1 [5b33eab2] OrdinaryDiffEqPRK v1.1.0 [04162be5] OrdinaryDiffEqQPRK v1.1.0 [af6ede74] OrdinaryDiffEqRKN v1.1.0 [43230ef6] OrdinaryDiffEqRosenbrock v1.11.0 [2d112036] OrdinaryDiffEqSDIRK v1.3.0 [669c94d9] OrdinaryDiffEqSSPRK v1.3.0 [e3e12d00] OrdinaryDiffEqStabilizedIRK v1.3.0 [358294b1] OrdinaryDiffEqStabilizedRK v1.1.0 [fa646aed] OrdinaryDiffEqSymplecticRK v1.3.0 [b1df2697] OrdinaryDiffEqTsit5 v1.1.0 [79d7bb75] OrdinaryDiffEqVerner v1.2.0 [90014a1f] PDMats v0.11.35 [d96e819e] Parameters v0.12.3 [69de0a69] Parsers v2.8.3 [e409e4f3] PoissonRandom v0.4.5 [f517fe37] Polyester v0.7.18 [1d0040c9] PolyesterWeave v0.2.2 [2dfb63ee] PooledArrays v1.4.3 [85a6dd25] PositiveFactorizations v0.2.4 [d236fae5] PreallocationTools v0.4.29 [aea7be01] PrecompileTools v1.3.2 [21216c6a] Preferences v1.4.3 [08abe8d2] PrettyTables v2.4.0 [43287f4e] PtrArrays v1.3.0 [1fd47b50] QuadGK v2.11.2 [74087812] Random123 v1.7.1 [e6cf234a] RandomNumbers v1.6.0 [3cdcf5f2] RecipesBase v1.3.4 [731186ca] RecursiveArrayTools v3.34.1 [f2c3362d] RecursiveFactorization v0.2.23 [189a3867] Reexport v1.2.2 [ae029012] Requires v1.3.1 [ae5879a3] ResettableStacks v1.1.1 [79098fc4] Rmath v0.8.0 [7e49a35a] RuntimeGeneratedFunctions v0.5.15 [94e857df] SIMDTypes v0.1.0 [476501e8] SLEEFPirates v0.6.43 [0bca4576] SciMLBase v2.103.0 [19f34311] SciMLJacobianOperators v0.1.6 [c0aeaf25] SciMLOperators v1.3.1 [53ae85a6] SciMLStructures v1.7.0 [91c51154] SentinelArrays v1.4.8 [efcf1570] Setfield v1.1.2 [3201582d] SignalTables v0.4.4 [727e6d20] SimpleNonlinearSolve v2.5.0 [699a6c99] SimpleTraits v0.9.4 [ce78b400] SimpleUnPack v1.1.0 [66db9d55] SnoopPrecompile v1.0.3 [a2af1166] SortingAlgorithms v1.2.1 ⌅ [9f842d2f] SparseConnectivityTracer v0.6.21 [0a514795] SparseMatrixColorings v0.4.21 [276daf66] SpecialFunctions v2.5.1 [aedffcd0] Static v1.2.0 [0d7ed370] StaticArrayInterface v1.8.0 [90137ffa] StaticArrays v1.9.13 [1e83bf80] StaticArraysCore v1.4.3 [10745b16] Statistics v1.11.1 [82ae8749] StatsAPI v1.7.1 [2913bbd2] StatsBase v0.34.5 [4c63d2b9] StatsFuns v1.5.0 [9672c7b4] SteadyStateDiffEq v2.5.0 [789caeaf] StochasticDiffEq v6.80.0 [7792a7ef] StrideArraysCore v0.5.7 [892a3eda] StringManipulation v0.4.1 [c3572dad] Sundials v4.28.0 [2efcf032] SymbolicIndexingInterface v0.3.41 [3783bdb8] TableTraits v1.0.1 [bd369af6] Tables v1.12.1 [8290d209] ThreadingUtilities v0.5.5 [a759f4b9] TimerOutputs v0.5.29 [d5829a12] TriangularSolve v0.2.1 [781d530d] TruncatedStacktraces v1.4.0 [3a884ed6] UnPack v1.0.2 [1986cc42] Unitful v1.23.1 [3d5dd08c] VectorizationBase v0.21.71 [1d5cc7b8] IntelOpenMP_jll v2025.0.4+0 [856f044c] MKL_jll v2025.0.1+1 [efe28fd5] OpenSpecFun_jll v0.5.6+0 [f50d1b31] Rmath_jll v0.5.1+0 ⌅ [fb77eaff] Sundials_jll v5.2.3+0 [1317d2d5] oneTBB_jll v2022.0.0+0 [0dad84c5] ArgTools v1.1.2 [56f22d72] Artifacts v1.11.0 [2a0f44e3] Base64 v1.11.0 [ade2ca70] Dates v1.11.0 [8ba89e20] Distributed v1.11.0 [f43a241f] Downloads v1.7.0 [7b1f6079] FileWatching v1.11.0 [9fa8497b] Future v1.11.0 [b77e0a4c] InteractiveUtils v1.11.0 [ac6e5ff7] JuliaSyntaxHighlighting v1.12.0 [4af54fe1] LazyArtifacts v1.11.0 [b27032c2] LibCURL v0.6.4 [76f85450] LibGit2 v1.11.0 [8f399da3] Libdl v1.11.0 [37e2e46d] LinearAlgebra v1.12.0 [56ddb016] Logging v1.11.0 [d6f4376e] Markdown v1.11.0 [a63ad114] Mmap v1.11.0 [ca575930] NetworkOptions v1.3.0 [44cfe95a] Pkg v1.13.0 [de0858da] Printf v1.11.0 [9a3f8284] Random v1.11.0 [ea8e919c] SHA v0.7.0 [9e88b42a] Serialization v1.11.0 [1a1011a3] SharedArrays v1.11.0 [6462fe0b] Sockets v1.11.0 [2f01184e] SparseArrays v1.12.0 [f489334b] StyledStrings v1.11.0 [4607b0f0] SuiteSparse [fa267f1f] TOML v1.0.3 [a4e569a6] Tar v1.10.0 [8dfed614] Test v1.11.0 [cf7118a7] UUIDs v1.11.0 [4ec0a83e] Unicode v1.11.0 [e66e0078] CompilerSupportLibraries_jll v1.3.0+1 [deac9b47] LibCURL_jll v8.14.1+1 [e37daf67] LibGit2_jll v1.9.1+0 [29816b5a] LibSSH2_jll v1.11.3+1 [14a3606d] MozillaCACerts_jll v2025.5.20 [4536629a] OpenBLAS_jll v0.3.29+0 [05823500] OpenLibm_jll v0.8.5+0 [458c3c95] OpenSSL_jll v3.5.1+0 [efcefdf7] PCRE2_jll v10.45.0+0 [bea87d4a] SuiteSparse_jll v7.10.1+0 [83775a58] Zlib_jll v1.3.1+2 [8e850b90] libblastrampoline_jll v5.13.1+0 [8e850ede] nghttp2_jll v1.65.0+0 [3f19e933] p7zip_jll v17.5.0+2 Info Packages marked with ⌅ have new versions available but compatibility constraints restrict them from upgrading. Testing Running tests... Precompiling packages... Info Given Modia was explicitly requested, output will be shown live    Welcome to Modia - Dynamic Modeling and Simulation with Julia Version 0.12.0 (2023-06-04) WARNING: Method definition unit(MonteCarloMeasurements.AbstractParticles{T, N}) where {T, N} in module UnitfulExt at /home/pkgeval/.julia/packages/MonteCarloMeasurements/u7yse/ext/UnitfulExt.jl:16 overwritten in module Modia at /home/pkgeval/.julia/packages/Modia/77g2A/src/Modia.jl:154. ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation. 172254.5 ms ? Modia Welcome to Modia - Dynamic Modeling and Simulation with Julia Version 0.12.0 (2023-06-04) WARNING: Method definition unit(MonteCarloMeasurements.AbstractParticles{T, N}) where {T, N} in module UnitfulExt at /home/pkgeval/.julia/packages/MonteCarloMeasurements/u7yse/ext/UnitfulExt.jl:16 overwritten in module Modia at /home/pkgeval/.julia/packages/Modia/77g2A/src/Modia.jl:154. ERROR: Method overwriting is not permitted during Module precompilation. Use `__precompile__(false)` to opt-out of precompilation. Welcome to Modia - Dynamic Modeling and Simulation with Julia Version 0.12.0 (2023-06-04) WARNING: Method definition unit(MonteCarloMeasurements.AbstractParticles{T, N}) where {T, N} in module UnitfulExt at /home/pkgeval/.julia/packages/MonteCarloMeasurements/u7yse/ext/UnitfulExt.jl:16 overwritten in module Modia at /home/pkgeval/.julia/packages/Modia/77g2A/src/Modia.jl:154. WARNING: Method definition upreferred(MonteCarloMeasurements.AbstractParticles{T, N}) where {T, N} in module UnitfulExt at /home/pkgeval/.julia/packages/MonteCarloMeasurements/u7yse/ext/UnitfulExt.jl:17 overwritten in module Modia at /home/pkgeval/.julia/packages/Modia/77g2A/src/Modia.jl:155. Precompiling packages... 43391.6 ms ✓ LoopVectorization 16488.0 ms ✓ TriangularSolve Info Given RecursiveFactorization was explicitly requested, output will be shown live  WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in _generic_lufact!(Any, Base.Val{Pivot}, Any, Any) where {Pivot} at /home/pkgeval/.julia/packages/RecursiveFactorization/zhyWn/src/lu.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in _turbo_!(Base.Val{var"#UNROLL#"}, Base.Val{var"#OPS#"}, Base.Val{var"#ARF#"}, Base.Val{var"#AM#"}, Base.Val{var"#LPSYM#"}, Base.Val{Tuple{var"#LB#", var"#V#"}}, Vararg{Any, var"#num#vargs#"}) where {var"#UNROLL#", var"#OPS#", var"#ARF#", var"#AM#", var"#LPSYM#", var"#LB#", var"#V#", var"#num#vargs#"} at /home/pkgeval/.julia/packages/LoopVectorization/ImqiY/src/reconstruct_loopset.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in _ldiv_L!(Any, Any, Base.Val{UNIT}, Type{Args}, Vararg{Any, K}) where {UNIT, Args, K} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in ldiv_remainder!(Any, Any, Any, Any, Any, Any, Any, Static.StaticInt{W}, Base.Val{UNIT}) where {W, UNIT} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in ldiv_solve_W!(Any, Any, Any, Any, Static.StaticInt{W}, Base.Val{UNIT}, Static.StaticInt{R}) where {W, UNIT, R} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in BdivU_small_kern!(LayoutPointers.AbstractStridedPointer{T, N, C, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where R where B where C where N, Any, LayoutPointers.AbstractStridedPointer{T, N, C, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where R where B where C where N, LayoutPointers.AbstractStridedPointer{T, N, C, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where R where B where C where N, Int64, VectorizationBase.AbstractMask{W, U} where U<:Union{UInt128, UInt16, UInt32, UInt64, UInt8}, Base.Val{UNIT}) where {T, UNIT, W} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in ldiv_solve_W!(Any, Any, Any, Any, Static.StaticInt{W}, Base.Val{UNIT}) where {W, UNIT} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in ldiv_solve_W_u!(Any, Any, Any, Any, Static.StaticInt{W}, Static.StaticInt{U}, Base.Val{UNIT}) where {W, U, UNIT} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in BdivU_small_kern_u!(LayoutPointers.AbstractStridedPointer{T, N, C, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where R where B where C where N, Any, LayoutPointers.AbstractStridedPointer{T, N, C, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where R where B where C where N, LayoutPointers.AbstractStridedPointer{T, N, C, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where R where B where C where N, Int64, Static.StaticInt{U}, Base.Val{UNIT}, Static.StaticInt{W}) where {T, U, UNIT, W} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in rdiv_block_MandN!(LayoutPointers.AbstractStridedPointer{T, var"#s41", XC, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, var"#s41"}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, var"#s41"}} where R where B where var"#s41", LayoutPointers.AbstractStridedPointer{T, var"#s39", XA, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, var"#s39"}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, var"#s39"}} where R where B where var"#s39", LayoutPointers.AbstractStridedPointer{T, var"#s6", XU, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, var"#s6"}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, var"#s6"}} where R where B where var"#s6", Any, Any, Base.Val{UNIT}) where {T, UNIT, XC, XA, XU} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in rdiv_block_N!(LayoutPointers.AbstractStridedPointer{T, N, C, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where R where B where C where N, Any, Any, Any, Any, Base.Val{UNIT}, Any) where {T, UNIT} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in reckernel!(AbstractArray{T, 2}, Base.Val{Pivot}, Any, Any, Any, Any, Any, Any) where {T, Pivot} at /home/pkgeval/.julia/packages/RecursiveFactorization/zhyWn/src/lu.jl 44232.6 ms ✓ RecursiveFactorization 3 dependencies successfully precompiled in 105 seconds. 39 already precompiled. 2 dependencies had output during precompilation: ┌ RecursiveFactorization │ [Output was shown above] └ ┌ LoopVectorization │ WARNING: llvmcall with integer pointers is deprecated. │ Use actual pointers instead, replacing i32 or i64 with i8* or ptr │ in _vreduce(typeof(Base.:(+)), Any) at /home/pkgeval/.julia/packages/LoopVectorization/ImqiY/src/simdfunctionals/mapreduce.jl └ Precompiling packages... 6164.6 ms ✓ LoopVectorization → SpecialFunctionsExt 1 dependency successfully precompiled in 7 seconds. 44 already precompiled. Precompiling packages... 7619.5 ms ✓ LoopVectorization → ForwardDiffExt 1 dependency successfully precompiled in 12 seconds. 103 already precompiled. Precompiling packages... 11401.6 ms ✓ LinearSolve → LinearSolveRecursiveFactorizationExt 1 dependency successfully precompiled in 14 seconds. 134 already precompiled. ... Test Modia (version=0.12.0 with SilentNoPlot) Instantiating model TestVar1 in module: Main.Runtests.TestVariables in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestVariables.jl:59 code = quote function getDerivatives(_x, _m::Modia.InstantiatedModel{Float64, Float64}, _time::Float64)::Nothing _FloatType = Float64 _TimeType = Float64 _m.time = _time _m.nf_total += 1 instantiatedModel = _m _p = _m.evaluatedParameters _leq_mode = nothing time = _time * upreferred(u"s") x = _x[1] var"der(x)" = _p[:p]::Int64 * x + 1 Modia.appendVariable!(_m.der_x_invariant, Modia.stripUnit(var"der(x)")) if Modia.storeResults(_m) Modia.TimerOutputs.@timeit _m.timer "Modia addToResult!" Modia.addToResult!(_m, _x, _time) end return nothing end end WARNING: Detected access to binding `TestVariables.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ┌ Warning: `sol.destats` is deprecated. Use `sol.stats` instead. │ caller = ip:0x0 └ @ Core :-1 Instantiating model FirstOrder in module: Main.Runtests.TestFirstOrder in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder.jl:16 WARNING: Detected access to binding `TestFirstOrder.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model FirstOrder Initialization at time = 0.0 s Initialization finished within 1.413450 seconds (385.13 k allocations: 21.744 MiB, 99.88% compilation time) Termination of FirstOrder at time = 10.0 s initCpuTime = 1.57 s simCpuTime = 7.99 s initAlloc = 26.7 MB simAlloc = 229.0 MB FloatType = Float64 algorithm = Tsit5 (ODE integrator) startTime = 0.0 s terminationTime = 10.0 s interval = 0.02 s tolerance = 1.0e-6 (relative tolerance) nStates = 1 nResults = 501 nf_total = 1248 (total number of getDerivatives! calls) nf_integrator = 745 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 0 (number of Jacobian computations) nAcceptedSteps = 124 nRejectedSteps = 0 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [] linearSystemsRecFac = [] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [] Instantiating model FirstOrder2 in module: Main.Runtests.TestFirstOrder2 in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder2.jl:19 WARNING: Detected access to binding `TestFirstOrder2.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model FirstOrder2 parameters = OrderedDict( T = 0.4 s x = 0.9 ), # │ state init unit ───┼─────────────────── 1 │ x 0.9 +++ Use SignalTables functions for post processing ... Show overview of result name unit size eltypeOrType kind attributes ──────────────────────────────────────────────────────────────────────────────────────────────────── _attributes Map model=Map(name="FirstOrder2"), experiment=Map(star… time "s" [501] Float64 Var independent=true T "s" Float64 Par =0.4 der(x) "1/s" [501] Float64 Var u [501] Float64 Var x [501] Float64 Var start=0.9, fixed=true, state=true, der="der(x)" y [501] Float64 Var ... Get signal names, signals and signal info getSignalNames(firstOrder) = ["_attributes", "time", "T", "der(x)", "u", "x", "y"] getStateNames(firstOrder) = ["x"] getSignalInfo(firstOrder, "x") = OrderedCollections.OrderedDict{Symbol, Any}(:_class => :Var, :start => 0.9, :fixed => true, :state => true, :der => "der(x)", :_eltypeOrType => Float64, :_size => (501,)) ... Get values (getValues(firstOrder, "time"))[1:5] = [0.0, 0.02, 0.04, 0.06, 0.08] (getValues(firstOrder, "y"))[1:5] = [1.8, 1.7131964705158862, 1.6325767641260716, 1.5578381174327702, 1.488691755402317] getValue(firstOrder, "T") = 0.4 (getValuesWithUnit(firstOrder, "time"))[1:5] = Unitful.Quantity{Float64, 𝐓, Unitful.FreeUnits{(s,), 𝐓, nothing}}[0.0 s, 0.02 s, 0.04 s, 0.06 s, 0.08 s] (getValuesWithUnit(firstOrder, "y"))[1:5] = [1.8, 1.7131964705158862, 1.6325767641260716, 1.5578381174327702, 1.488691755402317] getValueWithUnit(firstOrder, "T") = 0.4 s (sig_der_x_flattened[:flattenedValues])[1:5] = [-2.25, -2.091498921411525, -1.9407476196910038, -1.7973876305923513, -1.6610779593299643] sig_der_x_flattened[:legend] = ["der(x) [1/s]"] ... Store result on file in JSON format Write signalTable in JSON format on file "/home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder2.json" ... Store states on file in JSON format Write signalTable in JSON format on file "/home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder2_states.json" +++ Check deprecated functions result1[1:5, :] = 5×5 DataFrame Row │ time der(x) u x y │ Float64 Float64 Float64 Float64 Float64 ─────┼───────────────────────────────────────────────── 1 │ 0.0 -2.25 0.0 0.9 1.8 2 │ 0.02 -2.0915 0.0199987 0.856598 1.7132 3 │ 0.04 -1.94075 0.0399893 0.816288 1.63258 4 │ 0.06 -1.79739 0.059964 0.778919 1.55784 5 │ 0.08 -1.66108 0.0799147 0.744346 1.48869 result1[1:5, ["time", "u", "y"]] = 5×3 DataFrame Row │ time u y │ Float64 Float64 Float64 ─────┼───────────────────────────── 1 │ 0.0 0.0 1.8 2 │ 0.02 0.0199987 1.7132 3 │ 0.04 0.0399893 1.63258 4 │ 0.06 0.059964 1.55784 5 │ 0.08 0.0799147 1.48869 result2[1:5, :] = 5×3 DataFrame Row │ time x y │ Float64 Float64 Float64 ─────┼──────────────────────────── 1 │ 0.0 0.9 1.8 2 │ 0.02 0.856598 1.7132 3 │ 0.04 0.816288 1.63258 4 │ 0.06 0.778919 1.55784 5 │ 0.08 0.744346 1.48869 result3[1:5, :] = 5×2 DataFrame Row │ time y │ Float64 Float64 ─────┼────────────────── 1 │ 0.0 1.8 2 │ 0.02 1.7132 3 │ 0.04 1.63258 4 │ 0.06 1.55784 5 │ 0.08 1.48869 signalNames(firstOrder) = ["T", "_attributes", "der(x)", "time", "u", "x", "y"] timeSignalName(firstOrder) = "time" hasOneTimeSignal(firstOrder) = true name unit size eltypeOrType kind attributes ──────────────────────────────────────────────────────────────────────────────────────────────────── _attributes Map model=Map(name="FirstOrder2"), experiment=Map(star… time "s" [501] Float64 Var independent=true T "s" Float64 Par =0.4 der(x) "1/s" [501] Float64 Var u [501] Float64 Var x [501] Float64 Var start=0.9, fixed=true, state=true, der="der(x)" y [501] Float64 Var +++ Linearize at stopTime = 0 and 10: ┌ Info: linearize!(.., analytic=true) of model FirstOrder2 └ is modified to analytic=false, because analytic=true is currently not supported! ┌ Info: linearize!(.., analytic=true) of model FirstOrder2 └ is modified to analytic=false, because analytic=true is currently not supported! xNames = ["x"] (A_0, x_0) = ([-2.5;;], [0.9]) (A_10, x_10) = ([-2.5;;], [-0.1796490864989299]) (A_10_numeric, x_10_numeric) = ([-2.5;;], [-0.1796490864989299]) Instantiating model FirstOrder3 in module: Main.Runtests.TestFirstOrder2 in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder2.jl:101 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestFirstOrder2 at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). ... Test all options of @instantiateModel(..) Instantiating model FirstOrder3 in module: Main.Runtests.TestFirstOrder2 in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder2.jl:108 model = Model( T = 2 hr x = Var( init = 1.0 ), equations = :[ u = if after(1.5 * u"hr") #= /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder2.jl:98 =# 1.0 else #= /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder2.jl:98 =# 0.0 end T * der(x) + x = begin #= /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFirstOrder2.jl:98 =# u end ] ), Flatten Find incidence Number of states: 1 Number of equations: 2 Parameters: 1: :T => 2 hr Potential states: 1: x Unknowns: 1: u 2: der(x) Equations: 1: u = if after(1.5 * u"hr") 1.0 else 0.0 end 2: T * der(x) + x = u modelStructure.parameters = OrderedCollections.OrderedDict{Any, Any}(:T => 2 hr) modelStructure.mappedParameters = OrderedCollections.OrderedDict{Symbol, Any}(:T => 2 hr, :x => 1.0) modelStructure.init = OrderedCollections.OrderedDict{Any, Any}(:x => 1.0) modelStructure.start = OrderedCollections.OrderedDict{Any, Any}() modelStructure.variables = OrderedCollections.OrderedDict{Any, Any}() modelStructure.flows = OrderedCollections.OrderedDict{Any, Any}() modelStructure.inputs = OrderedCollections.OrderedDict{Any, Any}() modelStructure.outputs = OrderedCollections.OrderedDict{Any, Any}() Perform alias elimination and remove singularities G = [[1], [2, 3, 1]] Avar = [0, 0, 2] linearEquations = Int64[] vSolveInLinearEquations = Any[] Gint = Vector{Int64}[] GcInt = Vector{Int64}[] vEliminated = Int64[] vProperty = [-9223372036854775808, -9223372036854775808, -9223372036854775808] nvArbitrary = 0 redundantEquations = Int64[] Remaining transformed linear Integer equations: none (all linear Integer equations are removed) Number of reduced unknowns: 2 Number of reduced equations: 2 States: 1: x Unknowns after alias reduction: 1: u 2: der(x) Equations after alias reduction: 1: u = if after(1.5 * u"hr") 1.0 else 0.0 end 2: T * der(x) + x = u Check consistency of equations by matching extended equation set The DAE is structurally nonsingular. Index reduction (Pantelides) assign = [1, 2, 0] Avar = [0, 0, 2] Bequ = [0, 0] Assign BLT HG = [[1], [2, 3, 1]] bltComponents = Any[Any[1], Any[2]] Sorted highest derivative equations: [assigned variable]: [differentiation] equation Strongly connected components are enclosed in [] 1: u: u = if after(1.5 * u"hr") 1.0 else 0.0 end 2: der(x): T * der(x) + x = u Get sorted and solved AST === getSortedAndSolvedAST(...) started for FirstOrder3. ... Equation set 1.1 .............................. Equations: 1: u = if after(1.5 * u"hr") 1.0 else 0.0 end Unknown variables: 1: u One equation in one unknown variable. Solve the equation: Julia code: begin u = if after(instantiatedModel, 1, ustrip(1.5 * u"hr"), "1.5 * u\"hr\"", _leq_mode) 1.0 else 0.0 end println(" Result: ", "u", " = ", u) end ... Equation set 2.1 .............................. Equations: 2: T * der(x) + x = u Unknown variables: 2: der(x) One equation in one unknown variable. Solve the equation: Julia code: begin println("Calculating: ", "var\"der(x)\" = -((x - u)) / (Modia.quantity(Float64, u\"hr\"))(_p[:T])::Modia.quantity(Float64, u\"hr\")") var"der(x)" = -((x - u)) / (Modia.quantity(Float64, u"hr"))(_p[:T])::Modia.quantity(Float64, u"hr") println(" Result: ", "der(x)", " = ", var"der(x)") end Sort equations (BLT on all equations under the assumption that the ODE states are known). === getSortedAndSolvedAST(...) terminated for FirstOrder3. code = quote function getDerivatives(_x, _m::Modia.InstantiatedModel{Float64, Float64}, _time::Float64)::Nothing _FloatType = Float64 _TimeType = Float64 _m.time = _time _m.nf_total += 1 instantiatedModel = _m _p = _m.evaluatedParameters _leq_mode = nothing time = _time * upreferred(u"s") x = _x[1] begin println("Calculating: ", "u = if after(instantiatedModel, 1, ustrip(1.5 * u\"hr\"), \"1.5 * u\\\"hr\\\"\", _leq_mode)\n \n 0.0\n end") u = if after(instantiatedModel, 1, ustrip(1.5 * u"hr"), "1.5 * u\"hr\"", _leq_mode) 1.0 else 0.0 end println(" Result: ", "u", " = ", u) end begin println("Calculating: ", "var\"der(x)\" = -((x - u)) / (Modia.quantity(Float64, u\"hr\"))(_p[:T])::Modia.quantity(Float64, u\"hr\")") var"der(x)" = -((x - u)) / (Modia.quantity(Float64, u"hr"))(_p[:T])::Modia.quantity(Float64, u"hr") println(" Result: ", "der(x)", " = ", var"der(x)") end Modia.appendVariable!(_m.der_x_invariant, Modia.stripUnit(var"der(x)")) if Modia.storeResults(_m) Modia.TimerOutputs.@timeit _m.timer "Modia addToResult!" Modia.addToResult!(_m, _x, _time, u) end return nothing end end eval code WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestFirstOrder2 at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). 0.019631 seconds (1.27 k allocations: 55.312 KiB, 0.01% compilation time) Execute getDerivatives First executions of getDerivatives Calculating: u = if after(instantiatedModel, 1, ustrip(1.5 * u"hr"), "1.5 * u\"hr\"", _leq_mode) #= /home/pkgeval/.julia/packages/ModiaBase/anWtu/src/Symbolic.jl:339 =# 1.0 else #= /home/pkgeval/.julia/packages/ModiaBase/anWtu/src/Symbolic.jl:339 =# 0.0 end Result: u = 0.0 Calculating: var"der(x)" = -((x - u)) / (Modia.quantity(Float64, u"hr"))(_p[:T])::Modia.quantity(Float64, u"hr") Result: der(x) = -0.5 hr^-1 0.329741 seconds (116.05 k allocations: 6.309 MiB, 99.71% compilation time) ───────────────────────────────────────────────────────────────────────────── Time Allocations ─────────────── ─────────────── Total measured: 12.6s 187MiB Section ncalls time %tot alloc %tot ───────────────────────────────────────────────────────────────────────────── execute getDerivatives 1 330ms 79.9% 6.31MiB 88.5% getSortedAndSolvedAST 1 56.5ms 13.7% 536KiB 7.3% eval(code) 1 19.6ms 4.7% 53.9KiB 0.7% performAliasReduction 1 6.68ms 1.6% 213KiB 2.9% build graph information 1 433μs 0.1% 11.2KiB 0.2% substitute 1 99.0μs 0.0% 3.31KiB 0.0% build reducedG 1 88.6μs 0.0% 3.84KiB 0.1% enumerate(unknowns) 1 73.2μs 0.0% 1.50KiB 0.0% unique!(nonlinearVariables) 1 35.2μs 0.0% 912B 0.0% simplifyLinearIntegerEquations! 1 12.6μs 0.0% 2.45KiB 0.0% setdiff 1 4.59μs 0.0% 448B 0.0% replaceLinearIntegerEquations 1 2.81μs 0.0% 64.0B 0.0% build substitutions 1 710ns 0.0% 32.0B 0.0% unique!(linearVariables) 1 440ns 0.0% 32.0B 0.0% flatten 1 226μs 0.1% 14.9KiB 0.2% convert connections 1 1.00μs 0.0% 64.0B 0.0% build InstantiatedModel 1 87.4μs 0.0% 7.05KiB 0.1% findIncidence! 1 49.0μs 0.0% 2.53KiB 0.0% generate_getDerivatives! 1 31.4μs 0.0% 6.03KiB 0.1% build explicit incidence matrix 1 17.6μs 0.0% 224B 0.0% performConsistencyCheck 1 13.6μs 0.0% 1.08KiB 0.0% BLT 1 4.91μs 0.0% 848B 0.0% pantelides! 1 1.97μs 0.0% 448B 0.0% matching 1 1.62μs 0.0% 320B 0.0% ───────────────────────────────────────────────────────────────────────────── Instantiating model Pendulum in module: Main.Runtests.TestPendulum in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestPendulum.jl:22 WARNING: Detected access to binding `TestPendulum.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model Pendulum Initialization at time = 0.0 s Initialization finished within 6.758272 seconds (2.10 M allocations: 114.584 MiB, 1.76% gc time, 99.95% compilation time) Termination of Pendulum at time = 10.0 s initCpuTime = 6.76 s simCpuTime = 0.0413 s initAlloc = 120.0 MB simAlloc = 1.25 MB FloatType = Float64 algorithm = Tsit5 (ODE integrator) startTime = 0.0 s terminationTime = 10.0 s interval = 0.02 s tolerance = 1.0e-6 (relative tolerance) nStates = 2 nResults = 501 nf_total = 1476 (total number of getDerivatives! calls) nf_integrator = 973 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 0 (number of Jacobian computations) nAcceptedSteps = 162 nRejectedSteps = 0 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [] linearSystemsRecFac = [] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [] name unit size eltypeOrType kind attributes ─────────────────────────────────────────────────────────────────────────────────────────────────────────────── _attributes Map model=Map(name="Pendulum"), experiment=Map(startTi… time "s" [501] Float64 Var independent=true L "m" Float64 Par =0.8 d "m*N*s*rad^-1" Float64 Par =0.5 der(phi) "rad*s^-1" [501] Float64 Var der(w) "rad*s^-2" [501] Float64 Var g "m*s^-2" Float64 Par =9.81 m "kg" Float64 Par =1.0 phi "rad" [501] Float64 Var start=1.57 rad, fixed=true, state=true, der="der(p… r "m" [501,2] Float64 Var w "rad*s^-1" [501] Float64 Var start=0 rad s^-1, fixed=true, state=true, der="der… Write signalTable in JSON format on file "/home/pkgeval/.julia/packages/Modia/77g2A/test/pendulum1.json" Instantiating model PendulumWithUncertainties in module: Main.Runtests.TestPendulum in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestPendulum.jl:35 Instantiating model SineSource in module: Main.Runtests.TestSource in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestSource.jl:13 WARNING: Detected access to binding `TestSource.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model SineSource # │ state init unit ───┼────────────────────── 1 │ _dummy_x 0.0 ... Test TestLinearEquations WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in _generic_lufact!(Any, Base.Val{Pivot}, Any, Any) where {Pivot} at /home/pkgeval/.julia/packages/RecursiveFactorization/zhyWn/src/lu.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in _turbo_!(Base.Val{var"#UNROLL#"}, Base.Val{var"#OPS#"}, Base.Val{var"#ARF#"}, Base.Val{var"#AM#"}, Base.Val{var"#LPSYM#"}, Base.Val{Tuple{var"#LB#", var"#V#"}}, Vararg{Any, var"#num#vargs#"}) where {var"#UNROLL#", var"#OPS#", var"#ARF#", var"#AM#", var"#LPSYM#", var"#LB#", var"#V#", var"#num#vargs#"} at /home/pkgeval/.julia/packages/LoopVectorization/ImqiY/src/reconstruct_loopset.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in _ldiv_L!(Any, Any, Base.Val{UNIT}, Type{Args}, Vararg{Any, K}) where {UNIT, Args, K} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in ldiv_remainder!(Any, Any, Any, Any, Any, Any, Any, Static.StaticInt{W}, Base.Val{UNIT}) where {W, UNIT} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in ldiv_solve_W!(Any, Any, Any, Any, Static.StaticInt{W}, Base.Val{UNIT}, Static.StaticInt{R}) where {W, UNIT, R} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in BdivU_small_kern!(LayoutPointers.AbstractStridedPointer{T, N, C, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where R where B where C where N, Any, LayoutPointers.AbstractStridedPointer{T, N, C, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where R where B where C where N, LayoutPointers.AbstractStridedPointer{T, N, C, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where R where B where C where N, Int64, VectorizationBase.AbstractMask{W, U} where U<:Union{UInt128, UInt16, UInt32, UInt64, UInt8}, Base.Val{UNIT}) where {T, UNIT, W} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in ldiv_solve_W!(Any, Any, Any, Any, Static.StaticInt{W}, Base.Val{UNIT}) where {W, UNIT} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in ldiv_solve_W_u!(Any, Any, Any, Any, Static.StaticInt{W}, Static.StaticInt{U}, Base.Val{UNIT}) where {W, U, UNIT} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in BdivU_small_kern_u!(LayoutPointers.AbstractStridedPointer{T, N, C, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where R where B where C where N, Any, LayoutPointers.AbstractStridedPointer{T, N, C, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where R where B where C where N, LayoutPointers.AbstractStridedPointer{T, N, C, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where R where B where C where N, Int64, Static.StaticInt{U}, Base.Val{UNIT}, Static.StaticInt{W}) where {T, U, UNIT, W} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in rdiv_block_MandN!(LayoutPointers.AbstractStridedPointer{T, var"#s41", XC, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, var"#s41"}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, var"#s41"}} where R where B where var"#s41", LayoutPointers.AbstractStridedPointer{T, var"#s39", XA, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, var"#s39"}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, var"#s39"}} where R where B where var"#s39", LayoutPointers.AbstractStridedPointer{T, var"#s6", XU, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, var"#s6"}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, var"#s6"}} where R where B where var"#s6", Any, Any, Base.Val{UNIT}) where {T, UNIT, XC, XA, XU} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in rdiv_block_N!(LayoutPointers.AbstractStridedPointer{T, N, C, B, R, X, O} where O<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where X<:Tuple{Vararg{Union{Int16, Int32, Int64, Int8, UInt16, UInt32, UInt64, UInt8, Static.StaticInt{N} where N}, N}} where R where B where C where N, Any, Any, Any, Any, Base.Val{UNIT}, Any) where {T, UNIT} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in reckernel!(AbstractArray{T, 2}, Base.Val{Pivot}, Any, Any, Any, Any, Any, Any) where {T, Pivot} at /home/pkgeval/.julia/packages/RecursiveFactorization/zhyWn/src/lu.jl Instantiating model FirstOrder in module: Main.Runtests.TestStateSelection in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestStateSelection.jl:32 WARNING: Detected access to binding `TestStateSelection.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. model.equationInfo = Modia.EquationInfo( ode = true, x_info = Modia.StateElementInfo[ Modia.StateElementInfo("x","der(x)",Modia.XD,"",0.3,true,NaN,false,true,true,1,1,-1)], nx = 1, nxInvariant = 1, nxSegmented = 0, nx_info_fixedLength = 1, nx_info_invariant = 1 ) Instantiating model TwoCoupledInertias in module: Main.Runtests.TestStateSelection in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestStateSelection.jl:55 Information message from getSortedAndSolvedAST for model TwoCoupledInertias: The following variables are iteration variables but have no start/init values defined. If units are used in the model, start/init values with correct units should be defined to avoid unit errors during compilation. Involved variables: der(J1_w) WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestStateSelection at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). model.equationInfo = Modia.EquationInfo( ode = true, x_info = Modia.StateElementInfo[ Modia.StateElementInfo("J1_w","der(J1_w)",Modia.XD,"",0.0,false,NaN,false,true,true,1,1,-1), Modia.StateElementInfo("J1_phi","der(J1_phi)",Modia.XD,"",1.0,false,NaN,false,true,true,1,2,-1)], linearEquations = [ (["der(J1_w)"], Any[], [1], 1)], nx = 2, nxInvariant = 2, nxSegmented = 0, nx_info_fixedLength = 2, nx_info_invariant = 2 ) Instantiating model ODEwithLinearEquations1 in module: Main.Runtests.TestStateSelection in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestStateSelection.jl:73 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestStateSelection at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). model.equationInfo = Modia.EquationInfo( ode = true, x_info = Modia.StateElementInfo[ Modia.StateElementInfo("x6","der(x6)",Modia.XD,"",1.0,false,NaN,false,true,true,1,1,-1)], linearEquations = [ (["x5"], Any[], [1], 1)], nx = 1, nxInvariant = 1, nxSegmented = 0, nx_info_fixedLength = 1, nx_info_invariant = 1 ) Instantiating model ODEwithLinearEquations2 in module: Main.Runtests.TestStateSelection in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestStateSelection.jl:91 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestStateSelection at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). model.equationInfo = Modia.EquationInfo( ode = true, x_info = Modia.StateElementInfo[ Modia.StateElementInfo("x6","der(x6)",Modia.XD,"",1.0,false,NaN,false,true,true,1,1,-1)], linearEquations = [ (["x5"], Any[], [1], 1)], nx = 1, nxInvariant = 1, nxSegmented = 0, nx_info_fixedLength = 1, nx_info_invariant = 1 ) Instantiating model MultiIndexDAE in module: Main.Runtests.TestStateSelection in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestStateSelection.jl:121 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestStateSelection at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). model.equationInfo = Modia.EquationInfo( ode = true, x_info = Modia.StateElementInfo[ Modia.StateElementInfo("x2","der(x2)",Modia.XD,"",0.0,true,NaN,false,true,true,1,1,-1), Modia.StateElementInfo("x2d","der(x2d)",Modia.XD,"",0.0,true,NaN,false,true,true,1,2,-1)], linearEquations = [ (["x7"], Any[], [1], 1), (["der(x7)"], Any[], [1], 1), (["der(der(x7))"], Any[], [1], 1), (["der(der(der(x7)))"], Any[], [1], 1), (["der(x2d)"], Any[], [1], 1)], nx = 2, nxInvariant = 2, nxSegmented = 0, nx_info_fixedLength = 2, nx_info_invariant = 2 ) Instantiating model FreeFlyingMass in module: Main.Runtests.TestStateSelection in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestStateSelection.jl:142 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestStateSelection at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). model.equationInfo = Modia.EquationInfo( ode = true, x_info = Modia.StateElementInfo[ Modia.StateElementInfo("v","der(v)",Modia.XD,"",[-0.1, -0.2, -0.3],true,NaN,false,false,false,3,1,-1), Modia.StateElementInfo("r","der(r)",Modia.XD,"",[0.1, 0.2, 0.3],true,NaN,false,false,false,3,4,-1)], nx = 6, nxInvariant = 6, nxSegmented = 0, nx_info_fixedLength = 0, nx_info_invariant = 2 ) Instantiating model Drive in module: Main.Runtests.TestStateSelection in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestStateSelection.jl:225 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestStateSelection at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). Instantiating model Drive2 in module: Main.Runtests.TestStateSelection in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestStateSelection.jl:226 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestStateSelection at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). Next simulate! should result in an error: Model error: The following variables are explicitly solved for, have init-values defined and after initialization the init-values are not respected (remove the init-values in the model or change them to start-values): # │ name beforeInit afterInit ───┼─────────────────────────────────── 1 │ damper.phi 1.0 0.0 Instantiating model FilterCircuit in module: Main.Runtests.TestFilterCircuit in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFilterCircuit.jl:23 WARNING: Detected access to binding `TestFilterCircuit.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model FilterCircuit parameters = OrderedDict( R = OrderedDict( R = 5 Ω ), C = OrderedDict( C = 2.0 F v = 3.0 V ), V = OrderedDict( V = 10.0 V ), ), # │ state init unit ───┼─────────────────── 1 │ C.v 3.0 V name unit size eltypeOrType kind attributes ─────────────────────────────────────────────────────────────────────────────────────────────────────── _attributes Map model=Map(name="FilterCircuit"), experiment=Map(st… time "s" [501] Float64 Var independent=true C.v "V" [501] Float64 Var start=3.0 V, fixed=true, state=true, der="C.der(v)" C.der(v) "V*s^-1" [501] Float64 Var C.i "V*Ω^-1" [501] Float64 Var C.C "F" Float64 Par =2.0 C.n.v "V" [501] Float64 Var alias="ground.p.v" C.n.i "V*Ω^-1" [501] Float64 Var C.p.v "V" [501] Float64 Var C.p.i "V*Ω^-1" [501] Float64 Var alias="C.i" R.v "V" [501] Float64 Var R.i "V*Ω^-1" [501] Float64 Var alias="C.i" R.R "Ω" Int64 Par =5 R.n.v "V" [501] Float64 Var alias="C.p.v" R.n.i "V*Ω^-1" [501] Float64 Var R.p.v "V" [501] Float64 Var R.p.i "V*Ω^-1" [501] Float64 Var alias="C.i" V.v "V" [501] Float64 Var V.i "V*Ω^-1" [501] Float64 Var V.V "V" Float64 Par =10.0 V.n.v "V" [501] Float64 Var alias="ground.p.v" V.n.i "V*Ω^-1" [501] Float64 Var alias="C.i" V.p.v "V" [501] Float64 Var alias="R.p.v" V.p.i "V*Ω^-1" [501] Float64 Var ground.p.v "V" [501] Float64 Var ground.p.i [501] Float64 Var Instantiating model FilterCircuit in module: Main.Runtests.TestFilterCircuit in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFilterCircuit.jl:51 ... Simulate with DAE integrator Instantiating model FilterCircuit in module: Main.Runtests.TestFilterCircuit in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFilterCircuit.jl:60 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestFilterCircuit at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). Instantiating model FilterCircuit2 in module: Main.Runtests.TestFilterCircuit2 in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestFilterCircuit2.jl:24 code = quote function getDerivatives(_x, _m::Modia.InstantiatedModel{Float64, Float64}, _time::Float64)::Nothing _FloatType = Float64 _TimeType = Float64 _m.time = _time _m.nf_total += 1 instantiatedModel = _m _p = _m.evaluatedParameters _leq_mode = nothing time = _time var"C.v" = _x[1] var"V.v" = (Float64)((_p[:V])[:V])::Float64 begin local var"C.i", var"R.v", var"Ri.v", var"R.p.v" _leq_mode = Modia.initLinearEquationsIteration!(_m, 1) Modia.TimerOutputs.@timeit _m.timer "Modia LinearEquationsIteration!" while Modia.LinearEquationsIteration!(_leq_mode, _m.isInitial, _m.solve_leq, _m.storeResult, _m.time, _m.timer) var"C.i" = _leq_mode.x[1] var"R.v" = (_p[:R])[:R]::Int64 * var"C.i" var"Ri.v" = (_p[:Ri])[:R]::Int64 * -var"C.i" var"R.p.v" = var"Ri.v" + var"V.v" Modia.appendVariable!(_leq_mode.residuals, (var"R.v" + -var"R.p.v") + var"C.v") end _leq_mode = nothing end var"der(C.v)" = var"C.i" / (Float64)((_p[:C])[:C])::Float64 Modia.appendVariable!(_m.der_x_invariant, var"der(C.v)") if Modia.storeResults(_m) Modia.TimerOutputs.@timeit _m.timer "Modia addToResult!" Modia.addToResult!(_m, _x, _time, var"R.v", var"R.p.v", var"Ri.v", var"C.i", var"V.v") end return nothing end end WARNING: Detected access to binding `TestFilterCircuit2.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. Instantiating model LinearODE in module: Main.Runtests.TestArrays in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestArrays.jl:16 code = quote function getDerivatives(_x, _m::Modia.InstantiatedModel{Float64, Float64}, _time::Float64)::Nothing _FloatType = Float64 _TimeType = Float64 _m.time = _time _m.nf_total += 1 instantiatedModel = _m _p = _m.evaluatedParameters _leq_mode = nothing time = _time * upreferred(u"s") x = _m.x_vec[1] var"der(x)" = _p[:A]::Matrix{Float64} * x Modia.appendVariable!(_m.der_x_invariant, Modia.stripUnit(var"der(x)")) if Modia.storeResults(_m) Modia.TimerOutputs.@timeit _m.timer "Modia addToResult!" Modia.addToResult!(_m, _x, _time) end return nothing end end WARNING: Detected access to binding `TestArrays.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ┌ Warning: `ustrip(A::AbstractArray{T}) where T <: Number` is deprecated, use `ustrip.(A)` instead. │ caller = initialStateVector!(eqInfo::Modia.EquationInfo, FloatType::Type{Float64}, isFirstSegment::Bool, x_terminate::Vector{Float64}) at EquationAndStateInfo.jl:803 └ @ Core ~/.julia/packages/Modia/77g2A/src/EquationAndStateInfo.jl:803 Instantiating model LinearODE2 in module: Main.Runtests.TestArrays in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestArrays.jl:34 code = quote function getDerivatives(_x, _m::Modia.InstantiatedModel{Float64, Float64}, _time::Float64)::Nothing _FloatType = Float64 _TimeType = Float64 _m.time = _time _m.nf_total += 1 instantiatedModel = _m _p = _m.evaluatedParameters _leq_mode = nothing time = _time * upreferred(u"s") x = Modia.SVector{2, _FloatType}(_x[1], _x[2]) var"der(x)" = _p[:A]::StaticArraysCore.SMatrix{2, 2, Float64, 4} * x Modia.appendVariable!(_m.der_x_invariant, Modia.stripUnit(var"der(x)")) if Modia.storeResults(_m) Modia.TimerOutputs.@timeit _m.timer "Modia addToResult!" Modia.addToResult!(_m, _x, _time) end return nothing end end WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestArrays at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). typeof(linearODE2.evaluatedParameters[:A]) = StaticArraysCore.SMatrix{2, 2, Float64, 4} Instantiating model SSTest in module: Main.Runtests.TestLinearSystems in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestLinearSystems.jl:203 code = quote function getDerivatives(_x, _m::Modia.InstantiatedModel{Float64, Float64}, _time::Float64)::Nothing _FloatType = Float64 _TimeType = Float64 _m.time = _time _m.nf_total += 1 instantiatedModel = _m _p = _m.evaluatedParameters _leq_mode = nothing time = _time * upreferred(u"s") var"ss.ls" = openLinearStateSpace!(instantiatedModel, "ss") var"ss.y" = computeOutputs!(instantiatedModel, var"ss.ls") var"ss.u" = [2.0] var"ss.success" = computeStateDerivatives!(instantiatedModel, var"ss.ls", var"ss.u") y = var"ss.y"[1] if Modia.storeResults(_m) Modia.TimerOutputs.@timeit _m.timer "Modia addToResult!" Modia.addToResult!(_m, _x, _time, var"ss.y", var"ss.u", y) end return nothing end end WARNING: Detected access to binding `TestLinearSystems.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model SSTest # │ state init unit ───┼─────────────────── 1 │ ss.x 0.2 name unit size eltypeOrType kind attributes ─────────────────────────────────────────────────────────────────────────────────────────────────────── _attributes Map model=Map(name="SSTest"), experiment=Map(startTime… time "s" [501] Float64 Var independent=true ss.y [501,1] Float64 Var ss.u [501,1] Float64 Var ss.x [501,1] Float64 Var start=[0.2], fixed=true, state=true, der="ss.der(x… ss.der(x) "s^-1" [501,1] Float64 Var ss.w [501,1] Float64 Var ss.A [1,1] Float64 Par ss.B [1,1] Float64 Par ss.C [1,1] Float64 Par ss.W [1,1] Float64 Par ss.x_init [1] Float64 Par y [501] Float64 Var ... Simulate model SSTest # │ state init unit ───┼───────────────────────── 1 │ ss.x [0.3, 0.4] name unit size eltypeOrType kind attributes ─────────────────────────────────────────────────────────────────────────────────────────────────────── _attributes Map model=Map(name="SSTest"), experiment=Map(startTime… time "s" [501] Float64 Var independent=true ss.y [501,1] Float64 Var ss.u [501,1] Float64 Var ss.x [501,2] Float64 Var start=[0.3, 0.4], fixed=true, state=true, der="ss.… ss.der(x) "s^-1" [501,2] Float64 Var ss.w [501,3] Float64 Var ss.A [2,2] Float64 Par ss.B [2,1] Float64 Par ss.C [1,2] Float64 Par ss.W [3,2] Float64 Par ss.x_init [2] Float64 Par y [501] Float64 Var ... Test init vectors of scalars, fixed-size, variable-size, hidden-size vectors Instantiating model SSTest2 in module: Main.Runtests.TestLinearSystems in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestLinearSystems.jl:245 Warning message from getSortedAndSolvedAST for model SSTest2: Init/start values missing in the model for some ODE states. Involved variables: submodel.x2 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestLinearSystems at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). ... Simulate model SSTest2 Initialization at time = 0.0 s [ Info: State submodel.x2 has no start or init value defined. Using start value = 0.0. # │ state init unit ───┼────────────────────────────────────── 1 │ submodel.x1 1.1 2 │ submodel.x2 0.0 3 │ submodel.x3 [0.5, 0.6, 0.7] 4 │ submodel.x4 [0.8, 0.9] 5 │ submodel.ss.x 0.2 6 │ ss.x [0.3, 0.4] Initialization finished within 2.627829 seconds (844.38 k allocations: 46.959 MiB, 99.63% compilation time) Termination of SSTest2 at time = 1.0 s initCpuTime = 2.63 s simCpuTime = 0.0475 s initAlloc = 49.2 MB simAlloc = 2.12 MB FloatType = Float64 algorithm = CVODE_BDF (ODE integrator) startTime = 0.0 s terminationTime = 1.0 s interval = 0.002 s tolerance = 1.0e-6 (relative tolerance) nStates = 10 nResults = 501 nf_total = 606 (total number of getDerivatives! calls) nf_integrator = 103 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 2 (number of Jacobian computations) nAcceptedSteps = 53 nRejectedSteps = 5 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [] linearSystemsRecFac = [] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [] name unit size eltypeOrType kind attributes ────────────────────────────────────────────────────────────────────────────────────────────────────────────── _attributes Map model=Map(name="SSTest2"), experiment=Map(startTim… time "s" [501] Float64 Var independent=true ss.y [501,1] Float64 Var ss.u [501,1] Float64 Var ss.x [501,2] Float64 Var start=[0.3, 0.4], fixed=true, state=true, der="ss.… ss.der(x) "s^-1" [501,2] Float64 Var ss.A [2,2] Float64 Par ss.B [2,1] Float64 Par ss.C [1,2] Float64 Par ss.x_init [2] Float64 Par submodel.x1 [501] Float64 Var start=1.1, fixed=true, state=true, der="submodel.d… submodel.der(x1) "1/s" [501] Float64 Var submodel.x2 [501] Float64 Var start=0.0, fixed=false, state=true, der="submodel.… submodel.der(x2) "1/s" [501] Float64 Var submodel.x3 [501,3] Float64 Var start=[0.5, 0.6, 0.7], fixed=true, state=true, der… submodel.der(x3) "1/s" [501,3] Float64 Var submodel.x4 [501,2] Float64 Var start=[0.8, 0.9], fixed=true, state=true, der="sub… submodel.der(x4) "1/s" [501,2] Float64 Var submodel.ss.y [501,1] Float64 Var submodel.ss.u [501,1] Float64 Var submodel.ss.x [501,1] Float64 Var start=[0.2], fixed=true, state=true, der="submodel… submodel.ss.der(x) "s^-1" [501,1] Float64 Var submodel.ss.w [501,1] Float64 Var submodel.ss.A [1,1] Float64 Par submodel.ss.B [1,1] Float64 Par submodel.ss.C [1,1] Float64 Par submodel.ss.W [1,1] Float64 Par submodel.ss.x_init [1] Float64 Par y1 [501] Float64 Var y2 [501] Float64 Var ... Simulate model SSTest2 [ Info: State submodel.x2 has no start or init value defined. Using start value = 0.0. # │ state init unit ───┼───────────────────────────────────────── 1 │ submodel.x1 1.1 2 │ submodel.x2 0.0 3 │ submodel.x3 [0.5, 0.6, 0.7] 4 │ submodel.x4 0.85 5 │ submodel.ss.x 0.2 6 │ ss.x [0.35, 0.45, 0.55] name unit size eltypeOrType kind attributes ────────────────────────────────────────────────────────────────────────────────────────────────────────────── _attributes Map model=Map(name="SSTest2"), experiment=Map(startTim… time "s" [501] Float64 Var independent=true ss.y [501,1] Float64 Var ss.u [501,1] Float64 Var ss.x [501,3] Float64 Var start=[0.35, 0.45, 0.55], fixed=true, state=true, … ss.der(x) "s^-1" [501,3] Float64 Var ss.A [3,3] Float64 Par ss.B [3,1] Float64 Par ss.C [1,3] Float64 Par ss.x_init [3] Float64 Par submodel.x1 [501] Float64 Var start=1.1, fixed=true, state=true, der="submodel.d… submodel.der(x1) "1/s" [501] Float64 Var submodel.x2 [501] Float64 Var start=0.0, fixed=false, state=true, der="submodel.… submodel.der(x2) "1/s" [501] Float64 Var submodel.x3 [501,3] Float64 Var start=[0.5, 0.6, 0.7], fixed=true, state=true, der… submodel.der(x3) "1/s" [501,3] Float64 Var submodel.x4 [501,1] Float64 Var start=[0.85], fixed=true, state=true, der="submode… submodel.der(x4) "1/s" [501,1] Float64 Var submodel.ss.y [501,1] Float64 Var submodel.ss.u [501,1] Float64 Var submodel.ss.x [501,1] Float64 Var start=[0.2], fixed=true, state=true, der="submodel… submodel.ss.der(x) "s^-1" [501,1] Float64 Var submodel.ss.w [501,1] Float64 Var submodel.ss.A [1,1] Float64 Par submodel.ss.B [1,1] Float64 Par submodel.ss.C [1,1] Float64 Par submodel.ss.W [1,1] Float64 Par submodel.ss.x_init [1] Float64 Par y1 [501] Float64 Var y2 [501] Float64 Var ... Check functions for parameters and signals parameters = OrderedDict( submodel = OrderedDict( ss = OrderedDict( _initSegmentFunction = Par( functionName = initSegment_LinearStateSpace! ), A = [-5.0;;] B = [5.0;;] C = [0.9;;] W = [1.1;;] x_init = [0.2] u = [0.0] y = [0.0] ), x1 = 1.1 x3 = [0.5, 0.6, 0.7] x4 = [0.85] ), ss = OrderedDict( _initSegmentFunction = Par( functionName = initSegment_LinearStateSpace! ), A = [-5.0 0.0 0.0; 0.0 -5.0 0.0; 0.0 0.0 -5.0] B = [5.0; 5.0; 5.0;;] C = [0.5 0.5 0.5] x_init = [0.35, 0.45, 0.55] u = [0.0] y = [0.0] _buildFunction = Par( functionName = build_LinearStateSpace! ), ), ), evaluatedParameters = OrderedDict( submodel = OrderedDict( ss = OrderedDict( A = [-5.0;;] B = [5.0;;] C = [0.9;;] W = [1.1;;] x_init = [0.2] u = [0.0] y = [0.0] ), x1 = 1.1 x3 = [0.5, 0.6, 0.7] x4 = [0.85] ), ss = OrderedDict( A = [-5.0 0.0 0.0; 0.0 -5.0 0.0; 0.0 0.0 -5.0] B = [5.0; 5.0; 5.0;;] C = [0.5 0.5 0.5] x_init = [0.35, 0.45, 0.55] u = [0.0] y = [0.0] ), ), Instantiating model UnitTest in module: Main.Runtests.TestUnits in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestUnits.jl:26 WARNING: Detected access to binding `TestUnits.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. Instantiating model TestModel in module: Main.Runtests.TestUncertainties in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestUncertainties.jl:26 WARNING: Detected access to binding `TestUncertainties.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. Instantiating model FilterCircuit in module: Main.Runtests.TestUncertainties in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestUncertainties.jl:50 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Measurements.Measurement{Float64}, Float64}, Float64) in module TestUncertainties at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). ... Simulate model FilterCircuit parameters = OrderedDict( R = OrderedDict( R = 100.0 ± 10.0 Ω ), C = OrderedDict( C = 0.01 ± 0.001 F v = 0.0 ± 1.0 V ), V = OrderedDict( V = 10.0 ± 1.0 V ), ), # │ state init unit ───┼────────────────────── 1 │ C.v 0.0±1.0 V Instantiating model Pendulum in module: Main.Runtests.TestUncertainties in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestUncertainties.jl:68 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Measurements.Measurement{Float64}, Float64}, Float64) in module TestUncertainties at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). Instantiating model TestModel in module: Main.Runtests.TestUnitsAndUncertainites in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestUnitsAndUncertainties.jl:27 WARNING: Detected access to binding `TestUnitsAndUncertainites.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. Instantiating model TwoInertiasAndIdealGearTooManyInits in module: Main.Runtests.TestTwoInertiasAndIdealGear in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestTwoInertiasAndIdealGear.jl:35 WARNING: Detected access to binding `TestTwoInertiasAndIdealGear.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. Instantiating model TwoInertiasAndIdealGear in module: Main.Runtests.TestTwoInertiasAndIdealGear in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestTwoInertiasAndIdealGear.jl:36 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestTwoInertiasAndIdealGear at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). Next simulate! should result in an error: ... Simulate model TwoInertiasAndIdealGearTooManyInits Initialization at time = 0.0 s Initialization finished within 1.146093 seconds (232.30 k allocations: 12.953 MiB, 99.91% compilation time) Model error: The following variables are explicitly solved for, have init-values defined and after initialization the init-values are not respected (remove the init-values in the model or change them to start-values): # │ name beforeInit afterInit ───┼───────────────────────────── 1 │ phi1 0.0 52.5 2 │ w1 1.0 0.0 ... Simulate model TwoInertiasAndIdealGear Initialization at time = 0.0 s parameters = OrderedDict( J1 = 0.0025 J2 = 170 r = 105 tau_max = 1 phi2 = 0.5 w2 = 0.0 ), # │ state init unit ───┼─────────────────── 1 │ phi2 0.5 2 │ w2 0.0 Initialization finished within 0.067283 seconds (12.05 k allocations: 704.914 KiB, 95.98% compilation time) Termination of TwoInertiasAndIdealGear at time = 4.0 s initCpuTime = 0.0673 s simCpuTime = 0.0304 s initAlloc = 0.724 MB simAlloc = 1.01 MB FloatType = Float64 algorithm = Tsit5 (ODE integrator) startTime = 0.0 s terminationTime = 4.0 s interval = 0.008 s tolerance = 1.0e-6 (relative tolerance) nStates = 2 nResults = 501 nf_total = 1578 (total number of getDerivatives! calls) nf_integrator = 1075 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 0 (number of Jacobian computations) nAcceptedSteps = 41 nRejectedSteps = 138 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [1] linearSystemsRecFac = [false] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [true] ... Simulate model TwoInertiasAndIdealGear Initialization at time = 0.0 s Initialization finished within 0.000404 seconds (504 allocations: 27.750 KiB) Termination of TwoInertiasAndIdealGear at time = 4.0 s initCpuTime = 0.000452 s simCpuTime = 0.032 s initAlloc = 0.0301 MB simAlloc = 1.24 MB FloatType = Float64 algorithm = IDA (DAE integrator) startTime = 0.0 s terminationTime = 4.0 s interval = 0.008 s tolerance = 1.0e-6 (relative tolerance) nStates = 2 nResults = 501 nf_total = 1113 (total number of getDerivatives! calls) nf_integrator = 610 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 171 (number of Jacobian computations) nAcceptedSteps = 91 nRejectedSteps = 52 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [1] linearSystemsRecFac = [false] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [false] ... Simulate model TwoInertiasAndIdealGear Initialization at time = 0.0 s Initialization finished within 0.000845 seconds (504 allocations: 27.766 KiB) Termination of TwoInertiasAndIdealGear at time = 4.0 s initCpuTime = 0.000957 s simCpuTime = 0.0325 s initAlloc = 0.0301 MB simAlloc = 1.09 MB FloatType = Float64 algorithm = CVODE_BDF (ODE integrator) startTime = 0.0 s terminationTime = 4.0 s interval = 0.008 s tolerance = 1.0e-6 (relative tolerance) nStates = 2 nResults = 501 nf_total = 777 (total number of getDerivatives! calls) nf_integrator = 274 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 3 (number of Jacobian computations) nAcceptedSteps = 80 nRejectedSteps = 60 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [1] linearSystemsRecFac = [true] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [true] ... Linearize at stopTime = 0 and 4 ┌ Info: linearize!(.., analytic=true) of model TwoInertiasAndIdealGear └ is modified to analytic=false, because analytic=true is currently not supported! ┌ Info: linearize!(.., analytic=true) of model TwoInertiasAndIdealGear └ is modified to analytic=false, because analytic=true is currently not supported! xNames = ["phi2", "w2"] (A_0, x_0) = ([0.0 1.0; 0.0 0.0], [0.5, 0.0]) (A_4, x_4) = ([0.0 1.0; 0.0 0.0], [1.562951433558079, -1.2154910811828162e-6]) (A_4_numeric, x_4_numeric) = ([0.0 1.0; 0.0 0.0], [1.562951433558079, -1.2154910811828162e-6]) Instantiating model TwoInertiasAndIdealGearWithUnits in module: Main.Runtests.TestTwoInertiasAndIdealGearWithUnits in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestTwoInertiasAndIdealGearWithUnits.jl:34 Information message from getSortedAndSolvedAST for model TwoInertiasAndIdealGearWithUnits: The following variables are iteration variables but have no start/init values defined. If units are used in the model, start/init values with correct units should be defined to avoid unit errors during compilation. Involved variables: der(w2) code = quote function getDerivatives(_x, _m::Modia.InstantiatedModel{Float64, Float64}, _time::Float64)::Nothing _FloatType = Float64 _TimeType = Float64 _m.time = _time _m.nf_total += 1 instantiatedModel = _m _p = _m.evaluatedParameters _leq_mode = nothing time = _time * upreferred(u"s") phi2 = _x[1] * u"rad" w2 = _x[2] * u"rad*s^-1" tau = if time < 1 * u"s" (Modia.quantity(Float64, u"m*N"))(_p[:tau_max])::Modia.quantity(Float64, u"m*N") else if time < 2 * u"s" 0 * u"N*m" else if time < 3 * u"s" -((Modia.quantity(Float64, u"m*N"))(_p[:tau_max])::Modia.quantity(Float64, u"m*N")) else 0 * u"N*m" end end end phi1 = (Float64)(_p[:r])::Float64 * phi2 var"der(phi2)" = w2 var"der(phi1)" = (Float64)(_p[:r])::Float64 * var"der(phi2)" w1 = var"der(phi1)" begin local var"der(w2)", var"der(der(phi2))", var"der(der(phi1))", var"der(w1)", tau1, tau2 _leq_mode = Modia.initLinearEquationsIteration!(_m, 1) Modia.TimerOutputs.@timeit _m.timer "Modia LinearEquationsIteration!" while Modia.LinearEquationsIteration!(_leq_mode, _m.isInitial, _m.solve_leq, _m.storeResult, _m.time, _m.timer) var"der(w2)" = _leq_mode.x[1] * u"rad*s^-2" var"der(der(phi2))" = var"der(w2)" var"der(der(phi1))" = (Float64)(_p[:r])::Float64 * var"der(der(phi2))" var"der(w1)" = var"der(der(phi1))" tau1 = -(((Modia.quantity(Float64, u"kg*m^2"))(_p[:J1])::Modia.quantity(Float64, u"kg*m^2") * var"der(w1)" - tau)) tau2 = (Float64)(_p[:r])::Float64 * tau1 Modia.appendVariable!(_leq_mode.residuals, Modia.Unitful.ustrip.(tau2) .- Modia.Unitful.ustrip.((Modia.quantity(Float64, u"kg*m^2"))(_p[:J2])::Modia.quantity(Float64, u"kg*m^2") * var"der(w2)")) end _leq_mode = nothing end Modia.appendVariable!(_m.der_x_invariant, Modia.stripUnit(var"der(phi2)")) Modia.appendVariable!(_m.der_x_invariant, Modia.stripUnit(var"der(w2)")) if Modia.storeResults(_m) Modia.TimerOutputs.@timeit _m.timer "Modia addToResult!" Modia.addToResult!(_m, _x, _time, tau, w1, var"der(phi1)", phi1, var"der(w1)", tau1, tau2, var"der(der(phi1))", var"der(der(phi2))") end return nothing end end WARNING: Detected access to binding `TestTwoInertiasAndIdealGearWithUnits.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model TwoInertiasAndIdealGearWithUnits parameters = OrderedDict( J1 = 0.0025 kg m^2 J2 = 170 kg m^2 r = 105.0 tau_max = 1 m N phi2 = 0.5 rad w2 = 0.0 rad s^-1 tau2 = 0 m N ), # │ state init unit ───┼─────────────────────── 1 │ phi2 0.5 rad 2 │ w2 0.0 rad*s^-1 ... Linearize at stopTime = 0 and 4 ┌ Info: linearize!(.., analytic=true) of model TwoInertiasAndIdealGearWithUnits └ is modified to analytic=false, because analytic=true is currently not supported! ┌ Info: linearize!(.., analytic=true) of model TwoInertiasAndIdealGearWithUnits └ is modified to analytic=false, because analytic=true is currently not supported! xNames = ["phi2", "w2"] (A0, x0) = ([0.0 1.0; 0.0 0.0], [0.5, 0.0]) (A1, x1) = ([0.0 1.0; 0.0 0.0], [1.562951433558079, -1.2154910811828162e-6]) Instantiating model TwoInertiasAndIdealGear in module: Main.Runtests.TestTwoInertiasAndIdealGearWithUnitsAndUncertainties in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestTwoInertiasAndIdealGearWithUnitsAndUncertainties.jl:35 Information message from getSortedAndSolvedAST for model TwoInertiasAndIdealGear: The following variables are iteration variables but have no start/init values defined. If units are used in the model, start/init values with correct units should be defined to avoid unit errors during compilation. Involved variables: der(w2) WARNING: Detected access to binding `TestTwoInertiasAndIdealGearWithUnitsAndUncertainties.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model TwoInertiasAndIdealGear parameters = OrderedDict( J1 = 0.0025 kg m^2 J2 = 150.0 ± 20.0 kg m^2 r = 105.0 tau_max = 1 m N phi2 = 0.5 ± 0.05 rad w2 = 0.0 rad s^-1 tau2 = 0 m N ), # │ state init unit ───┼─────────────────────────── 1 │ phi2 0.5±0.05 rad 2 │ w2 0.0±0.0 rad*s^-1 ... Analytic linearization ┌ Info: linearize!(.., analytic=true) of model TwoInertiasAndIdealGear └ is modified to analytic=false, because analytic=true is currently not supported! xNames = ["phi2", "w2"] A1 = Measurements.Measurement{Float64}[0.0 ± 0.0 1.0 ± 0.0; 0.0 ± 0.0 0.0 ± 0.0], x1 = Measurements.Measurement{Float64}[1.682666482810605 ± 0.14228579601223, -3.679641960597183e-6 ± 4.14461607665608e-7] ... Numeric linearization with Float64 A2 = Measurements.Measurement{Float64}[0.0 ± 0.0 1.0 ± 0.0; 0.0 ± 0.0 0.0 ± 0.0], x2 = Measurements.Measurement{Float64}[1.682666482810605 ± 0.14228579601223, -3.679641960597183e-6 ± 4.14461607665608e-7] Instantiating model TwoInertiasAndIdealGearWithMonteCarlo in module: Main.Runtests.TestTwoInertiasAndIdealGearWithMonteCarlo in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestTwoInertiasAndIdealGearWithMonteCarlo.jl:36 WARNING: Detected access to binding `TestTwoInertiasAndIdealGearWithMonteCarlo.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model TwoInertiasAndIdealGearWithMonteCarlo parameters = OrderedDict( J1 = 0.0025 J2 = 110.0 ± 35.0 r = 105 tau_max = 1 phi2 = 0.525 ± 0.015 w2 = 0.0 ), # │ state init unit ───┼───────────────────────────────────────────── 1 │ phi2 0.525 ± 0.015 .. 0.525 ± 0.015 2 │ w2 0.0 .. 0.0 @instantiateModel(...,unitless=true, ..) set automatically, because FloatType=MonteCarloMeasurements often fails if units are involved. Instantiating model TwoInertiasAndIdealGearWithUnitsAndMonteCarlo in module: Main.Runtests.TestTwoInertiasAndIdealGearWithUnitsAndMonteCarlo in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestTwoInertiasAndIdealGearWithUnitsAndMonteCarlo.jl:41 code = quote function getDerivatives(_x, _m::Modia.InstantiatedModel{MonteCarloMeasurements.StaticParticles{Float64, 100}, Float64}, _time::Float64)::Nothing _FloatType = MonteCarloMeasurements.StaticParticles{Float64, 100} _TimeType = Float64 _m.time = _time _m.nf_total += 1 instantiatedModel = _m _p = _m.evaluatedParameters _leq_mode = nothing time = _time phi2 = _x[1] w2 = _x[2] tau = if time < 1 (Float64)(_p[:tau_max])::Float64 else if time < 2 0.0 else if time < 3 -((Float64)(_p[:tau_max])::Float64) else 0.0 end end end phi1 = (Float64)(_p[:r])::Float64 * phi2 var"der(phi2)" = w2 var"der(phi1)" = (Float64)(_p[:r])::Float64 * var"der(phi2)" w1 = var"der(phi1)" begin local var"der(w2)", var"der(der(phi2))", var"der(der(phi1))", var"der(w1)", tau1, tau2 _leq_mode = Modia.initLinearEquationsIteration!(_m, 1) Modia.TimerOutputs.@timeit _m.timer "Modia LinearEquationsIteration!" while Modia.LinearEquationsIteration!(_leq_mode, _m.isInitial, _m.solve_leq, _m.storeResult, _m.time, _m.timer) var"der(w2)" = _leq_mode.x[1] var"der(der(phi2))" = var"der(w2)" var"der(der(phi1))" = (Float64)(_p[:r])::Float64 * var"der(der(phi2))" var"der(w1)" = var"der(der(phi1))" tau1 = -(((Float64)(_p[:J1])::Float64 * var"der(w1)" - tau)) tau2 = (Float64)(_p[:r])::Float64 * tau1 Modia.appendVariable!(_leq_mode.residuals, tau2 .- _p[:J2]::MonteCarloMeasurements.StaticParticles{Float64, 100} * var"der(w2)") end _leq_mode = nothing end Modia.appendVariable!(_m.der_x_invariant, var"der(phi2)") Modia.appendVariable!(_m.der_x_invariant, var"der(w2)") if Modia.storeResults(_m) Modia.TimerOutputs.@timeit _m.timer "Modia addToResult!" Modia.addToResult!(_m, _x, _time, tau, w1, var"der(phi1)", phi1, var"der(w1)", tau1, tau2, var"der(der(phi1))", var"der(der(phi2))") end return nothing end end WARNING: Detected access to binding `TestTwoInertiasAndIdealGearWithUnitsAndMonteCarlo.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. Instantiating model FilterCircuit in module: Main.Runtests.TestLinearEquationSystemWithUnitsAndMonteCarlo in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestLinearEquationSystemWithUnitsAndMonteCarlo.jl:32 WARNING: Detected access to binding `TestLinearEquationSystemWithUnitsAndMonteCarlo.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ┌ Warning: Using a `Bool` for keyword argument `autodiff` is deprecated. Please use an `ADType` specifier. │ caller = _process_AD_choice(ad_alg::Bool, ::Val{0}, ::Val{:forward}) at misc_utils.jl:158 └ @ Core ~/.julia/packages/OrdinaryDiffEqCore/zs1s7/src/misc_utils.jl:158 ... Simulate model FilterCircuit Initialization at time = 0.0 s Initialization finished within 0.560769 seconds (159.76 k allocations: 8.794 MiB, 99.82% compilation time) WARNING: llvmcall with integer pointers is deprecated. Use actual pointers instead, replacing i32 or i64 with i8* or ptr in (::TriangularSolve.RDivBlockMandNv2{UNIT})(Any, Any, Any) where {UNIT} at /home/pkgeval/.julia/packages/TriangularSolve/rwyRY/src/TriangularSolve.jl Termination of FilterCircuit at time = 1.0 s initCpuTime = 0.561 s simCpuTime = 25.6 s initAlloc = 9.22 MB simAlloc = 526.0 MB FloatType = Float64 algorithm = QBDF (ODE integrator) startTime = 0.0 s terminationTime = 1.0 s interval = 0.002 s tolerance = 1.0e-6 (relative tolerance) nStates = 1 nResults = 501 nf_total = 612 (total number of getDerivatives! calls) nf_integrator = 109 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 1 (number of Jacobian computations) nAcceptedSteps = 69 nRejectedSteps = 9 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [2] linearSystemsRecFac = [false] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [true] Instantiating model FilterCircuit in module: Main.Runtests.TestLinearEquationSystemWithUnitsAndMonteCarlo in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestLinearEquationSystemWithUnitsAndMonteCarlo.jl:36 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestLinearEquationSystemWithUnitsAndMonteCarlo at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). ... Simulate model FilterCircuit Initialization at time = 0.0 s Initialization finished within 3.927417 seconds (1.71 M allocations: 92.856 MiB, 99.95% compilation time) Termination of FilterCircuit at time = 1.0 s initCpuTime = 3.93 s simCpuTime = 0.0315 s initAlloc = 97.4 MB simAlloc = 1.06 MB FloatType = Float64 algorithm = QBDF (ODE integrator) startTime = 0.0 s terminationTime = 1.0 s interval = 0.002 s tolerance = 1.0e-6 (relative tolerance) nStates = 1 nResults = 501 nf_total = 612 (total number of getDerivatives! calls) nf_integrator = 109 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 1 (number of Jacobian computations) nAcceptedSteps = 69 nRejectedSteps = 9 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [2] linearSystemsRecFac = [false] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [true] Instantiating model FilterCircuitStaticParticles in module: Main.Runtests.TestLinearEquationSystemWithUnitsAndMonteCarlo in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestLinearEquationSystemWithUnitsAndMonteCarlo.jl:46 ... Simulate model FilterCircuitStaticParticles Initialization at time = 0.0 s Initialization finished within 12.099248 seconds (2.70 M allocations: 145.287 MiB, 2.49% gc time, 99.96% compilation time) Termination of FilterCircuitStaticParticles at time = 1.0 s initCpuTime = 12.1 s simCpuTime = 62.0 s initAlloc = 152.0 MB simAlloc = 1470.0 MB FloatType = MonteCarloMeasurements.StaticParticles{Float64, 100} algorithm = QBDF (ODE integrator) startTime = 0.0 s terminationTime = 1.0 s interval = 0.002 s tolerance = 1.0e-6 (relative tolerance) nStates = 1 nResults = 501 nf_total = 608 (total number of getDerivatives! calls) nf_integrator = 105 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 1 (number of Jacobian computations) nAcceptedSteps = 86 nRejectedSteps = 6 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [2] linearSystemsRecFac = [false] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [true] @instantiateModel(...,unitless=true, ..) set automatically, because FloatType=MonteCarloMeasurements often fails if units are involved. Instantiating model FilterCircuitStaticParticles in module: Main.Runtests.TestLinearEquationSystemWithUnitsAndMonteCarlo in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestLinearEquationSystemWithUnitsAndMonteCarlo.jl:55 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{MonteCarloMeasurements.StaticParticles{Float64, 100}, Float64}, Float64) in module TestLinearEquationSystemWithUnitsAndMonteCarlo at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). ... Simulate model FilterCircuitStaticParticles Initialization at time = 0.0 s Initialization finished within 0.886116 seconds (172.60 k allocations: 9.225 MiB, 99.85% compilation time) Termination of FilterCircuitStaticParticles at time = 1.0 s initCpuTime = 0.886 s simCpuTime = 0.0532 s initAlloc = 9.68 MB simAlloc = 18.0 MB FloatType = MonteCarloMeasurements.StaticParticles{Float64, 100} algorithm = QBDF (ODE integrator) startTime = 0.0 s terminationTime = 1.0 s interval = 0.002 s tolerance = 1.0e-6 (relative tolerance) nStates = 1 nResults = 501 nf_total = 608 (total number of getDerivatives! calls) nf_integrator = 105 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 1 (number of Jacobian computations) nAcceptedSteps = 86 nRejectedSteps = 6 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [2] linearSystemsRecFac = [false] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [true] Instantiating model FilterCircuitParticles in module: Main.Runtests.TestLinearEquationSystemWithUnitsAndMonteCarlo in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestLinearEquationSystemWithUnitsAndMonteCarlo.jl:71 ... Simulate model FilterCircuitParticles Initialization at time = 0.0 s Initialization finished within 54.109653 seconds (8.98 M allocations: 495.684 MiB, 0.92% gc time, 99.99% compilation time) Termination of FilterCircuitParticles at time = 1.0 s initCpuTime = 54.1 s simCpuTime = 73.6 s initAlloc = 520.0 MB simAlloc = 2520.0 MB FloatType = MonteCarloMeasurements.Particles{Float64, 2000} algorithm = QBDF (ODE integrator) startTime = 0.0 s terminationTime = 1.0 s interval = 0.002 s tolerance = 1.0e-6 (relative tolerance) nStates = 1 nResults = 501 nf_total = 608 (total number of getDerivatives! calls) nf_integrator = 105 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 1 (number of Jacobian computations) nAcceptedSteps = 86 nRejectedSteps = 6 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [2] linearSystemsRecFac = [false] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [true] @instantiateModel(...,unitless=true, ..) set automatically, because FloatType=MonteCarloMeasurements often fails if units are involved. Instantiating model FilterCircuitParticles in module: Main.Runtests.TestLinearEquationSystemWithUnitsAndMonteCarlo in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestLinearEquationSystemWithUnitsAndMonteCarlo.jl:80 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{MonteCarloMeasurements.Particles{Float64, 2000}, Float64}, Float64) in module TestLinearEquationSystemWithUnitsAndMonteCarlo at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). ... Simulate model FilterCircuitParticles Initialization at time = 0.0 s Initialization finished within 0.579990 seconds (123.08 k allocations: 8.589 MiB, 99.48% compilation time) Termination of FilterCircuitParticles at time = 1.0 s initCpuTime = 0.58 s simCpuTime = 3.58 s initAlloc = 9.01 MB simAlloc = 1260.0 MB FloatType = MonteCarloMeasurements.Particles{Float64, 2000} algorithm = QBDF (ODE integrator) startTime = 0.0 s terminationTime = 1.0 s interval = 0.002 s tolerance = 1.0e-6 (relative tolerance) nStates = 1 nResults = 501 nf_total = 608 (total number of getDerivatives! calls) nf_integrator = 105 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 1 (number of Jacobian computations) nAcceptedSteps = 86 nRejectedSteps = 6 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [2] linearSystemsRecFac = [false] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [true] Instantiating model SingularLRRL in module: Main.Runtests.TestSingularLRRL in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestSingularLRRL.jl:63 WARNING: Detected access to binding `TestSingularLRRL.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. Instantiating model SingularLRRL3 in module: Main.Runtests.TestSingularLRRL in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestSingularLRRL.jl:113 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestSingularLRRL at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). Instantiating model SecondOrder1 in module: Main.Runtests.TestStateSpace in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestStateSpace.jl:30 WARNING: Detected access to binding `TestStateSpace.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. Instantiating model SecondOrder2 in module: Main.Runtests.TestStateSpace in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestStateSpace.jl:47 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestStateSpace at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). ... Simulate model SecondOrder2 parameters = OrderedDict( sys = OrderedDict( A = [0.0 1.0; -400.0 -12.0] B = [0.0, 400.0] C = [2.0 0.0] D = [0.0;;] x = [1.0, 1.0] ), ), # │ state init unit ───┼───────────────────────── 1 │ sys.x [1.0, 1.0] Instantiating model FirstOrder in module: Main.Runtests.TestParameter in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestParameter.jl:21 WARNING: Detected access to binding `TestParameter.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. Instantiating model SimpleRod in module: Main.Runtests.TestHeatTransfer in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestHeatTransfer.jl:20 WARNING: Detected access to binding `TestHeatTransfer.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. Instantiating model HeatedRod in module: Main.Runtests.TestHeatTransfer in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestHeatTransfer.jl:36 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestHeatTransfer at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). ... Simulate model HeatedRod Initialization at time = 0.0 s Initialization finished within 4.889583 seconds (1.37 M allocations: 75.208 MiB, 99.92% compilation time) Termination of HeatedRod at time = 100000.0 s initCpuTime = 4.89 s simCpuTime = 0.0401 s initAlloc = 78.9 MB simAlloc = 1.33 MB FloatType = Float64 algorithm = CVODE_BDF (ODE integrator) startTime = 0.0 s terminationTime = 100000.0 s interval = 200.0 s tolerance = 1.0e-6 (relative tolerance) nStates = 5 nResults = 501 nf_total = 662 (total number of getDerivatives! calls) nf_integrator = 159 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 3 (number of Jacobian computations) nAcceptedSteps = 112 nRejectedSteps = 3 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [] linearSystemsRecFac = [] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [] Instantiating model HeatedRod2 in module: Main.Runtests.TestHeatTransfer2 in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestHeatTransfer2.jl:16 WARNING: Detected access to binding `TestHeatTransfer2.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model HeatedRod2 Initialization at time = 0.0 s parameters = OrderedDict( fixedT = OrderedDict( T = 493.15 K ), fixedQflow = OrderedDict( Q_flow = 0.0 W ), rod = OrderedDict( _initSegmentFunction = Par( functionName = initSegment_InsulatedRod2! ), L = 1.0 m A = 0.0004 m^2 rho = 7500.0 kg m^-3 lambda = 74.0 W K^-1 m^-1 c = 450.0 J kg^-1 K^-1 T0 = 293.15 K nT = 8 ), ), evaluatedParameters = OrderedDict( fixedT = OrderedDict( T = 493.15 K ), fixedQflow = OrderedDict( Q_flow = 0.0 W ), rod = OrderedDict( L = 1.0 m A = 0.0004 m^2 rho = 7500.0 kg m^-3 lambda = 74.0 W K^-1 m^-1 c = 450.0 J kg^-1 K^-1 T0 = 293.15 K nT = 8 ), ), Initialization finished within 6.273539 seconds (2.29 M allocations: 123.039 MiB, 5.08% gc time, 99.78% compilation time) Termination of HeatedRod2 at time = 100000.0 s initCpuTime = 6.27 s simCpuTime = 0.039 s initAlloc = 129.0 MB simAlloc = 1.09 MB FloatType = Float64 algorithm = CVODE_BDF (ODE integrator) startTime = 0.0 s terminationTime = 100000.0 s interval = 200.0 s tolerance = 1.0e-6 (relative tolerance) nStates = 8 nResults = 501 nf_total = 693 (total number of getDerivatives! calls) nf_integrator = 190 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 3 (number of Jacobian computations) nAcceptedSteps = 127 nRejectedSteps = 4 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [] linearSystemsRecFac = [] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [] name unit size eltypeOrType kind attributes ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── _attributes Map model=Map(name="HeatedRod2"), experiment=Map(start… time "s" [501] Float64 Var independent=true fixedQflow.Q_flow "W" Float64 Par =0.0 fixedQflow.port.Q_flow "W" [501] Float64 Var fixedQflow.port.T "K" [501] Float64 Var alias="rod.port_b.T" fixedT.T "K" Float64 Par =493.15 fixedT.port.T "K" [501] Float64 Var alias="rod.port_a.T" fixedT.port.Q_flow "W" [501] Float64 Var rod.T "K" [501,8] Float64 Var start=[293.15, 293.15, 293.15, 293.15, 293.15, 293… rod.der(T) "K*s^-1" [501,8] Float64 Var rod.L "m" Float64 Par =1.0 rod.A "m^2" Float64 Par =0.0004 rod.rho "kg*m^-3" Float64 Par =7500.0 rod.lambda "W*K^-1*m^-1" Float64 Par =74.0 rod.c "J*kg^-1*K^-1" Float64 Par =450.0 rod.T0 "K" Float64 Par =293.15 rod.nT Int64 Par =8 rod.port_a.Q_flow "W" [501] Float64 Var rod.port_a.T "K" [501] Float64 Var rod.port_b.T "K" [501] Float64 Var rod.port_b.Q_flow "W" [501] Float64 Var Instantiating model HeatedRod2 in module: Main.Runtests.TestHeatTransfer2 in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestHeatTransfer2.jl:24 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestHeatTransfer2 at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). ... Simulate model HeatedRod2 Initialization at time = 0.0 s parameters = OrderedDict( fixedT = OrderedDict( T = 493.15 ), fixedQflow = OrderedDict( Q_flow = 0.0 ), rod = OrderedDict( _initSegmentFunction = Par( functionName = initSegment_InsulatedRod2! ), L = 1.0 A = 0.0004 rho = 7500.0 lambda = 74.0 c = 450.0 T0 = 293.15 nT = 100 ), ), evaluatedParameters = OrderedDict( fixedT = OrderedDict( T = 493.15 ), fixedQflow = OrderedDict( Q_flow = 0.0 ), rod = OrderedDict( L = 1.0 A = 0.0004 rho = 7500.0 lambda = 74.0 c = 450.0 T0 = 293.15 nT = 100 ), ), Initialization finished within 0.508464 seconds (129.88 k allocations: 7.283 MiB, 98.87% compilation time) Termination of HeatedRod2 at time = 100000.0 s initCpuTime = 0.509 s simCpuTime = 0.0408 s initAlloc = 7.64 MB simAlloc = 2.38 MB FloatType = Float64 algorithm = CVODE_BDF (ODE integrator) startTime = 0.0 s terminationTime = 100000.0 s interval = 200.0 s tolerance = 1.0e-6 (relative tolerance) nStates = 100 nResults = 501 nf_total = 1163 (total number of getDerivatives! calls) nf_integrator = 660 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 4 (number of Jacobian computations) nAcceptedSteps = 209 nRejectedSteps = 5 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [] linearSystemsRecFac = [] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [] name unit size eltypeOrType kind attributes ────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── _attributes Map model=Map(name="HeatedRod2"), experiment=Map(start… time "s" [501] Float64 Var independent=true fixedQflow.Q_flow Float64 Par =0.0 fixedQflow.port.Q_flow [501] Float64 Var fixedQflow.port.T [501] Float64 Var alias="rod.port_b.T" fixedT.T Float64 Par =493.15 fixedT.port.T [501] Float64 Var alias="rod.port_a.T" fixedT.port.Q_flow [501] Float64 Var rod.T "K" [501,100] Float64 Var start=[293.15, 293.15, 293.15, 293.15, 293.15, 293… rod.der(T) "K*s^-1" [501,100] Float64 Var rod.L Float64 Par =1.0 rod.A Float64 Par =0.0004 rod.rho Float64 Par =7500.0 rod.lambda Float64 Par =74.0 rod.c Float64 Par =450.0 rod.T0 Float64 Par =293.15 rod.nT Int64 Par =100 rod.port_a.Q_flow [501] Float64 Var rod.port_a.T [501] Float64 Var rod.port_b.T [501] Float64 Var rod.port_b.Q_flow [501] Float64 Var Instantiating model SimpleStateEvents in module: Main.Runtests.TestSimpleStateEvents in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestSimpleStateEvents.jl:22 WARNING: Detected access to binding `TestSimpleStateEvents.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. Instantiating model SpeedControl in module: Main.Runtests.TestSynchronous in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestSynchronous.jl:34 WARNING: Detected access to binding `TestSynchronous.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. Instantiating model SpeedControlPI in module: Main.Runtests.TestSynchronous in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestSynchronous.jl:63 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module TestSynchronous at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). Instantiating model FirstOrder in module: Main.Runtests.TestInputOutput in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestInputOutput.jl:16 WARNING: Detected access to binding `TestInputOutput.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. tvec = 0.0:0.05132373835650419:5.1323738356504185 name unit size eltypeOrType kind attributes ───────────────────────────────────────────────────────────────── time "s" [101] Float64 Var independent=true angle1 [101] Float64 Var der(angle1) [101] Float64 Var der2(angle1) [101] Float64 Var angle2 [101] Float64 Var der(angle2) [101] Float64 Var der2(angle2) [101] Float64 Var angle3 [101] Float64 Var der(angle3) [101] Float64 Var der2(angle3) [101] Float64 Var tvec = 0.0:0.05132373835650419:5.1323738356504185 tvec = LinRange{Measurements.Measurement{Float64}}(0.0 ± 0.0, 5.13 ± 0.48, 101) name unit size eltypeOrType kind attributes ───────────────────────────────────────────────────────────────────────── time "s" [101] Measurement{Float64} Var independent=true angle1 [101] Measurement{Float64} Var der(angle1) [101] Measurement{Float64} Var der2(angle1) [101] Measurement{Float64} Var angle2 [101] Measurement{Float64} Var der(angle2) [101] Measurement{Float64} Var der2(angle2) [101] Measurement{Float64} Var angle3 [101] Measurement{Float64} Var der(angle3) [101] Measurement{Float64} Var der2(angle3) [101] Measurement{Float64} Var tvec = LinRange{Measurements.Measurement{Float64}}(0.0 ± 0.0, 5.13 ± 0.48, 101) Instantiating model FirstOrder in module: Main.Runtests.TestExtraSimulateKeywordArguments in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestExtraSimulateKeywordArguments.jl:29 WARNING: Detected access to binding `TestExtraSimulateKeywordArguments.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. Extra simulate! keyword arguments: dummy1 = 2.0, dummy2 = true, dummy3 = "value changed" Instantiating model ThreeCoupledInertias in module: Main.Runtests.TestMultiReturningFunction in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestMultiReturningFunction.jl:54 code = quote function getDerivatives(_x, _m::Modia.InstantiatedModel{Float64, Float64}, _time::Float64)::Nothing _FloatType = Float64 _TimeType = Float64 _m.time = _time _m.nf_total += 1 instantiatedModel = _m _p = _m.evaluatedParameters _leq_mode = nothing time = _time var"inertia3.phi" = _x[1] var"inertia3.w" = _x[2] w1 = _x[3] phi1 = _x[4] var"inertia1.J" = (Float64)(_p[:J1])::Float64 var"inertia2.phi" = var"inertia3.phi" var"inertia1.phi" = var"inertia2.phi" var"der(inertia3.phi)" = var"inertia3.w" var"der(inertia2.phi)" = var"der(inertia3.phi)" var"der(inertia1.phi)" = var"der(inertia2.phi)" var"inertia1.w" = var"der(inertia1.phi)" tau0 = sin(time / 1) var"inertia2.J" = (Float64)(_p[:J2])::Float64 var"inertia2.w" = var"der(inertia2.phi)" var"inertia3.J" = (Float64)(_p[:J3])::Float64 begin local var"inertia3.a", var"der(inertia3.w)", var"der(der(inertia3.phi))", var"der(der(inertia2.phi))", var"der(der(inertia1.phi))", var"der(inertia1.w)", var"der(inertia2.w)", var"inertia3.flange_a.tau", var"inertia2.a", var"inertia2.flange_a.tau", var"inertia1.a" _leq_mode = Modia.initLinearEquationsIteration!(_m, 1) Modia.TimerOutputs.@timeit _m.timer "Modia LinearEquationsIteration!" while Modia.LinearEquationsIteration!(_leq_mode, _m.isInitial, _m.solve_leq, _m.storeResult, _m.time, _m.timer) var"inertia3.a" = _leq_mode.x[1] var"der(inertia3.w)" = var"inertia3.a" var"der(der(inertia3.phi))" = var"der(inertia3.w)" var"der(der(inertia2.phi))" = var"der(der(inertia3.phi))" var"der(der(inertia1.phi))" = var"der(der(inertia2.phi))" var"der(inertia1.w)" = var"der(der(inertia1.phi))" var"der(inertia2.w)" = var"der(der(inertia2.phi))" var"inertia3.flange_a.tau" = var"inertia3.J" * var"inertia3.a" var"inertia2.a" = var"der(inertia2.w)" var"inertia2.flange_a.tau" = var"inertia2.J" * var"inertia2.a" - -var"inertia3.flange_a.tau" var"inertia1.a" = var"der(inertia1.w)" Modia.appendVariable!(_leq_mode.residuals, (tau0 + -var"inertia2.flange_a.tau") .- var"inertia1.J" * var"inertia1.a") end _leq_mode = nothing end var"der(phi1)" = w1 phi2 = phi1 var"der(phi2)" = var"der(phi1)" w2 = var"der(phi2)" phi3 = phi2 var"der(phi3)" = var"der(phi2)" w3 = var"der(phi3)" begin local var"der(w1)", tau1, var"der(der(phi1))", var"der(der(phi2))", var"der(der(phi3))", var"der(w3)", var"der(w2)", tau2 _leq_mode = Modia.initLinearEquationsIteration!(_m, 2) Modia.TimerOutputs.@timeit _m.timer "Modia LinearEquationsIteration!" while Modia.LinearEquationsIteration!(_leq_mode, _m.isInitial, _m.solve_leq, _m.storeResult, _m.time, _m.timer) var"der(w1)" = _leq_mode.x[1] tau1 = _leq_mode.x[2] var"der(der(phi1))" = var"der(w1)" var"der(der(phi2))" = var"der(der(phi1))" var"der(der(phi3))" = var"der(der(phi2))" var"der(w3)" = var"der(der(phi3))" var"der(w2)" = var"der(der(phi2))" tau2 = (Float64)(_p[:J3])::Float64 * var"der(w3)" Modia.appendVariable!(_leq_mode.residuals, twoCoupledInertias((Float64)(_p[:J1])::Float64, (Float64)(_p[:J2])::Float64, var"der(w1)", var"der(w2)", tau0, tau1, tau2)) end _leq_mode = nothing end Modia.appendVariable!(_m.der_x_invariant, var"der(inertia3.phi)") Modia.appendVariable!(_m.der_x_invariant, var"der(inertia3.w)") Modia.appendVariable!(_m.der_x_invariant, var"der(w1)") Modia.appendVariable!(_m.der_x_invariant, var"der(phi1)") if Modia.storeResults(_m) Modia.TimerOutputs.@timeit _m.timer "Modia addToResult!" Modia.addToResult!(_m, _x, _time, var"inertia1.J", var"inertia1.phi", var"inertia1.w", var"der(inertia1.phi)", var"inertia1.a", var"der(inertia1.w)", var"inertia2.J", var"inertia2.phi", var"inertia2.w", var"der(inertia2.phi)", var"inertia2.a", var"der(inertia2.w)", var"inertia2.flange_a.tau", var"inertia3.J", var"inertia3.a", var"inertia3.flange_a.tau", tau0, w2, var"der(phi2)", phi2, w3, var"der(phi3)", phi3, var"der(w2)", tau1, tau2, var"der(w3)", var"der(der(phi1))", var"der(der(phi2))", var"der(der(phi3))", var"der(der(inertia1.phi))", var"der(der(inertia2.phi))", var"der(der(inertia3.phi))") end return nothing end end WARNING: Detected access to binding `TestMultiReturningFunction.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model ThreeCoupledInertias Initialization at time = 0.0 s Initialization finished within 1.108070 seconds (175.46 k allocations: 9.764 MiB, 99.92% compilation time) Termination of ThreeCoupledInertias at time = 2.0 s initCpuTime = 1.11 s simCpuTime = 0.041 s initAlloc = 10.2 MB simAlloc = 1.52 MB FloatType = Float64 algorithm = CVODE_BDF (ODE integrator) startTime = 0.0 s terminationTime = 2.0 s interval = 0.004 s tolerance = 1.0e-6 (relative tolerance) nStates = 4 nResults = 501 nf_total = 564 (total number of getDerivatives! calls) nf_integrator = 61 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 1 (number of Jacobian computations) nAcceptedSteps = 43 nRejectedSteps = 1 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [1, 2] linearSystemsRecFac = [false, false] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [true, true] Instantiating model ThreeCoupledInertias in module: Main.Runtests.TestMultiReturningFunction4A in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestMultiReturningFunction4A.jl:44 code = quote function getDerivatives(_x, _m::Modia.InstantiatedModel{Float64, Float64}, _time::Float64)::Nothing _FloatType = Float64 _TimeType = Float64 _m.time = _time _m.nf_total += 1 instantiatedModel = _m _p = _m.evaluatedParameters _leq_mode = nothing time = _time w1 = _x[1] phi1 = _x[2] tau0 = sin(time / 1) var"der(phi1)" = w1 phi2 = phi1 var"der(phi2)" = var"der(phi1)" w2 = var"der(phi2)" phi3 = phi1 var"der(phi3)" = var"der(phi1)" w3 = var"der(phi3)" begin local var"der(w1)", tau1, var"der(der(phi1))", var"der(der(phi2))", var"der(der(phi3))", var"der(w2)", var"der(w3)", mbs, tau2 _leq_mode = Modia.initLinearEquationsIteration!(_m, 1) Modia.TimerOutputs.@timeit _m.timer "Modia LinearEquationsIteration!" while Modia.LinearEquationsIteration!(_leq_mode, _m.isInitial, _m.solve_leq, _m.storeResult, _m.time, _m.timer) var"der(w1)" = _leq_mode.x[1] tau1 = _leq_mode.x[2] var"der(der(phi1))" = var"der(w1)" var"der(der(phi2))" = var"der(der(phi1))" var"der(der(phi3))" = var"der(der(phi1))" var"der(w2)" = var"der(der(phi2))" var"der(w3)" = var"der(der(phi3))" mbs = Mbs(var"der(w1)", var"der(w2)") tau2 = (Float64)(_p[:J3])::Float64 * var"der(w3)" Modia.appendVariable!(_leq_mode.residuals, twoCoupledInertias(mbs, (Float64)(_p[:J1])::Float64, (Float64)(_p[:J2])::Float64, tau0) .- (tau1, tau2)) end _leq_mode = nothing end Modia.appendVariable!(_m.der_x_invariant, var"der(w1)") Modia.appendVariable!(_m.der_x_invariant, var"der(phi1)") if Modia.storeResults(_m) Modia.TimerOutputs.@timeit _m.timer "Modia addToResult!" Modia.addToResult!(_m, _x, _time, tau0, w2, var"der(phi2)", phi2, w3, var"der(phi3)", phi3, mbs, var"der(w2)", tau1, tau2, var"der(w3)", var"der(der(phi1))", var"der(der(phi2))", var"der(der(phi3))") end return nothing end end WARNING: Detected access to binding `TestMultiReturningFunction4A.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model ThreeCoupledInertias Initialization at time = 0.0 s Initialization finished within 1.396685 seconds (548.04 k allocations: 29.752 MiB, 27.58% gc time, 99.81% compilation time) Termination of ThreeCoupledInertias at time = 2.0 s initCpuTime = 1.4 s simCpuTime = 0.56 s initAlloc = 31.2 MB simAlloc = 8.2 MB FloatType = Float64 algorithm = CVODE_BDF (ODE integrator) startTime = 0.0 s terminationTime = 2.0 s interval = 0.004 s tolerance = 1.0e-6 (relative tolerance) nStates = 2 nResults = 501 nf_total = 562 (total number of getDerivatives! calls) nf_integrator = 59 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 1 (number of Jacobian computations) nAcceptedSteps = 43 nRejectedSteps = 1 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [2] linearSystemsRecFac = [false] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [true] Instantiating model Pendulum in module: Main.Runtests.TestMultiReturningFunction5A in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestMultiReturningFunction5A.jl:43 === getSortedAndSolvedAST(...) started for Pendulum. ... Equation set 1.1 .............................. Equations: 1: w = der(phi) Unknown variables: 2: der(phi) One equation in one unknown variable. Solve the equation: Julia code: var"der(phi)" = w ... Equation set 2.1 .............................. Equations: 2: mbs1 = setStates(phi, w) Unknown variables: 4: mbs1 One equation in one unknown variable. Solve the equation: Julia code: mbs1 = setStates(phi, w) ... Equation set 3.1 .............................. Equations: 5: u = -d * w Unknown variables: 7: u One equation in one unknown variable. Solve the equation: Julia code: u = -((Float64)(_p[:d])::Float64) * w ... Equation set 4.1 .............................. Equations: 4: u = getForces(mbs2) 3: mbs2 = setAccelerations(mbs1, der(w)) Unknown variables: 6: der(w) 5: mbs2 2 equation(s) in 2 unknown variable(s). Tear the system of equations: Tearing variables: der(w) Residual equations: 4: u = getForces(mbs2) All unknowns are solved. Teared equation system is linear. Solve system with hasConstantCoefficients = false. code = quote local var"der(w)", mbs2 _leq_mode = Modia.initLinearEquationsIteration!(_m, 1) Modia.TimerOutputs.@timeit _m.timer "Modia LinearEquationsIteration!" while Modia.LinearEquationsIteration!(_leq_mode, _m.isInitial, _m.solve_leq, _m.storeResult, _m.time, _m.timer) var"der(w)" = _leq_mode.x[1] mbs2 = setAccelerations(mbs1, var"der(w)") Modia.appendVariable!(_leq_mode.residuals, getForces(mbs2) .- u) end _leq_mode = nothing end Sort equations (BLT on all equations under the assumption that the ODE states are known). === getSortedAndSolvedAST(...) terminated for Pendulum. WARNING: Detected access to binding `TestMultiReturningFunction5A.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model Pendulum Initialization at time = 0.0 s Initialization finished within 0.900923 seconds (437.03 k allocations: 24.107 MiB, 99.93% compilation time) Termination of Pendulum at time = 10.0 s initCpuTime = 0.901 s simCpuTime = 0.0751 s initAlloc = 25.3 MB simAlloc = 1.44 MB FloatType = Float64 algorithm = CVODE_BDF (ODE integrator) startTime = 0.0 s terminationTime = 10.0 s interval = 0.02 s tolerance = 1.0e-6 (relative tolerance) nStates = 2 nResults = 501 nf_total = 653 (total number of getDerivatives! calls) nf_integrator = 150 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 3 (number of Jacobian computations) nAcceptedSteps = 118 nRejectedSteps = 3 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [1] linearSystemsRecFac = [false] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [true] Instantiating model Pendulum in module: Main.Runtests.TestMultiReturningFunction6 in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestMultiReturningFunction6.jl:58 WARNING: Detected access to binding `TestMultiReturningFunction6.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model Pendulum Initialization at time = 0.0 s Initialization finished within 0.825163 seconds (352.30 k allocations: 19.293 MiB, 99.90% compilation time) Termination of Pendulum at time = 10.0 s initCpuTime = 0.825 s simCpuTime = 0.0534 s initAlloc = 20.2 MB simAlloc = 1.87 MB FloatType = Float64 algorithm = CVODE_BDF (ODE integrator) startTime = 0.0 s terminationTime = 10.0 s interval = 0.02 s tolerance = 1.0e-6 (relative tolerance) nStates = 4 nResults = 501 nf_total = 688 (total number of getDerivatives! calls) nf_integrator = 185 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 3 (number of Jacobian computations) nAcceptedSteps = 147 nRejectedSteps = 3 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [2] linearSystemsRecFac = [false] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [true] Instantiating model Pendulum in module: Main.Runtests.TestMultiReturningFunction7A in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestMultiReturningFunction7A.jl:56 WARNING: Detected access to binding `TestMultiReturningFunction7A.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model Pendulum Initialization at time = 0.0 s Initialization finished within 0.844139 seconds (331.55 k allocations: 18.201 MiB, 99.93% compilation time) Termination of Pendulum at time = 2.0 s initCpuTime = 0.844 s simCpuTime = 0.0607 s initAlloc = 19.1 MB simAlloc = 1.73 MB FloatType = Float64 algorithm = CVODE_BDF (ODE integrator) startTime = 0.0 s terminationTime = 2.0 s interval = 0.004 s tolerance = 1.0e-6 (relative tolerance) nStates = 4 nResults = 501 nf_total = 567 (total number of getDerivatives! calls) nf_integrator = 64 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 1 (number of Jacobian computations) nAcceptedSteps = 48 nRejectedSteps = 1 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [2] linearSystemsRecFac = [false] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [true] Instantiating model Pendulum in module: Main.Runtests.TestMultiReturningFunction10 in file: /home/pkgeval/.julia/packages/Modia/77g2A/test/TestMultiReturningFunction10.jl:102 TestMultiReturningFunction10: Test output from function myBuildFunction at modelPath = "": Code could be constructed here and merged to the model with buildOption=MyBuildOption code = quote function getDerivatives(_x, _m::Modia.InstantiatedModel{Float64, Float64}, _time::Float64)::Nothing _FloatType = Float64 _TimeType = Float64 _m.time = _time _m.nf_total += 1 instantiatedModel = _m _p = _m.evaluatedParameters _leq_mode = nothing time = _time w1 = _x[1] phi1 = _x[2] var"der(phi1)" = w1 mbs1 = setStates(_p[:mbs], phi1, w1) tau1 = -0.1w1 begin local var"der(w1)", qdd, mbs2, mbs3, mbs4 _leq_mode = Modia.initLinearEquationsIteration!(_m, 1) Modia.TimerOutputs.@timeit _m.timer "Modia LinearEquationsIteration!" while Modia.LinearEquationsIteration!(_leq_mode, _m.isInitial, _m.solve_leq, _m.storeResult, _m.time, _m.timer) var"der(w1)" = _leq_mode.x[1] qdd = _leq_mode.x_vec[1] mbs2 = setAccelerations1(mbs1, var"der(w1)") mbs3 = setAccelerations2(mbs2, qdd) mbs4 = computeForcesAndResiduals(mbs3, time) Modia.appendVariable!(_leq_mode.residuals, getResiduals(mbs4)) Modia.appendVariable!(_leq_mode.residuals, getForces(mbs4) .- tau1) end _leq_mode = nothing end Modia.appendVariable!(_m.der_x_invariant, var"der(w1)") Modia.appendVariable!(_m.der_x_invariant, var"der(phi1)") if Modia.storeResults(_m) Modia.TimerOutputs.@timeit _m.timer "Modia addToResult!" Modia.addToResult!(_m, _x, _time, qdd, tau1) end return nothing end end WARNING: Detected access to binding `TestMultiReturningFunction10.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model Pendulum Initialization at time = 0.0 s TestMultiReturningFunction10: init Mbs with phi2=[1.0, 2.0] Initialization finished within 0.930659 seconds (271.70 k allocations: 15.170 MiB, 99.72% compilation time) Termination of Pendulum at time = 2.0 s initCpuTime = 0.931 s simCpuTime = 0.0534 s initAlloc = 15.9 MB simAlloc = 1.95 MB FloatType = Float64 algorithm = CVODE_BDF (ODE integrator) startTime = 0.0 s terminationTime = 2.0 s interval = 0.004 s tolerance = 1.0e-6 (relative tolerance) nStates = 2 nResults = 501 nf_total = 566 (total number of getDerivatives! calls) nf_integrator = 63 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 1 (number of Jacobian computations) nAcceptedSteps = 44 nRejectedSteps = 2 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [3] linearSystemsRecFac = [false] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [true] name unit size eltypeOrType kind attributes ────────────────────────────────────────────────────────────────────────────────────────────────────── _attributes Map model=Map(name="Pendulum"), experiment=Map(startTi… time "s" [501] Float64 Var independent=true der(phi1) "1/s" [501] Float64 Var der(w1) "1/s" [501] Float64 Var mbs MbsData Par phi1 [501] Float64 Var start=1.5707963267948966, fixed=true, state=true, … qdd [501,2] Float64 Var tau1 [501] Float64 Var w1 [501] Float64 Var start=0.0, fixed=true, state=true, der="der(w1)" ... Simulate model Pendulum Initialization at time = 0.0 s TestMultiReturningFunction10: init Mbs with phi2=[10.0, 20.0, 30.0] Initialization finished within 0.001574 seconds (850 allocations: 42.062 KiB) Termination of Pendulum at time = 2.0 s initCpuTime = 0.00162 s simCpuTime = 0.0412 s initAlloc = 0.0448 MB simAlloc = 2.11 MB FloatType = Float64 algorithm = CVODE_BDF (ODE integrator) startTime = 0.0 s terminationTime = 2.0 s interval = 0.004 s tolerance = 1.0e-6 (relative tolerance) nStates = 2 nResults = 501 nf_total = 566 (total number of getDerivatives! calls) nf_integrator = 63 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 1 (number of Jacobian computations) nAcceptedSteps = 44 nRejectedSteps = 2 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [4] linearSystemsRecFac = [false] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [true] Instantiating model SimpleModel in module: Main.Runtests.SimpleFilters in file: /home/pkgeval/.julia/packages/Modia/77g2A/examples/SimpleFilters.jl:14 WARNING: Detected access to binding `SimpleFilters.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. Instantiating model TestLowAndHighPassFilter in module: Main.Runtests.SimpleFilters in file: /home/pkgeval/.julia/packages/Modia/77g2A/examples/SimpleFilters.jl:53 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module SimpleFilters at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). Instantiating model TestBandPassFilter in module: Main.Runtests.SimpleFilters in file: /home/pkgeval/.julia/packages/Modia/77g2A/examples/SimpleFilters.jl:85 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module SimpleFilters at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). Instantiating model Filter in module: Main.Runtests.FilterCircuit in file: /home/pkgeval/.julia/packages/Modia/77g2A/examples/FilterCircuit.jl:22 WARNING: Detected access to binding `FilterCircuit.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. 0.281602 seconds (84.32 k allocations: 4.676 MiB, 85.43% compilation time) Simulate once more with different R.R 0.509699 seconds (200.96 k allocations: 11.478 MiB, 91.61% compilation time) Filter without ground and parameter propagation Instantiating model Filter2 in module: Main.Runtests.FilterCircuit in file: /home/pkgeval/.julia/packages/Modia/77g2A/examples/FilterCircuit.jl:48 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module FilterCircuit at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). Voltage divider by redeclaring capacitor to resistor Instantiating model VoltageDividerAndFilter in module: Main.Runtests.FilterCircuit in file: /home/pkgeval/.julia/packages/Modia/77g2A/examples/FilterCircuit.jl:62 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module FilterCircuit at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). Build array of 10 filters Instantiating model Filters in module: Main.Runtests.FilterCircuit in file: /home/pkgeval/.julia/packages/Modia/77g2A/examples/FilterCircuit.jl:74 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module FilterCircuit at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). Build array of 10 Cauer low pass filters 1.493326 seconds (530.93 k allocations: 27.999 MiB, 98.76% compilation time) Instantiating model Rectifier1 in module: Main.Runtests.RectifierSimulation in file: /home/pkgeval/.julia/packages/Modia/77g2A/examples/Rectifier.jl:42 WARNING: Detected access to binding `RectifierSimulation.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. Instantiating model Rectifier2 in module: Main.Runtests.RectifierSimulation in file: /home/pkgeval/.julia/packages/Modia/77g2A/examples/Rectifier.jl:66 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module RectifierSimulation at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). ... Simulate model Rectifier2 Initialization at time = 0.0 s Initialization finished within 1.408862 seconds (266.57 k allocations: 14.502 MiB, 99.94% compilation time) Termination of Rectifier2 at time = 0.1 s initCpuTime = 1.41 s simCpuTime = 0.0851 s initAlloc = 15.2 MB simAlloc = 1.74 MB FloatType = Float64 algorithm = Tsit5 (ODE integrator) startTime = 0.0 s terminationTime = 0.1 s interval = 0.0002 s tolerance = 1.0e-8 (relative tolerance) nStates = 1 nResults = 551 nf_total = 3400 (total number of getDerivatives! calls) nf_integrator = 1798 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 1024 (number of getDerivatives! calls for zero crossing detection) nJac = 0 (number of Jacobian computations) nAcceptedSteps = 213 nRejectedSteps = 24 nTimeEvents = 0 nStateEvents = 25 nRestartEvents = 25 linearSystemsSizes = [4] linearSystemsRecFac = [false] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [true] ... Simulate model Rectifier2 Initialization at time = 0.0 s Initialization finished within 0.000860 seconds (1.86 k allocations: 89.188 KiB) Termination of Rectifier2 at time = 0.1 s initCpuTime = 0.000946 s simCpuTime = 5.05 s initAlloc = 0.0933 MB simAlloc = 142.0 MB FloatType = Float64 algorithm = CVODE_BDF (ODE integrator) startTime = 0.0 s terminationTime = 0.1 s interval = 0.0002 s tolerance = 1.0e-6 (relative tolerance) nStates = 1 nResults = 601 nf_total = 3275 (total number of getDerivatives! calls) nf_integrator = 930 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 1717 (number of getDerivatives! calls for zero crossing detection) nJac = missing (number of Jacobian computations) nAcceptedSteps = missing nRejectedSteps = missing nTimeEvents = 0 nStateEvents = 25 nRestartEvents = 25 linearSystemsSizes = [4] linearSystemsRecFac = [false] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [true] MotorControl: Demonstrating the ability to simulate hierarchical mixed domain models Instantiating model MotorControl1 in module: Main.Runtests.MotorControl in file: /home/pkgeval/.julia/packages/Modia/77g2A/examples/MotorControl.jl:59 WARNING: Detected access to binding `MotorControl.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. Simulate 10.355756 seconds (2.81 M allocations: 152.848 MiB, 99.35% compilation time) Instantiating model MotorControl2 in module: Main.Runtests.MotorControl in file: /home/pkgeval/.julia/packages/Modia/77g2A/examples/MotorControl.jl:124 WARNING: Method definition getDerivatives(Any, Modia.InstantiatedModel{Float64, Float64}, Float64) in module MotorControl at /home/pkgeval/.julia/packages/Modia/77g2A/src/CodeGeneration.jl:2067 overwritten on the same line (check for duplicate calls to `include`). Simulate 1.859456 seconds (246.39 k allocations: 12.746 MiB, 97.04% compilation time) Instantiating model MotorControlWithUncertainties in module: Main.Runtests.MotorControl in file: /home/pkgeval/.julia/packages/Modia/77g2A/examples/MotorControl.jl:135 Simulate 10.742926 seconds (2.90 M allocations: 160.007 MiB, 98.24% compilation time) Instantiating model Pendulum in module: Main.Runtests.PendulumSimulation in file: /home/pkgeval/.julia/packages/Modia/77g2A/examples/Pendulum.jl:23 WARNING: Detected access to binding `PendulumSimulation.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. ... Simulate model Pendulum Initialization at time = 0.0 s Initialization finished within 0.606621 seconds (101.93 k allocations: 5.508 MiB, 99.79% compilation time) Termination of Pendulum at time = 10.0 s initCpuTime = 0.607 s simCpuTime = 0.0461 s initAlloc = 5.78 MB simAlloc = 1.26 MB FloatType = Float64 algorithm = Tsit5 (ODE integrator) startTime = 0.0 s terminationTime = 10.0 s interval = 0.02 s tolerance = 1.0e-6 (relative tolerance) nStates = 2 nResults = 501 nf_total = 1476 (total number of getDerivatives! calls) nf_integrator = 973 (number of getDerivatives! calls from integrator) nf_zeroCrossings = 0 (number of getDerivatives! calls for zero crossing detection) nJac = 0 (number of Jacobian computations) nAcceptedSteps = 162 nRejectedSteps = 0 nTimeEvents = 0 nStateEvents = 0 nRestartEvents = 0 linearSystemsSizes = [] linearSystemsRecFac = [] (= true, if LU with RecursiveFactorization.jl) linearSystemsOdeMode = [] Instantiating model PendulumWithUncertainties in module: Main.Runtests.PendulumSimulation in file: /home/pkgeval/.julia/packages/Modia/77g2A/examples/Pendulum.jl:31 ... Numerically linearize at stopTime = 10 with Float64 and Double64: xNames = ["w", "phi"] A_10 = Measurements.Measurement{Float64}[-0.78125 ± 0.524078432226513 -12.25871423631906 ± 3.05739561152394; 1.0 ± 0.0 0.0 ± 0.0], x_10 = Measurements.Measurement{Float64}[-0.048087783697655 ± 0.503939472534447, -0.0248492777099856 ± 0.0493019620436037] ServoSystem: Demonstrating the ability to simulate hierarchical mixed domain models Write model in JSON format on file "/home/pkgeval/.julia/packages/Modia/77g2A/test/TestServo.json" Read model from JSON file "/home/pkgeval/.julia/packages/Modia/77g2A/test/TestServo.json" Instantiating model TestServo in module: Main.Runtests.ServoSystemSimulation in file: /home/pkgeval/.julia/packages/Modia/77g2A/examples/ServoSystem.jl:119 Save generated code on file /home/pkgeval/.julia/packages/Modia/77g2A/test/TestServo.jl WARNING: Detected access to binding `ServoSystemSimulation.getDerivatives` in a world prior to its definition world. Julia 1.12 has introduced more strict world age semantics for global bindings. !!! This code may malfunction under Revise. !!! This code will error in future versions of Julia. Hint: Add an appropriate `invokelatest` around the access to this binding. To make this warning an error, and hence obtain a stack trace, use `julia --depwarn=error`. Simulate 6.630678 seconds (1.00 M allocations: 54.155 MiB, 98.52% compilation time) Test Summary: | Pass Broken Total Time Test Modia (version=0.12.0 with SilentNoPlot) | 135 1 136 22m02.0s Test basic functionality | 59 59 8m19.5s Test units, uncertainties | 44 44 9m33.7s Test model components | 8 1 9 1m07.4s Test events, etc. | 6 6 59.2s Test multi returning functions | 5 5 20.0s Modia examples with simulation | 13 13 1m41.8s 1322.189711 seconds (435.69 M allocations: 25.953 GiB, 1.77% gc time, 98.87% compilation time: <1% of which was recompilation) Testing Modia tests passed Testing completed after 2030.54s PkgEval succeeded after 2460.51s