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.989/1.989, allocations: 209.4 MB / 216.9 MB, free: 6.668 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.831e-05/2.827e-05, allocations: 4 kB / 267.6 MB, free: 5.328 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1123/0.1124, allocations: 48.71 MB / 316.3 MB, free: 4.523 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5114/0.6239, allocations: 83 MB / 399.3 MB, free: 9.402 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002599/0.6242, allocations: 72.89 kB / 399.4 MB, free: 9.363 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9069/1.531, allocations: 136.1 MB / 0.5229 GB, free: 85.07 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.735e-06/1.531, allocations: 0 / 0.5229 GB, free: 85.07 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003074/1.532, allocations: 125.3 kB / 0.523 GB, free: 85.06 MB / 410.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.02565/1.557, allocations: 6.05 MB / 0.5289 GB, free: 82.34 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.521e-05/1.557, allocations: 11.38 kB / 0.5289 GB, free: 82.34 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04928/1.607, allocations: 6.536 MB / 0.5353 GB, free: 81.82 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01596/1.623, allocations: 4.273 MB / 0.5395 GB, free: 80.81 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005716/1.623, allocations: 219.4 kB / 0.5397 GB, free: 80.81 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00511/1.628, allocations: 382.3 kB / 0.5401 GB, free: 80.81 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03093/1.659, allocations: 12.75 MB / 0.5525 GB, free: 77.02 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0501/1.71, allocations: 16.87 MB / 0.569 GB, free: 60.29 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003102/1.71, allocations: 31.69 kB / 0.569 GB, free: 60.26 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00449/1.714, allocations: 31.95 kB / 0.5691 GB, free: 60.23 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004612/1.719, allocations: 2.165 MB / 0.5712 GB, free: 58.07 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1244/1.844, allocations: 59.19 MB / 0.629 GB, free: 13.79 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01304/1.857, allocations: 6.136 MB / 0.635 GB, free: 7.195 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005981/1.863, allocations: 2.049 MB / 0.637 GB, free: 5.141 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003657/1.866, allocations: 2.275 MB / 0.6392 GB, free: 2.488 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.87e-05/1.867, allocations: 56.56 kB / 0.6392 GB, free: 2.422 MB / 426.7 MB Notification: Performance of pre-optimization done (n=341): time 9.799e-06/1.867, allocations: 0 / 0.6392 GB, free: 2.422 MB / 426.7 MB Notification: Performance of matching and sorting (n=341): time 0.3252/2.192, allocations: 5.095 MB / 0.6442 GB, free: 92.15 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.482e-05/2.192, allocations: 106 kB / 0.6443 GB, free: 92.06 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01379/2.206, allocations: 4.477 MB / 0.6487 GB, free: 91.76 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000681/2.206, allocations: 26.7 kB / 0.6487 GB, free: 91.73 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005014/2.211, allocations: 5.219 MB / 0.6538 GB, free: 88.82 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002392/2.214, allocations: 1.251 MB / 0.655 GB, free: 88.09 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001415/2.215, allocations: 2.281 kB / 0.655 GB, free: 88.09 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.001439/2.217, allocations: 0.7599 MB / 0.6558 GB, free: 87.76 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009338/2.226, allocations: 3.1 MB / 0.6588 GB, free: 87.73 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01464/2.241, allocations: 8.926 MB / 0.6675 GB, free: 80.23 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0131/2.254, allocations: 5.438 MB / 0.6728 GB, free: 80.17 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0003384/2.255, allocations: 61.25 kB / 0.6729 GB, free: 80.17 MB / 426.7 MB Notification: Performance of matching and sorting (n=1342) (initialization): time 0.03096/2.285, allocations: 10.77 MB / 0.6834 GB, free: 79.08 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000217/2.286, allocations: 97.69 kB / 0.6835 GB, free: 79.08 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0004237/2.286, allocations: 206.7 kB / 0.6837 GB, free: 79.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004261/2.287, allocations: 303.7 kB / 0.684 GB, free: 79.08 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01494/2.302, allocations: 2.27 MB / 0.6862 GB, free: 78.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004447/2.302, allocations: 405.5 kB / 0.6866 GB, free: 78.78 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01102/2.313, allocations: 1.134 MB / 0.6877 GB, free: 78.1 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002765/2.316, allocations: 0.5939 MB / 0.6883 GB, free: 78.02 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 946 * 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 (1246): * Single equations (assignments): 1234 * 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.003936/2.32, allocations: 0.6047 MB / 0.6889 GB, free: 77.5 MB / 426.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01064/2.331, allocations: 4.072 MB / 0.6928 GB, free: 76.18 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001549/2.332, allocations: 469.5 kB / 0.6933 GB, free: 75.92 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002757/2.335, allocations: 0.6218 MB / 0.6939 GB, free: 75.57 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001632/2.335, allocations: 59 kB / 0.694 GB, free: 75.57 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-05/2.335, allocations: 10.39 kB / 0.694 GB, free: 75.56 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-05/2.335, allocations: 9.984 kB / 0.694 GB, free: 75.56 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03857/2.374, allocations: 12.64 MB / 0.7063 GB, free: 71.03 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-05/2.374, allocations: 15.28 kB / 0.7063 GB, free: 71.02 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004261/2.378, allocations: 460.8 kB / 0.7068 GB, free: 70.98 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.249e-05/2.378, allocations: 26.88 kB / 0.7068 GB, free: 70.98 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007192/2.379, allocations: 27.05 kB / 0.7068 GB, free: 70.98 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.991e-05/2.379, allocations: 31.91 kB / 0.7069 GB, free: 70.97 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.715e-05/2.379, allocations: 18.66 kB / 0.7069 GB, free: 70.96 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01139/2.391, allocations: 6.544 MB / 0.7133 GB, free: 66.76 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001724/2.392, allocations: 0.55 MB / 0.7138 GB, free: 66.34 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002024/2.394, allocations: 23.77 kB / 0.7138 GB, free: 66.34 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003862/2.398, allocations: 91.73 kB / 0.7139 GB, free: 66.34 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001054/2.399, allocations: 185.8 kB / 0.7141 GB, free: 66.29 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000407/2.4, allocations: 104.9 kB / 0.7142 GB, free: 66.27 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00789/2.408, allocations: 2.92 MB / 0.717 GB, free: 65.25 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.92e-07/2.408, allocations: 0 / 0.717 GB, free: 65.25 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.01253/2.42, allocations: 1.829 MB / 0.7188 GB, free: 64.83 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 57 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (245): * Single equations (assignments): 233 * 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.01283/2.433, allocations: 9.957 MB / 0.7286 GB, free: 55.74 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.01596/2.449, allocations: 7.165 MB / 0.7356 GB, free: 49.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 1.609e-05/2.449, allocations: 0 / 0.7356 GB, free: 49.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004513/2.454, allocations: 2.128 MB / 0.7376 GB, free: 47.34 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003496/2.457, allocations: 366.9 kB / 0.738 GB, free: 47.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05319/2.511, allocations: 16.05 MB / 0.7537 GB, free: 32.9 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01462/2.525, allocations: 5.584 MB / 0.7591 GB, free: 28.73 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009319/2.535, allocations: 3.448 MB / 0.7625 GB, free: 25.53 MB / 426.7 MB Notification: Performance of SimCode: time 1.543e-06/2.535, allocations: 0 / 0.7625 GB, free: 25.53 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.981/7.516, allocations: 131.5 MB / 0.8909 GB, free: 50.12 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