OpenMEEG error #130

Hi everyone, I have a problem with Openmeeg. I tried to check here in the forum but it seems that error #130 has not been reported yet.

I am trying to calculate a volumetric head model for some patients. The settings I am using are MRI volume for the source space, only Brain as BEM Layers (because the sensors I am analyzing are ECOG and/or SEEG type) and Use adaptive integration. In the Grid options I selected Generate from cortex surface (adaptive), leaving the default parameters.

I was able to easily calculate the head model for almost 10 patients (many of them having only ECOG, some only sEEG and others both sensors). But now I have two patients (one with only SEEG and one with both ECOG and SEEG) for which the attached error occurred. Initially, leaving the default parameters, the error that I had was a size error like:

Unable to perform assignment because the size of the left side is 20-by-45498 and the size of
the right side is 20-by-19800.

Error in bst_openmeeg (line 515)
Gain (OPTIONS.iSeeg, : ) = om_load_full (seeggain_file);

By reducing the number of layers to 15, the error became the following:


** Error: OpenMEEG call: om_assemble -H2IPM
** "C:\Users\anne.brainstorm\tmp\openmeeg.geom"
** "C:\Users\anne.brainstorm\tmp\openmeeg.cond"
** "C:\Users\anne.brainstorm\tmp\openmeeg_loc_seeg.txt"
** "C:\Users\anne.brainstorm\tmp\openmeeg_h2ipm.mat"
** OpenMEEG error #130:
** om_assemble version 2.4.1 compiled at Aug 22 2018 19:47:28 using OpenMP
** Executing using 2 threads.
**
** | ------ om_assemble
** | -H2IPM
** | C:\Users\anne.brainstorm\tmp\openmeeg.geom
** | C:\Users\anne.brainstorm\tmp\openmeeg.cond
** | C:\Users\anne.brainstorm\tmp\openmeeg_loc_seeg.txt
** | C:\Users\anne.brainstorm\tmp\openmeeg_h2ipm.mat
** | -----------------------
** Mesh reader::Exception: Cannot open file C:\Users\anne.brainstorm\tmp\openmeeg.geom ! in the file C:\Users\anne.brainstorm\tmp\openmeeg.geom
**
** For help with OpenMEEG errors, please refer to the online tutorial:
** https://neuroimage.usc.edu/brainstorm/Tutorials/TutBem#Errors


I hope you can help me figure it out. Thanks, Anne.

From this error report, it's difficult to know whether the problem is coming from a bug in Brainstorm, a bug in OpenMEEG, or a manipulation error on your end.

Could you please try to assemble a small dataset for us to reproduce your error?

  • Create BEM surfaces with a low number of vertices (eg. 272).
  • If you are using a volume head model, use a grid of 15mm (~ 100 points)
  • Run the computation from Brainstorm, and immediately after you get the error message, zip the the contents of the folder $HOME/.brainstorm/tmp, upload it somewhere and post the download link here.
  • Include a screen capture showing the anatomy of your subject in the database explorer, and another one that shows the channel file.

Thanks

@Alexandre @mclerc @papadop
Any other suggestion? Have you identified cases with wrong number of points in output for SEEG or ECOG?

@AnneBrooks can you share the openmeeg files so we can test?

Alex

I have created a small database with three patients. Number 8 also has problems with the procedure you told me to do and I uploaded the error in a zip file. For the other two patients with surfaces with fewer vertices I am able to calculate the volume model correctly. So, for these two why I am not able calculate a model with 15000 points more or less?

Thank you for the dataset. I could reproduce the error with subject BCH008_copy. More precisely:

  • When using only the "scalp" interface: it works.
  • When using only the "brain" interface: it crashes with the error your reported.

The main difference is that some cortex vertices are outside the inner skull surface, but they are all inside the scalp. You have a warning telling you this at the beginning:
image

Another major problem is that there is at least one sensor that is outside the inner skull (PIN10), but this was not captured before calling OpenMEEG. I added an extra test in this commit: https://github.com/brainstorm-tools/brainstorm3/commit/e419e0da39a581a47259ef11f24d5b5ba33a8406

Update Brainstorm, and it will show one more warning:
image

