Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Sensors_CutTorque",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.941 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.202e-05/4.213e-05, allocations: 4 kB / 273.2 MB, free: 156 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1049/0.105, allocations: 48.71 MB / 321.9 MB, free: 15.34 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4304/0.5354, allocations: 92.06 MB / 413.9 MB, free: 13.52 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.5358, allocations: 75.97 kB / 414 MB, free: 13.45 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9938/1.53, allocations: 166.2 MB / 0.5666 GB, free: 84.66 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.765e-06/1.53, allocations: 0 / 0.5666 GB, free: 84.66 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005068/1.53, allocations: 157.4 kB / 0.5668 GB, free: 84.66 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: 2932 * Number of variables: 2932 Notification: Performance of Generate backend data structure: time 0.03172/1.562, allocations: 7.981 MB / 0.5746 GB, free: 79.49 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.852e-05/1.562, allocations: 10.25 kB / 0.5746 GB, free: 79.49 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007323/1.569, allocations: 1.456 MB / 0.576 GB, free: 78.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03196/1.601, allocations: 3.679 MB / 0.5796 GB, free: 76.84 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03228/1.634, allocations: 9.672 MB / 0.589 GB, free: 67.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008323/1.635, allocations: 0.6321 MB / 0.5897 GB, free: 66.82 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004996/1.64, allocations: 0.8239 MB / 0.5905 GB, free: 66.04 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06379/1.703, allocations: 19.37 MB / 0.6094 GB, free: 45.3 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008912/1.704, allocations: 95.11 kB / 0.6095 GB, free: 45.21 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005842/1.71, allocations: 400.9 kB / 0.6099 GB, free: 44.87 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004898/1.715, allocations: 1.869 MB / 0.6117 GB, free: 42.99 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05019/1.766, allocations: 15.04 MB / 0.6264 GB, free: 27.92 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4602/2.226, allocations: 81.53 MB / 0.706 GB, free: 37.37 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02748/2.253, allocations: 5.922 MB / 0.7118 GB, free: 36.7 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006224/2.26, allocations: 2.481 MB / 0.7142 GB, free: 36.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03383/2.293, allocations: 11.32 MB / 0.7252 GB, free: 33.44 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.153e-05/2.294, allocations: 69.66 kB / 0.7253 GB, free: 33.4 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 8.075e-06/2.294, allocations: 0 / 0.7253 GB, free: 33.4 MB / 442.7 MB Notification: Performance of matching and sorting (n=274): time 0.06798/2.362, allocations: 14.99 MB / 0.74 GB, free: 28.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.583e-05/2.362, allocations: 163.9 kB / 0.7401 GB, free: 28.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01584/2.378, allocations: 5.839 MB / 0.7458 GB, free: 27.85 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.00061/2.378, allocations: 66.8 kB / 0.7459 GB, free: 27.82 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005228/2.383, allocations: 5.802 MB / 0.7515 GB, free: 23.71 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001626/2.385, allocations: 1.063 MB / 0.7526 GB, free: 22.95 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001282/2.386, allocations: 180.8 kB / 0.7527 GB, free: 22.81 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009503/2.387, allocations: 0.6889 MB / 0.7534 GB, free: 22.34 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006985/2.394, allocations: 2.482 MB / 0.7558 GB, free: 21.53 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01102/2.406, allocations: 8.243 MB / 0.7639 GB, free: 12.95 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01566/2.421, allocations: 4.468 MB / 0.7683 GB, free: 11.6 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003077/2.422, allocations: 59 kB / 0.7683 GB, free: 11.6 MB / 442.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.04152/2.463, allocations: 10.43 MB / 0.7785 GB, free: 8.164 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002212/2.463, allocations: 92.94 kB / 0.7786 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004435/2.464, allocations: 206.8 kB / 0.7788 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005209/2.464, allocations: 299.2 kB / 0.7791 GB, free: 8.164 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01926/2.484, allocations: 2.249 MB / 0.7813 GB, free: 7.887 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004851/2.484, allocations: 409.3 kB / 0.7817 GB, free: 7.797 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01195/2.496, allocations: 0.6109 MB / 0.7823 GB, free: 7.629 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002115/2.498, allocations: 0.5571 MB / 0.7828 GB, free: 7.559 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 940 * Number of states: 0 () * Number of discrete variables: 57 (rotate2b.color[3],rotate2b.color[2],rotate2b.color[1],body2b.sphereColor[3],body2b.sphereColor[2],body2b.sphereColor[1],translate2b.color[3],translate2b.color[2],translate2b.color[1],cutTorque2b.torqueColor[3],cutTorque2b.torqueColor[2],cutTorque2b.torqueColor[1],rotate1b.color[3],rotate1b.color[2],rotate1b.color[1],body1b.sphereColor[3],body1b.sphereColor[2],body1b.sphereColor[1],translate1b.color[3],translate1b.color[2],translate1b.color[1],cutTorque1b.torqueColor[3],cutTorque1b.torqueColor[2],cutTorque1b.torqueColor[1],rotate2a.color[3],rotate2a.color[2],rotate2a.color[1],rotate1a.color[3],rotate1a.color[2],rotate1a.color[1],body2a.sphereColor[3],body2a.sphereColor[2],body2a.sphereColor[1],translate2a.color[3],translate2a.color[2],translate2a.color[1],cutTorque2a.torqueColor[3],cutTorque2a.torqueColor[2],cutTorque2a.torqueColor[1],body1a.sphereColor[3],body1a.sphereColor[2],body1a.sphereColor[1],translate1a.color[3],translate1a.color[2],translate1a.color[1],cutTorque1a.torqueColor[3],cutTorque1a.torqueColor[2],cutTorque1a.torqueColor[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 (1168): * Single equations (assignments): 1165 * 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.003124/2.502, allocations: 0.8268 MB / 0.7836 GB, free: 6.879 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001576/2.503, allocations: 0.5883 MB / 0.7842 GB, free: 6.555 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008489/2.512, allocations: 2.929 MB / 0.787 GB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.231e-05/2.512, allocations: 32.25 kB / 0.7871 GB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.598e-05/2.512, allocations: 6.906 kB / 0.7871 GB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.649e-05/2.512, allocations: 11.44 kB / 0.7871 GB, free: 5.418 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06501/2.577, allocations: 24.78 MB / 0.8113 GB, free: 0.8672 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0002783/2.577, allocations: 67.94 kB / 0.8114 GB, free: 0.8008 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004645/2.582, allocations: 0.5939 MB / 0.8119 GB, free: 284 kB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001536/2.582, allocations: 88 kB / 0.812 GB, free: 196 kB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007388/2.583, allocations: 132 kB / 0.8121 GB, free: 68 kB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004734/2.583, allocations: 138.3 kB / 0.8123 GB, free: 0 / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001326/2.583, allocations: 101.1 kB / 0.8124 GB, free: 15.9 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3879/2.971, allocations: 16.85 MB / 0.8288 GB, free: 109 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002696/2.974, allocations: 0.7153 MB / 0.8295 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002484/2.977, allocations: 146 kB / 0.8297 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006318/2.983, allocations: 211.6 kB / 0.8299 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00116/2.984, allocations: 410.7 kB / 0.8303 GB, free: 108.9 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005662/2.985, allocations: 176.5 kB / 0.8304 GB, free: 108.9 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01287/2.998, allocations: 4.086 MB / 0.8344 GB, free: 108.7 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.002e-06/2.998, allocations: 1.188 kB / 0.8344 GB, free: 108.7 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01277/3.01, allocations: 1.543 MB / 0.8359 GB, free: 108.7 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 280 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (318): * Single equations (assignments): 315 * 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.01705/3.028, allocations: 28.86 MB / 0.8641 GB, free: 81.93 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01494/3.043, allocations: 6.019 MB / 0.87 GB, free: 81.84 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 5.235e-05/3.043, allocations: 11.22 kB / 0.87 GB, free: 81.84 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003684/3.046, allocations: 1.582 MB / 0.8715 GB, free: 81.64 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008533/3.055, allocations: 0.9073 MB / 0.8724 GB, free: 81.61 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0559/3.111, allocations: 17.47 MB / 0.8895 GB, free: 76.39 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01507/3.126, allocations: 5.955 MB / 0.8953 GB, free: 75.49 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0146/3.141, allocations: 2.894 MB / 0.8981 GB, free: 75.43 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008675/3.149, allocations: 3.854 MB / 0.9019 GB, free: 73.18 MB / 474.7 MB Notification: Performance of SimCode: time 1.112e-06/3.149, allocations: 3.844 kB / 0.9019 GB, free: 73.18 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6166/3.766, allocations: 122.6 MB / 1.022 GB, free: 92.18 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002351/3.766, allocations: 145.8 kB / 1.022 GB, free: 91.96 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.28/11.05, allocations: 3.938 kB / 1.022 GB, free: 91.95 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Sensors.CutTorque_res.mat does not exist to compare? outputFormat=mat