########### MACRO #############
load "Knee.any"
classoperation Main.MyModel.PatellaLigament.DriverPos "Set Value" --value="0.05"
operation Main.MyStudy.InverseDynamics
run
classoperation Main.MyStudy.Output.Abscissa.t "Dump"
classoperation Main.MyStudy.Output.MaxMuscleActivity "Dump"
classoperation Main.MyModel.PatellaLigament.DriverPos "Dump"

######### OUTPUT LOG ##########

AnyBody Console Application
AnyBodyCon.exe version : 7. 3. 4. 8518 (64-bit version) 

Build : 18813.46800
Copyright (c) 1999 - 2021 AnyBody Technology A/S

Current path: c:\Users\mel\Documents\AnyBodySource\AnyPyTools\docs\Tutorial

#### Macro command > load "Knee.any"
Loading  Main  :  "C:\Users\mel\Documents\AnyBodySource\AnyPyTools\docs\Tutorial\Knee.any"
Scanning...
Passing...
Constructing model tree...
Linking identifiers...
Evaluating constants...
Configuring model...
Evaluating model...
Loaded successfully.
Elapsed Time : 0.204000

#### Macro command > classoperation Main.MyModel.PatellaLigament.DriverPos "Set Value" --value="0.05"

#### Macro command > operation Main.MyStudy.InverseDynamics

#### Macro command > run

***************************************************************************************
0) InverseDynamics (Operation: Main.MyStudy.InverseDynamics): 
0.0) PreOperation (Operation: Main.MyStudy.InverseDynamics.PreOperation): 
0.0.0) InitialConditions (Operation: Main.MyStudy.InitialConditions): 
0.0.0) ...Design variables have been updated.
0.0.1) ...Load-time positions have been re-established.
0.0.2) ...Kinematic analysis completed.
0.0.3) ...Dependent variables are fully updated.
0) Inverse dynamic analysis...
99) ...Inverse dynamic analysis completed
Total simulation time: 0.271

***************************************************************************************

#### Macro command > classoperation Main.MyStudy.Output.Abscissa.t "Dump"
Main.MyStudy.Output.Abscissa.t = {0.0, 0.024242424242424242, 0.048484848484848485, 0.072727272727272724, 0.09696969696969697, 0.1212121212121212, 0.14545454545454545, 0.16969696969696968, 0.19393939393939394, 0.21818181818181817, 0.2424242424242424, 0.26666666666666666, 0.29090909090909089, 0.31515151515151518, 0.33939393939393936, 0.36363636363636365, 0.38787878787878788, 0.41212121212121211, 0.43636363636363634, 0.46060606060606057, 0.48484848484848481, 0.50909090909090904, 0.53333333333333333, 0.5575757575757575, 0.58181818181818179, 0.60606060606060608, 0.63030303030303036, 0.65454545454545443, 0.67878787878787872, 0.70303030303030301, 0.72727272727272729, 0.75151515151515158, 0.77575757575757576, 0.79999999999999993, 0.82424242424242422, 0.84848484848484851, 0.87272727272727268, 0.89696969696969697, 0.92121212121212115, 0.94545454545454533, 0.96969696969696961, 0.9939393939393939, 1.0181818181818181, 1.0424242424242425, 1.0666666666666667, 1.0909090909090908, 1.115151515151515, 1.1393939393939394, 1.1636363636363636, 1.187878787878788, 1.2121212121212122, 1.2363636363636363, 1.2606060606060607, 1.2848484848484849, 1.3090909090909089, 1.3333333333333333, 1.3575757575757574, 1.3818181818181818, 1.406060606060606, 1.4303030303030302, 1.4545454545454546, 1.4787878787878788, 1.5030303030303032, 1.5272727272727271, 1.5515151515151515, 1.5757575757575757, 1.5999999999999999, 1.6242424242424243, 1.6484848484848484, 1.6727272727272728, 1.696969696969697, 1.721212121212121, 1.7454545454545454, 1.7696969696969695, 1.7939393939393939, 1.8181818181818181, 1.8424242424242423, 1.8666666666666667, 1.8909090909090907, 1.915151515151515, 1.9393939393939392, 1.9636363636363636, 1.9878787878787878, 2.0121212121212118, 2.0363636363636362, 2.0606060606060606, 2.084848484848485, 2.1090909090909089, 2.1333333333333333, 2.1575757575757577, 2.1818181818181817, 2.2060606060606061, 2.23030303030303, 2.2545454545454544, 2.2787878787878788, 2.3030303030303028, 2.3272727272727272, 2.3515151515151516, 2.375757575757576, 2.3999999999999999};

#### Macro command > classoperation Main.MyStudy.Output.MaxMuscleActivity "Dump"
Main.MyStudy.Output.MaxMuscleActivity = {0.010163412360686162, 0.010582912443919634, 0.011248273089647738, 0.012161823271009538, 0.013324030595424467, 0.014733443856956534, 0.016386619279256137, 0.018278078382825396, 0.020400283312303844, 0.022743620442322733, 0.0252963815220296, 0.028044731277311174, 0.030972651590383735, 0.034061855396400324, 0.037291668496388375, 0.040638884729729305, 0.044077609409427877, 0.047579117421180955, 0.051111765455600464, 0.054641011422668924, 0.058129606461727198, 0.061538033337431651, 0.064825265609825169, 0.067949910127257068, 0.070871766348543253, 0.073553786332161114, 0.075964349037894244, 0.078079678031898039, 0.079886146921498327, 0.081382153851094416, 0.082579231178111279, 0.083502111083688407, 0.084187599916151254, 0.084682307811303703, 0.085039495161304379, 0.085315478523672147, 0.085566134631109611, 0.08584402658437941, 0.086191564640270488, 0.086463491427642258, 0.086598238645548581, 0.086625602538880797, 0.086573486045896916, 0.08646760451713352, 0.086331206881588698, 0.086184811668407149, 0.086045960072177782, 0.085928991132531551, 0.08584484644458662, 0.08580091306477769, 0.085800913064776399, 0.085844846453829532, 0.0859289911716936, 0.08604596017410672, 0.08618481187370873, 0.086331207233691878, 0.086467605056560856, 0.086573486804157676, 0.086625603532439935, 0.086598239870332161, 0.08646349285449545, 0.086191566210468071, 0.085844028180249249, 0.085566136039008173, 0.085315479460103621, 0.085039495306657456, 0.084682306852835385, 0.08418759759766252, 0.083502107250929783, 0.08257922580918764, 0.081382147064752761, 0.079886138962532063, 0.078079669237018035, 0.075964339791914345, 0.073553777022598757, 0.070871757326817927, 0.06794990168116842, 0.064825257948858864, 0.061538026589856493, 0.058129600680870253, 0.054641006599150325, 0.051111761532458735, 0.047579114309387729, 0.044077607002042635, 0.040638882913658476, 0.037291667160969155, 0.034061854440590046, 0.030972650925394616, 0.028044730828532774, 0.025296381229092363, 0.022743620258103166, 0.020400283201299132, 0.018278078319235867, 0.016386619245029418, 0.014733443839966503, 0.013324030587890343, 0.012161823268198962, 0.011248273088873908, 0.010582905043619265, 0.010163419477911405};

#### Macro command > classoperation Main.MyModel.PatellaLigament.DriverPos "Dump"
Main.MyModel.PatellaLigament.DriverPos = {0.050000000000000003};

#### Macro command > exit

Closing model...
Saving modified values...
Deleting loaded model...
...Model deleted.

ERROR: AnyPyTools : anybodycon.exe exited unexpectedly. Return code: -1073740940