Now if we look at the log file $HOME/.brainstorm/tmp/openmeeg_log.txt, it indicates that there are things that OpenMEEG really doesn't like in input (see full report below).
I'm not sure which of the two problems causes this weird behavior, but I suggest you fix both, by following the recommendations in the messages.

@Alexandre The openmeeg files and logs are available here: https://www.dropbox.com/s/nmrxdixiw82350i/bug_om_sensors.zip?dl=0
Do you think something needs to be addressed on your end?

om_assemble version 2.4.1 compiled at Aug 22 2018 19:47:28 using OpenMP
 Executing using 4 threads.


| ------ om_assemble
| -HM
| C:\Users\franc\.brainstorm\tmp\openmeeg.geom
| C:\Users\franc\.brainstorm\tmp\openmeeg.cond
| C:\Users\franc\.brainstorm\tmp\openmeeg_hm.mat
| -----------------------
(DEPRECATED) Please consider updating your geometry file to the new format 1.1 (see data/README.rst): C:\Users\franc\.brainstorm\tmp\openmeeg.geom
This geometry is a NESTED geometry.
Info:: Mesh name/ID : 1
		# vertices  : 272
		# triangles : 540
		Euler characteristic : 2
		Min Area : 7.02964e-05
		Max Area : 0.000281747
Info:: Domain name : Brain
		Conductivity : 1
		Composed by interfaces : -1 
		Interface "1"= { mesh "1"(outermost),  }
Info:: Domain name : Air
		Conductivity : 0
		Composed by interfaces : +1 
		Considered as the outermost domain.
		Interface "1"= { mesh "1"(outermost),  }
OPERATOR N ... (arg : mesh 1 , mesh 1 )
[*...................][**..................][***.................][****................][*****...............][******..............][*******.............][********............][*********...........][**********..........][***********.........][************........][*************.......][**************......][***************.....][****************....][*****************...][******************..][*******************.][********************]
[*...................][**..................][***.................][****................][*****...............][******..............][*******.............][********............][*********...........][**********..........][***********.........][************........][*************.......][**************......][***************.....][****************....][*****************...][******************..][*******************.][********************]
-------------------------------------------
| Elapsed Time: 0.230908 s.
-------------------------------------------


om_minverser version 2.4.1 compiled at Aug 22 2018 19:48:24 using OpenMP
 Executing using 4 threads.


| ------ om_minverser
| C:\Users\franc\.brainstorm\tmp\openmeeg_hm.mat
| C:\Users\franc\.brainstorm\tmp\openmeeg_hminv.mat
| -----------------------
-------------------------------------------
| Elapsed Time: 0.0436095 s.
-------------------------------------------


om_assemble version 2.4.1 compiled at Aug 22 2018 19:47:28 using OpenMP
 Executing using 4 threads.


| ------ om_assemble
| -DSM
| C:\Users\franc\.brainstorm\tmp\openmeeg.geom
| C:\Users\franc\.brainstorm\tmp\openmeeg.cond
| C:\Users\franc\.brainstorm\tmp\openmeeg_dipoles.txt
| C:\Users\franc\.brainstorm\tmp\openmeeg_dsm.mat
| -----------------------
(DEPRECATED) Please consider updating your geometry file to the new format 1.1 (see data/README.rst): C:\Users\franc\.brainstorm\tmp\openmeeg.geom
This geometry is a NESTED geometry.
Info:: Mesh name/ID : 1
		# vertices  : 272
		# triangles : 540
		Euler characteristic : 2
		Min Area : 7.02964e-05
		Max Area : 0.000281747
Info:: Domain name : Brain
		Conductivity : 1
		Composed by interfaces : -1 
		Interface "1"= { mesh "1"(outermost),  }
Info:: Domain name : Air
		Conductivity : 0
		Composed by interfaces : +1 
		Considered as the outermost domain.
		Interface "1"= { mesh "1"(outermost),  }
