Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Sensors.CutTorque2,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Sensors_CutTorque2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.372/2.372, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.005e-05/4.045e-05, allocations: 4.938 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4032/0.4033, allocations: 54.85 MB / 359.9 MB, free: 3.18 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2061/0.6094, allocations: 95.95 MB / 455.8 MB, free: 0.957 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000302/0.6098, allocations: 75.97 kB / 455.9 MB, free: 0.8828 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2405/0.8503, allocations: 56.88 MB / 0.5008 GB, free: 7.645 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.695e-06/0.8504, allocations: 0 / 0.5008 GB, free: 7.645 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001642/0.8506, allocations: 52 kB / 0.5008 GB, free: 7.594 MB / 442.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.01094/0.8615, allocations: 2.665 MB / 0.5034 GB, free: 4.871 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.94e-05/0.8616, allocations: 8.031 kB / 0.5034 GB, free: 4.863 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002656/0.8643, allocations: 0.5643 MB / 0.504 GB, free: 4.289 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0146/0.8789, allocations: 1.837 MB / 0.5058 GB, free: 2.445 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006298/0.8853, allocations: 1.743 MB / 0.5075 GB, free: 0.6523 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003322/0.8857, allocations: 225.9 kB / 0.5077 GB, free: 440 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001721/0.8874, allocations: 295.9 kB / 0.508 GB, free: 144 kB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02272/0.9102, allocations: 6.716 MB / 0.5145 GB, free: 9.035 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001196/0.9103, allocations: 19.81 kB / 0.5145 GB, free: 9.016 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001219/0.9116, allocations: 139.9 kB / 0.5147 GB, free: 8.879 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001784/0.9134, allocations: 0.6962 MB / 0.5154 GB, free: 8.176 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0188/0.9322, allocations: 5.763 MB / 0.521 GB, free: 2.406 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3756/1.308, allocations: 23.82 MB / 0.5443 GB, free: 103.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00777/1.316, allocations: 2.161 MB / 0.5464 GB, free: 102.5 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002236/1.318, allocations: 0.794 MB / 0.5471 GB, free: 102.5 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01323/1.331, allocations: 4.01 MB / 0.5511 GB, free: 101.4 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/1.331, allocations: 46.73 kB / 0.5511 GB, free: 101.3 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 5.65e-06/1.331, allocations: 0 / 0.5511 GB, free: 101.3 MB / 458.7 MB Notification: Performance of matching and sorting (n=96): time 0.009354/1.341, allocations: 1.758 MB / 0.5528 GB, free: 101.2 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.409e-05/1.341, allocations: 59.81 kB / 0.5529 GB, free: 101.1 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004535/1.345, allocations: 1.779 MB / 0.5546 GB, free: 100.9 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002216/1.346, allocations: 36.69 kB / 0.5546 GB, free: 100.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001823/1.348, allocations: 2.002 MB / 0.5566 GB, free: 99.87 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006016/1.348, allocations: 378.1 kB / 0.557 GB, free: 99.61 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002842/1.348, allocations: 60.69 kB / 0.557 GB, free: 99.56 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0004285/1.349, allocations: 0.4997 MB / 0.5575 GB, free: 99.17 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002212/1.351, allocations: 0.9224 MB / 0.5584 GB, free: 98.88 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00339/1.355, allocations: 2.859 MB / 0.5612 GB, free: 95.96 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003689/1.358, allocations: 1.666 MB / 0.5628 GB, free: 95.52 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.502e-05/1.358, allocations: 19.12 kB / 0.5628 GB, free: 95.52 MB / 458.7 MB Notification: Performance of matching and sorting (n=419) (initialization): time 0.009978/1.368, allocations: 3.517 MB / 0.5663 GB, free: 94.44 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001075/1.369, allocations: 35.38 kB / 0.5663 GB, free: 94.44 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001069/1.369, allocations: 70.91 kB / 0.5664 GB, free: 94.44 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001362/1.369, allocations: 105.3 kB / 0.5665 GB, free: 94.43 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004541/1.373, allocations: 0.7185 MB / 0.5672 GB, free: 94.35 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001535/1.374, allocations: 140.2 kB / 0.5673 GB, free: 94.31 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003732/1.377, allocations: 441.6 kB / 0.5677 GB, free: 94.04 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007025/1.378, allocations: 195.2 kB / 0.5679 GB, free: 94.02 MB / 458.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.0006316/1.379, allocations: 352 kB / 0.5683 GB, free: 93.72 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004123/1.379, allocations: 172.2 kB / 0.5684 GB, free: 93.62 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002761/1.382, allocations: 1.217 MB / 0.5696 GB, free: 93.19 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.875e-05/1.382, allocations: 16.45 kB / 0.5696 GB, free: 93.18 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.646e-06/1.382, allocations: 0 / 0.5696 GB, free: 93.18 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.24e-05/1.382, allocations: 3.75 kB / 0.5696 GB, free: 93.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01319/1.395, allocations: 4.99 MB / 0.5745 GB, free: 91.13 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.701e-05/1.395, allocations: 10.31 kB / 0.5745 GB, free: 91.13 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00122/1.397, allocations: 151.3 kB / 0.5747 GB, free: 91.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.453e-05/1.397, allocations: 14.22 kB / 0.5747 GB, free: 91.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001045/1.397, allocations: 28.53 kB / 0.5747 GB, free: 91.1 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.995e-05/1.397, allocations: 21.14 kB / 0.5747 GB, free: 91.09 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.23e-05/1.397, allocations: 14.19 kB / 0.5747 GB, free: 91.09 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002856/1.4, allocations: 2.293 MB / 0.577 GB, free: 89.09 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006392/1.4, allocations: 275.5 kB / 0.5772 GB, free: 88.88 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003776/1.401, allocations: 32.19 kB / 0.5773 GB, free: 88.87 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00112/1.402, allocations: 35.27 kB / 0.5773 GB, free: 88.86 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.402, allocations: 85.53 kB / 0.5774 GB, free: 88.82 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001029/1.402, allocations: 36.88 kB / 0.5774 GB, free: 88.82 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.002801/1.405, allocations: 1.294 MB / 0.5787 GB, free: 88.31 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.202e-06/1.405, allocations: 7.281 kB / 0.5787 GB, free: 88.31 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.00426/1.409, allocations: 0.7707 MB / 0.5794 GB, free: 88.07 MB / 458.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.003898/1.413, allocations: 5.545 MB / 0.5849 GB, free: 83.07 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.004828/1.418, allocations: 2.096 MB / 0.5869 GB, free: 82.41 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.459e-05/1.418, allocations: 0 / 0.5869 GB, free: 82.41 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001141/1.419, allocations: 0.5417 MB / 0.5874 GB, free: 82.24 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002187/1.422, allocations: 238.9 kB / 0.5877 GB, free: 82.14 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01794/1.44, allocations: 5.562 MB / 0.5931 GB, free: 79.9 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004785/1.444, allocations: 2.517 MB / 0.5955 GB, free: 78.8 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004603/1.449, allocations: 1.035 MB / 0.5966 GB, free: 78.71 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002548/1.452, allocations: 1.157 MB / 0.5977 GB, free: 77.76 MB / 458.7 MB Notification: Performance of SimCode: time 1.253e-06/1.452, allocations: 0 / 0.5977 GB, free: 77.76 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1003/1.552, allocations: 39.64 MB / 0.6364 GB, free: 45.58 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002831/1.552, allocations: 141.8 kB / 0.6365 GB, free: 45.36 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.63/5.182, allocations: 0 / 0.6365 GB, free: 45.36 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Sensors.CutTorque2_res.mat does not exist to compare? outputFormat=mat