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 1.945/1.945, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.012e-05/4.024e-05, allocations: 4 kB / 273.2 MB, free: 160 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1084/0.1085, allocations: 48.71 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4659/0.5744, allocations: 89.32 MB / 411.2 MB, free: 264 kB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.5748, allocations: 84.06 kB / 411.3 MB, free: 184 kB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2371/0.8119, allocations: 56.88 MB / 468.2 MB, free: 6.906 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.812, allocations: 0 / 468.2 MB, free: 6.906 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0001395/0.8121, allocations: 52 kB / 468.2 MB, free: 6.855 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.009579/0.8217, allocations: 2.661 MB / 470.9 MB, free: 4.137 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.01e-05/0.8218, allocations: 12.03 kB / 470.9 MB, free: 4.125 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002198/0.824, allocations: 0.5605 MB / 471.4 MB, free: 3.555 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01401/0.838, allocations: 1.844 MB / 473.3 MB, free: 1.703 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006227/0.8443, allocations: 1.743 MB / 475 MB, free: 15.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002773/0.8446, allocations: 225.9 kB / 475.2 MB, free: 15.69 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001301/0.846, allocations: 287.9 kB / 475.5 MB, free: 15.41 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02064/0.8666, allocations: 6.744 MB / 482.3 MB, free: 8.285 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001053/0.8668, allocations: 19.81 kB / 482.3 MB, free: 8.266 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008509/0.8676, allocations: 135.9 kB / 482.4 MB, free: 8.133 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001579/0.8692, allocations: 0.7001 MB / 483.1 MB, free: 7.43 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01845/0.8877, allocations: 5.857 MB / 489 MB, free: 1.559 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3539/1.242, allocations: 23.81 MB / 0.5008 GB, free: 100.4 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007484/1.249, allocations: 2.176 MB / 0.5029 GB, free: 99.77 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001982/1.251, allocations: 0.7959 MB / 0.5037 GB, free: 99.76 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01253/1.264, allocations: 4.001 MB / 0.5076 GB, free: 98.7 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/1.264, allocations: 38.55 kB / 0.5076 GB, free: 98.66 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 5.661e-06/1.264, allocations: 3.5 kB / 0.5076 GB, free: 98.66 MB / 426.7 MB Notification: Performance of matching and sorting (n=96): time 0.009011/1.273, allocations: 1.755 MB / 0.5093 GB, free: 98.52 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/1.273, allocations: 59 kB / 0.5094 GB, free: 98.45 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004456/1.277, allocations: 1.782 MB / 0.5111 GB, free: 98.24 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001878/1.278, allocations: 34.78 kB / 0.5112 GB, free: 98.21 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001966/1.28, allocations: 2.001 MB / 0.5131 GB, free: 97.28 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006293/1.28, allocations: 379.1 kB / 0.5135 GB, free: 97.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000288/1.281, allocations: 60.91 kB / 0.5135 GB, free: 97.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004234/1.281, allocations: 0.4987 MB / 0.514 GB, free: 96.77 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002366/1.283, allocations: 0.9274 MB / 0.5149 GB, free: 96.76 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003713/1.287, allocations: 2.879 MB / 0.5177 GB, free: 94.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003985/1.291, allocations: 1.658 MB / 0.5194 GB, free: 94.21 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.317e-05/1.291, allocations: 20.25 kB / 0.5194 GB, free: 94.21 MB / 426.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.009809/1.301, allocations: 3.711 MB / 0.523 GB, free: 94.01 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 6.482e-05/1.301, allocations: 34.06 kB / 0.523 GB, free: 94.01 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.351e-05/1.301, allocations: 74.25 kB / 0.5231 GB, free: 94.01 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001257/1.302, allocations: 103.2 kB / 0.5232 GB, free: 94.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00415/1.306, allocations: 0.7183 MB / 0.5239 GB, free: 93.95 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001112/1.306, allocations: 138.8 kB / 0.524 GB, free: 93.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00341/1.309, allocations: 453 kB / 0.5245 GB, free: 93.68 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005413/1.31, allocations: 197.9 kB / 0.5247 GB, free: 93.68 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.00066/1.311, allocations: 356.8 kB / 0.525 GB, free: 93.46 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/1.311, allocations: 168.2 kB / 0.5252 GB, free: 93.37 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002596/1.313, allocations: 1.214 MB / 0.5263 GB, free: 93.3 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-05/1.314, allocations: 12.84 kB / 0.5264 GB, free: 93.3 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/1.314, allocations: 0.625 kB / 0.5264 GB, free: 93.3 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.129e-05/1.314, allocations: 3.891 kB / 0.5264 GB, free: 93.3 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0123/1.326, allocations: 5.025 MB / 0.5313 GB, free: 92.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.561e-05/1.326, allocations: 10.69 kB / 0.5313 GB, free: 92.32 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001106/1.327, allocations: 142.4 kB / 0.5314 GB, free: 92.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.207e-05/1.327, allocations: 13.09 kB / 0.5314 GB, free: 92.3 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.298e-05/1.327, allocations: 29.97 kB / 0.5315 GB, free: 92.3 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.932e-05/1.327, allocations: 22.52 kB / 0.5315 GB, free: 92.29 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.403e-05/1.327, allocations: 14.81 kB / 0.5315 GB, free: 92.29 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002897/1.33, allocations: 2.297 MB / 0.5337 GB, free: 90.32 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005748/1.331, allocations: 282.6 kB / 0.534 GB, free: 90.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002907/1.331, allocations: 28.28 kB / 0.534 GB, free: 90.09 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00108/1.332, allocations: 40.97 kB / 0.5341 GB, free: 90.08 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/1.332, allocations: 83.89 kB / 0.5342 GB, free: 90.05 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.674e-05/1.332, allocations: 36.06 kB / 0.5342 GB, free: 90.05 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.002531/1.335, allocations: 1.296 MB / 0.5355 GB, free: 89.54 MB / 426.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.335, allocations: 0 / 0.5355 GB, free: 89.54 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.003672/1.339, allocations: 0.7693 MB / 0.5362 GB, free: 89.3 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.003628/1.342, allocations: 5.556 MB / 0.5416 GB, free: 84.34 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.004779/1.347, allocations: 2.188 MB / 0.5438 GB, free: 83.63 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.377e-05/1.347, allocations: 7.312 kB / 0.5438 GB, free: 83.63 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001076/1.348, allocations: 0.5512 MB / 0.5443 GB, free: 83.45 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001603/1.35, allocations: 231.9 kB / 0.5445 GB, free: 83.36 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01496/1.365, allocations: 5.566 MB / 0.55 GB, free: 81.12 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003676/1.369, allocations: 2.513 MB / 0.5524 GB, free: 80.02 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004303/1.373, allocations: 1.035 MB / 0.5534 GB, free: 79.93 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002107/1.375, allocations: 1.163 MB / 0.5546 GB, free: 78.97 MB / 426.7 MB Notification: Performance of SimCode: time 1.593e-06/1.375, allocations: 0 / 0.5546 GB, free: 78.97 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09896/1.474, allocations: 39.91 MB / 0.5935 GB, free: 53.76 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002531/1.475, allocations: 147.1 kB / 0.5937 GB, free: 53.54 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.492/4.966, allocations: 0 / 0.5937 GB, free: 53.54 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