Interface::contains_point(-0.0671907 0.0232617 0.0514932) Error. Are you sure the interface "1" is closed? Solid angle: 9.58584e-16*PI.
Interface::contains_point(-0.0671907 0.0232617 0.0514932) Error. Are you sure the interface "1" is closed? Solid angle: 9.58584e-16*PI.
Interface::contains_point(-0.0671907 0.0232617 0.0514932) Error. Are you sure the interface "1" is closed? Solid angle: 9.58584e-16*PI.
Interface::contains_point(-0.0671907 0.0232617 0.0514932) Error. Are you sure the interface "1" is closed? Solid angle: 9.58584e-16*PI.
Interface::contains_point(-0.0671907 0.0232617 0.0514932) Error. Are you sure the interface "1" is closed? Solid angle: 9.58584e-16*PI.
Interface::contains_point(-0.0671907 0.0232617 0.0514932) Error. Are you sure the interface "1" is closed? Solid angle: 9.58584e-16*PI.
[*...................][**..................][***.................][****................][*****...............][******..............][*******.............][********............]Interface::contains_point(0.0231385 0.0381451 0.00442699) Error. Are you sure the interface "1" is closed? Solid angle: 8.106e-16*PI.
Interface::contains_point(0.0231385 0.0381451 0.00442699) Error. Are you sure the interface "1" is closed? Solid angle: 8.106e-16*PI.
Interface::contains_point(0.0231385 0.0381451 0.00442699) Error. Are you sure the interface "1" is closed? Solid angle: 8.106e-16*PI.
Interface::contains_point(0.0231385 0.0381451 0.00442699) Error. Are you sure the interface "1" is closed? Solid angle: 8.106e-16*PI.
Interface::contains_point(0.0231385 0.0381451 0.00442699) Error. Are you sure the interface "1" is closed? Solid angle: 8.106e-16*PI.
Interface::contains_point(0.0231385 0.0381451 0.00442699) Error. Are you sure the interface "1" is closed? Solid angle: 8.106e-16*PI.
[*********...........]Interface::contains_point(0.0201097 0.0332053 0.00358853) Error. Are you sure the interface "1" is closed? Solid angle: 8.07287e-16*PI.
Interface::contains_point(0.0201097 0.0332053 0.00358853) Error. Are you sure the interface "1" is closed? Solid angle: 8.07287e-16*PI.
Interface::contains_point(0.0201097 0.0332053 0.00358853) Error. Are you sure the interface "1" is closed? Solid angle: 8.07287e-16*PI.
Interface::contains_point(0.0201097 0.0332053 0.00358853) Error. Are you sure the interface "1" is closed? Solid angle: 8.07287e-16*PI.
Interface::contains_point(0.0201097 0.0332053 0.00358853) Error. Are you sure the interface "1" is closed? Solid angle: 8.07287e-16*PI.
Interface::contains_point(0.0201097 0.0332053 0.00358853) Error. Are you sure the interface "1" is closed? Solid angle: 8.07287e-16*PI.
Interface::contains_point(0.0254921 0.0338826 0.00354881) Error. Are you sure the interface "1" is closed? Solid angle: 4.46713e-16*PI.
Interface::contains_point(0.0254921 0.0338826 0.00354881) Error. Are you sure the interface "1" is closed? Solid angle: 4.46713e-16*PI.
Interface::contains_point(0.0254921 0.0338826 0.00354881) Error. Are you sure the interface "1" is closed? Solid angle: 4.46713e-16*PI.
Interface::contains_point(0.0254921 0.0338826 0.00354881) Error. Are you sure the interface "1" is closed? Solid angle: 4.46713e-16*PI.
Interface::contains_point(0.0254921 0.0338826 0.00354881) Error. Are you sure the interface "1" is closed? Solid angle: 4.46713e-16*PI.
Interface::contains_point(0.0254921 0.0338826 0.00354881) Error. Are you sure the interface "1" is closed? Solid angle: 4.46713e-16*PI.
Interface::contains_point(0.0226149 0.0308357 0.00318497) Error. Are you sure the interface "1" is closed? Solid angle: 2.00607e-15*PI.
Interface::contains_point(0.0226149 0.0308357 0.00318497) Error. Are you sure the interface "1" is closed? Solid angle: 2.00607e-15*PI.
Interface::contains_point(0.0226149 0.0308357 0.00318497) Error. Are you sure the interface "1" is closed? Solid angle: 2.00607e-15*PI.
Interface::contains_point(0.0226149 0.0308357 0.00318497) Error. Are you sure the interface "1" is closed? Solid angle: 2.00607e-15*PI.
Interface::contains_point(0.0226149 0.0308357 0.00318497) Error. Are you sure the interface "1" is closed? Solid angle: 2.00607e-15*PI.
Interface::contains_point(0.0226149 0.0308357 0.00318497) Error. Are you sure the interface "1" is closed? Solid angle: 2.00607e-15*PI.
[**********..........]Interface::contains_point(0.0220865 0.035996 0.00350139) Error. Are you sure the interface "1" is closed? Solid angle: 1.14853e-16*PI.
Interface::contains_point(0.0220865 0.035996 0.00350139) Error. Are you sure the interface "1" is closed? Solid angle: 1.14853e-16*PI.
Interface::contains_point(0.0220865 0.035996 0.00350139) Error. Are you sure the interface "1" is closed? Solid angle: 1.14853e-16*PI.
Interface::contains_point(0.0220865 0.035996 0.00350139) Error. Are you sure the interface "1" is closed? Solid angle: 1.14853e-16*PI.
Interface::contains_point(0.0220865 0.035996 0.00350139) Error. Are you sure the interface "1" is closed? Solid angle: 1.14853e-16*PI.
Interface::contains_point(0.0220865 0.035996 0.00350139) Error. Are you sure the interface "1" is closed? Solid angle: 1.14853e-16*PI.
[***********.........][************........][*************.......][**************......][***************.....][****************....][*****************...][******************..][*******************.]Interface::contains_point(0.0198306 -0.0381092 -0.00124464) Error. Are you sure the interface "1" is closed? Solid angle: 3.18055e-16*PI.
Interface::contains_point(0.0198306 -0.0381092 -0.00124464) Error. Are you sure the interface "1" is closed? Solid angle: 3.18055e-16*PI.
Interface::contains_point(0.0198306 -0.0381092 -0.00124464) Error. Are you sure the interface "1" is closed? Solid angle: 3.18055e-16*PI.
Interface::contains_point(0.0198306 -0.0381092 -0.00124464) Error. Are you sure the interface "1" is closed? Solid angle: 3.18055e-16*PI.
Interface::contains_point(0.0198306 -0.0381092 -0.00124464) Error. Are you sure the interface "1" is closed? Solid angle: 3.18055e-16*PI.
Interface::contains_point(0.0198306 -0.0381092 -0.00124464) Error. Are you sure the interface "1" is closed? Solid angle: 3.18055e-16*PI.
Interface::contains_point(0.0216417 -0.0397103 -0.000318682) Error. Are you sure the interface "1" is closed? Solid angle: 3.07012e-16*PI.
Interface::contains_point(0.0216417 -0.0397103 -0.000318682) Error. Are you sure the interface "1" is closed? Solid angle: 3.07012e-16*PI.
Interface::contains_point(0.0216417 -0.0397103 -0.000318682) Error. Are you sure the interface "1" is closed? Solid angle: 3.07012e-16*PI.
Interface::contains_point(0.0216417 -0.0397103 -0.000318682) Error. Are you sure the interface "1" is closed? Solid angle: 3.07012e-16*PI.
Interface::contains_point(0.0216417 -0.0397103 -0.000318682) Error. Are you sure the interface "1" is closed? Solid angle: 3.07012e-16*PI.
Interface::contains_point(0.0216417 -0.0397103 -0.000318682) Error. Are you sure the interface "1" is closed? Solid angle: 3.07012e-16*PI.
Interface::contains_point(0.0207651 -0.0349274 -0.00171846) Error. Are you sure the interface "1" is closed? Solid angle: 2.16454e-16*PI.
Interface::contains_point(0.0207651 -0.0349274 -0.00171846) Error. Are you sure the interface "1" is closed? Solid angle: 2.16454e-16*PI.
Interface::contains_point(0.0207651 -0.0349274 -0.00171846) Error. Are you sure the interface "1" is closed? Solid angle: 2.16454e-16*PI.
Interface::contains_point(0.0207651 -0.0349274 -0.00171846) Error. Are you sure the interface "1" is closed? Solid angle: 2.16454e-16*PI.
Interface::contains_point(0.0207651 -0.0349274 -0.00171846) Error. Are you sure the interface "1" is closed? Solid angle: 2.16454e-16*PI.
Interface::contains_point(0.0207651 -0.0349274 -0.00171846) Error. Are you sure the interface "1" is closed? Solid angle: 2.16454e-16*PI.
Interface::contains_point(0.0162744 -0.0277205 -0.00162265) Error. Are you sure the interface "1" is closed? Solid angle: 4.81501e-16*PI.
Interface::contains_point(0.0162744 -0.0277205 -0.00162265) Error. Are you sure the interface "1" is closed? Solid angle: 4.81501e-16*PI.
Interface::contains_point(0.0162744 -0.0277205 -0.00162265) Error. Are you sure the interface "1" is closed? Solid angle: 4.81501e-16*PI.
Interface::contains_point(0.0162744 -0.0277205 -0.00162265) Error. Are you sure the interface "1" is closed? Solid angle: 4.81501e-16*PI.
Interface::contains_point(0.0162744 -0.0277205 -0.00162265) Error. Are you sure the interface "1" is closed? Solid angle: 4.81501e-16*PI.
Interface::contains_point(0.0162744 -0.0277205 -0.00162265) Error. Are you sure the interface "1" is closed? Solid angle: 4.81501e-16*PI.
Interface::contains_point(0.0242262 -0.0370155 -0.000978272) Error. Are you sure the interface "1" is closed? Solid angle: 2.65709e-15*PI.
Interface::contains_point(0.0242262 -0.0370155 -0.000978272) Error. Are you sure the interface "1" is closed? Solid angle: 2.65709e-15*PI.
Interface::contains_point(0.0242262 -0.0370155 -0.000978272) Error. Are you sure the interface "1" is closed? Solid angle: 2.65709e-15*PI.
Interface::contains_point(0.0242262 -0.0370155 -0.000978272) Error. Are you sure the interface "1" is closed? Solid angle: 2.65709e-15*PI.
Interface::contains_point(0.0242262 -0.0370155 -0.000978272) Error. Are you sure the interface "1" is closed? Solid angle: 2.65709e-15*PI.
Interface::contains_point(0.0242262 -0.0370155 -0.000978272) Error. Are you sure the interface "1" is closed? Solid angle: 2.65709e-15*PI.
Interface::contains_point(0.0199149 -0.0238616 -0.00267197) Error. Are you sure the interface "1" is closed? Solid angle: 2.87133e-17*PI.
Interface::contains_point(0.0199149 -0.0238616 -0.00267197) Error. Are you sure the interface "1" is closed? Solid angle: 2.87133e-17*PI.
Interface::contains_point(0.0199149 -0.0238616 -0.00267197) Error. Are you sure the interface "1" is closed? Solid angle: 2.87133e-17*PI.
Interface::contains_point(0.0199149 -0.0238616 -0.00267197) Error. Are you sure the interface "1" is closed? Solid angle: 2.87133e-17*PI.
Interface::contains_point(0.0199149 -0.0238616 -0.00267197) Error. Are you sure the interface "1" is closed? Solid angle: 2.87133e-17*PI.
Interface::contains_point(0.0199149 -0.0238616 -0.00267197) Error. Are you sure the interface "1" is closed? Solid angle: 2.87133e-17*PI.
Interface::contains_point(0.0267551 -0.0386204 0.000704918) Error. Are you sure the interface "1" is closed? Solid angle: 2.65046e-16*PI.
Interface::contains_point(0.0267551 -0.0386204 0.000704918) Error. Are you sure the interface "1" is closed? Solid angle: 2.65046e-16*PI.
Interface::contains_point(0.0267551 -0.0386204 0.000704918) Error. Are you sure the interface "1" is closed? Solid angle: 2.65046e-16*PI.
Interface::contains_point(0.0267551 -0.0386204 0.000704918) Error. Are you sure the interface "1" is closed? Solid angle: 2.65046e-16*PI.
Interface::contains_point(0.0267551 -0.0386204 0.000704918) Error. Are you sure the interface "1" is closed? Solid angle: 2.65046e-16*PI.
Interface::contains_point(0.0267551 -0.0386204 0.000704918) Error. Are you sure the interface "1" is closed? Solid angle: 2.65046e-16*PI.
[********************]Interface::contains_point(0.0797685 -0.0358122 0.0344163) Error. Are you sure the interface "1" is closed? Solid angle: 1.02705e-16*PI.
Interface::contains_point(0.0797685 -0.0358122 0.0344163) Error. Are you sure the interface "1" is closed? Solid angle: 1.02705e-16*PI.
Interface::contains_point(0.0797685 -0.0358122 0.0344163) Error. Are you sure the interface "1" is closed? Solid angle: 1.02705e-16*PI.
Interface::contains_point(0.0797685 -0.0358122 0.0344163) Error. Are you sure the interface "1" is closed? Solid angle: 1.02705e-16*PI.
Interface::contains_point(0.0797685 -0.0358122 0.0344163) Error. Are you sure the interface "1" is closed? Solid angle: 1.02705e-16*PI.
Interface::contains_point(0.0797685 -0.0358122 0.0344163) Error. Are you sure the interface "1" is closed? Solid angle: 1.02705e-16*PI.
Interface::contains_point(0.0759468 -0.0358923 0.0274783) Error. Are you sure the interface "1" is closed? Solid angle: 9.32079e-16*PI.
Interface::contains_point(0.0759468 -0.0358923 0.0274783) Error. Are you sure the interface "1" is closed? Solid angle: 9.32079e-16*PI.
Interface::contains_point(0.0759468 -0.0358923 0.0274783) Error. Are you sure the interface "1" is closed? Solid angle: 9.32079e-16*PI.
Interface::contains_point(0.0759468 -0.0358923 0.0274783) Error. Are you sure the interface "1" is closed? Solid angle: 9.32079e-16*PI.
Interface::contains_point(0.0759468 -0.0358923 0.0274783) Error. Are you sure the interface "1" is closed? Solid angle: 9.32079e-16*PI.
Interface::contains_point(0.0759468 -0.0358923 0.0274783) Error. Are you sure the interface "1" is closed? Solid angle: 9.32079e-16*PI.
Interface::contains_point(0.0748948 -0.0356139 0.0251042) Error. Are you sure the interface "1" is closed? Solid angle: 1.75869e-16*PI.
Interface::contains_point(0.0748948 -0.0356139 0.0251042) Error. Are you sure the interface "1" is closed? Solid angle: 1.75869e-16*PI.
Interface::contains_point(0.0748948 -0.0356139 0.0251042) Error. Are you sure the interface "1" is closed? Solid angle: 1.75869e-16*PI.
Interface::contains_point(0.0748948 -0.0356139 0.0251042) Error. Are you sure the interface "1" is closed? Solid angle: 1.75869e-16*PI.
Interface::contains_point(0.0748948 -0.0356139 0.0251042) Error. Are you sure the interface "1" is closed? Solid angle: 1.75869e-16*PI.
Interface::contains_point(0.0748948 -0.0356139 0.0251042) Error. Are you sure the interface "1" is closed? Solid angle: 1.75869e-16*PI.
Interface::contains_point(0.0805199 -0.0358809 0.0367387) Error. Are you sure the interface "1" is closed? Solid angle: 4.8012e-16*PI.
Interface::contains_point(0.0805199 -0.0358809 0.0367387) Error. Are you sure the interface "1" is closed? Solid angle: 4.8012e-16*PI.
Interface::contains_point(0.0805199 -0.0358809 0.0367387) Error. Are you sure the interface "1" is closed? Solid angle: 4.8012e-16*PI.
Interface::contains_point(0.0805199 -0.0358809 0.0367387) Error. Are you sure the interface "1" is closed? Solid angle: 4.8012e-16*PI.
Interface::contains_point(0.0805199 -0.0358809 0.0367387) Error. Are you sure the interface "1" is closed? Solid angle: 4.8012e-16*PI.
Interface::contains_point(0.0805199 -0.0358809 0.0367387) Error. Are you sure the interface "1" is closed? Solid angle: 4.8012e-16*PI.

