Archived OpenModelica forums. Posting is disabled.

Alternative forums include GitHub discussions or StackOverflow (make sure to read the Stack Overflow rules; you need to have well-formed questions)


Forgot password? | Forgot username? | Register

setMatchingAlgorithm doesn't appear to make any difference

setMatchingAlgorithm doesn't appear to make any difference

Hi,

Using the setMatchingAlgorithm function with various values doesn't appear to make any significant difference to the translation times I see. Is this expected? I find it surprising, in particular because I've read that  the *Ext versions are usually about 10 times faster than the standard versions.

Re: setMatchingAlgorithm doesn't appear to make any difference

The matching part of translation might be sped up about 10 times. If you run the simulate command you see a bunch of times. Matching is a small part of timeBackend.

Re: setMatchingAlgorithm doesn't appear to make any difference

Thanks. How can I access the times you refer to?

Re: setMatchingAlgorithm doesn't appear to make any difference

Using the simulate() command.

Re: setMatchingAlgorithm doesn't appear to make any difference

In case anyone else is interested, I accessed the backend time like this:

res := simulate(cl);
t := res.timeBackend;
system("echo " + String(t));

There are 0 guests and 0 other users also viewing this topic
You are here: