Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForceAndTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.43/2.43, allocations: 235.1 MB / 242.2 MB, free: 15.8 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.126e-05/3.14e-05, allocations: 4 kB / 299.5 MB, free: 6.477 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3796/0.3796, allocations: 54.85 MB / 354.3 MB, free: 14.06 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1877/0.5674, allocations: 100.1 MB / 454.5 MB, free: 14.03 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002936/0.5678, allocations: 79.95 kB / 454.6 MB, free: 13.95 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.083/1.651, allocations: 194.6 MB / 0.634 GB, free: 7.168 MB / 442.7 MB Notification: Performance of FrontEnd: time 1.974e-06/1.651, allocations: 0 / 0.634 GB, free: 7.168 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000624/1.652, allocations: 196 kB / 0.6342 GB, free: 6.977 MB / 442.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.0409/1.692, allocations: 9.42 MB / 0.6434 GB, free: 13.46 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.101e-05/1.693, allocations: 8.031 kB / 0.6434 GB, free: 13.45 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03686/1.729, allocations: 4.023 MB / 0.6473 GB, free: 9.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03884/1.768, allocations: 10.56 MB / 0.6576 GB, free: 14.77 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008956/1.769, allocations: 348 kB / 0.658 GB, free: 14.43 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00607/1.775, allocations: 0.6053 MB / 0.6586 GB, free: 13.82 MB / 474.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.4222/2.198, allocations: 14.54 MB / 0.6728 GB, free: 64.89 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08317/2.281, allocations: 20.73 MB / 0.693 GB, free: 60.5 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008568/2.282, allocations: 98.22 kB / 0.6931 GB, free: 60.5 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00506/2.287, allocations: 49.25 kB / 0.6931 GB, free: 60.5 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00571/2.293, allocations: 2.27 MB / 0.6954 GB, free: 60.48 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1666/2.459, allocations: 93.8 MB / 0.787 GB, free: 22.5 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009803/2.469, allocations: 4.142 MB / 0.791 GB, free: 20.62 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00494/2.474, allocations: 1.937 MB / 0.7929 GB, free: 19.88 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003712/2.475, allocations: 66.02 kB / 0.793 GB, free: 19.87 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.652e-05/2.475, allocations: 76.95 kB / 0.793 GB, free: 19.8 MB / 490.7 MB Notification: Performance of pre-optimization done (n=330): time 8.646e-06/2.475, allocations: 0 / 0.793 GB, free: 19.8 MB / 490.7 MB Notification: Performance of matching and sorting (n=342): time 0.05498/2.53, allocations: 14.88 MB / 0.8076 GB, free: 12.67 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.968e-05/2.53, allocations: 162.4 kB / 0.8077 GB, free: 12.51 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01493/2.545, allocations: 5.66 MB / 0.8132 GB, free: 10.41 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007716/2.546, allocations: 31.2 kB / 0.8133 GB, free: 10.38 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.007367/2.553, allocations: 6.953 MB / 0.8201 GB, free: 5.02 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002224/2.555, allocations: 1.267 MB / 0.8213 GB, free: 4.086 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001278/2.557, allocations: 0 / 0.8213 GB, free: 4.086 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001146/2.558, allocations: 0.7735 MB / 0.8221 GB, free: 3.586 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007939/2.566, allocations: 2.859 MB / 0.8248 GB, free: 2.574 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01504/2.581, allocations: 9.626 MB / 0.8342 GB, free: 8.383 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01239/2.593, allocations: 5.164 MB / 0.8393 GB, free: 5.863 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002744/2.594, allocations: 68 kB / 0.8394 GB, free: 5.797 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1444) (initialization): time 0.04235/2.636, allocations: 11.06 MB / 0.8502 GB, free: 11.99 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003654/2.636, allocations: 108 kB / 0.8503 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000752/2.637, allocations: 246.4 kB / 0.8505 GB, free: 11.65 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008181/2.638, allocations: 359.8 kB / 0.8508 GB, free: 11.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02521/2.663, allocations: 2.709 MB / 0.8535 GB, free: 8.941 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008475/2.664, allocations: 487 kB / 0.8539 GB, free: 8.516 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02037/2.685, allocations: 499.7 kB / 0.8544 GB, free: 8.129 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003715/2.688, allocations: 0.6685 MB / 0.8551 GB, free: 7.473 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1112 * Number of states: 0 () * Number of discrete variables: 69 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutForce2b.torqueColor[3],cutForce2b.torqueColor[2],cutForce2b.torqueColor[1],cutForce2b.forceColor[3],cutForce2b.forceColor[2],cutForce2b.forceColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutForce1b.torqueColor[3],cutForce1b.torqueColor[2],cutForce1b.torqueColor[1],cutForce1b.forceColor[3],cutForce1b.forceColor[2],cutForce1b.forceColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutForce2a.torqueColor[3],cutForce2a.torqueColor[2],cutForce2a.torqueColor[1],cutForce2a.forceColor[3],cutForce2a.forceColor[2],cutForce2a.forceColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[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 (1420): * Single equations (assignments): 1417 * 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.005182/2.694, allocations: 0.7038 MB / 0.8558 GB, free: 6.766 MB / 0.5105 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01659/2.71, allocations: 3.706 MB / 0.8594 GB, free: 3.422 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003012/2.713, allocations: 0.6209 MB / 0.86 GB, free: 2.793 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5221/3.235, allocations: 3.606 MB / 0.8635 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001562/3.236, allocations: 35.5 kB / 0.8635 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.886e-05/3.236, allocations: 1.5 kB / 0.8635 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001275/3.236, allocations: 17.66 kB / 0.8636 GB, free: 102.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1117/3.348, allocations: 36.92 MB / 0.8996 GB, free: 98.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004256/3.348, allocations: 81.44 kB / 0.8997 GB, free: 98.78 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007446/3.356, allocations: 0.8081 MB / 0.9005 GB, free: 98.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002322/3.356, allocations: 123.9 kB / 0.9006 GB, free: 98.78 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009552/3.357, allocations: 124.1 kB / 0.9007 GB, free: 98.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001949/3.357, allocations: 165.3 kB / 0.9009 GB, free: 98.78 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001361/3.357, allocations: 128.1 kB / 0.901 GB, free: 98.78 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02038/3.378, allocations: 22.44 MB / 0.9229 GB, free: 76.45 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.003318/3.381, allocations: 0.7656 MB / 0.9237 GB, free: 76.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003132/3.384, allocations: 127.6 kB / 0.9238 GB, free: 76.36 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01008/3.394, allocations: 191 kB / 0.924 GB, free: 76.36 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001901/3.396, allocations: 0.549 MB / 0.9245 GB, free: 76.29 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001124/3.397, allocations: 226.3 kB / 0.9247 GB, free: 76.29 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01482/3.412, allocations: 3.774 MB / 0.9284 GB, free: 76.08 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.493e-06/3.412, allocations: 2.156 kB / 0.9284 GB, free: 76.08 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.02379/3.436, allocations: 1.591 MB / 0.93 GB, free: 76.08 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 378 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (426): * Single equations (assignments): 423 * 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.02566/3.462, allocations: 38.24 MB / 0.9673 GB, free: 39.95 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02339/3.485, allocations: 6.734 MB / 0.9739 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 0.0001293/3.485, allocations: 15.22 kB / 0.9739 GB, free: 39.68 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.006493/3.492, allocations: 1.891 MB / 0.9757 GB, free: 39.45 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01149/3.504, allocations: 0.8559 MB / 0.9766 GB, free: 39.4 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.08662/3.59, allocations: 20.97 MB / 0.997 GB, free: 29.96 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01858/3.609, allocations: 7.118 MB / 1.004 GB, free: 27.35 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01784/3.627, allocations: 3.391 MB / 1.007 GB, free: 25.23 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01129/3.638, allocations: 4.726 MB / 1.012 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of SimCode: time 1.523e-06/3.638, allocations: 0 / 1.012 GB, free: 20.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7962/4.434, allocations: 134 MB / 1.143 GB, free: 103.2 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002859/4.435, allocations: 142.2 kB / 1.143 GB, free: 103 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.426/12.86, allocations: 3.938 kB / 1.143 GB, free: 103 MB / 0.5261 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque2_res.mat does not exist to compare? outputFormat=mat