-------------------------------------------
| Elapsed Time: 132.318 s.
-------------------------------------------


om_assemble version 2.4.1 compiled at Aug 22 2018 19:47:28 using OpenMP
 Executing using 4 threads.


| ------ om_assemble
| -H2IPM
| C:\Users\franc\.brainstorm\tmp\openmeeg.geom
| C:\Users\franc\.brainstorm\tmp\openmeeg.cond
| C:\Users\franc\.brainstorm\tmp\openmeeg_loc_seeg.txt
| C:\Users\franc\.brainstorm\tmp\openmeeg_h2ipm.mat
| -----------------------
(DEPRECATED) Please consider updating your geometry file to the new format 1.1 (see data/README.rst): C:\Users\franc\.brainstorm\tmp\openmeeg.geom
This geometry is a NESTED geometry.
Info:: Mesh name/ID : 1
		# vertices  : 272
		# triangles : 540
		Euler characteristic : 2
		Min Area : 7.02964e-05
		Max Area : 0.000281747
Info:: Domain name : Brain
		Conductivity : 1
		Composed by interfaces : -1 
		Interface "1"= { mesh "1"(outermost),  }
Info:: Domain name : Air
		Conductivity : 0
		Composed by interfaces : +1 
		Considered as the outermost domain.
		Interface "1"= { mesh "1"(outermost),  }
