Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.926/1.926, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.465e-05/4.483e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1077/0.1077, allocations: 48.7 MB / 321.8 MB, free: 15.85 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4128/0.5206, allocations: 83.41 MB / 405.2 MB, free: 6.406 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002795/0.5209, allocations: 82.94 kB / 405.3 MB, free: 6.328 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.903/1.424, allocations: 138.9 MB / 0.5315 GB, free: 92.81 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.224e-06/1.424, allocations: 3.188 kB / 0.5315 GB, free: 92.81 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002682/1.424, allocations: 123.1 kB / 0.5316 GB, free: 92.8 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.02367/1.448, allocations: 6.064 MB / 0.5375 GB, free: 90.09 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/1.448, allocations: 6.781 kB / 0.5376 GB, free: 90.09 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006745/1.455, allocations: 1.381 MB / 0.5389 GB, free: 89.98 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04809/1.503, allocations: 6.54 MB / 0.5453 GB, free: 89.46 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01561/1.519, allocations: 4.278 MB / 0.5495 GB, free: 88.57 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006814/1.519, allocations: 0.5013 MB / 0.55 GB, free: 88.55 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004836/1.524, allocations: 0.6529 MB / 0.5506 GB, free: 88.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05549/1.58, allocations: 17.98 MB / 0.5682 GB, free: 82.95 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003292/1.58, allocations: 42.31 kB / 0.5682 GB, free: 82.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004395/1.584, allocations: 313.4 kB / 0.5685 GB, free: 82.76 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004494/1.589, allocations: 2.156 MB / 0.5706 GB, free: 82.37 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04778/1.637, allocations: 17.24 MB / 0.5874 GB, free: 67.46 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1251/1.762, allocations: 61.71 MB / 0.6477 GB, free: 4.844 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3098/2.072, allocations: 8.392 MB / 0.6559 GB, free: 79.58 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007067/2.079, allocations: 2.544 MB / 0.6584 GB, free: 79.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04866/2.128, allocations: 11.83 MB / 0.6699 GB, free: 76.46 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.404e-05/2.128, allocations: 61.95 kB / 0.67 GB, free: 76.41 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 1.583e-05/2.128, allocations: 1.094 kB / 0.67 GB, free: 76.41 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.0378/2.166, allocations: 5.791 MB / 0.6756 GB, free: 76.16 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.708e-05/2.166, allocations: 101.3 kB / 0.6757 GB, free: 76.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01737/2.183, allocations: 4.941 MB / 0.6806 GB, free: 75.61 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007282/2.184, allocations: 64.09 kB / 0.6806 GB, free: 75.58 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005724/2.19, allocations: 4.987 MB / 0.6855 GB, free: 72.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002541/2.192, allocations: 1.201 MB / 0.6867 GB, free: 72.13 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00166/2.194, allocations: 175.5 kB / 0.6868 GB, free: 72.13 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001376/2.195, allocations: 0.7195 MB / 0.6875 GB, free: 71.8 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01143/2.207, allocations: 3.022 MB / 0.6905 GB, free: 71.78 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01659/2.223, allocations: 8.37 MB / 0.6987 GB, free: 64.75 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01556/2.239, allocations: 5.166 MB / 0.7037 GB, free: 63.4 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002945/2.239, allocations: 57.16 kB / 0.7038 GB, free: 63.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.03827/2.278, allocations: 11.07 MB / 0.7146 GB, free: 59.9 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002987/2.278, allocations: 85.41 kB / 0.7147 GB, free: 59.9 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004548/2.279, allocations: 189.9 kB / 0.7148 GB, free: 59.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/2.279, allocations: 280.3 kB / 0.7151 GB, free: 59.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0178/2.297, allocations: 2.067 MB / 0.7171 GB, free: 59.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005878/2.298, allocations: 372 kB / 0.7175 GB, free: 59.56 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01512/2.313, allocations: 1.301 MB / 0.7188 GB, free: 58.75 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002651/2.315, allocations: 0.5372 MB / 0.7193 GB, free: 58.68 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.003889/2.319, allocations: 0.757 MB / 0.72 GB, free: 58.05 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001751/2.321, allocations: 487 kB / 0.7205 GB, free: 57.78 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003086/2.324, allocations: 0.6519 MB / 0.7211 GB, free: 57.41 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001905/2.325, allocations: 65.38 kB / 0.7212 GB, free: 57.39 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.315e-05/2.325, allocations: 0 / 0.7212 GB, free: 57.39 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.588e-05/2.325, allocations: 10.03 kB / 0.7212 GB, free: 57.39 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0368/2.361, allocations: 12.62 MB / 0.7335 GB, free: 52.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.498e-05/2.362, allocations: 15.22 kB / 0.7335 GB, free: 52.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003642/2.365, allocations: 421.3 kB / 0.7339 GB, free: 52.77 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.129e-05/2.365, allocations: 26.41 kB / 0.734 GB, free: 52.77 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003402/2.366, allocations: 62.7 kB / 0.734 GB, free: 52.74 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.797e-05/2.366, allocations: 37.34 kB / 0.7341 GB, free: 52.73 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.552e-05/2.366, allocations: 21.53 kB / 0.7341 GB, free: 52.72 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008812/2.375, allocations: 6.533 MB / 0.7405 GB, free: 48.37 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001538/2.376, allocations: 0.5838 MB / 0.741 GB, free: 47.94 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001299/2.377, allocations: 63.34 kB / 0.7411 GB, free: 47.91 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003133/2.381, allocations: 122.6 kB / 0.7412 GB, free: 47.89 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005321/2.381, allocations: 175.6 kB / 0.7414 GB, free: 47.84 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002765/2.381, allocations: 104.5 kB / 0.7415 GB, free: 47.82 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008086/2.389, allocations: 3.386 MB / 0.7448 GB, free: 45.07 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.252e-06/2.39, allocations: 0 / 0.7448 GB, free: 45.07 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01038/2.4, allocations: 1.987 MB / 0.7467 GB, free: 43.09 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.01056/2.411, allocations: 10.08 MB / 0.7566 GB, free: 32.97 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01506/2.426, allocations: 7.048 MB / 0.7634 GB, free: 26.54 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.527e-05/2.426, allocations: 0 / 0.7634 GB, free: 26.54 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004145/2.43, allocations: 1.976 MB / 0.7654 GB, free: 24.74 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003927/2.434, allocations: 0.5711 MB / 0.7659 GB, free: 24.25 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04726/2.481, allocations: 16.1 MB / 0.7817 GB, free: 10.04 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01253/2.494, allocations: 5.583 MB / 0.7871 GB, free: 5.867 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007881/2.502, allocations: 3.397 MB / 0.7904 GB, free: 2.703 MB / 426.7 MB Notification: Performance of SimCode: time 2.735e-06/2.502, allocations: 0 / 0.7904 GB, free: 2.703 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.263/7.765, allocations: 134.5 MB / 0.9217 GB, free: 32.86 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat