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.

The DAE is structurally inconsistent error - Comsol with Matlab

Please login with a confirmed email address before reporting spam

Hello guys, I am a beginer in using comsol and matlab.
I redid someone's work who are trying to image an iron ball with Magnetic Induction Tomography (MIT) using COMSOL and MATLAB.
I made a circular MIT system model using magnetic field and electrical circuit physics with COMSOL 4.4 and saved it into .m file.
Then I edited the default script to get a sensitivity matrix and a image. I ran it through COMSOL with MATLAB Livelink. I use MATLAB R2013b
But, I got this error message and I have no idea where and what is the problem.


Error using ichichaa (line 280)
Java exception occurred:
Exception:
com.comsol.util.exceptions.FlException: The following feature has encountered a problem
(rethrown as com.comsol.util.exceptions.FlException)
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
The following feature has encountered a problem

The following feature has encountered a problem

The following feature has encountered a problem:

Errors during multiphysics.

The DAE is structurally inconsistent.
- Variables: 5
- Equations: 4
- Feature: Compile Equations: Coil Current Calculation (sol1/st1)


Stack trace:

at com.comsol.clientapi.engine.c.handleException(Unknown Source)

at com.comsol.client.interfaces.f$d.f(Unknown Source)

at com.comsol.client.interfaces.f.a(Unknown Source)

at com.comsol.client.interfaces.f.runAndWait(Unknown Source)

at com.comsol.clientapi.engine.APIEngine.runMethod(Unknown Source)

at com.comsol.clientapi.engine.APIEngine.runMethod(Unknown Source)

at com.comsol.clientapi.impl.SolverSequenceClient.runAll(Unknown Source)

Caused by: Exception:
com.comsol.util.exceptions.FlException: The following feature has encountered a problem
(rethrown as com.comsol.util.exceptions.FlException)
Messages:
The following feature has encountered a problem

The following feature has encountered a problem:

Errors during multiphysics.

The DAE is structurally inconsistent.
- Variables: 5
- Equations: 4
- Feature: Compile Equations: Coil Current Calculation (sol1/st1)


at com.comsol.clientapi.engine.c.handleException(Unknown Source)

at com.comsol.client.interfaces.f.a(Unknown Source)

at com.comsol.client.interfaces.f.processCommandAnswer(Unknown Source)

... 6 more

Caused by: Exception:
com.comsol.util.exceptions.FlException: The following feature has encountered a problem
Messages:
The following feature has encountered a problem:

Errors during multiphysics.

The DAE is structurally inconsistent.
- Variables: 5
- Equations: 4
- Feature: Compile Equations: Coil Current Calculation (sol1/st1)


at com.comsol.solver.SolverOperation.addError(Unknown Source)

at com.comsol.solver.SolverOperation.execute(Unknown Source)

at com.comsol.model.internal.impl.SolverSequenceImpl.a(Unknown Source)

at com.comsol.model.internal.impl.SolverSequenceImpl.i(Unknown Source)

at com.comsol.model.internal.impl.SolverSequenceImpl$23.a(Unknown Source)

at com.comsol.model.internal.impl.SolverSequenceImpl$23.execute(Unknown Source)

at com.comsol.model.clientserver.ClientManager$1.call(Unknown Source)

at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source)

at java.util.concurrent.FutureTask.run(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source)

at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)

at java.lang.Thread.run(Unknown Source)



Here I attached the edited script (ichichaa.m) and default script (ichichaa_awal.m).
Would you mind to check the script out and help me to solve this problem?
Maybe I have missed something or done something wrong.

I hope I have explained my problem clear enough.
Sorry if my english is hard to understand.

Thanks in advanced
:)


0 Replies Last Post 24 nov 2015, 19:15 GMT-5
COMSOL Moderator

Hello Annisa Nur Fitriani

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.