Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.936/1.936, allocations: 209.3 MB / 221.9 MB, free: 1.926 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.205e-05/4.21e-05, allocations: 4 kB / 273.1 MB, free: 0.6406 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1078/0.1079, allocations: 48.71 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4369/0.5448, allocations: 92.72 MB / 414.6 MB, free: 13.17 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002745/0.5452, allocations: 75.89 kB / 414.7 MB, free: 13.1 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3495/0.8947, allocations: 81.88 MB / 496.5 MB, free: 10.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.464e-06/0.8947, allocations: 0 / 496.5 MB, free: 10.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002808/0.895, allocations: 80 kB / 496.6 MB, free: 10.62 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: 1491 * Number of variables: 1491 Notification: Performance of Generate backend data structure: time 0.01563/0.9107, allocations: 3.927 MB / 0.4888 GB, free: 6.625 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.8e-05/0.9108, allocations: 8.031 kB / 0.4888 GB, free: 6.617 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003323/0.9141, allocations: 0.7541 MB / 0.4896 GB, free: 5.852 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01908/0.9332, allocations: 2.319 MB / 0.4918 GB, free: 3.523 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.309/1.242, allocations: 5.178 MB / 0.4969 GB, free: 95.93 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004627/1.243, allocations: 317.3 kB / 0.4972 GB, free: 95.92 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002343/1.245, allocations: 429 kB / 0.4976 GB, free: 95.92 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03116/1.276, allocations: 10.27 MB / 0.5076 GB, free: 93.14 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003014/1.277, allocations: 61.05 kB / 0.5077 GB, free: 93.14 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00135/1.278, allocations: 206.2 kB / 0.5079 GB, free: 93.14 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00256/1.281, allocations: 0.9979 MB / 0.5088 GB, free: 93.13 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02729/1.308, allocations: 8.134 MB / 0.5168 GB, free: 93.11 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09672/1.405, allocations: 48.3 MB / 0.564 GB, free: 58.41 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01437/1.419, allocations: 3.537 MB / 0.5674 GB, free: 56.96 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003168/1.422, allocations: 1.522 MB / 0.5689 GB, free: 56.31 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01519/1.438, allocations: 6.98 MB / 0.5757 GB, free: 52.48 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.949e-05/1.438, allocations: 52.61 kB / 0.5758 GB, free: 52.43 MB / 426.7 MB Notification: Performance of pre-optimization done (n=139): time 6.001e-06/1.438, allocations: 3.844 kB / 0.5758 GB, free: 52.43 MB / 426.7 MB Notification: Performance of matching and sorting (n=155): time 0.05057/1.488, allocations: 11.87 MB / 0.5874 GB, free: 47.78 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001326/1.49, allocations: 1.592 MB / 0.5889 GB, free: 46.19 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006802/1.497, allocations: 3.437 MB / 0.5923 GB, free: 44.91 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004103/1.497, allocations: 49.78 kB / 0.5923 GB, free: 44.87 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002335/1.499, allocations: 3.077 MB / 0.5953 GB, free: 42.43 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009936/1.5, allocations: 0.639 MB / 0.596 GB, free: 41.97 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000562/1.501, allocations: 117.6 kB / 0.5961 GB, free: 41.88 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003648/1.501, allocations: 0.5677 MB / 0.5966 GB, free: 41.46 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004531/1.506, allocations: 1.956 MB / 0.5985 GB, free: 40.81 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007084/1.513, allocations: 5.696 MB / 0.6041 GB, free: 34.98 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007203/1.52, allocations: 3.321 MB / 0.6073 GB, free: 32.52 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001684/1.521, allocations: 36 kB / 0.6074 GB, free: 32.48 MB / 426.7 MB Notification: Performance of matching and sorting (n=785) (initialization): time 0.02245/1.543, allocations: 7.65 MB / 0.6148 GB, free: 25.89 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001023/1.543, allocations: 64 kB / 0.6149 GB, free: 25.83 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.007346/1.551, allocations: 2.423 MB / 0.6173 GB, free: 23.86 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.004959/1.556, allocations: 1.046 MB / 0.6183 GB, free: 23.09 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008254/1.564, allocations: 1.402 MB / 0.6197 GB, free: 21.86 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005973/1.57, allocations: 4.333 MB / 0.6239 GB, free: 17.66 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006971/1.577, allocations: 385.2 kB / 0.6243 GB, free: 17.35 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001231/1.578, allocations: 375.4 kB / 0.6246 GB, free: 16.99 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 616 * Number of states: 0 () * Number of discrete variables: 36 (freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.color[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (750): * Single equations (assignments): 741 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {1} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001119/1.579, allocations: 0.5736 MB / 0.6252 GB, free: 16.41 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000821/1.58, allocations: 335.6 kB / 0.6255 GB, free: 16.08 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01108/1.591, allocations: 2.921 MB / 0.6283 GB, free: 13.76 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01137/1.603, allocations: 2.443 MB / 0.6307 GB, free: 11.81 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.691e-05/1.603, allocations: 4 kB / 0.6307 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.247e-05/1.603, allocations: 11.77 kB / 0.6307 GB, free: 11.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03022/1.633, allocations: 9.181 MB / 0.6397 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-05/1.633, allocations: 0 / 0.6397 GB, free: 4.422 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002404/1.636, allocations: 253.9 kB / 0.64 GB, free: 4.223 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005329/1.641, allocations: 1.008 MB / 0.6409 GB, free: 3.547 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003716/1.641, allocations: 39.69 kB / 0.641 GB, free: 3.516 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008173/1.65, allocations: 4.835 MB / 0.6457 GB, free: 15.02 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001476/1.651, allocations: 1.46 MB / 0.6471 GB, free: 13.46 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01488/1.666, allocations: 5.554 MB / 0.6526 GB, free: 7.773 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001343/1.667, allocations: 392.5 kB / 0.6529 GB, free: 7.367 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000826/1.668, allocations: 39.98 kB / 0.653 GB, free: 7.328 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002847/1.671, allocations: 123.8 kB / 0.6531 GB, free: 7.207 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004273/1.672, allocations: 109.5 kB / 0.6532 GB, free: 7.102 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001996/1.672, allocations: 47.98 kB / 0.6532 GB, free: 7.055 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00641/1.678, allocations: 2.369 MB / 0.6555 GB, free: 4.703 MB / 442.7 MB Notification: Performance of sort global known variables: time 8.31e-07/1.678, allocations: 0 / 0.6555 GB, free: 4.703 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.007601/1.686, allocations: 1.009 MB / 0.6565 GB, free: 3.703 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (124): * Single equations (assignments): 117 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.3339/2.02, allocations: 7.029 MB / 0.6634 GB, free: 99.61 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0155/2.035, allocations: 5.065 MB / 0.6683 GB, free: 99.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.079e-05/2.035, allocations: 0.7656 kB / 0.6683 GB, free: 99.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007497/2.043, allocations: 2.072 MB / 0.6704 GB, free: 98.88 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003656/2.047, allocations: 415.8 kB / 0.6708 GB, free: 98.87 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03447/2.081, allocations: 9.606 MB / 0.6801 GB, free: 97.02 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007233/2.088, allocations: 3.296 MB / 0.6834 GB, free: 96.22 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004411/2.093, allocations: 1.89 MB / 0.6852 GB, free: 96.21 MB / 442.7 MB Notification: Performance of SimCode: time 1.513e-06/2.093, allocations: 3.938 kB / 0.6852 GB, free: 96.21 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.957/7.05, allocations: 146.5 MB / 0.8283 GB, free: 105.8 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.BodyShape_res.mat does not exist to compare? outputFormat=mat