here is the running information from advanced console:
Main Modelica : C:\Users\z00400yy\AppData\Local\Temp\SCI_TMP_9108_17258\RLC_Modelica_im.mo
Flat Modelica : C:\Users\z00400yy\AppData\Local\Temp\SCI_TMP_9108_17258\RLC_Modelica_imf.mo
Simulation C code :C:\Users\z00400yy\AppData\Local\Temp\SCI_TMP_9108_17258\RLC_Modelica_im.c
“Modelica blocks are reduced to a block with:”
“Number of differential states: 2”
“Number of algebraic states: 1”
“Number of discrete time states : 0”
“Number of zero-crossing surfaces: 0”
“Number of modes : 0”
“Number of inputs : 0”
“Number of outputs: 2”
“Input/output dependency:[T]”
“Analytical Jacobian: enabled (%Jacobian=%t)”
“Parameter embedding mode: enabled (%Modelica_ParEmb=%t)”
“”
“Generated files path: C:\Users\z00400yy\AppData\Local\Temp\SCI_TMP_9108_17258”
“”
Generate a loader file
Generate a Makefile
Running the Makefile
“sorry compiling problem”
“Attempt to reference field of non-structure array.”
“c_pass1: build the modelica meta-block failed”
“xcos_simulate: Error during block parameters update.”
Which compiler have you installed (or which compiler is made available in your user account by your company ) ? Modelica examples need a compiler (preferably Visual Studio).
no.
it has the following error.
////////////////////////////////////////////////////////////////////////
Mingw Compiler support for Scilab
Load macros
Load help
atomsLoad: An error occurred while loading ‘mingw-10.3.1’:
add_help_chapter: error on line #71: “add_help_chapter: Wrong value for input argument #2: An existing directory expected.”
at line 346 of function atomsLoad ( D:\Program Files\scilab-2024.1.0\modules\atoms\macros\atomsLoad.sci line 362 )
at line 1 of executed string
still not work.(siclab 2023 exist and works fine, maybe because of this?)
the wrong infor shows here,
atomsLoad: An error occurred while loading ‘mingw-10.3.1’:
add_help_chapter: error on line #71: “add_help_chapter: Wrong value for input argument #2: An existing directory expected.”
at line 346 of function atomsLoad ( D:\Program Files\scilab-2025.0.0\modules\atoms\macros\atomsLoad.sci line 362 )
open the registry editor as a administrator,
ctr+f, search “scilab 2025”,
delete the found item,
press F3 to the do further search and delete until no searching result.