Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutForceAndTorque1,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutForceAndTorque1",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.496/2.496, allocations: 235 MB / 247.2 MB, free: 14.35 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.144e-05/4.149e-05, allocations: 4 kB / 305 MB, free: 5.07 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4135/0.4136, allocations: 54.84 MB / 359.9 MB, free: 2.793 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1916/0.6053, allocations: 100.8 MB / 460.7 MB, free: 11.96 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002993/0.6056, allocations: 75.95 kB / 460.8 MB, free: 11.89 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.164/1.77, allocations: 200.6 MB / 0.6459 GB, free: 40.64 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.475e-06/1.77, allocations: 0 / 0.6459 GB, free: 40.64 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.009152/1.779, allocations: 203.9 kB / 0.6461 GB, free: 40.44 MB / 458.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.05316/1.832, allocations: 9.416 MB / 0.6553 GB, free: 30.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.618e-05/1.832, allocations: 8.031 kB / 0.6553 GB, free: 30.93 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.009303/1.841, allocations: 1.817 MB / 0.6571 GB, free: 29.09 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04808/1.89, allocations: 4.023 MB / 0.661 GB, free: 25.05 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04421/1.934, allocations: 10.57 MB / 0.6713 GB, free: 14.39 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001091/1.935, allocations: 0.7903 MB / 0.6721 GB, free: 13.6 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.006211/1.941, allocations: 1.047 MB / 0.6731 GB, free: 12.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08023/2.022, allocations: 23.95 MB / 0.6965 GB, free: 2.988 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006614/2.022, allocations: 95.16 kB / 0.6966 GB, free: 2.895 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005979/2.028, allocations: 495.7 kB / 0.6971 GB, free: 2.41 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00694/2.035, allocations: 2.267 MB / 0.6993 GB, free: 140 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.4254/2.461, allocations: 18.63 MB / 0.7175 GB, free: 66.85 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1738/2.635, allocations: 94.16 MB / 0.8095 GB, free: 13.04 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03446/2.669, allocations: 7.505 MB / 0.8168 GB, free: 10.76 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007618/2.677, allocations: 3.034 MB / 0.8197 GB, free: 9.605 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03927/2.716, allocations: 13.29 MB / 0.8327 GB, free: 3.289 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000143/2.716, allocations: 73.88 kB / 0.8328 GB, free: 3.223 MB / 474.7 MB Notification: Performance of pre-optimization done (n=336): time 1.75e-05/2.716, allocations: 4.656 kB / 0.8328 GB, free: 3.223 MB / 474.7 MB Notification: Performance of matching and sorting (n=360): time 0.09705/2.813, allocations: 19.04 MB / 0.8514 GB, free: 5.168 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001169/2.814, allocations: 166.7 kB / 0.8515 GB, free: 4.977 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01778/2.831, allocations: 6.409 MB / 0.8578 GB, free: 15.35 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0007988/2.832, allocations: 83.67 kB / 0.8579 GB, free: 15.26 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.007552/2.84, allocations: 6.8 MB / 0.8645 GB, free: 9.195 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.00246/2.842, allocations: 1.353 MB / 0.8658 GB, free: 8 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001586/2.844, allocations: 220.3 kB / 0.8661 GB, free: 7.789 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.001168/2.845, allocations: 0.7517 MB / 0.8668 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009504/2.855, allocations: 2.989 MB / 0.8697 GB, free: 4.469 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01577/2.87, allocations: 9.403 MB / 0.8789 GB, free: 8.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01349/2.884, allocations: 5.228 MB / 0.884 GB, free: 4.082 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002948/2.884, allocations: 68 kB / 0.8841 GB, free: 4.016 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1390) (initialization): time 0.4265/3.311, allocations: 11.54 MB / 0.8953 GB, free: 103 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002367/3.311, allocations: 104.2 kB / 0.8954 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006125/3.312, allocations: 232.2 kB / 0.8957 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006435/3.312, allocations: 343.1 kB / 0.896 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01862/3.331, allocations: 2.614 MB / 0.8985 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000763/3.332, allocations: 457 kB / 0.899 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01413/3.346, allocations: 0.6849 MB / 0.8996 GB, free: 103 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002901/3.349, allocations: 0.6394 MB / 0.9003 GB, free: 103 MB / 0.5105 GB 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.004042/3.353, allocations: 0.942 MB / 0.9012 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001903/3.355, allocations: 0.6625 MB / 0.9018 GB, free: 102.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01251/3.368, allocations: 3.983 MB / 0.9057 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.504e-05/3.368, allocations: 38.12 kB / 0.9058 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.975e-05/3.368, allocations: 1.281 kB / 0.9058 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.547e-05/3.368, allocations: 19.72 kB / 0.9058 GB, free: 102.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.1116/3.479, allocations: 49.83 MB / 0.9544 GB, free: 96.55 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002722/3.48, allocations: 74.75 kB / 0.9545 GB, free: 96.55 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005785/3.486, allocations: 0.7417 MB / 0.9552 GB, free: 96.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001507/3.486, allocations: 108.2 kB / 0.9553 GB, free: 96.53 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008871/3.487, allocations: 164.4 kB / 0.9555 GB, free: 96.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001142/3.487, allocations: 142 kB / 0.9556 GB, free: 96.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.411e-05/3.487, allocations: 113.6 kB / 0.9557 GB, free: 96.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0159/3.503, allocations: 21.37 MB / 0.9766 GB, free: 75.46 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002839/3.506, allocations: 0.7996 MB / 0.9774 GB, free: 74.95 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002562/3.508, allocations: 167.7 kB / 0.9776 GB, free: 74.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007708/3.516, allocations: 272 kB / 0.9778 GB, free: 74.86 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001423/3.518, allocations: 492.1 kB / 0.9783 GB, free: 74.73 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006515/3.518, allocations: 206.4 kB / 0.9785 GB, free: 74.71 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01217/3.53, allocations: 4.459 MB / 0.9828 GB, free: 73.23 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.392e-06/3.53, allocations: 0 / 0.9828 GB, free: 73.23 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01543/3.546, allocations: 1.877 MB / 0.9847 GB, free: 73.01 MB / 0.5105 GB 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.01924/3.565, allocations: 34.37 MB / 1.018 GB, free: 39.05 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01766/3.583, allocations: 6.906 MB / 1.025 GB, free: 32.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.692e-05/3.583, allocations: 15.94 kB / 1.025 GB, free: 32.78 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.005283/3.588, allocations: 1.979 MB / 1.027 GB, free: 31.04 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009837/3.598, allocations: 1.034 MB / 1.028 GB, free: 30.18 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0709/3.669, allocations: 21.17 MB / 1.049 GB, free: 10.63 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02019/3.689, allocations: 7.122 MB / 1.056 GB, free: 5.457 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.018/3.708, allocations: 3.32 MB / 1.059 GB, free: 3.367 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01592/3.723, allocations: 5.031 MB / 1.064 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of SimCode: time 1.603e-06/3.724, allocations: 4 kB / 1.064 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.119/4.843, allocations: 141.8 MB / 1.202 GB, free: 61.23 MB / 0.5262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002732/4.843, allocations: 158.2 kB / 1.202 GB, free: 61 MB / 0.5262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.387/13.23, allocations: 4 kB / 1.202 GB, free: 61 MB / 0.5262 GB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutForceAndTorque1_res.mat does not exist to compare? outputFormat=mat