Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_1_cpp_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.944/1.944, allocations: 209.3 MB / 221.9 MB, free: 1.922 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 5.231e-05/5.248e-05, allocations: 4 kB / 273.2 MB, free: 0.6211 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1359, allocations: 48.7 MB / 321.9 MB, free: 15.83 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.439/0.5749, allocations: 82.89 MB / 404.7 MB, free: 7.008 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002897/0.5752, allocations: 78.78 kB / 404.8 MB, free: 6.934 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2044/0.7797, allocations: 46.87 MB / 451.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.7797, allocations: 0 / 451.7 MB, free: 7.66 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001156/0.7799, allocations: 40 kB / 451.7 MB, free: 7.621 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 945 * Number of variables: 945 Notification: Performance of Generate backend data structure: time 0.009094/0.789, allocations: 2.315 MB / 454 MB, free: 5.25 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.032e-05/0.7891, allocations: 12.03 kB / 454.1 MB, free: 5.238 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001804/0.7909, allocations: 490.1 kB / 454.5 MB, free: 4.75 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01411/0.805, allocations: 1.779 MB / 456.3 MB, free: 2.965 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004991/0.8101, allocations: 1.346 MB / 457.7 MB, free: 1.57 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002368/0.8104, allocations: 180.7 kB / 457.8 MB, free: 1.391 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001126/0.8115, allocations: 231.9 kB / 458.1 MB, free: 1.164 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01731/0.8288, allocations: 6.503 MB / 464.6 MB, free: 9.906 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001424/0.829, allocations: 39.59 kB / 464.6 MB, free: 9.867 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006059/0.8297, allocations: 123.9 kB / 464.7 MB, free: 9.746 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001487/0.8312, allocations: 0.6916 MB / 465.4 MB, free: 9.051 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01606/0.8472, allocations: 5.29 MB / 470.7 MB, free: 3.758 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04707/0.8944, allocations: 31.56 MB / 0.4905 GB, free: 3.086 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007818/0.9023, allocations: 2.331 MB / 0.4928 GB, free: 0.6055 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.3473/1.25, allocations: 0.9655 MB / 0.4937 GB, free: 121.4 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002018/1.25, allocations: 40.36 kB / 0.4938 GB, free: 121.4 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.664e-05/1.25, allocations: 42.28 kB / 0.4938 GB, free: 121.4 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 5.44e-06/1.25, allocations: 0 / 0.4938 GB, free: 121.4 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.05397/1.304, allocations: 8.469 MB / 0.5021 GB, free: 119.8 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.718e-05/1.304, allocations: 147.3 kB / 0.5022 GB, free: 119.6 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007308/1.311, allocations: 2.31 MB / 0.5045 GB, free: 119.4 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003232/1.312, allocations: 40.33 kB / 0.5045 GB, free: 119.3 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002402/1.314, allocations: 2.02 MB / 0.5065 GB, free: 118.2 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000986/1.315, allocations: 469.7 kB / 0.5069 GB, free: 118 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005172/1.316, allocations: 85.22 kB / 0.507 GB, free: 118 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0004772/1.316, allocations: 0.4915 MB / 0.5075 GB, free: 117.6 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005229/1.321, allocations: 1.341 MB / 0.5088 GB, free: 117.6 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007401/1.329, allocations: 4.068 MB / 0.5128 GB, free: 114.1 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007758/1.337, allocations: 2.373 MB / 0.5151 GB, free: 114 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001595/1.337, allocations: 28.22 kB / 0.5151 GB, free: 114 MB / 426.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01546/1.352, allocations: 5.19 MB / 0.5202 GB, free: 113 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.87e-05/1.353, allocations: 49.84 kB / 0.5202 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001394/1.353, allocations: 101.5 kB / 0.5203 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001761/1.354, allocations: 473 kB / 0.5208 GB, free: 112.9 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006002/1.361, allocations: 1.017 MB / 0.5218 GB, free: 112.8 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005307/1.366, allocations: 3.376 MB / 0.5251 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004597/1.371, allocations: 224.6 kB / 0.5253 GB, free: 110.6 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005277/1.371, allocations: 276.4 kB / 0.5255 GB, free: 110.6 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 448 * Number of states: 0 () * Number of discrete variables: 18 (rev.cylinderColor[3],rev.cylinderColor[2],rev.cylinderColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.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 (534): * Single equations (assignments): 530 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007579/1.372, allocations: 447.5 kB / 0.526 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004511/1.372, allocations: 220.7 kB / 0.5262 GB, free: 110.1 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003768/1.376, allocations: 1.464 MB / 0.5276 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.241e-05/1.376, allocations: 16.25 kB / 0.5276 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.063e-05/1.376, allocations: 0 / 0.5276 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/1.376, allocations: 9.984 kB / 0.5276 GB, free: 109.5 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/1.388, allocations: 4.45 MB / 0.532 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-05/1.388, allocations: 3.406 kB / 0.532 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001736/1.39, allocations: 167.5 kB / 0.5321 GB, free: 107.8 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001442/1.392, allocations: 320 kB / 0.5324 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001869/1.392, allocations: 13.06 kB / 0.5325 GB, free: 107.7 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004346/1.396, allocations: 2.807 MB / 0.5352 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/1.396, allocations: 7.016 kB / 0.5352 GB, free: 105.8 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006866/1.403, allocations: 3.301 MB / 0.5384 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001418/1.404, allocations: 429.9 kB / 0.5388 GB, free: 104.1 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005151/1.405, allocations: 20.45 kB / 0.5389 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001816/1.407, allocations: 46.48 kB / 0.5389 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003049/1.407, allocations: 64.52 kB / 0.539 GB, free: 104 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001159/1.407, allocations: 30.27 kB / 0.539 GB, free: 104 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003457/1.411, allocations: 1.581 MB / 0.5405 GB, free: 103.4 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.022e-06/1.411, allocations: 0 / 0.5405 GB, free: 103.4 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00516/1.416, allocations: 0.6157 MB / 0.5411 GB, free: 103.3 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (86): * Single equations (assignments): 82 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.007411/1.423, allocations: 4.111 MB / 0.5452 GB, free: 101.1 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007245/1.431, allocations: 3.146 MB / 0.5482 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.972e-06/1.431, allocations: 3.938 kB / 0.5482 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001884/1.433, allocations: 0.906 MB / 0.5491 GB, free: 99.67 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00175/1.435, allocations: 190.2 kB / 0.5493 GB, free: 99.56 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01863/1.453, allocations: 5.694 MB / 0.5549 GB, free: 95.41 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002715/1.456, allocations: 2.228 MB / 0.557 GB, free: 93.62 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00223/1.458, allocations: 1.07 MB / 0.5581 GB, free: 92.63 MB / 426.7 MB Notification: Performance of SimCode: time 1.242e-06/1.458, allocations: 3.938 kB / 0.5581 GB, free: 92.63 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.589/5.047, allocations: 59.11 MB / 0.6158 GB, free: 37.64 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat