Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.94/1.94, allocations: 209.3 MB / 221.5 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.245e-05/5.259e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.109/0.1091, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4424/0.5516, allocations: 83.41 MB / 405.3 MB, free: 6.113 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002875/0.552, allocations: 71.97 kB / 405.3 MB, free: 6.043 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9035/1.455, allocations: 139 MB / 0.5315 GB, free: 93.06 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.455e-06/1.456, allocations: 3.844 kB / 0.5315 GB, free: 93.06 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003153/1.456, allocations: 119.2 kB / 0.5316 GB, free: 93.05 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: 2814 * Number of variables: 2814 Notification: Performance of Generate backend data structure: time 0.02284/1.479, allocations: 6.067 MB / 0.5376 GB, free: 90.34 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.497e-05/1.479, allocations: 9.375 kB / 0.5376 GB, free: 90.34 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006819/1.486, allocations: 1.384 MB / 0.5389 GB, free: 90.23 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04657/1.532, allocations: 6.53 MB / 0.5453 GB, free: 89.72 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01558/1.548, allocations: 4.271 MB / 0.5495 GB, free: 88.82 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007468/1.549, allocations: 0.5017 MB / 0.55 GB, free: 88.81 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004934/1.554, allocations: 0.6579 MB / 0.5506 GB, free: 88.8 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05686/1.611, allocations: 17.99 MB / 0.5682 GB, free: 83.16 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003988/1.611, allocations: 37.78 kB / 0.5682 GB, free: 83.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004695/1.616, allocations: 310.4 kB / 0.5685 GB, free: 82.98 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004447/1.62, allocations: 2.159 MB / 0.5706 GB, free: 82.58 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04931/1.67, allocations: 17.23 MB / 0.5874 GB, free: 67.43 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1539/1.824, allocations: 61.72 MB / 0.6477 GB, free: 4.637 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.353/2.177, allocations: 8.384 MB / 0.6559 GB, free: 80.05 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007159/2.184, allocations: 2.546 MB / 0.6584 GB, free: 80.02 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04387/2.228, allocations: 11.83 MB / 0.67 GB, free: 76.94 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.953e-05/2.228, allocations: 60.77 kB / 0.67 GB, free: 76.89 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 1.313e-05/2.228, allocations: 0 / 0.67 GB, free: 76.89 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.03669/2.265, allocations: 5.783 MB / 0.6757 GB, free: 76.64 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/2.265, allocations: 102.1 kB / 0.6758 GB, free: 76.54 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.02172/2.287, allocations: 4.947 MB / 0.6806 GB, free: 76.09 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008482/2.287, allocations: 58.16 kB / 0.6806 GB, free: 76.05 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00808/2.296, allocations: 5.087 MB / 0.6856 GB, free: 73.36 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003058/2.299, allocations: 1.196 MB / 0.6868 GB, free: 72.67 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002439/2.301, allocations: 181.6 kB / 0.6869 GB, free: 72.67 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.002096/2.303, allocations: 0.7132 MB / 0.6876 GB, free: 72.35 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01536/2.319, allocations: 3.027 MB / 0.6906 GB, free: 72.32 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01824/2.337, allocations: 8.375 MB / 0.6988 GB, free: 64.94 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01921/2.356, allocations: 5.16 MB / 0.7038 GB, free: 63.59 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003624/2.357, allocations: 55.09 kB / 0.7039 GB, free: 63.59 MB / 426.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.04607/2.403, allocations: 11.2 MB / 0.7148 GB, free: 60.02 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004331/2.403, allocations: 88.28 kB / 0.7149 GB, free: 60.02 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0006443/2.404, allocations: 189.7 kB / 0.7151 GB, free: 60.02 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006262/2.405, allocations: 283 kB / 0.7153 GB, free: 60.01 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.02098/2.426, allocations: 2.076 MB / 0.7174 GB, free: 59.75 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006724/2.427, allocations: 371.2 kB / 0.7177 GB, free: 59.68 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01581/2.442, allocations: 1.288 MB / 0.719 GB, free: 58.86 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002356/2.445, allocations: 0.5356 MB / 0.7195 GB, free: 58.79 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 860 * Number of states: 0 () * Number of discrete variables: 30 (frameT4.color_x[3],frameT4.color_x[2],frameT4.color_x[1],fixedRotation2.color[3],fixedRotation2.color[2],fixedRotation2.color[1],frameT3.color_x[3],frameT3.color_x[2],frameT3.color_x[1],fixedRotation1.color[3],fixedRotation1.color[2],fixedRotation1.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[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],frameT2.color_x[3],frameT2.color_x[2],frameT2.color_x[1],frameT1.color_x[3],frameT1.color_x[2],frameT1.color_x[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1132): * Single equations (assignments): 1120 * Array equations: 12 * 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.003594/2.449, allocations: 0.7708 MB / 0.7203 GB, free: 58.15 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001272/2.45, allocations: 482.9 kB / 0.7207 GB, free: 57.88 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002605/2.452, allocations: 0.6544 MB / 0.7214 GB, free: 57.51 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001753/2.453, allocations: 62.06 kB / 0.7214 GB, free: 57.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.629e-05/2.453, allocations: 0 / 0.7214 GB, free: 57.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.514e-05/2.453, allocations: 18.95 kB / 0.7214 GB, free: 57.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05562/2.508, allocations: 12.62 MB / 0.7338 GB, free: 52.92 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.234e-05/2.509, allocations: 11.34 kB / 0.7338 GB, free: 52.92 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005353/2.514, allocations: 424.9 kB / 0.7342 GB, free: 52.88 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.07e-05/2.514, allocations: 28.95 kB / 0.7342 GB, free: 52.88 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008052/2.515, allocations: 63.34 kB / 0.7343 GB, free: 52.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.103e-05/2.515, allocations: 32.69 kB / 0.7343 GB, free: 52.85 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.363e-05/2.515, allocations: 21.56 kB / 0.7343 GB, free: 52.84 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01595/2.531, allocations: 6.539 MB / 0.7407 GB, free: 48.48 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002481/2.534, allocations: 0.5908 MB / 0.7413 GB, free: 48.05 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002458/2.536, allocations: 57.02 kB / 0.7413 GB, free: 48.02 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005851/2.542, allocations: 124.7 kB / 0.7414 GB, free: 48 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001319/2.543, allocations: 176 kB / 0.7416 GB, free: 47.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0009327/2.544, allocations: 101.9 kB / 0.7417 GB, free: 47.8 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.01382/2.558, allocations: 3.385 MB / 0.745 GB, free: 44.85 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.12e-07/2.558, allocations: 0 / 0.745 GB, free: 44.85 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01709/2.575, allocations: 1.99 MB / 0.747 GB, free: 42.87 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (225): * Single equations (assignments): 213 * Array equations: 12 * 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.01753/2.593, allocations: 10.08 MB / 0.7568 GB, free: 32.75 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01794/2.611, allocations: 7.035 MB / 0.7637 GB, free: 26.33 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.746e-05/2.611, allocations: 5.938 kB / 0.7637 GB, free: 26.33 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004865/2.616, allocations: 1.98 MB / 0.7656 GB, free: 24.52 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005153/2.621, allocations: 0.5697 MB / 0.7662 GB, free: 24.03 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06548/2.687, allocations: 15.25 MB / 0.7811 GB, free: 10.5 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0201/2.707, allocations: 5.572 MB / 0.7865 GB, free: 6.348 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.02409/2.731, allocations: 3.553 MB / 0.79 GB, free: 4.133 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01194/2.743, allocations: 3.315 MB / 0.7932 GB, free: 1.051 MB / 426.7 MB Notification: Performance of SimCode: time 1.854e-06/2.743, allocations: 0 / 0.7932 GB, free: 1.051 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6398/3.383, allocations: 112.3 MB / 0.9029 GB, free: 51.95 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002248/3.383, allocations: 144.1 kB / 0.903 GB, free: 51.73 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.154/9.538, allocations: 3.938 kB / 0.903 GB, free: 51.73 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat