Opened 7 years ago

Closed 7 years ago

#4932 closed defect (fixed)

Issue with NFCall.Call.vectorizeCall

Reported by: Francesco Casella Owned by: Per Östlund
Priority: high Milestone: 2.0.0
Component: New Instantiation Version:
Keywords: Cc:

Description

Please check Modelica.Magnetic.QuasiStatic.FundamentalWave.Examples.BasicMachines.InductionMachines.IMC_Characteristics. The following error is reported:

[Modelica 3.2.2/Electrical/QuasiStationary/MultiPhase.mo:2439:7-2440:33:writable]
Error: Internal error NFCall.Call.vectorizeCall got unknown dimension for vectorized call

Change History (5)

comment:1 by Francesco Casella, 7 years ago

It also shows up with Modelica.Math.FastFourierTransform.Examples.RealFFT1, which I guess is simpler to analyze.

comment:2 by Martin Sjölund, 7 years ago

This is why the old frontend vectorizes by using array reductions. Then the actual sizes don't really matter.

in reply to:  2 comment:3 by Per Östlund, 7 years ago

Replying to sjoelund.se:

This is why the old frontend vectorizes by using array reductions. Then the actual sizes don't really matter.

The new one also uses reductions, just incorrectly.

comment:4 by Per Östlund, 7 years ago

Improved in 6fcf40a, the function vectorization now handles sizes defined by expression too (like size(x, 1)). It still can't handle unknown dimensions though.

comment:5 by Per Östlund, 7 years ago

Resolution: fixed
Status: newclosed
Note: See TracTickets for help on using tickets.