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 2.126/2.126, allocations: 209.3 MB / 221.5 MB, free: 1.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.841e-05/3.856e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1119/0.112, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4455/0.5575, allocations: 94.09 MB / 416 MB, free: 11.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002881/0.5579, allocations: 71.97 kB / 416 MB, free: 11.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.255/1.813, allocations: 200.6 MB / 0.6022 GB, free: 52.8 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.134e-06/1.813, allocations: 0 / 0.6022 GB, free: 52.8 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004934/1.814, allocations: 200 kB / 0.6024 GB, free: 52.61 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.03679/1.85, allocations: 9.424 MB / 0.6116 GB, free: 43.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.439e-05/1.851, allocations: 8.031 kB / 0.6116 GB, free: 43.09 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008937/1.859, allocations: 1.813 MB / 0.6134 GB, free: 41.26 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03569/1.895, allocations: 4.035 MB / 0.6173 GB, free: 37.2 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03558/1.931, allocations: 10.57 MB / 0.6277 GB, free: 26.55 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001144/1.932, allocations: 0.7903 MB / 0.6284 GB, free: 25.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006215/1.938, allocations: 1.035 MB / 0.6294 GB, free: 24.72 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4648/2.403, allocations: 23.94 MB / 0.6528 GB, free: 49.06 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.001201/2.404, allocations: 94.41 kB / 0.6529 GB, free: 49.06 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.01305/2.418, allocations: 493.6 kB / 0.6534 GB, free: 49.06 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007186/2.425, allocations: 2.275 MB / 0.6556 GB, free: 49.04 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.07022/2.495, allocations: 18.64 MB / 0.6738 GB, free: 49 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.179/2.674, allocations: 94.14 MB / 0.7657 GB, free: 8.977 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0356/2.71, allocations: 7.511 MB / 0.7731 GB, free: 6.691 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008138/2.718, allocations: 3.035 MB / 0.776 GB, free: 5.531 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04886/2.767, allocations: 13.29 MB / 0.789 GB, free: 15.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001091/2.767, allocations: 81.2 kB / 0.7891 GB, free: 15.17 MB / 458.7 MB Notification: Performance of pre-optimization done (n=336): time 1.036e-05/2.767, allocations: 0 / 0.7891 GB, free: 15.17 MB / 458.7 MB Notification: Performance of matching and sorting (n=360): time 0.1405/2.908, allocations: 18.76 MB / 0.8074 GB, free: 1.945 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000223/2.908, allocations: 170.1 kB / 0.8076 GB, free: 1.75 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.05083/2.959, allocations: 7.21 MB / 0.8146 GB, free: 14.07 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009762/2.96, allocations: 77.7 kB / 0.8147 GB, free: 13.99 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.01031/2.97, allocations: 6.809 MB / 0.8213 GB, free: 7.918 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003121/2.973, allocations: 1.359 MB / 0.8227 GB, free: 6.719 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001402/2.975, allocations: 212 kB / 0.8229 GB, free: 6.512 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000966/2.976, allocations: 0.753 MB / 0.8236 GB, free: 5.883 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01137/2.987, allocations: 2.988 MB / 0.8265 GB, free: 3.191 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.3628/3.35, allocations: 9.399 MB / 0.8357 GB, free: 91.9 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01517/3.365, allocations: 5.233 MB / 0.8408 GB, free: 91.84 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0005411/3.366, allocations: 68.22 kB / 0.8409 GB, free: 91.84 MB / 474.7 MB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.03814/3.404, allocations: 11.54 MB / 0.8521 GB, free: 91.33 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000329/3.404, allocations: 102.8 kB / 0.8522 GB, free: 91.33 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004664/3.405, allocations: 230.5 kB / 0.8525 GB, free: 91.33 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005028/3.405, allocations: 341.3 kB / 0.8528 GB, free: 91.33 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01782/3.423, allocations: 2.618 MB / 0.8553 GB, free: 91.11 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005192/3.424, allocations: 455.2 kB / 0.8558 GB, free: 91.01 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01422/3.438, allocations: 0.6868 MB / 0.8564 GB, free: 91.01 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002802/3.441, allocations: 0.6353 MB / 0.8571 GB, free: 91.01 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.004734/3.446, allocations: 0.9426 MB / 0.858 GB, free: 90.67 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001721/3.447, allocations: 0.6651 MB / 0.8586 GB, free: 90.67 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01389/3.461, allocations: 3.986 MB / 0.8625 GB, free: 90.46 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.803e-05/3.462, allocations: 38.05 kB / 0.8626 GB, free: 90.46 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.766e-05/3.462, allocations: 3.875 kB / 0.8626 GB, free: 90.46 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.594e-05/3.462, allocations: 18.47 kB / 0.8626 GB, free: 90.46 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1108/3.572, allocations: 49.83 MB / 0.9113 GB, free: 79.43 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0004498/3.573, allocations: 71.97 kB / 0.9113 GB, free: 79.43 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.008048/3.581, allocations: 0.7451 MB / 0.912 GB, free: 79.34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002016/3.581, allocations: 105.7 kB / 0.9121 GB, free: 79.34 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001003/3.582, allocations: 168.3 kB / 0.9123 GB, free: 79.29 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001678/3.583, allocations: 144.4 kB / 0.9124 GB, free: 79.26 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000108/3.583, allocations: 115.4 kB / 0.9126 GB, free: 79.23 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02156/3.604, allocations: 21.37 MB / 0.9334 GB, free: 57.86 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003273/3.608, allocations: 0.7952 MB / 0.9342 GB, free: 57.34 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00319/3.611, allocations: 166.8 kB / 0.9344 GB, free: 57.29 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0104/3.621, allocations: 275.3 kB / 0.9346 GB, free: 57.24 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001918/3.623, allocations: 488 kB / 0.9351 GB, free: 57.03 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001138/3.624, allocations: 209.5 kB / 0.9353 GB, free: 57 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01313/3.638, allocations: 4.457 MB / 0.9396 GB, free: 53.88 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.263e-06/3.638, allocations: 0 / 0.9396 GB, free: 53.88 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01597/3.654, allocations: 1.88 MB / 0.9415 GB, free: 52 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.02041/3.674, allocations: 34.37 MB / 0.975 GB, free: 15.69 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01854/3.693, allocations: 6.906 MB / 0.9818 GB, free: 9.441 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.692e-05/3.693, allocations: 12 kB / 0.9818 GB, free: 9.43 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.005391/3.698, allocations: 1.977 MB / 0.9837 GB, free: 7.691 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01464/3.713, allocations: 1.03 MB / 0.9847 GB, free: 6.824 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5132/4.226, allocations: 21.17 MB / 1.005 GB, free: 105.5 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02426/4.251, allocations: 7.128 MB / 1.012 GB, free: 104.6 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.02012/4.271, allocations: 3.325 MB / 1.016 GB, free: 104.5 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01217/4.283, allocations: 4.753 MB / 1.02 GB, free: 104.5 MB / 490.7 MB Notification: Performance of SimCode: time 2.325e-06/4.283, allocations: 0 / 1.02 GB, free: 104.5 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.327/4.61, allocations: 141.8 MB / 1.159 GB, free: 22.82 MB / 490.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002276/4.61, allocations: 168 kB / 1.159 GB, free: 22.59 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.605/13.21, allocations: 4 kB / 1.159 GB, free: 22.58 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