Interface::contains_point(0.00571985 0.0703522 0.052212) Error. Are you sure the interface "1" is closed? Solid angle: 1.35229e-15*PI.
Interface::contains_point(0.00571985 0.0703522 0.052212) Error. Are you sure the interface "1" is closed? Solid angle: 1.35229e-15*PI.
 Surf2Vol: Point [ 0.00571985 0.0703522 0.052212 ] is inside a nonconductive domain. Point is dropped.
INTERNAL OPERATOR D...
-------------------------------------------
| Elapsed Time: 0.0622965 s.
-------------------------------------------


om_assemble version 2.4.1 compiled at Aug 22 2018 19:47:28 using OpenMP
 Executing using 4 threads.


| ------ om_assemble
| -DS2IPM
| C:\Users\franc\.brainstorm\tmp\openmeeg.geom
| C:\Users\franc\.brainstorm\tmp\openmeeg.cond
| C:\Users\franc\.brainstorm\tmp\openmeeg_dipoles.txt
| C:\Users\franc\.brainstorm\tmp\openmeeg_loc_seeg.txt
| C:\Users\franc\.brainstorm\tmp\openmeeg_ds2ipm.mat
| -----------------------
(DEPRECATED) Please consider updating your geometry file to the new format 1.1 (see data/README.rst): C:\Users\franc\.brainstorm\tmp\openmeeg.geom
This geometry is a NESTED geometry.
Info:: Mesh name/ID : 1
		# vertices  : 272
		# triangles : 540
		Euler characteristic : 2
		Min Area : 7.02964e-05
		Max Area : 0.000281747
