Adams ERROR: A syntax error is in this function expression.
Adams ERROR: A syntax error is in this function expression.
(OP)
hi
i'm defining a state variable in adams/car when I run the Full car test after defining the state variables , 4 of those variables have this error :
OS-environment variable
ADAMS_CONTROLS_WTIME=20
Adams Controls. Sets the total wait time (i.e., until time-out) in start-up to create a pipe for a pipes-based co-simulation or function evaluation when using Adams Controls on Windows.
Controls will test for the pipe every half second and may finish before the end time. Options are integers. Default = 60 (seconds).
OS-environment variable
MSC_USE_FORTRAN_STYLE_RELOAD_MESSAGE_FILE=1
Asol SDK. Enforces Adams Solver (C++) to use the Adams Solver (FORTRAN) message file style when reloading.
command: FILE/COMMAND=Speed_15mph.acf
command:
command: file/model=Speed_15mph
ERROR: A syntax error is in this function expression.
ERROR: Argument : FUNCTION
ERROR: Statement : VARIABLE/295
ERROR: Line number : 8891
ERROR: The function expression indicated contains at least one error.
ERROR: Description : The object referenced by id number does not exist.
ERROR:
ERROR: Function text : "VARVAL([[288]])"
ERROR: (The element at or immediately after the error is
ERROR: enclosed in double brackets '[[' and ']]'.)
ERROR:
ERROR: A syntax error is in this function expression.
ERROR: Argument : FUNCTION
ERROR: Statement : VARIABLE/296
ERROR: Line number : 8895
ERROR: The function expression indicated contains at least one error.
ERROR: Description : The object referenced by id number does not exist.
ERROR:
ERROR: Function text : "VARVAL([[287]])"
ERROR: (The element at or immediately after the error is
ERROR: enclosed in double brackets '[[' and ']]'.)
ERROR:
ERROR: A syntax error is in this function expression.
ERROR: Argument : FUNCTION
ERROR: Statement : VARIABLE/297
ERROR: Line number : 8899
ERROR: The function expression indicated contains at least one error.
ERROR: Description : The object referenced by id number does not exist.
ERROR:
ERROR: Function text : "VARVAL([[290]])"
ERROR: (The element at or immediately after the error is
ERROR: enclosed in double brackets '[[' and ']]'.)
ERROR:
ERROR: A syntax error is in this function expression.
ERROR: Argument : FUNCTION
ERROR: Statement : VARIABLE/298
ERROR: Line number : 8903
ERROR: The function expression indicated contains at least one error.
ERROR: Description : The object referenced by id number does not exist.
ERROR:
ERROR: Function text : "VARVAL([[289]])"
ERROR: (The element at or immediately after the error is
ERROR: enclosed in double brackets '[[' and ']]'.)
ERROR:
ERROR: Errors in the Adams dataset prevent it from being loaded into the database.
---- START: ERROR ----
Attempt to read in model into AMD was unsuccessful
---- END: ERROR ----
command: !
command: !INFO Adams Version: Adams 2016
command: !INFO Adams Build: 2016.0.0-CL426750
command: !INFO Assembly File: <acar_concept>/assemblies.tbl/baja_full_forHIS.asy
command: !INFO Solver Library: C:/MSC~1.SOF/Adams/2016/win64/acar_solver.dll
command: !
command: string/5, string=Speed_15mph.xml
---- START: ERROR ----
This command cannot be processed until a model has been defined.
---- END: ERROR ----
command: preferences/solver=CXX
command: preferences/list,status=on
PREFERENCES:
SIMFAIL = NOSTOPCF
Contact Geometry Library = (not loaded)
Thread Count = 1
Library Search Path = Not Set
Status Message = Off
Solverbias = CXX (C++ Solver)
command: control/routine=abgTire::con901,func=user(901,79,67,73,1,2)
command: control/routine=abgTire::con901,func=user(901,83,68,74,1,4)
command: control/routine=abgTire::con901,func=user(901,88,76,82,1,6)
command: control/routine=abgTire::con901,func=user(901,92,77,83,1,8)
command: output/nosep
---- START: ERROR ----
This command cannot be processed until a model has been defined.
---- END: ERROR ----
command: control/routine=abgVDM::EventInit, function=user(5,1,7,0,2,5,9,15)
Using SmartDriver Template file:
C:\MSC.Software\Adams\2016\win64/.smartdriver.xml
command: control/routine=abgVDM::EventRunAll, function=user(0)
command: !
command: stop
Finished -----
Elapsed time = 0.00s, CPU time = 0.00s, 0.00%
Simulation is complete.
and after this as you see the simulation doesn't even start .
would you please help ?? how can i fix this ??
mind you , these measures that i spoke of that have this error , are labeled "off" in the measure command navigator .... and they are point force ....
thanks
i'm defining a state variable in adams/car when I run the Full car test after defining the state variables , 4 of those variables have this error :
OS-environment variable
ADAMS_CONTROLS_WTIME=20
Adams Controls. Sets the total wait time (i.e., until time-out) in start-up to create a pipe for a pipes-based co-simulation or function evaluation when using Adams Controls on Windows.
Controls will test for the pipe every half second and may finish before the end time. Options are integers. Default = 60 (seconds).
OS-environment variable
MSC_USE_FORTRAN_STYLE_RELOAD_MESSAGE_FILE=1
Asol SDK. Enforces Adams Solver (C++) to use the Adams Solver (FORTRAN) message file style when reloading.
command: FILE/COMMAND=Speed_15mph.acf
command:
command: file/model=Speed_15mph
ERROR: A syntax error is in this function expression.
ERROR: Argument : FUNCTION
ERROR: Statement : VARIABLE/295
ERROR: Line number : 8891
ERROR: The function expression indicated contains at least one error.
ERROR: Description : The object referenced by id number does not exist.
ERROR:
ERROR: Function text : "VARVAL([[288]])"
ERROR: (The element at or immediately after the error is
ERROR: enclosed in double brackets '[[' and ']]'.)
ERROR:
ERROR: A syntax error is in this function expression.
ERROR: Argument : FUNCTION
ERROR: Statement : VARIABLE/296
ERROR: Line number : 8895
ERROR: The function expression indicated contains at least one error.
ERROR: Description : The object referenced by id number does not exist.
ERROR:
ERROR: Function text : "VARVAL([[287]])"
ERROR: (The element at or immediately after the error is
ERROR: enclosed in double brackets '[[' and ']]'.)
ERROR:
ERROR: A syntax error is in this function expression.
ERROR: Argument : FUNCTION
ERROR: Statement : VARIABLE/297
ERROR: Line number : 8899
ERROR: The function expression indicated contains at least one error.
ERROR: Description : The object referenced by id number does not exist.
ERROR:
ERROR: Function text : "VARVAL([[290]])"
ERROR: (The element at or immediately after the error is
ERROR: enclosed in double brackets '[[' and ']]'.)
ERROR:
ERROR: A syntax error is in this function expression.
ERROR: Argument : FUNCTION
ERROR: Statement : VARIABLE/298
ERROR: Line number : 8903
ERROR: The function expression indicated contains at least one error.
ERROR: Description : The object referenced by id number does not exist.
ERROR:
ERROR: Function text : "VARVAL([[289]])"
ERROR: (The element at or immediately after the error is
ERROR: enclosed in double brackets '[[' and ']]'.)
ERROR:
ERROR: Errors in the Adams dataset prevent it from being loaded into the database.
---- START: ERROR ----
Attempt to read in model into AMD was unsuccessful
---- END: ERROR ----
command: !
command: !INFO Adams Version: Adams 2016
command: !INFO Adams Build: 2016.0.0-CL426750
command: !INFO Assembly File: <acar_concept>/assemblies.tbl/baja_full_forHIS.asy
command: !INFO Solver Library: C:/MSC~1.SOF/Adams/2016/win64/acar_solver.dll
command: !
command: string/5, string=Speed_15mph.xml
---- START: ERROR ----
This command cannot be processed until a model has been defined.
---- END: ERROR ----
command: preferences/solver=CXX
command: preferences/list,status=on
PREFERENCES:
SIMFAIL = NOSTOPCF
Contact Geometry Library = (not loaded)
Thread Count = 1
Library Search Path = Not Set
Status Message = Off
Solverbias = CXX (C++ Solver)
command: control/routine=abgTire::con901,func=user(901,79,67,73,1,2)
command: control/routine=abgTire::con901,func=user(901,83,68,74,1,4)
command: control/routine=abgTire::con901,func=user(901,88,76,82,1,6)
command: control/routine=abgTire::con901,func=user(901,92,77,83,1,8)
command: output/nosep
---- START: ERROR ----
This command cannot be processed until a model has been defined.
---- END: ERROR ----
command: control/routine=abgVDM::EventInit, function=user(5,1,7,0,2,5,9,15)
Using SmartDriver Template file:
C:\MSC.Software\Adams\2016\win64/.smartdriver.xml
command: control/routine=abgVDM::EventRunAll, function=user(0)
command: !
command: stop
Finished -----
Elapsed time = 0.00s, CPU time = 0.00s, 0.00%
Simulation is complete.
and after this as you see the simulation doesn't even start .
would you please help ?? how can i fix this ??
mind you , these measures that i spoke of that have this error , are labeled "off" in the measure command navigator .... and they are point force ....
thanks
RE: Adams ERROR: A syntax error is in this function expression.
ERROR: Line number : 8891
ERROR: The function expression indicated contains at least one error.
ERROR: Description : The object referenced by id number does not exist.
ERROR:
ERROR: Function text : "VARVAL([[288]])"
ERROR: (The element at or immediately after the error is
ERROR: enclosed in double brackets '[[' and ']]'.)
etc, so what does line 8891 actually look like in your adm file?
Cheers
Greg Locock
New here? Try reading these, they might help FAQ731-376: Eng-Tips.com Forum Policies http://eng-tips.com/market.cfm?
RE: Adams ERROR: A syntax error is in this function expression.
but this error appears exactly when I define the state variables for the measures I have defined …
this error doesn't even come up when I define measures only … but as soon as I define state variables for the measures I see this error and the simulation doesn't even start