Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FixedTranslation,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_FixedTranslation",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.554/2.554, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.752e-05, allocations: 4.938 kB / 305 MB, free: 5.57 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4122/0.4123, allocations: 54.86 MB / 359.9 MB, free: 2.297 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1663/0.5787, allocations: 88.45 MB / 448.3 MB, free: 8.406 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002992/0.579, allocations: 79.94 kB / 448.4 MB, free: 8.328 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3019/0.881, allocations: 71.28 MB / 0.5075 GB, free: 400 kB / 442.7 MB Notification: Performance of FrontEnd: time 2.094e-06/0.881, allocations: 0 / 0.5075 GB, free: 400 kB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001561/0.8812, allocations: 68 kB / 0.5076 GB, free: 332 kB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1517 * Number of variables: 1517 Notification: Performance of Generate backend data structure: time 0.01159/0.8928, allocations: 3.151 MB / 0.5106 GB, free: 13.11 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.623e-05/0.8929, allocations: 12.03 kB / 0.5106 GB, free: 13.1 MB / 458.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003612/0.8965, allocations: 0.7587 MB / 0.5114 GB, free: 12.33 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02645/0.923, allocations: 3.348 MB / 0.5147 GB, free: 8.969 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008074/0.9311, allocations: 2.137 MB / 0.5167 GB, free: 6.781 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004805/0.9317, allocations: 287.5 kB / 0.517 GB, free: 6.5 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002707/0.9344, allocations: 379.8 kB / 0.5174 GB, free: 6.129 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3908/1.325, allocations: 9.46 MB / 0.5266 GB, free: 109.8 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001763/1.326, allocations: 24.22 kB / 0.5266 GB, free: 109.8 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001598/1.327, allocations: 173 kB / 0.5268 GB, free: 109.8 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002726/1.33, allocations: 1.112 MB / 0.5279 GB, free: 109.8 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02751/1.357, allocations: 8.644 MB / 0.5363 GB, free: 109.8 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06374/1.421, allocations: 33.29 MB / 0.5688 GB, free: 91.5 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007686/1.429, allocations: 3.266 MB / 0.572 GB, free: 89.72 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001861/1.431, allocations: 0.9218 MB / 0.5729 GB, free: 89.43 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.147e-05/1.431, allocations: 16.27 kB / 0.5729 GB, free: 89.42 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.112e-05/1.431, allocations: 45.41 kB / 0.573 GB, free: 89.38 MB / 458.7 MB Notification: Performance of pre-optimization done (n=150): time 5.259e-06/1.431, allocations: 0 / 0.573 GB, free: 89.38 MB / 458.7 MB Notification: Performance of matching and sorting (n=150): time 0.009941/1.441, allocations: 2.589 MB / 0.5755 GB, free: 88.7 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.043e-05/1.441, allocations: 89.39 kB / 0.5756 GB, free: 88.61 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005397/1.447, allocations: 2.778 MB / 0.5783 GB, free: 87.62 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000286/1.447, allocations: 49.56 kB / 0.5784 GB, free: 87.57 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001917/1.449, allocations: 2.71 MB / 0.581 GB, free: 85.67 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007983/1.45, allocations: 0.5729 MB / 0.5816 GB, free: 85.26 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000387/1.45, allocations: 94.03 kB / 0.5817 GB, free: 85.19 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003139/1.45, allocations: 0.5143 MB / 0.5822 GB, free: 84.79 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003221/1.454, allocations: 1.494 MB / 0.5836 GB, free: 84.34 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004797/1.458, allocations: 4.405 MB / 0.5879 GB, free: 79.9 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005234/1.464, allocations: 2.621 MB / 0.5905 GB, free: 79.09 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.735e-05/1.464, allocations: 28.38 kB / 0.5905 GB, free: 79.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=643) (initialization): time 0.01356/1.477, allocations: 5.404 MB / 0.5958 GB, free: 77.28 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.026e-05/1.478, allocations: 49.22 kB / 0.5958 GB, free: 77.28 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001245/1.478, allocations: 106.5 kB / 0.5959 GB, free: 77.28 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001817/1.478, allocations: 151.6 kB / 0.5961 GB, free: 77.28 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006056/1.484, allocations: 1.075 MB / 0.5971 GB, free: 77.14 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001782/1.484, allocations: 211.1 kB / 0.5973 GB, free: 77.1 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004745/1.489, allocations: 0.6859 MB / 0.598 GB, free: 76.64 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0007734/1.49, allocations: 305.4 kB / 0.5983 GB, free: 76.61 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 477 * Number of states: 0 () * Number of discrete variables: 24 (arrow.color[3],arrow.color[2],arrow.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],fixed1.color[3],fixed1.color[2],fixed1.color[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],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (595): * Single equations (assignments): 589 * Array equations: 6 * 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.0007947/1.491, allocations: 475.2 kB / 0.5987 GB, free: 76.21 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004793/1.491, allocations: 258.9 kB / 0.599 GB, free: 76.07 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007582/1.492, allocations: 329.7 kB / 0.5993 GB, free: 75.89 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.381e-05/1.492, allocations: 18.36 kB / 0.5993 GB, free: 75.89 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.588e-05/1.492, allocations: 3.234 kB / 0.5993 GB, free: 75.89 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/1.492, allocations: 11.2 kB / 0.5993 GB, free: 75.89 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01605/1.508, allocations: 7.074 MB / 0.6062 GB, free: 72.21 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-05/1.508, allocations: 4 kB / 0.6062 GB, free: 72.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/1.509, allocations: 178.9 kB / 0.6064 GB, free: 72.05 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.081e-05/1.51, allocations: 12.94 kB / 0.6064 GB, free: 72.04 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001053/1.51, allocations: 31.56 kB / 0.6065 GB, free: 72.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.679e-05/1.51, allocations: 15.94 kB / 0.6065 GB, free: 72 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.037e-06/1.51, allocations: 15.88 kB / 0.6065 GB, free: 71.98 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003912/1.514, allocations: 2.956 MB / 0.6094 GB, free: 68.83 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008017/1.514, allocations: 369.4 kB / 0.6097 GB, free: 68.46 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004336/1.515, allocations: 25.88 kB / 0.6098 GB, free: 68.44 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001373/1.516, allocations: 47.72 kB / 0.6098 GB, free: 68.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/1.516, allocations: 85.16 kB / 0.6099 GB, free: 68.35 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/1.517, allocations: 49.41 kB / 0.6099 GB, free: 68.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003945/1.521, allocations: 1.952 MB / 0.6118 GB, free: 66.58 MB / 458.7 MB Notification: Performance of sort global known variables: time 9.12e-07/1.521, allocations: 0 / 0.6118 GB, free: 66.58 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005499/1.526, allocations: 1.034 MB / 0.6128 GB, free: 65.55 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 31 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (102): * Single equations (assignments): 96 * Array equations: 6 * 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.004887/1.531, allocations: 5.318 MB / 0.618 GB, free: 60.23 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00768/1.539, allocations: 3.371 MB / 0.6213 GB, free: 57.18 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.397e-05/1.539, allocations: 0 / 0.6213 GB, free: 57.18 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001793/1.541, allocations: 0.9061 MB / 0.6222 GB, free: 56.38 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/1.543, allocations: 296.6 kB / 0.6225 GB, free: 56.12 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02251/1.565, allocations: 8.064 MB / 0.6304 GB, free: 49.02 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005188/1.57, allocations: 3.155 MB / 0.6335 GB, free: 46.57 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003289/1.574, allocations: 1.627 MB / 0.635 GB, free: 45.07 MB / 458.7 MB Notification: Performance of SimCode: time 1.443e-06/1.574, allocations: 4 kB / 0.635 GB, free: 45.06 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.168/5.741, allocations: 67.05 MB / 0.7005 GB, free: 106.3 MB / 474.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.FixedTranslation_res.mat does not exist to compare? outputFormat=mat