Note: This discussion is about an older version of the COMSOL Multiphysics® software. The information provided may be out of date.

Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

COMSOL 4.3 with MATLAB error

Please login with a confirmed email address before reporting spam

I have the code that have for loop.
Before the first loop is finished, we met several error messages




??? Error using ==> mphinterp at 317
mphinterp (292): Java exception occurred:
Exception:
java.lang.RuntimeException: Error in reInitializeModel
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
Error in reInitializeModel






??? Error using ==> mphinterp at 317
mphinterp (292): Java exception occurred:
Exception:
java.lang.NullPointerException
(rethrown as com.comsol.util.exceptions.FlException)
Messages:





??? Error using ==> mphinterp at 317
mphinterp (292): Java exception occurred:
Exception:
org.eclipse.emf.cdo.common.util.TransportException: java.util.concurrent.TimeoutException
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
java.util.concurrent.TimeoutException



Is it a memory problem?
We have a 16GB RAM.
I increased the java memory to 7GB.
But, I have that problem continually.



Mattia replied below.


Error using ==> mphinterp

here is where you shuold look for your error :-)



But I think that the code 'mphinterp' is not the reason of error.

When I simulate short loops about ~1600, I could get a results
However, if I increase the loops over the 1600, I could not get the results with above error message.

I think that it is not the problem about the code.

May I get the solution?




Kyungnam Kang


0 Replies Last Post 18 feb 2013, 06:39 GMT-5
COMSOL Moderator

Hello Kyungnam Kang

Your Discussion has gone 30 days without a reply. If you still need help with COMSOL and have an on-subscription license, please visit our Support Center for help.

If you do not hold an on-subscription license, you may find an answer in another Discussion or in the Knowledge Base.

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.