Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.908/1.908, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.169e-05/3.205e-05, allocations: 0 / 273.2 MB, free: 0.6367 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.111/0.1111, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4719/0.583, allocations: 89.34 MB / 411.2 MB, free: 456 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002858/0.5834, allocations: 78.58 kB / 411.3 MB, free: 380 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2638/0.8472, allocations: 56.88 MB / 468.2 MB, free: 7.102 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.856e-06/0.8472, allocations: 0 / 468.2 MB, free: 7.102 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001561/0.8474, allocations: 56 kB / 468.2 MB, free: 7.047 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.01009/0.8575, allocations: 2.665 MB / 470.9 MB, free: 4.324 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.8576, allocations: 8.031 kB / 470.9 MB, free: 4.316 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002792/0.8604, allocations: 0.5605 MB / 471.4 MB, free: 3.746 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01464/0.8751, allocations: 1.844 MB / 473.3 MB, free: 1.895 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006241/0.8814, allocations: 1.739 MB / 475 MB, free: 112 kB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003742/0.8818, allocations: 225.9 kB / 475.2 MB, free: 15.89 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001716/0.8835, allocations: 291.9 kB / 475.5 MB, free: 15.6 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02157/0.9051, allocations: 6.712 MB / 482.2 MB, free: 8.512 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001153/0.9053, allocations: 11.88 kB / 482.3 MB, free: 8.5 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001198/0.9065, allocations: 131.9 kB / 482.4 MB, free: 8.371 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00169/0.9082, allocations: 0.7078 MB / 483.1 MB, free: 7.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01863/0.9269, allocations: 5.775 MB / 488.9 MB, free: 1.875 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3369/1.264, allocations: 23.81 MB / 0.5007 GB, free: 100.2 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007388/1.271, allocations: 2.157 MB / 0.5028 GB, free: 99.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002046/1.273, allocations: 0.7933 MB / 0.5035 GB, free: 99.57 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01299/1.286, allocations: 4.006 MB / 0.5075 GB, free: 98.51 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.408e-05/1.287, allocations: 43.61 kB / 0.5075 GB, free: 98.47 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 4.969e-06/1.287, allocations: 0 / 0.5075 GB, free: 98.47 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.00939/1.296, allocations: 1.755 MB / 0.5092 GB, free: 98.33 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.383e-05/1.296, allocations: 60.03 kB / 0.5093 GB, free: 98.27 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004613/1.301, allocations: 1.777 MB / 0.511 GB, free: 98.05 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001802/1.301, allocations: 40.53 kB / 0.511 GB, free: 98.02 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001781/1.303, allocations: 2.01 MB / 0.513 GB, free: 97.02 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006027/1.303, allocations: 377 kB / 0.5134 GB, free: 96.84 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003256/1.304, allocations: 61.09 kB / 0.5134 GB, free: 96.84 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002863/1.304, allocations: 455.8 kB / 0.5139 GB, free: 96.52 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002586/1.307, allocations: 0.9279 MB / 0.5148 GB, free: 96.51 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003779/1.31, allocations: 2.857 MB / 0.5176 GB, free: 93.99 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003925/1.314, allocations: 1.663 MB / 0.5192 GB, free: 93.97 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001166/1.315, allocations: 20.56 kB / 0.5192 GB, free: 93.97 MB / 426.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.01202/1.327, allocations: 3.466 MB / 0.5226 GB, free: 93.85 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001014/1.327, allocations: 39.02 kB / 0.5226 GB, free: 93.84 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001493/1.327, allocations: 72.38 kB / 0.5227 GB, free: 93.84 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001928/1.327, allocations: 105.5 kB / 0.5228 GB, free: 93.84 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006214/1.333, allocations: 0.7238 MB / 0.5235 GB, free: 93.82 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002042/1.334, allocations: 131.1 kB / 0.5236 GB, free: 93.79 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005521/1.339, allocations: 455.6 kB / 0.5241 GB, free: 93.56 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007895/1.34, allocations: 194.7 kB / 0.5242 GB, free: 93.56 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.0008446/1.341, allocations: 350.3 kB / 0.5246 GB, free: 93.35 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005179/1.341, allocations: 168.8 kB / 0.5247 GB, free: 93.25 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003861/1.345, allocations: 1.221 MB / 0.5259 GB, free: 93.17 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.598e-05/1.345, allocations: 12.92 kB / 0.5259 GB, free: 93.17 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.031e-05/1.345, allocations: 0 / 0.5259 GB, free: 93.17 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.763e-05/1.345, allocations: 4.438 kB / 0.5259 GB, free: 93.17 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01775/1.363, allocations: 4.995 MB / 0.5308 GB, free: 92.38 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.495e-05/1.363, allocations: 10.66 kB / 0.5308 GB, free: 92.38 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00155/1.365, allocations: 136.2 kB / 0.531 GB, free: 92.37 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.522e-05/1.365, allocations: 14.56 kB / 0.531 GB, free: 92.37 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001445/1.365, allocations: 39.81 kB / 0.531 GB, free: 92.36 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.567e-05/1.365, allocations: 18.22 kB / 0.531 GB, free: 92.36 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.873e-05/1.365, allocations: 15.73 kB / 0.531 GB, free: 92.35 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00414/1.369, allocations: 2.293 MB / 0.5333 GB, free: 90.39 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008392/1.37, allocations: 285.1 kB / 0.5336 GB, free: 90.16 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005173/1.371, allocations: 29.48 kB / 0.5336 GB, free: 90.15 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001745/1.373, allocations: 36.44 kB / 0.5336 GB, free: 90.14 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000256/1.373, allocations: 84.12 kB / 0.5337 GB, free: 90.12 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000142/1.373, allocations: 40.69 kB / 0.5337 GB, free: 90.11 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003885/1.377, allocations: 1.291 MB / 0.535 GB, free: 89.61 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.032e-06/1.377, allocations: 0 / 0.535 GB, free: 89.61 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00622/1.383, allocations: 0.7702 MB / 0.5358 GB, free: 89.37 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.005137/1.388, allocations: 5.547 MB / 0.5412 GB, free: 84.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006446/1.395, allocations: 2.098 MB / 0.5432 GB, free: 83.75 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-05/1.395, allocations: 0 / 0.5432 GB, free: 83.75 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001595/1.397, allocations: 0.536 MB / 0.5437 GB, free: 83.59 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002237/1.399, allocations: 244.8 kB / 0.544 GB, free: 83.49 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/1.417, allocations: 5.904 MB / 0.5497 GB, free: 81.05 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004615/1.421, allocations: 2.509 MB / 0.5522 GB, free: 79.95 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002616/1.424, allocations: 1.185 MB / 0.5533 GB, free: 79 MB / 426.7 MB Notification: Performance of SimCode: time 1.132e-06/1.424, allocations: 0 / 0.5533 GB, free: 79 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.266/4.69, allocations: 48.41 MB / 0.6006 GB, free: 46.32 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat