Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.869/1.869, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.55e-05/3.577e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1026/0.1026, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4282/0.5309, allocations: 94.08 MB / 415.9 MB, free: 11.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002766/0.5313, allocations: 71.97 kB / 416 MB, free: 11.43 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.096/1.628, allocations: 200.6 MB / 0.6022 GB, free: 52.76 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.628, allocations: 4 kB / 0.6022 GB, free: 52.76 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.000516/1.628, allocations: 203.9 kB / 0.6024 GB, free: 52.56 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: 3662 * Number of variables: 3662 Notification: Performance of Generate backend data structure: time 0.03636/1.665, allocations: 9.42 MB / 0.6116 GB, free: 43.05 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.218e-05/1.665, allocations: 12.03 kB / 0.6116 GB, free: 43.04 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008661/1.673, allocations: 1.817 MB / 0.6134 GB, free: 41.2 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03563/1.709, allocations: 4.031 MB / 0.6173 GB, free: 37.15 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03587/1.745, allocations: 10.56 MB / 0.6276 GB, free: 26.51 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001141/1.746, allocations: 0.7903 MB / 0.6284 GB, free: 25.71 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006306/1.752, allocations: 1.039 MB / 0.6294 GB, free: 24.68 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.423/2.176, allocations: 24.07 MB / 0.6529 GB, free: 48.66 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001381/2.177, allocations: 93.75 kB / 0.653 GB, free: 48.66 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.006595/2.184, allocations: 494.9 kB / 0.6535 GB, free: 48.66 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00748/2.191, allocations: 2.272 MB / 0.6557 GB, free: 48.64 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07089/2.262, allocations: 18.98 MB / 0.6742 GB, free: 48.55 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1762/2.438, allocations: 94.15 MB / 0.7662 GB, free: 8.355 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03453/2.473, allocations: 7.539 MB / 0.7735 GB, free: 6.062 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007574/2.481, allocations: 3.033 MB / 0.7765 GB, free: 4.906 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04365/2.524, allocations: 13.31 MB / 0.7895 GB, free: 14.64 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.25e-05/2.524, allocations: 70.81 kB / 0.7896 GB, free: 14.57 MB / 458.7 MB Notification: Performance of pre-optimization done (n=336): time 7.855e-06/2.524, allocations: 0 / 0.7896 GB, free: 14.57 MB / 458.7 MB Notification: Performance of matching and sorting (n=360): time 0.09163/2.616, allocations: 18.77 MB / 0.8079 GB, free: 1.016 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001618/2.616, allocations: 166.9 kB / 0.808 GB, free: 0.8203 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01961/2.636, allocations: 6.438 MB / 0.8143 GB, free: 11.31 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008766/2.637, allocations: 77.7 kB / 0.8144 GB, free: 11.23 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007877/2.645, allocations: 6.806 MB / 0.821 GB, free: 5.16 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002537/2.647, allocations: 1.361 MB / 0.8224 GB, free: 3.957 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001407/2.649, allocations: 216 kB / 0.8226 GB, free: 3.746 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.001044/2.65, allocations: 0.7502 MB / 0.8233 GB, free: 3.121 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009724/2.66, allocations: 2.983 MB / 0.8262 GB, free: 440 kB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3705/3.03, allocations: 10.4 MB / 0.8364 GB, free: 94.37 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01558/3.046, allocations: 5.23 MB / 0.8415 GB, free: 94.3 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005936/3.047, allocations: 67.53 kB / 0.8416 GB, free: 94.3 MB / 474.7 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.0392/3.086, allocations: 12.18 MB / 0.8534 GB, free: 93.5 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002906/3.086, allocations: 106.3 kB / 0.8536 GB, free: 93.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004398/3.087, allocations: 232.2 kB / 0.8538 GB, free: 93.5 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004962/3.087, allocations: 337.7 kB / 0.8541 GB, free: 93.5 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01762/3.105, allocations: 2.615 MB / 0.8566 GB, free: 93.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004837/3.105, allocations: 457 kB / 0.8571 GB, free: 93.18 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0176/3.123, allocations: 0.6845 MB / 0.8578 GB, free: 93.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003728/3.127, allocations: 0.6361 MB / 0.8584 GB, free: 93.18 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1052 * Number of states: 0 () * Number of discrete variables: 69 (body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],cutForce1a.torqueColor[3],cutForce1a.torqueColor[2],cutForce1a.torqueColor[1],cutForce1a.forceColor[3],cutForce1a.forceColor[2],cutForce1a.forceColor[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 (1366): * Single equations (assignments): 1363 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005741/3.132, allocations: 0.9443 MB / 0.8593 GB, free: 92.84 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002786/3.135, allocations: 0.662 MB / 0.8599 GB, free: 92.84 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01204/3.147, allocations: 3.988 MB / 0.8638 GB, free: 92.63 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.548e-05/3.148, allocations: 37.53 kB / 0.8639 GB, free: 92.63 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.75e-05/3.148, allocations: 3.469 kB / 0.8639 GB, free: 92.63 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.553e-05/3.148, allocations: 13.92 kB / 0.8639 GB, free: 92.63 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1465/3.294, allocations: 50.04 MB / 0.9128 GB, free: 81.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0003119/3.295, allocations: 77.09 kB / 0.9128 GB, free: 81.29 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009035/3.304, allocations: 0.7373 MB / 0.9135 GB, free: 81.2 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002219/3.304, allocations: 109.7 kB / 0.9136 GB, free: 81.2 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001004/3.305, allocations: 167 kB / 0.9138 GB, free: 81.15 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001877/3.305, allocations: 142.5 kB / 0.9139 GB, free: 81.12 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001206/3.305, allocations: 113.3 kB / 0.9141 GB, free: 81.09 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02205/3.327, allocations: 21.37 MB / 0.9349 GB, free: 58.7 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003397/3.331, allocations: 0.7975 MB / 0.9357 GB, free: 57.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002588/3.333, allocations: 171.8 kB / 0.9359 GB, free: 57.78 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007395/3.341, allocations: 281.3 kB / 0.9361 GB, free: 57.56 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001279/3.342, allocations: 488.8 kB / 0.9366 GB, free: 57.18 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004305/3.343, allocations: 208.6 kB / 0.9368 GB, free: 56.98 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.012/3.355, allocations: 4.454 MB / 0.9411 GB, free: 53.09 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.072e-06/3.355, allocations: 0 / 0.9411 GB, free: 53.09 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01426/3.369, allocations: 1.867 MB / 0.943 GB, free: 51.22 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 330 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (376): * Single equations (assignments): 373 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0187/3.388, allocations: 34.38 MB / 0.9765 GB, free: 14.9 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01848/3.406, allocations: 7.297 MB / 0.9837 GB, free: 8.254 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.524e-05/3.406, allocations: 13.97 kB / 0.9837 GB, free: 8.242 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005134/3.412, allocations: 2.075 MB / 0.9857 GB, free: 6.41 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008283/3.42, allocations: 1.036 MB / 0.9867 GB, free: 5.543 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4351/3.855, allocations: 21.42 MB / 1.008 GB, free: 106.1 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02774/3.883, allocations: 7.127 MB / 1.015 GB, free: 105.1 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.02488/3.908, allocations: 3.316 MB / 1.018 GB, free: 105 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01109/3.919, allocations: 4.757 MB / 1.022 GB, free: 105 MB / 490.7 MB Notification: Performance of SimCode: time 2.455e-06/3.919, allocations: 1.312 kB / 1.022 GB, free: 105 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3215/4.24, allocations: 142.7 MB / 1.162 GB, free: 20.61 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/4.241, allocations: 159.5 kB / 1.162 GB, free: 20.38 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.195/12.44, allocations: 3.938 kB / 1.162 GB, free: 20.38 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat