Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Forces.Torque,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Forces_Torque",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.909/1.909, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.361e-05/3.378e-05, allocations: 4 kB / 273.2 MB, free: 152 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1028/0.1029, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4276/0.5305, allocations: 94.59 MB / 416.5 MB, free: 10.98 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.5308, allocations: 75.95 kB / 416.5 MB, free: 10.91 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9386/1.469, allocations: 131.8 MB / 0.5355 GB, free: 89.21 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.236e-06/1.47, allocations: 0 / 0.5355 GB, free: 89.21 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004769/1.47, allocations: 137.1 kB / 0.5356 GB, free: 89.21 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2384 * Number of variables: 2384 Notification: Performance of Generate backend data structure: time 0.03515/1.505, allocations: 6.655 MB / 0.5421 GB, free: 86.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.57e-05/1.505, allocations: 10.16 kB / 0.5421 GB, free: 86.6 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007186/1.513, allocations: 1.184 MB / 0.5432 GB, free: 86.5 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08046/1.593, allocations: 7.146 MB / 0.5502 GB, free: 86.02 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02828/1.621, allocations: 7.431 MB / 0.5575 GB, free: 84.41 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007153/1.622, allocations: 0.5001 MB / 0.558 GB, free: 84.21 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004095/1.626, allocations: 0.6593 MB / 0.5586 GB, free: 84.02 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05008/1.676, allocations: 16.05 MB / 0.5743 GB, free: 75.59 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005293/1.677, allocations: 97.91 kB / 0.5744 GB, free: 75.54 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003654/1.681, allocations: 325.6 kB / 0.5747 GB, free: 75.36 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003538/1.684, allocations: 1.555 MB / 0.5762 GB, free: 75.06 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04094/1.725, allocations: 12.93 MB / 0.5888 GB, free: 64.52 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.119/1.844, allocations: 72.94 MB / 0.6601 GB, free: 6.02 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3526/2.197, allocations: 6.452 MB / 0.6664 GB, free: 96.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008749/2.206, allocations: 3.673 MB / 0.67 GB, free: 96.48 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02891/2.235, allocations: 9.276 MB / 0.679 GB, free: 95.06 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.599e-05/2.235, allocations: 71.28 kB / 0.6791 GB, free: 95.02 MB / 442.7 MB Notification: Performance of pre-optimization done (n=269): time 6.662e-06/2.235, allocations: 0 / 0.6791 GB, free: 95.02 MB / 442.7 MB Notification: Performance of matching and sorting (n=311): time 0.1178/2.353, allocations: 25.87 MB / 0.7043 GB, free: 89.54 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001036/2.353, allocations: 238.5 kB / 0.7046 GB, free: 89.29 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0156/2.368, allocations: 6.11 MB / 0.7105 GB, free: 87.16 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009038/2.369, allocations: 69.39 kB / 0.7106 GB, free: 87.1 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004547/2.374, allocations: 4.829 MB / 0.7153 GB, free: 83.39 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001944/2.376, allocations: 1.176 MB / 0.7165 GB, free: 82.53 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001271/2.377, allocations: 179.9 kB / 0.7166 GB, free: 82.39 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000632/2.378, allocations: 0.6894 MB / 0.7173 GB, free: 81.92 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008958/2.387, allocations: 3.487 MB / 0.7207 GB, free: 80.73 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01261/2.4, allocations: 8.778 MB / 0.7293 GB, free: 72.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01262/2.412, allocations: 5.488 MB / 0.7347 GB, free: 70.84 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002015/2.412, allocations: 54.2 kB / 0.7347 GB, free: 70.84 MB / 442.7 MB Notification: Performance of matching and sorting (n=1176) (initialization): time 0.03797/2.45, allocations: 13.53 MB / 0.7479 GB, free: 66.38 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001389/2.451, allocations: 89.75 kB / 0.748 GB, free: 66.38 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002587/2.451, allocations: 186.2 kB / 0.7482 GB, free: 66.38 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.007232/2.458, allocations: 1.701 MB / 0.7498 GB, free: 66.09 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01398/2.472, allocations: 2.128 MB / 0.7519 GB, free: 65.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02071/2.493, allocations: 11.34 MB / 0.763 GB, free: 55.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.011/2.504, allocations: 0.5343 MB / 0.7635 GB, free: 55.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002092/2.506, allocations: 0.5392 MB / 0.764 GB, free: 54.79 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 850 * Number of states: 0 () * Number of discrete variables: 60 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],torque2.connectionLineColor[3],torque2.connectionLineColor[2],torque2.connectionLineColor[1],torque2.torqueColor[3],torque2.torqueColor[2],torque2.torqueColor[1],torque1.connectionLineColor[3],torque1.connectionLineColor[2],torque1.connectionLineColor[1],torque1.torqueColor[3],torque1.torqueColor[2],torque1.torqueColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1104): * Single equations (assignments): 1099 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002635/2.509, allocations: 0.7965 MB / 0.7648 GB, free: 54 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001719/2.511, allocations: 0.5938 MB / 0.7654 GB, free: 53.4 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01954/2.53, allocations: 6.684 MB / 0.7719 GB, free: 47.99 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.059e-05/2.53, allocations: 32 kB / 0.772 GB, free: 47.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.269e-05/2.53, allocations: 12 kB / 0.772 GB, free: 47.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.264e-05/2.53, allocations: 19.47 kB / 0.772 GB, free: 47.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04258/2.573, allocations: 15.13 MB / 0.7868 GB, free: 35.74 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.469e-05/2.573, allocations: 4 kB / 0.7868 GB, free: 35.73 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005901/2.579, allocations: 0.5592 MB / 0.7873 GB, free: 35.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.006571/2.586, allocations: 1.415 MB / 0.7887 GB, free: 34.31 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008998/2.586, allocations: 54.91 kB / 0.7888 GB, free: 34.26 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02041/2.607, allocations: 10.5 MB / 0.799 GB, free: 24.84 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.414e-06/2.607, allocations: 8 kB / 0.799 GB, free: 24.83 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.027/2.634, allocations: 11.73 MB / 0.8105 GB, free: 14.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004732/2.639, allocations: 1.153 MB / 0.8116 GB, free: 13.25 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00224/2.641, allocations: 64.83 kB / 0.8117 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005574/2.647, allocations: 208.1 kB / 0.8119 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001184/2.648, allocations: 190 kB / 0.812 GB, free: 12.85 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003848/2.648, allocations: 80.77 kB / 0.8121 GB, free: 12.77 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01174/2.66, allocations: 4.348 MB / 0.8164 GB, free: 8.441 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.363e-06/2.66, allocations: 0 / 0.8164 GB, free: 8.441 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.01122/2.671, allocations: 1.654 MB / 0.818 GB, free: 6.793 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (254): * Single equations (assignments): 249 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3502/3.022, allocations: 13.11 MB / 0.8308 GB, free: 100.6 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.02326/3.045, allocations: 8.684 MB / 0.8393 GB, free: 100.3 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.184e-05/3.045, allocations: 2.625 kB / 0.8393 GB, free: 100.3 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01087/3.056, allocations: 3.343 MB / 0.8425 GB, free: 100 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006689/3.063, allocations: 0.7058 MB / 0.8432 GB, free: 99.98 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05105/3.114, allocations: 15.4 MB / 0.8583 GB, free: 97.36 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01079/3.125, allocations: 5.028 MB / 0.8632 GB, free: 96.33 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.01408/3.139, allocations: 2.971 MB / 0.8661 GB, free: 96.22 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007998/3.147, allocations: 3.221 MB / 0.8692 GB, free: 93.6 MB / 458.7 MB Notification: Performance of SimCode: time 1.723e-06/3.147, allocations: 0 / 0.8692 GB, free: 93.6 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6284/3.775, allocations: 132.1 MB / 0.9983 GB, free: 80.46 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002492/3.776, allocations: 167 kB / 0.9984 GB, free: 80.24 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.454/12.23, allocations: 0.5469 kB / 0.9984 GB, free: 80.24 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Forces.Torque_res.mat does not exist to compare? outputFormat=mat