Info:: Domain name : Brain
		Conductivity : 1
		Composed by interfaces : -1 
		Interface "1"= { mesh "1"(outermost),  }
Info:: Domain name : Air
		Conductivity : 0
		Composed by interfaces : +1 
		Considered as the outermost domain.
		Interface "1"= { mesh "1"(outermost),  }
Interface::contains_point(0.00571985 0.0703522 0.052212) Error. Are you sure the interface "1" is closed? Solid angle: 1.35229e-15*PI.
Interface::contains_point(0.00571985 0.0703522 0.052212) Error. Are you sure the interface "1" is closed? Solid angle: 1.35229e-15*PI.
 DipSource2InternalPot: Point [ 0.00571985 0.0703522 0.052212 ] is outside the head. Point is dropped.
Interface::contains_point(-0.0671907 0.0232617 0.0514932) Error. Are you sure the interface "1" is closed? Solid angle: 9.58584e-16*PI.
Interface::contains_point(-0.0671907 0.0232617 0.0514932) Error. Are you sure the interface "1" is closed? Solid angle: 9.58584e-16*PI.
Interface::contains_point(-0.0671907 0.0232617 0.0514932) Error. Are you sure the interface "1" is closed? Solid angle: 9.58584e-16*PI.
[TRUNCATED]

Thank you so much for your help. I would never have understood the origin of the error alone. On the other hand, for the other two patients, how can I calculate the volume model with the adaptive method without setting a predetermined spacing between the points of the grid? Which of the three default parameters should be decreased in your opinion?

I'd recommend you use a regular 3D grid instead, this is easier to evaluate.
When you change the parameters, the number of points of the grid is updated at the bottom of the window, and you can preview the grid.