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 2.184/2.184, allocations: 209.3 MB / 221.9 MB, free: 1.934 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.804e-05/3.814e-05, allocations: 0 / 273.1 MB, free: 0.6289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1063, allocations: 48.71 MB / 321.8 MB, free: 15.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4281/0.5345, allocations: 83.42 MB / 405.3 MB, free: 6.375 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002968/0.5348, allocations: 76.45 kB / 405.3 MB, free: 6.301 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8506/1.385, allocations: 138.9 MB / 0.5315 GB, free: 92.65 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.104e-06/1.385, allocations: 0 / 0.5315 GB, free: 92.65 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002831/1.386, allocations: 118.8 kB / 0.5316 GB, free: 92.65 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.02243/1.408, allocations: 6.07 MB / 0.5376 GB, free: 89.93 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/1.408, allocations: 9.875 kB / 0.5376 GB, free: 89.93 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.006645/1.415, allocations: 1.382 MB / 0.5389 GB, free: 89.82 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04743/1.462, allocations: 6.536 MB / 0.5453 GB, free: 89.3 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01505/1.478, allocations: 4.273 MB / 0.5495 GB, free: 88.4 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006661/1.478, allocations: 0.5019 MB / 0.55 GB, free: 88.38 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004745/1.483, allocations: 0.6516 MB / 0.5506 GB, free: 88.38 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0544/1.537, allocations: 17.91 MB / 0.5681 GB, free: 82.93 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003425/1.538, allocations: 34.31 kB / 0.5681 GB, free: 82.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004772/1.543, allocations: 316.5 kB / 0.5684 GB, free: 82.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004472/1.547, allocations: 2.146 MB / 0.5705 GB, free: 82.35 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04761/1.595, allocations: 17.04 MB / 0.5872 GB, free: 67.78 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1655/1.76, allocations: 61.71 MB / 0.6474 GB, free: 5.148 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3369/2.097, allocations: 8.355 MB / 0.6556 GB, free: 79.45 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006963/2.104, allocations: 2.542 MB / 0.6581 GB, free: 79.41 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03811/2.142, allocations: 11.84 MB / 0.6696 GB, free: 76.33 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.926e-05/2.143, allocations: 68.08 kB / 0.6697 GB, free: 76.28 MB / 426.7 MB Notification: Performance of pre-optimization done (n=321): time 7.694e-06/2.143, allocations: 1.375 kB / 0.6697 GB, free: 76.28 MB / 426.7 MB Notification: Performance of matching and sorting (n=321): time 0.02774/2.17, allocations: 5.773 MB / 0.6753 GB, free: 76.02 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.321e-05/2.17, allocations: 110.2 kB / 0.6755 GB, free: 75.92 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0121/2.183, allocations: 4.941 MB / 0.6803 GB, free: 75.47 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005983/2.183, allocations: 64.77 kB / 0.6803 GB, free: 75.44 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004222/2.187, allocations: 4.979 MB / 0.6852 GB, free: 72.68 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001938/2.189, allocations: 1.203 MB / 0.6864 GB, free: 71.99 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001175/2.191, allocations: 178.1 kB / 0.6865 GB, free: 71.99 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0009263/2.192, allocations: 0.7169 MB / 0.6872 GB, free: 71.66 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007924/2.2, allocations: 3.023 MB / 0.6902 GB, free: 71.64 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01215/2.212, allocations: 8.325 MB / 0.6983 GB, free: 64.71 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01143/2.223, allocations: 5.159 MB / 0.7034 GB, free: 63.35 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002543/2.224, allocations: 60.56 kB / 0.7034 GB, free: 63.35 MB / 426.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.02797/2.252, allocations: 10.54 MB / 0.7137 GB, free: 60.23 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001559/2.252, allocations: 87.66 kB / 0.7138 GB, free: 60.23 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003185/2.252, allocations: 193.7 kB / 0.714 GB, free: 60.23 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003353/2.252, allocations: 277 kB / 0.7143 GB, free: 60.23 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01297/2.265, allocations: 2.069 MB / 0.7163 GB, free: 59.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000403/2.266, allocations: 371.6 kB / 0.7166 GB, free: 59.89 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01029/2.276, allocations: 1.29 MB / 0.7179 GB, free: 59.08 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002099/2.278, allocations: 0.5401 MB / 0.7184 GB, free: 59.01 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.003107/2.281, allocations: 0.7652 MB / 0.7192 GB, free: 58.38 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001079/2.283, allocations: 487.2 kB / 0.7196 GB, free: 58.11 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002397/2.285, allocations: 0.6532 MB / 0.7203 GB, free: 57.74 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001505/2.285, allocations: 65.06 kB / 0.7203 GB, free: 57.73 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.997e-05/2.285, allocations: 2.25 kB / 0.7203 GB, free: 57.73 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.683e-05/2.285, allocations: 9.891 kB / 0.7203 GB, free: 57.73 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0362/2.322, allocations: 12.58 MB / 0.7326 GB, free: 53.17 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.521e-05/2.322, allocations: 13.03 kB / 0.7326 GB, free: 53.17 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003692/2.325, allocations: 427.1 kB / 0.733 GB, free: 53.13 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.831e-05/2.325, allocations: 21.75 kB / 0.7331 GB, free: 53.13 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004605/2.326, allocations: 65.2 kB / 0.7331 GB, free: 53.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.105e-05/2.326, allocations: 30.86 kB / 0.7332 GB, free: 53.09 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.528e-05/2.326, allocations: 26.09 kB / 0.7332 GB, free: 53.09 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00976/2.336, allocations: 6.531 MB / 0.7396 GB, free: 48.74 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001633/2.337, allocations: 0.5862 MB / 0.7401 GB, free: 48.31 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001647/2.339, allocations: 62.31 kB / 0.7402 GB, free: 48.28 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003673/2.343, allocations: 129.4 kB / 0.7403 GB, free: 48.25 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008385/2.344, allocations: 170.5 kB / 0.7405 GB, free: 48.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003281/2.344, allocations: 102.9 kB / 0.7406 GB, free: 48.19 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.008665/2.353, allocations: 3.387 MB / 0.7439 GB, free: 45.99 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.62e-07/2.353, allocations: 4 kB / 0.7439 GB, free: 45.99 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01099/2.364, allocations: 1.983 MB / 0.7458 GB, free: 44.01 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.01166/2.375, allocations: 10.09 MB / 0.7557 GB, free: 33.89 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01539/2.391, allocations: 6.763 MB / 0.7623 GB, free: 27.74 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.576e-05/2.391, allocations: 8.125 kB / 0.7623 GB, free: 27.73 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004388/2.395, allocations: 1.952 MB / 0.7642 GB, free: 25.96 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004225/2.4, allocations: 0.5654 MB / 0.7647 GB, free: 25.47 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05021/2.45, allocations: 16.08 MB / 0.7804 GB, free: 11.28 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01373/2.464, allocations: 5.583 MB / 0.7859 GB, free: 7.113 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008301/2.472, allocations: 3.39 MB / 0.7892 GB, free: 3.957 MB / 426.7 MB Notification: Performance of SimCode: time 1.432e-06/2.472, allocations: 0 / 0.7892 GB, free: 3.957 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.9/7.373, allocations: 132.7 MB / 0.9188 GB, free: 35.53 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