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.085/2.085, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.69e-05/4.7e-05, allocations: 7.984 kB / 273.2 MB, free: 140 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1075, allocations: 48.69 MB / 321.9 MB, free: 15.35 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4464/0.5539, allocations: 92.08 MB / 414 MB, free: 13.5 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002906/0.5542, allocations: 79.89 kB / 414 MB, free: 13.42 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.002/1.556, allocations: 166.2 MB / 0.5667 GB, free: 84.77 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.003e-06/1.556, allocations: 0 / 0.5667 GB, free: 84.77 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0005153/1.557, allocations: 163.9 kB / 0.5668 GB, free: 84.77 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.03361/1.59, allocations: 7.979 MB / 0.5746 GB, free: 79.6 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.329e-05/1.59, allocations: 10.31 kB / 0.5746 GB, free: 79.6 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007685/1.598, allocations: 1.459 MB / 0.576 GB, free: 78.64 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03256/1.631, allocations: 3.678 MB / 0.5796 GB, free: 76.94 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0338/1.664, allocations: 9.67 MB / 0.5891 GB, free: 67.32 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009531/1.665, allocations: 0.6275 MB / 0.5897 GB, free: 66.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00519/1.671, allocations: 0.8298 MB / 0.5905 GB, free: 65.97 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07032/1.741, allocations: 19.28 MB / 0.6093 GB, free: 45.32 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000669/1.742, allocations: 91.11 kB / 0.6094 GB, free: 45.23 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.005575/1.747, allocations: 400.8 kB / 0.6098 GB, free: 44.89 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006889/1.754, allocations: 1.868 MB / 0.6116 GB, free: 43.02 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06562/1.82, allocations: 14.74 MB / 0.626 GB, free: 28.27 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4886/2.309, allocations: 81.52 MB / 0.7056 GB, free: 38.36 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02776/2.337, allocations: 5.894 MB / 0.7114 GB, free: 37.69 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006114/2.343, allocations: 2.483 MB / 0.7138 GB, free: 37.66 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03539/2.378, allocations: 11.33 MB / 0.7249 GB, free: 34.45 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.382e-05/2.378, allocations: 63.14 kB / 0.7249 GB, free: 34.41 MB / 442.7 MB Notification: Performance of pre-optimization done (n=250): time 6.692e-06/2.378, allocations: 0 / 0.7249 GB, free: 34.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=274): time 0.07186/2.45, allocations: 14.98 MB / 0.7396 GB, free: 29.66 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.297e-05/2.45, allocations: 165.1 kB / 0.7397 GB, free: 29.5 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0159/2.466, allocations: 5.844 MB / 0.7454 GB, free: 28.7 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006652/2.467, allocations: 65.36 kB / 0.7455 GB, free: 28.64 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005488/2.472, allocations: 5.795 MB / 0.7511 GB, free: 24.21 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001604/2.474, allocations: 1.059 MB / 0.7522 GB, free: 23.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001203/2.475, allocations: 185.6 kB / 0.7524 GB, free: 23.3 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008074/2.476, allocations: 0.6895 MB / 0.753 GB, free: 22.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006833/2.483, allocations: 2.484 MB / 0.7555 GB, free: 22.02 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01086/2.494, allocations: 8.185 MB / 0.7634 GB, free: 13.46 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01079/2.505, allocations: 4.47 MB / 0.7678 GB, free: 12.12 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002674/2.505, allocations: 58.94 kB / 0.7679 GB, free: 12.12 MB / 442.7 MB Notification: Performance of matching and sorting (n=1192) (initialization): time 0.02888/2.534, allocations: 9.867 MB / 0.7775 GB, free: 9.035 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001625/2.534, allocations: 92.34 kB / 0.7776 GB, free: 9.035 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003535/2.535, allocations: 204.8 kB / 0.7778 GB, free: 9.035 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003842/2.535, allocations: 302.8 kB / 0.7781 GB, free: 9.035 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0149/2.55, allocations: 2.247 MB / 0.7803 GB, free: 8.762 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004766/2.55, allocations: 407.2 kB / 0.7807 GB, free: 8.672 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01252/2.563, allocations: 0.6148 MB / 0.7813 GB, free: 8.504 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002191/2.565, allocations: 0.5566 MB / 0.7818 GB, free: 8.43 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.003367/2.569, allocations: 0.8223 MB / 0.7826 GB, free: 7.758 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001618/2.57, allocations: 0.594 MB / 0.7832 GB, free: 7.426 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008718/2.579, allocations: 2.928 MB / 0.786 GB, free: 6.289 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.131e-05/2.579, allocations: 29.94 kB / 0.7861 GB, free: 6.289 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.525e-05/2.579, allocations: 0 / 0.7861 GB, free: 6.289 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.822e-05/2.579, allocations: 12.52 kB / 0.7861 GB, free: 6.289 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06434/2.644, allocations: 24.6 MB / 0.8101 GB, free: 1.984 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 0.0001372/2.644, allocations: 60 kB / 0.8102 GB, free: 1.926 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004281/2.648, allocations: 0.5956 MB / 0.8107 GB, free: 1.402 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000147/2.648, allocations: 92.69 kB / 0.8108 GB, free: 1.312 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006654/2.649, allocations: 135.8 kB / 0.811 GB, free: 1.184 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001253/2.649, allocations: 124.3 kB / 0.8111 GB, free: 1.074 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.921e-05/2.649, allocations: 91.62 kB / 0.8112 GB, free: 0.9844 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3544/3.004, allocations: 16.85 MB / 0.8276 GB, free: 112.2 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002654/3.006, allocations: 0.7175 MB / 0.8283 GB, free: 112.1 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002432/3.009, allocations: 143.1 kB / 0.8285 GB, free: 112.1 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006466/3.015, allocations: 213.2 kB / 0.8287 GB, free: 112.1 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001222/3.017, allocations: 414.1 kB / 0.8291 GB, free: 112.1 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006289/3.017, allocations: 169.1 kB / 0.8292 GB, free: 112.1 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01431/3.032, allocations: 4.087 MB / 0.8332 GB, free: 111.9 MB / 474.7 MB Notification: Performance of sort global known variables: time 3.386e-06/3.032, allocations: 0 / 0.8332 GB, free: 111.9 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01444/3.046, allocations: 1.547 MB / 0.8347 GB, free: 111.9 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.01721/3.063, allocations: 28.87 MB / 0.8629 GB, free: 85.12 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01525/3.079, allocations: 5.669 MB / 0.8685 GB, free: 85.09 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 6.189e-05/3.079, allocations: 8.547 kB / 0.8685 GB, free: 85.09 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003892/3.083, allocations: 1.506 MB / 0.8699 GB, free: 84.97 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008542/3.091, allocations: 0.909 MB / 0.8708 GB, free: 84.93 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05644/3.148, allocations: 17.39 MB / 0.8878 GB, free: 79.74 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01484/3.163, allocations: 5.954 MB / 0.8936 GB, free: 78.84 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.02059/3.183, allocations: 2.896 MB / 0.8964 GB, free: 78.71 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01263/3.196, allocations: 3.856 MB / 0.9002 GB, free: 76.49 MB / 474.7 MB Notification: Performance of SimCode: time 2.064e-06/3.196, allocations: 0 / 0.9002 GB, free: 76.49 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8025/3.999, allocations: 121.8 MB / 1.019 GB, free: 91.18 MB / 474.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002463/3.999, allocations: 140.6 kB / 1.019 GB, free: 90.96 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.058/12.06, allocations: 0.5469 kB / 1.019 GB, free: 90.96 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