Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedRotation,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_FixedRotation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.336/2.336, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.341e-05/4.399e-05, allocations: 0 / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4053/0.4054, allocations: 54.86 MB / 359.9 MB, free: 2.684 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1915/0.5969, allocations: 90 MB / 449.9 MB, free: 6.98 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003623/0.5974, allocations: 75.95 kB / 449.9 MB, free: 6.906 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9165/1.514, allocations: 138.9 MB / 0.5751 GB, free: 99.87 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.885e-06/1.514, allocations: 0 / 0.5751 GB, free: 99.87 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0002696/1.514, allocations: 116.7 kB / 0.5752 GB, free: 99.87 MB / 458.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.02311/1.537, allocations: 6.068 MB / 0.5811 GB, free: 96.97 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.674e-05/1.537, allocations: 13.81 kB / 0.5811 GB, free: 96.96 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007847/1.545, allocations: 1.382 MB / 0.5825 GB, free: 96.36 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04747/1.593, allocations: 6.534 MB / 0.5889 GB, free: 95.4 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01573/1.609, allocations: 4.267 MB / 0.593 GB, free: 92.96 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006972/1.609, allocations: 0.5056 MB / 0.5935 GB, free: 92.78 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005189/1.614, allocations: 0.6516 MB / 0.5942 GB, free: 92.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05687/1.671, allocations: 17.91 MB / 0.6116 GB, free: 76.05 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003312/1.672, allocations: 39.56 kB / 0.6117 GB, free: 76.02 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00481/1.677, allocations: 310.5 kB / 0.612 GB, free: 75.77 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004517/1.681, allocations: 2.158 MB / 0.6141 GB, free: 73.62 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04944/1.731, allocations: 17.03 MB / 0.6307 GB, free: 56.57 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1347/1.865, allocations: 61.72 MB / 0.691 GB, free: 9.652 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02696/1.892, allocations: 8.372 MB / 0.6992 GB, free: 0.8398 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3941/2.287, allocations: 2.541 MB / 0.7016 GB, free: 106.8 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04092/2.328, allocations: 11.83 MB / 0.7132 GB, free: 103.7 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.691e-05/2.328, allocations: 57.03 kB / 0.7133 GB, free: 103.7 MB / 474.7 MB Notification: Performance of pre-optimization done (n=321): time 7.123e-06/2.328, allocations: 0 / 0.7133 GB, free: 103.7 MB / 474.7 MB Notification: Performance of matching and sorting (n=321): time 0.02854/2.356, allocations: 5.788 MB / 0.7189 GB, free: 103.4 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.306e-05/2.356, allocations: 100.8 kB / 0.719 GB, free: 103.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01383/2.37, allocations: 4.938 MB / 0.7238 GB, free: 102.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006202/2.371, allocations: 64.62 kB / 0.7239 GB, free: 102.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004296/2.375, allocations: 4.987 MB / 0.7288 GB, free: 99.94 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002044/2.377, allocations: 1.198 MB / 0.7299 GB, free: 99.26 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001242/2.379, allocations: 179.9 kB / 0.7301 GB, free: 99.26 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0009259/2.379, allocations: 0.7244 MB / 0.7308 GB, free: 98.92 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007953/2.387, allocations: 3.025 MB / 0.7338 GB, free: 98.9 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.012/2.399, allocations: 8.313 MB / 0.7419 GB, free: 90.96 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01185/2.411, allocations: 5.164 MB / 0.7469 GB, free: 89.6 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002714/2.412, allocations: 55.12 kB / 0.747 GB, free: 89.6 MB / 474.7 MB Notification: Performance of matching and sorting (n=1228) (initialization): time 0.02889/2.441, allocations: 10.54 MB / 0.7573 GB, free: 86.42 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001471/2.441, allocations: 88.81 kB / 0.7574 GB, free: 86.42 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003238/2.441, allocations: 185.7 kB / 0.7575 GB, free: 86.42 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003581/2.441, allocations: 280.2 kB / 0.7578 GB, free: 86.42 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01323/2.455, allocations: 2.069 MB / 0.7598 GB, free: 86.17 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004202/2.455, allocations: 371 kB / 0.7602 GB, free: 86.09 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01052/2.466, allocations: 1.297 MB / 0.7614 GB, free: 85.27 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002376/2.468, allocations: 0.5313 MB / 0.762 GB, free: 85.2 MB / 474.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.003455/2.472, allocations: 0.7755 MB / 0.7627 GB, free: 84.56 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001089/2.473, allocations: 483.5 kB / 0.7632 GB, free: 84.29 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002327/2.475, allocations: 0.6539 MB / 0.7638 GB, free: 83.92 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001462/2.475, allocations: 59.97 kB / 0.7639 GB, free: 83.91 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.695e-05/2.475, allocations: 0 / 0.7639 GB, free: 83.91 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.428e-05/2.475, allocations: 10.59 kB / 0.7639 GB, free: 83.91 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0359/2.511, allocations: 12.58 MB / 0.7762 GB, free: 79.35 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.97e-05/2.511, allocations: 18.28 kB / 0.7762 GB, free: 79.35 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003751/2.515, allocations: 419 kB / 0.7766 GB, free: 79.32 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.301e-05/2.515, allocations: 34.36 kB / 0.7766 GB, free: 79.31 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005258/2.516, allocations: 68.69 kB / 0.7767 GB, free: 79.28 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.262e-05/2.516, allocations: 26.97 kB / 0.7767 GB, free: 79.27 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.715e-05/2.516, allocations: 19.91 kB / 0.7767 GB, free: 79.27 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01019/2.526, allocations: 6.536 MB / 0.7831 GB, free: 73.49 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001816/2.528, allocations: 0.5861 MB / 0.7837 GB, free: 72.9 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001944/2.53, allocations: 56.41 kB / 0.7837 GB, free: 72.85 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003895/2.534, allocations: 129.2 kB / 0.7839 GB, free: 72.77 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008408/2.535, allocations: 175.9 kB / 0.784 GB, free: 72.64 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002936/2.535, allocations: 103 kB / 0.7841 GB, free: 72.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008815/2.544, allocations: 3.389 MB / 0.7874 GB, free: 69.6 MB / 474.7 MB Notification: Performance of sort global known variables: time 8.12e-07/2.544, allocations: 0 / 0.7874 GB, free: 69.6 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.011/2.555, allocations: 1.985 MB / 0.7894 GB, free: 67.62 MB / 474.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.01091/2.566, allocations: 10.1 MB / 0.7992 GB, free: 57.48 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01509/2.581, allocations: 6.751 MB / 0.8058 GB, free: 51.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.671e-05/2.581, allocations: 4.125 kB / 0.8058 GB, free: 51.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004104/2.585, allocations: 1.954 MB / 0.8077 GB, free: 49.56 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004132/2.589, allocations: 0.5685 MB / 0.8083 GB, free: 49.08 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05176/2.641, allocations: 16.07 MB / 0.824 GB, free: 34.89 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.014/2.655, allocations: 5.583 MB / 0.8294 GB, free: 30.73 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.008389/2.664, allocations: 3.395 MB / 0.8328 GB, free: 27.57 MB / 474.7 MB Notification: Performance of SimCode: time 1.323e-06/2.664, allocations: 3.938 kB / 0.8328 GB, free: 27.57 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 5.388/8.052, allocations: 132.4 MB / 0.9621 GB, free: 70.89 MB / 490.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.FixedRotation_res.mat does not exist to compare? outputFormat=mat