Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.051/2.051, allocations: 209.3 MB / 221.5 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.397e-05/3.407e-05, allocations: 4 kB / 273.2 MB, free: 148 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1076/0.1077, allocations: 48.69 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4389/0.5467, allocations: 89.35 MB / 411.2 MB, free: 244 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.547, allocations: 79.08 kB / 411.3 MB, free: 168 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.255/0.8021, allocations: 56.88 MB / 468.2 MB, free: 6.902 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.365e-06/0.8021, allocations: 0 / 468.2 MB, free: 6.902 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001587/0.8023, allocations: 59.98 kB / 468.2 MB, free: 6.844 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: 1092 * Number of variables: 1092 Notification: Performance of Generate backend data structure: time 0.00998/0.8123, allocations: 2.665 MB / 470.9 MB, free: 4.121 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.881e-05/0.8124, allocations: 8.031 kB / 470.9 MB, free: 4.113 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002504/0.8149, allocations: 0.5605 MB / 471.5 MB, free: 3.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01438/0.8293, allocations: 1.833 MB / 473.3 MB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006552/0.836, allocations: 1.743 MB / 475 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003634/0.8364, allocations: 225.8 kB / 475.3 MB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001856/0.8383, allocations: 295.9 kB / 475.6 MB, free: 15.4 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02193/0.8602, allocations: 6.712 MB / 482.3 MB, free: 8.312 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001198/0.8604, allocations: 19.81 kB / 482.3 MB, free: 8.293 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009956/0.8614, allocations: 131.9 kB / 482.4 MB, free: 8.164 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001641/0.8631, allocations: 0.7001 MB / 483.1 MB, free: 7.461 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01906/0.8821, allocations: 5.771 MB / 488.9 MB, free: 1.68 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3499/1.232, allocations: 23.82 MB / 0.5007 GB, free: 100.5 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007606/1.24, allocations: 2.158 MB / 0.5028 GB, free: 99.88 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002111/1.242, allocations: 0.793 MB / 0.5036 GB, free: 99.86 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01354/1.256, allocations: 4.004 MB / 0.5075 GB, free: 98.8 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.983e-05/1.256, allocations: 43.73 kB / 0.5075 GB, free: 98.77 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 5.571e-06/1.256, allocations: 0 / 0.5075 GB, free: 98.77 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.009555/1.265, allocations: 1.753 MB / 0.5092 GB, free: 98.62 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.706e-05/1.265, allocations: 61.58 kB / 0.5093 GB, free: 98.56 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004632/1.27, allocations: 1.78 MB / 0.511 GB, free: 98.34 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002027/1.27, allocations: 38.95 kB / 0.5111 GB, free: 98.31 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002037/1.272, allocations: 1.996 MB / 0.513 GB, free: 97.38 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006381/1.273, allocations: 377.8 kB / 0.5134 GB, free: 97.2 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002898/1.273, allocations: 61.7 kB / 0.5134 GB, free: 97.2 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004461/1.274, allocations: 0.4975 MB / 0.5139 GB, free: 96.88 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002427/1.276, allocations: 0.9252 MB / 0.5148 GB, free: 96.87 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003905/1.28, allocations: 2.859 MB / 0.5176 GB, free: 94.35 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004124/1.284, allocations: 1.66 MB / 0.5192 GB, free: 94.33 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001126/1.285, allocations: 20.81 kB / 0.5193 GB, free: 94.33 MB / 426.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.01086/1.295, allocations: 3.527 MB / 0.5227 GB, free: 94.18 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.439e-05/1.295, allocations: 36.59 kB / 0.5227 GB, free: 94.18 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.501e-05/1.296, allocations: 70.69 kB / 0.5228 GB, free: 94.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001362/1.296, allocations: 101.7 kB / 0.5229 GB, free: 94.18 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004333/1.3, allocations: 0.7204 MB / 0.5236 GB, free: 94.14 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001268/1.3, allocations: 136.3 kB / 0.5237 GB, free: 94.11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003638/1.304, allocations: 447.5 kB / 0.5242 GB, free: 93.89 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005563/1.305, allocations: 198.7 kB / 0.5244 GB, free: 93.89 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 317 * Number of states: 0 () * Number of discrete variables: 21 (worldTorque.color[3],worldTorque.color[2],worldTorque.color[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],cutTorque.torqueColor[3],cutTorque.torqueColor[2],cutTorque.torqueColor[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 (395): * Single equations (assignments): 392 * 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.000618/1.305, allocations: 349.8 kB / 0.5247 GB, free: 93.67 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003162/1.305, allocations: 177.1 kB / 0.5249 GB, free: 93.57 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002634/1.308, allocations: 1.212 MB / 0.526 GB, free: 93.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.957e-05/1.308, allocations: 15 kB / 0.5261 GB, free: 93.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.695e-06/1.308, allocations: 3.281 kB / 0.5261 GB, free: 93.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/1.308, allocations: 3.516 kB / 0.5261 GB, free: 93.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01226/1.321, allocations: 4.989 MB / 0.5309 GB, free: 92.43 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.688e-05/1.321, allocations: 7.875 kB / 0.5309 GB, free: 92.43 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00108/1.322, allocations: 141.5 kB / 0.5311 GB, free: 92.41 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.396e-05/1.322, allocations: 15.66 kB / 0.5311 GB, free: 92.41 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.751e-05/1.322, allocations: 33.17 kB / 0.5311 GB, free: 92.4 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.072e-05/1.322, allocations: 18.28 kB / 0.5311 GB, free: 92.4 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.596e-05/1.322, allocations: 15.69 kB / 0.5312 GB, free: 92.39 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003014/1.325, allocations: 2.305 MB / 0.5334 GB, free: 90.42 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006847/1.326, allocations: 280.1 kB / 0.5337 GB, free: 90.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003307/1.326, allocations: 30.7 kB / 0.5337 GB, free: 90.19 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001139/1.327, allocations: 36.69 kB / 0.5337 GB, free: 90.18 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001703/1.327, allocations: 76.66 kB / 0.5338 GB, free: 90.16 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001039/1.327, allocations: 47.75 kB / 0.5339 GB, free: 90.15 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002966/1.33, allocations: 1.295 MB / 0.5351 GB, free: 89.64 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.01e-07/1.33, allocations: 0 / 0.5351 GB, free: 89.64 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004284/1.335, allocations: 0.7695 MB / 0.5359 GB, free: 89.41 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 43 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 73 * 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.003825/1.339, allocations: 5.55 MB / 0.5413 GB, free: 84.43 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004877/1.344, allocations: 2.094 MB / 0.5433 GB, free: 83.78 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.44e-05/1.344, allocations: 0 / 0.5433 GB, free: 83.78 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001127/1.345, allocations: 0.5373 MB / 0.5439 GB, free: 83.62 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001792/1.347, allocations: 245.3 kB / 0.5441 GB, free: 83.53 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01751/1.364, allocations: 5.551 MB / 0.5495 GB, free: 81.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004612/1.369, allocations: 2.508 MB / 0.552 GB, free: 80.19 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004525/1.373, allocations: 1.036 MB / 0.553 GB, free: 80.1 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002473/1.376, allocations: 1.16 MB / 0.5541 GB, free: 79.15 MB / 426.7 MB Notification: Performance of SimCode: time 1.322e-06/1.376, allocations: 4 kB / 0.5541 GB, free: 79.15 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1443/1.52, allocations: 39.62 MB / 0.5928 GB, free: 54.53 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002625/1.521, allocations: 155.5 kB / 0.593 GB, free: 54.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.696/5.216, allocations: 0 / 0.593 GB, free: 54.3 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat