Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque3,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutForceAndTorque3",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.071/2.071, allocations: 209.4 MB / 216.5 MB, free: 6.672 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.974e-05/3.015e-05, allocations: 4 kB / 267.6 MB, free: 4.945 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1167/0.1167, allocations: 48.71 MB / 316.3 MB, free: 4.141 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5166/0.6334, allocations: 91.96 MB / 408.3 MB, free: 0.7148 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002929/0.6337, allocations: 79.69 kB / 408.4 MB, free: 0.6758 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2737/0.9075, allocations: 64.75 MB / 473.1 MB, free: 2.973 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.9075, allocations: 3.938 kB / 473.1 MB, free: 2.969 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001861/0.9077, allocations: 68 kB / 473.2 MB, free: 2.902 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1328 * Number of variables: 1328 Notification: Performance of Generate backend data structure: time 0.01322/0.921, allocations: 3.126 MB / 476.3 MB, free: 15.72 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.382e-05/0.9211, allocations: 8.031 kB / 476.3 MB, free: 15.71 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01583/0.9369, allocations: 1.945 MB / 478.3 MB, free: 13.76 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00775/0.9447, allocations: 2.028 MB / 480.3 MB, free: 11.68 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003168/0.9451, allocations: 124 kB / 480.4 MB, free: 11.56 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002214/0.9473, allocations: 212 kB / 480.6 MB, free: 11.35 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01591/0.9633, allocations: 5.375 MB / 486 MB, free: 5.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3181/1.281, allocations: 7.38 MB / 493.4 MB, free: 93.53 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003721/1.282, allocations: 19.94 kB / 493.4 MB, free: 93.53 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003176/1.285, allocations: 12.38 kB / 493.4 MB, free: 93.53 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003509/1.289, allocations: 0.8148 MB / 494.2 MB, free: 93.52 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08805/1.377, allocations: 26.5 MB / 0.5085 GB, free: 81.89 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005605/1.383, allocations: 1.743 MB / 0.5102 GB, free: 81.29 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002795/1.385, allocations: 0.7062 MB / 0.5109 GB, free: 81.28 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001782/1.386, allocations: 21.23 kB / 0.5109 GB, free: 81.28 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.865e-05/1.386, allocations: 44.41 kB / 0.511 GB, free: 81.24 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 8.506e-06/1.386, allocations: 0 / 0.511 GB, free: 81.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=132): time 0.0127/1.398, allocations: 1.854 MB / 0.5128 GB, free: 81.08 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.739e-05/1.399, allocations: 62.44 kB / 0.5129 GB, free: 81.01 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00696/1.406, allocations: 1.754 MB / 0.5146 GB, free: 80.75 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004027/1.406, allocations: 28.66 kB / 0.5146 GB, free: 80.72 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003044/1.409, allocations: 2.342 MB / 0.5169 GB, free: 79.5 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001173/1.41, allocations: 495.2 kB / 0.5174 GB, free: 79.21 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005521/1.411, allocations: 0 / 0.5174 GB, free: 79.21 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0007372/1.412, allocations: 0.5133 MB / 0.5179 GB, free: 78.89 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004409/1.416, allocations: 1.052 MB / 0.5189 GB, free: 78.82 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006662/1.423, allocations: 3.327 MB / 0.5221 GB, free: 75.39 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007037/1.43, allocations: 1.914 MB / 0.524 GB, free: 74.86 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001441/1.43, allocations: 24.03 kB / 0.524 GB, free: 74.86 MB / 410.7 MB Notification: Performance of matching and sorting (n=505) (initialization): time 0.01725/1.448, allocations: 3.92 MB / 0.5278 GB, free: 73.5 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001267/1.448, allocations: 39.91 kB / 0.5279 GB, free: 73.5 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001921/1.448, allocations: 84.41 kB / 0.528 GB, free: 73.5 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002338/1.448, allocations: 124.2 kB / 0.5281 GB, free: 73.5 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008333/1.457, allocations: 0.8815 MB / 0.5289 GB, free: 73.39 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002417/1.457, allocations: 163.7 kB / 0.5291 GB, free: 73.35 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006599/1.464, allocations: 423.7 kB / 0.5295 GB, free: 73.1 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001364/1.465, allocations: 229.2 kB / 0.5297 GB, free: 73.07 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 372 * Number of states: 0 () * Number of discrete variables: 27 (forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],frame_b.color_x[3],frame_b.color_x[2],frame_b.color_x[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],cutForceAndTorque.torqueColor[3],cutForceAndTorque.torqueColor[2],cutForceAndTorque.torqueColor[1],cutForceAndTorque.forceColor[3],cutForceAndTorque.forceColor[2],cutForceAndTorque.forceColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (481): * Single equations (assignments): 478 * 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.002047/1.467, allocations: 316.4 kB / 0.53 GB, free: 72.8 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006057/1.473, allocations: 1.412 MB / 0.5314 GB, free: 72.3 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000929/1.474, allocations: 186.2 kB / 0.5316 GB, free: 72.2 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007618/1.482, allocations: 1.619 MB / 0.5332 GB, free: 71.63 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.000115/1.482, allocations: 14.91 kB / 0.5332 GB, free: 71.63 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.89e-05/1.482, allocations: 0 / 0.5332 GB, free: 71.63 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.416e-05/1.482, allocations: 3.75 kB / 0.5332 GB, free: 71.63 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02919/1.511, allocations: 7.054 MB / 0.5401 GB, free: 68.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.816e-05/1.512, allocations: 15.59 kB / 0.5401 GB, free: 68.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002859/1.514, allocations: 212 kB / 0.5403 GB, free: 68.78 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.85e-05/1.515, allocations: 28.77 kB / 0.5403 GB, free: 68.78 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003983/1.515, allocations: 33 kB / 0.5403 GB, free: 68.78 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.327e-05/1.515, allocations: 34.03 kB / 0.5404 GB, free: 68.77 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.006e-05/1.515, allocations: 22.22 kB / 0.5404 GB, free: 68.76 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00764/1.523, allocations: 3.203 MB / 0.5435 GB, free: 65.72 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0017/1.525, allocations: 275.7 kB / 0.5438 GB, free: 65.5 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001146/1.526, allocations: 25.52 kB / 0.5438 GB, free: 65.5 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002861/1.529, allocations: 26.3 kB / 0.5438 GB, free: 65.5 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006516/1.529, allocations: 123.4 kB / 0.544 GB, free: 65.45 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002699/1.53, allocations: 62.95 kB / 0.544 GB, free: 65.45 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.004692/1.534, allocations: 1.155 MB / 0.5451 GB, free: 64.97 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.452e-06/1.535, allocations: 0 / 0.5451 GB, free: 64.97 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.01139/1.546, allocations: 0.8704 MB / 0.546 GB, free: 64.72 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 69 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 106 * 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.008286/1.554, allocations: 8.173 MB / 0.554 GB, free: 57.14 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.009139/1.564, allocations: 2.51 MB / 0.5564 GB, free: 56.32 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.397e-05/1.564, allocations: 0 / 0.5564 GB, free: 56.32 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002382/1.566, allocations: 0.7264 MB / 0.5571 GB, free: 56.09 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002874/1.569, allocations: 211.9 kB / 0.5573 GB, free: 56.01 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03369/1.603, allocations: 6.817 MB / 0.564 GB, free: 53.22 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009251/1.612, allocations: 2.902 MB / 0.5668 GB, free: 52.02 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.008356/1.621, allocations: 1.279 MB / 0.5681 GB, free: 51.91 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004984/1.626, allocations: 1.442 MB / 0.5695 GB, free: 50.71 MB / 410.7 MB Notification: Performance of SimCode: time 1.793e-06/1.626, allocations: 0 / 0.5695 GB, free: 50.71 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1501/1.776, allocations: 42.49 MB / 0.611 GB, free: 12.84 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002266/1.776, allocations: 145 kB / 0.6111 GB, free: 12.64 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.78/5.556, allocations: 0 / 0.6111 GB, free: 12.64 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutForceAndTorque3_res.mat does not exist to compare? outputFormat=mat