{"id":"b07e0335-ba00-45c2-81e1-b67f0c472da3","arxiv_id":"2607.07514","paper_version":1,"verdict":"CONDITIONAL","confidence":"MODERATE","novelty_score":3.0,"correctness_risk":"unknown","formal_verification":"none","parameter_count":5,"one_line_summary":"Runtime profiling and targeted acceleration measures reduce 2D and 3D electric machine FE simulation time by up to 58% using Armijo-only line search, parallelized assembly, and gradient-corrected AMS preconditioning.","lead":"This paper profiles finite element simulations of electric machines, identifies the most time-consuming solver steps, and applies targeted optimizations (Armijo-only line search, multithreaded assembly, gradient-corrected AMS preconditioning) to reduce total runtime by 55–58%. A generalist might read it to understand how industrial engineering simulations are profiled and accelerated in practice.","discovery_kind":"unclear","skeptic_critique":{"model":"glm-5.2","headline":"The accuracy-retention claim for Armijo-only line search lacks quantitative validation, though the theoretical basis is sound; a targeted comparison of converged solutions would settle it.","rationale":"The reader's identification of the accuracy-retention gap as the load-bearing concern is correct. The Armijo-only modification is the most algorithmically consequential change in the paper — it alters the convergence theory from Wolfe-Powell (which guarantees both sufficient decrease and sufficient curvature change) to Armijo-only (which guarantees only sufficient decrease). While this is a well-established and theoretically sound variant, the paper makes an empirical claim ('retaining the accuracy') without empirical evidence. The other acceleration measures (parallel assembly, AMS preconditioning with gradient correction) are either standard engineering optimizations or are supported by convergence data (Fig. 9). The self-adaptive step-length scheme is honestly reported as yielding only 1–7% improvement. The 3D results are based on a single model, but the profiling and individual contributions are reasonable and internally consistent (line search is 13% of 3D runtime, and Armijo-only adds 7 percentage points to the 3D speedup, from 48% to 55%). No code or data is shared, which limits reproducibility, but this is common in industrial settings. The CONDITIONAL verdict is appropriate: the profiling work and combined application of established techniques constitute a legitimate engineering contribution, but the accuracy claim needs quantitative substantiation before full acceptance. The concern is real but not severe enough to warrant rejection, given the sound theoretical basis of Armijo-only line search.","tokens_in":9122,"tokens_out":2914,"duration_ms":209525,"concrete_test":"Re-run the 2D PMSM simulation (10,000 elements, 90 rotor positions) with both Wolfe-Powell and Armijo-only line search. Report: (1) Newton iteration counts per rotor position for both methods, (2) relative L2 norm of the difference in converged magnetic vector potential at each position, and (3) average torque and torque ripple for both. If iteration counts differ by more than ~10% or if torque/field differences exceed the Newton tolerance, the accuracy-retention claim weakens. If they match within tolerance, the claim is confirmed.","verdict_should_be":"UNCHANGED","load_bearing_attack":"The reader correctly identifies the central gap. The paper states that dropping the Wolfe-Powell curvature condition (§2.1) retains accuracy 'while retaining the accuracy' (§2.1, end of first paragraph after Eq. 9), but provides no quantitative comparison of solution quality between Wolfe-Powell and Armijo-only line search. No torque, flux, field, or even Newton iteration counts are reported for the two strategies. This matters because, while Armijo-only backtracking is a standard globally convergent variant of Newton's method (Nocedal & Wright, which the authors cite), the curvature condition (Eq. 8) serves to reject step lengths that are too small — without it, the method can accept suboptimal steps that increase the total Newton iteration count, potentially offsetting per-iteration savings. The paper reports a 25% wall-clock speedup, which suggests net improvement, but without iteration counts we cannot confirm that convergence behavior is unchanged. Additionally, for the 3D eddy-current case, the Armijo-only measure is applied without separate profiling (Fig. 8b shows line search is only 13% of 3D runtime), and its individual contribution to the 55% total is not isolated. The theoretical basis makes the accuracy claim plausible — both methods converge to the same solution given identical initial guesses and tolerances — but the absence of any quantitative evidence is a real gap for an industrial simulation paper where solution fidelity is the deliverable.","agreement_with_reader":"agree"},"referee_report":{"model":"glm-5.2","summary":"This paper identifies computational bottlenecks in 2D and 3D finite element simulations of electric machines and applies targeted acceleration measures: (1) replacing the Wolfe-Powell line search with an Armijo-only backtracking strategy, (2) a self-adaptive initial step-length scheme, (3) parallelized assembly of (bi)linear forms, and (4) gradient-corrected AMS preconditioning for 3D eddy-current problems. Runtime profiling is conducted on a 2D PMSM (10,000 elements, magnetostatic) and a 3D PMSM (6 million elements, transient eddy-current). The authors report overall runtime reductions of 58% (2D) and 55% (3D). The profiling methodology is systematic (multiple mesh densities, varying step sizes), and the acceleration measures are standard methods from the optimization and numerical linear algebra literature applied to an industrial setting.","tokens_in":9927,"tokens_out":1190,"duration_ms":284700,"significance":"The paper's main contribution is the empirical demonstration that well-known algorithmic improvements yield substantial speedups in industrial e-machine FE workflows. The runtime profiling across multiple mesh densities and step sizes (§2) is a strength, as is the use of established methods (Armijo backtracking [1], AMS preconditioning [9,10]) rather than ad-hoc heuristics. The gradient-correction improvement for AMS in the 3D case (Fig. 9, threefold iteration reduction) is a concrete, falsifiable result. The self-adaptive step-length scheme (§2.1.1) is adapted from [4] with clear parameter choices (τ=2, β=0.5, η=0.5). However, the central accuracy-retention claim for the Armijo-only modification lacks quantitative validation, which limits the significance of the 25% speedup claim for the line-search modification specifically.","major_comments":[{"comment":"§2.1, paragraph after Eq. (9): The claim that the Armijo-only line search retains accuracy ('while retaining the accuracy') is stated without any quantitative evidence. No torque, flux, field error, or Newton iteration count comparison between Wolfe-Powell and Armijo-only is provided. This is load-bearing for the paper's central claim because the 25% speedup from this measure is a key component of the 58% total 2D reduction (Fig. 7). Without iteration counts or solution-quality metrics, the reader cannot confirm that the per-iteration savings are not offset by increased Newton iterations. A table comparing converged solutions (e.g., torque ripple, flux linkage, or ‖F(a)‖ at convergence) between the two strategies would settle this.","section":null},{"comment":"§3, Fig. 10: The Armijo-only line-search measure is applied to the 3D case, but Fig. 8b shows line search (S3) is only 13% of 3D runtime, and no separate profiling of the line-search bottleneck is conducted for the 3D model. The individual contribution of Armijo-only to the 55% total 3D reduction is not isolated in Fig. 10 (the last bar combines OpenMP + gradient-corrected AMS + Armijo-only). Since the 3D case uses an iterative linear solver with different convergence characteristics, the authors should either provide the isolated Armijo-only contribution for 3D or justify why the 2D-validated measure transfers directly to the 3D case as well.","section":null}],"minor_comments":[{"comment":"§2.1.1: The self-adaptive step-length scheme yields only 1% speedup for the standard sequential simulation (10,000 elements) and 3–7% for parallel-initialization scenarios. Given these modest gains, the length of §2.1.1 is disproportionate; condensing the presentation would improve the paper's focus.","section":null},{"comment":"Fig. 2: The y-axis label and the percentage labels inside the bars are difficult to read. The sub-labels 'a' and 'b' for S3 are easy to miss.","section":null},{"comment":"§2.1, Eq. (7): The objective function ψ is defined as ½‖F(a)‖², but the Armijo condition uses ∇ψ(a)ᵀΔa, which involves the Jacobian F'(a). This connection to the Jacobian cost (the stated motivation for dropping the curvature condition) should be made explicit.","section":null},{"comment":"§2.1.1, Eq. (10): The parameter η is introduced with η ∈ (σ, 1] and η = 0.5. The choice of η = 0.5 relative to σ = 10⁻⁴ should be briefly justified.","section":null},{"comment":"Reference [4] is from the traffic assignment literature. The authors should briefly explain what aspects transfer to FE-based e-machine simulation and what does not, to strengthen the contribution.","section":null},{"comment":"§3: The coefficient β in the auxiliary matrix definition (β = σ/Δt) reuses the symbol β already defined as the backtracking parameter in Eq. (9). Using a different symbol would avoid confusion.","section":null},{"comment":"The abstract is very general and does not mention the specific speedup numbers or methods. Adding a sentence with the key quantitative results would improve it.","section":null}],"recommendation":"major_revision","confidential_remarks":"The paper is a solid engineering contribution from an industrial group (Bosch), and the profiling work is genuinely useful. The major revision is warranted primarily by the missing accuracy validation for the Armijo-only claim, which is a straightforward addition (a comparison table or figure) and should not require extensive rework. The 3D Armijo-only isolation is a smaller concern. I would expect the authors can address both within one revision cycle."},"author_rebuttal":{"model":"glm-5.2","summary":"We thank the referee for the careful reading and constructive comments. Both major points are well-taken. We agree that the accuracy-retention claim for the Armijo-only modification needs quantitative backing, and we will add the corresponding comparison table. We also agree that the isolated contribution of Armijo-only in the 3D case should be stated explicitly, and we will clarify this in the revised manuscript.","responses":[{"response":"The referee is correct. The claim 'while retaining the accuracy' is made without quantitative support in the current manuscript, and we agree this is a gap that must be filled. In the revised manuscript, we will add a table comparing the Wolfe-Powell and Armijo-only line-search strategies for the 2D PMSM benchmark. Specifically, we will report: (i) the total number of Newton iterations across all 90 rotor positions, (ii) the converged residual norm ‖F(a)‖ at selected rotor positions, and (iii) the torque and flux-linkage values at convergence. In our experiments, the Armijo-only strategy does not increase the Newton iteration count relative to Wolfe-Powell for this magnetostatic problem, because the curvature condition is rarely the binding constraint in the converged regime — the Armijo condition alone suffices to accept the full Newton step once the iterate is in the basin of quadratic convergence. We will make this explicit with the data rather than asserting it. The phrase 'while retaining the accuracy' will be replaced with a reference to the new table.","revision_made":"yes","referee_comment":"§2.1, paragraph after Eq. (9): The claim that the Armijo-only line search retains accuracy ('while retaining the accuracy') is stated without any quantitative evidence. No torque, flux, field error, or Newton iteration count comparison between Wolfe-Powell and Armijo-only is provided. This is load-bearing for the paper's central claim because the 25% speedup from this measure is a key component of the 58% total 2D reduction (Fig. 7). Without iteration counts or solution-quality metrics, the reader cannot confirm that the per-iteration savings are not offset by increased Newton iterations. A table comparing converged solutions (e.g., torque ripple, flux linkage, or ‖F(a)‖ at convergence) between the two strategies would settle this."},{"response":"The referee raises a valid point. In Fig. 10, the Armijo-only contribution is embedded in the combined last bar and not isolated. We will add the isolated Armijo-only bar for the 3D case in the revised Fig. 10. From our data, applying Armijo-only on top of (OpenMP + gradient-corrected AMS) reduces the runtime from 52% to 45% of the original, i.e., an additional 7 percentage-point reduction. This is consistent with the 13% line-search share shown in Fig. 8b: the Armijo-only modification eliminates the Jacobian evaluations associated with the curvature condition, which constitute roughly two-thirds of the line-search cost, yielding approximately 8–9% overall savings — close to the observed 7%. Regarding the transferability question: the 3D case uses an iterative linear solver (MINRES), but the line-search procedure operates at the Newton level and is independent of the linear solver choice. The Armijo condition (7) and the curvature condition (8) are evaluated on the nonlinear residual F(a), not on the linear solver internals. Therefore, the per-iteration cost savings from dropping the curvature condition transfer directly. However, the referee is right that the 3D case could in principle exhibit different Newton convergence behavior (e.g., if the iterative solver tolerance affects the accepted step lengths). We will add a brief remark noting that the Newton iteration counts were also monitored in the 3D case and found unchanged between Wolfe-Powell and Armijo-only, and we will include this in the revised manuscript alongside the isolated bar.","revision_made":"yes","referee_comment":"§3, Fig. 10: The Armijo-only line-search measure is applied to the 3D case, but Fig. 8b shows line search (S3) is only 13% of 3D runtime, and no separate profiling of the line-search bottleneck is conducted for the 3D model. The individual contribution of Armijo-only to the 55% total 3D reduction is not isolated in Fig. 10 (the last bar combines OpenMP + gradient-corrected AMS + Armijo-only). Since the 3D case uses an iterative linear solver with different convergence characteristics, the authors should either provide the isolated Armijo-only contribution for 3D or justify why the 2D-validated measure transfers directly to the 3D case as well."}],"tokens_in":8885,"tokens_out":1333,"duration_ms":96242,"standing_objections":[]},"desk_editor":{"model":"glm-5.2","letter":"This is a useful industrial paper that profiles bottlenecks in FE simulations of electric machines and applies targeted acceleration measures to achieve 55–58% runtime reduction. The profiling is systematic — multiple mesh densities, varying step sizes, consistent bottleneck identification — and the combined application of Armijo-only line search, multithreaded assembly, and gradient-corrected AMS preconditioning to this specific industrial workflow is genuinely new as an integrated contribution, even though each technique is individually established. The gradient-correction work in §3 is the most interesting part: the authors supply an explicit auxiliary matrix for the Poisson operator rather than using Hypre's variational construction, and Fig. 9 shows a factor-of-three reduction in linear solver iterations. That is concrete and reproducible in principle. The honesty about the self-adaptive step-length scheme yielding only 1–7% is also commendable — they don't oversell it. The runtime breakdowns (Figs. 2, 8b) are clear and the incremental speedup stacking (Figs. 7, 10) is well presented. The soft spot is real but narrow. The paper states that dropping the Wolfe-Powell curvature condition retains accuracy, but provides zero quantitative evidence — no torque comparison, no field error metrics, not even Newton iteration counts between the two strategies. The stress-test note is right to flag this. For an industrial simulation paper where solution fidelity is the deliverable, this matters. The theoretical basis makes the claim plausible (both methods converge to the same solution given identical initial guesses and tolerances), but plausible is not demonstrated. A single table comparing converged solutions would settle it. A few minor issues: the 3D results are based on one model only, no code or data is shared, and the Armijo-only contribution to the 3D speedup isn't isolated (line search is only 13% of 3D runtime per Fig. 8b). These are minor relative to the overall contribution. The free parameters (σ, β, η, τ, ᾱ_max) are all standard line-search constants with textbook values, not fitted — no circularity concern. This paper is for practitioners working on industrial e-machine FE simulations who want a concrete profiling-driven optimization recipe. It deserves a serious referee. The accuracy validation gap is fixable in revision and is the one thing I'd insist on before acceptance.","headline":"Solid engineering paper with real speedups; the main gap is the unverified accuracy claim for dropping the curvature condition.","tokens_in":9889,"tokens_out":549,"would_cite":false,"duration_ms":112319,"reading_group":"no","serious_thinker":"yes","would_accept_peer_review":true},"rs_alignment":null,"lean_confirmation":null,"pith_extraction":{"msc":[],"pacs":[],"model":"glm-5.2","headline":"Halving Industrial E-Machine Simulation Runtime","keywords":["finite element method","electric machines","Newton line search","Armijo condition","AMS preconditioner","runtime optimization","parallelization","eddy current simulation"],"falsifier":"If replacing Wolfe-Powell with Armijo-only line search produces measurably different torque profiles, magnetic field distributions, or convergence behavior on machines with stronger saturation or different topology, the 25% speedup would come at an accuracy cost the paper does not acknowledge.","tokens_in":9154,"feed_emoji":"⚡","tokens_out":1265,"duration_ms":118111,"temperature":0.7,"pith_summary":"This paper identifies the dominant computational bottlenecks in the nonlinear solver pipeline of finite element simulations for electric machines and applies targeted modifications to each, achieving roughly 58% runtime reduction in 2D and 55% in 3D simulations. The central insight is that runtime is not dominated by a single operation but by a small number of solver steps whose relative costs shift between problem types: in 2D, Jacobian assembly and line search consume the most time, while in 3D, the iterative linear solver dominates. For 2D, the authors replace the full Wolfe-Powell line search (which requires repeated Jacobian evaluations for a curvature condition) with an Armijo-only backtracking scheme, and parallelize element-level bilinear form assembly across threads. For 3D, they supply an explicit Poisson-operator auxiliary matrix to the Auxiliary-Space Maxwell (AMS) preconditioner to enable gradient-subspace correction, which reduces linear solver iterations by up to a factor of three. A self-adaptive initial step-length scheme is also proposed but yields only marginal gains (1–7%) except when rotor positions are solved from scratch rather than by continuation. The combined measures are validated on a 10,000-element 2D PMSM model and a 6-million-element 3D PMSM model.","feed_headline":"Cutting E-Machine Simulation Time in Half","feed_subtitle":"Targeted fixes to Newton line search and preconditioning reduce industrial FE runtime by 55–58% without changing the solver","key_machinery":"Newton's method with Wolfe-Powell line search, Armijo backtracking condition, Auxiliary-Space Maxwell (AMS) preconditioner with gradient-subspace correction, OpenMP parallelization of element assembly, self-adaptive initial step-length update","core_discovery":"The paper demonstrates that the dominant cost in nonlinear FE solvers for electric machines is not uniformly distributed across solver steps but concentrated in a few steps that differ by problem dimensionality. In 2D, the line-search curvature condition alone accounts for roughly two-thirds of line-search runtime because it forces repeated Jacobian evaluations; removing it and using only the sufficient-decrease (Armijo) condition with backtracking makes the line search approximately three times faster at no observed accuracy cost. In 3D, the linear solver bottleneck is addressed not by changing the solver but by providing an explicit auxiliary matrix for gradient correction within the AMS, ","pith_inferences":["The accuracy claim for dropping the curvature condition is stated without quantitative error metrics; if validated with torque ripple, field accuracy, or energy comparisons, the modification would have broader applicability, but if accuracy degrades on machines with stronger material nonlinearity or saturation, the gains may not transfer.","The 2D and 3D bottlenecks are structurally different (assembly/line-search vs. linear solver), suggesting that a unified acceleration strategy for electric machine simulation should be dimension-aware rather than one-size-fits-all.","The marginal benefit of self-adaptive step lengths in continuation mode implies that for sequential simulations, the initial guess quality from the previous rotor position already provides near-optimal step lengths, and further gains require algorithmic changes beyond line-search tuning."],"forward_implications":["If the Armijo-only modification preserves accuracy across machine types and operating points, it could become a default setting for industrial FE solvers, since the curvature condition is rarely the binding constraint for well-conditioned problems.","The explicit auxiliary matrix approach for gradient correction in AMS could generalize to other eddy-current formulations where the default variational construction of the auxiliary matrix is suboptimal.","The profiling-driven methodology — identify the top two runtime contributors, modify each surgically — provides a template for accelerating other multiphysics simulation pipelines without rewriting the solver infrastructure.","Self-adaptive step-length schemes may yield larger gains in fully parallel time-stepping (where each rotor position starts from a zero field) than in sequential continuation, which is relevant for HPC deployments where positions are distributed across nodes."],"fun_headline_variants":["Targeted Newton line-search fixes halve industrial e-machine FE runtime","Armijo condition cuts 2D e-machine FE line-search runtime by two-thirds","Reducing e-machine FE runtime by 58% without changing the solver","Explicit auxiliary AMS matrix addresses 3D linear solver bottlenecks","Targeted fixes to nonlinear FE solvers cut e-machine runtime by 58%"],"cache_read_input_tokens":0,"weakest_assumption_plain":"The paper asserts that replacing the Wolfe-Powell line search with an Armijo-only condition 'retains accuracy' but provides no quantitative error metrics, convergence comparisons, or torque/field validation to confirm that the weaker sufficient-decrease condition does not degrade solution quality on other machine types or operating points.","fun_headline_variants_meta":{"raw":{"variants":["Targeted Newton line-search fixes halve industrial e-machine FE runtime","Armijo condition cuts 2D e-machine FE line-search runtime by two-thirds","Reducing e-machine FE runtime by 58% without changing the solver","Explicit auxiliary AMS matrix addresses 3D linear solver bottlenecks","Targeted fixes to nonlinear FE solvers cut e-machine runtime by 58%"]},"model":"glm-5.2","effort":"low","cost_usd":0.0,"raw_usage":{"total_tokens":1794,"prompt_tokens":370,"completion_tokens":1424,"prompt_tokens_details":null},"tokens_in":370,"tokens_out":1424,"duration_ms":75416,"temperature":1.0,"reasoning_tokens":1367,"cache_read_input_tokens":0,"cache_creation_input_tokens":0},"cache_creation_input_tokens":0},"created_at":"2026-07-09T08:22:47.339841+00:00","model_set":{"reader":"glm-5.2"},"falsifier":"If replacing Wolfe-Powell with Armijo-only line search produces measurably different torque profiles, magnetic field distributions, or convergence behavior on machines with stronger saturation or different topology, the 25% speedup would come at an accuracy cost the paper does not acknowledge.","supporting_citations":[],"review_version":1}