Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_1_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 1.96/1.96, allocations: 209.3 MB / 221.5 MB, free: 1.938 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.653e-05/3.671e-05, allocations: 4 kB / 273.2 MB, free: 164 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1044/0.1044, allocations: 48.7 MB / 321.9 MB, free: 15.36 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4122/0.5167, allocations: 82.89 MB / 404.7 MB, free: 6.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002965/0.5171, allocations: 75.28 kB / 404.8 MB, free: 6.66 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2394/0.7565, allocations: 46.86 MB / 451.7 MB, free: 7.395 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.255e-06/0.7566, allocations: 0 / 451.7 MB, free: 7.395 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001055/0.7567, allocations: 44 kB / 451.7 MB, free: 7.352 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.00805/0.7648, allocations: 2.311 MB / 454 MB, free: 4.984 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.182e-05/0.7648, allocations: 8.031 kB / 454 MB, free: 4.977 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001897/0.7667, allocations: 0.4903 MB / 454.5 MB, free: 4.477 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01384/0.7806, allocations: 1.775 MB / 456.3 MB, free: 2.695 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005179/0.7859, allocations: 1.342 MB / 457.6 MB, free: 1.305 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002311/0.7861, allocations: 184.7 kB / 457.8 MB, free: 1.121 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001212/0.7874, allocations: 239.9 kB / 458.1 MB, free: 0.8867 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0179/0.8053, allocations: 6.525 MB / 464.6 MB, free: 9.602 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001749/0.8055, allocations: 43.58 kB / 464.6 MB, free: 9.559 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000985/0.8065, allocations: 123.9 kB / 464.7 MB, free: 9.438 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001544/0.8081, allocations: 0.6955 MB / 465.4 MB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01631/0.8244, allocations: 5.408 MB / 470.9 MB, free: 3.328 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04621/0.8707, allocations: 31.56 MB / 0.4906 GB, free: 2.648 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007604/0.8784, allocations: 2.347 MB / 0.4929 GB, free: 156 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2935/1.172, allocations: 0.9644 MB / 0.4939 GB, free: 122 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002103/1.172, allocations: 40.89 kB / 0.4939 GB, free: 122 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.084e-05/1.172, allocations: 43.45 kB / 0.4939 GB, free: 122 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 4.849e-06/1.172, allocations: 1.062 kB / 0.4939 GB, free: 122 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.0407/1.213, allocations: 8.469 MB / 0.5022 GB, free: 120.4 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/1.213, allocations: 144.8 kB / 0.5024 GB, free: 120.2 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006276/1.219, allocations: 2.313 MB / 0.5046 GB, free: 119.9 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002911/1.22, allocations: 41.84 kB / 0.5047 GB, free: 119.9 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002071/1.222, allocations: 2.016 MB / 0.5066 GB, free: 118.8 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008441/1.223, allocations: 467.4 kB / 0.5071 GB, free: 118.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005598/1.223, allocations: 85.78 kB / 0.5072 GB, free: 118.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.000444/1.224, allocations: 498.8 kB / 0.5076 GB, free: 118.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004159/1.228, allocations: 1.344 MB / 0.5089 GB, free: 118.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006351/1.234, allocations: 4.098 MB / 0.5129 GB, free: 114.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00595/1.24, allocations: 2.359 MB / 0.5152 GB, free: 114.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001733/1.241, allocations: 28.09 kB / 0.5153 GB, free: 114.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01661/1.257, allocations: 5.519 MB / 0.5207 GB, free: 113.2 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001041/1.257, allocations: 47.12 kB / 0.5207 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001588/1.257, allocations: 98.19 kB / 0.5208 GB, free: 113.2 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001803/1.259, allocations: 477.6 kB / 0.5213 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006236/1.266, allocations: 1.018 MB / 0.5223 GB, free: 113 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00558/1.271, allocations: 3.379 MB / 0.5256 GB, free: 110.8 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004932/1.276, allocations: 229.4 kB / 0.5258 GB, free: 110.7 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001171/1.277, allocations: 273.8 kB / 0.526 GB, free: 110.7 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.001818/1.279, allocations: 451.8 kB / 0.5265 GB, free: 110.3 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007532/1.28, allocations: 218.7 kB / 0.5267 GB, free: 110.2 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004258/1.284, allocations: 1.461 MB / 0.5281 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-05/1.284, allocations: 16.38 kB / 0.5281 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.397e-05/1.284, allocations: 3.375 kB / 0.5281 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.517e-05/1.284, allocations: 7.406 kB / 0.5281 GB, free: 109.7 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01303/1.297, allocations: 4.45 MB / 0.5325 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.923e-05/1.298, allocations: 3.719 kB / 0.5325 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001746/1.299, allocations: 168.5 kB / 0.5326 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001492/1.301, allocations: 317.5 kB / 0.5329 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002545/1.301, allocations: 23.14 kB / 0.533 GB, free: 107.9 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004651/1.306, allocations: 2.792 MB / 0.5357 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.306, allocations: 3.953 kB / 0.5357 GB, free: 106 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007143/1.313, allocations: 3.311 MB / 0.5389 GB, free: 104.5 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001526/1.315, allocations: 434.3 kB / 0.5393 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005519/1.315, allocations: 16.91 kB / 0.5394 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001661/1.317, allocations: 55.72 kB / 0.5394 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002438/1.317, allocations: 61.3 kB / 0.5395 GB, free: 104.2 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000138/1.317, allocations: 29.72 kB / 0.5395 GB, free: 104.2 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003618/1.321, allocations: 1.579 MB / 0.541 GB, free: 103.6 MB / 426.7 MB Notification: Performance of sort global known variables: time 1.152e-06/1.321, allocations: 0 / 0.541 GB, free: 103.6 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.005112/1.326, allocations: 0.6199 MB / 0.5416 GB, free: 103.5 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.007721/1.334, allocations: 4.112 MB / 0.5457 GB, free: 101.3 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007415/1.341, allocations: 3.279 MB / 0.5489 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.341, allocations: 0 / 0.5489 GB, free: 100.1 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001895/1.343, allocations: 0.9267 MB / 0.5498 GB, free: 99.71 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00165/1.345, allocations: 193.5 kB / 0.5499 GB, free: 99.6 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01772/1.363, allocations: 5.4 MB / 0.5552 GB, free: 95.26 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003583/1.366, allocations: 2.235 MB / 0.5574 GB, free: 93.47 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.005972/1.372, allocations: 1.411 MB / 0.5588 GB, free: 92.59 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002489/1.375, allocations: 1.035 MB / 0.5598 GB, free: 91.64 MB / 426.7 MB Notification: Performance of SimCode: time 1.643e-06/1.375, allocations: 0 / 0.5598 GB, free: 91.64 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1205/1.495, allocations: 46.57 MB / 0.6053 GB, free: 48.82 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002329/1.496, allocations: 166.9 kB / 0.6054 GB, free: 48.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.108/5.604, allocations: 0 / 0.6054 GB, free: 48.59 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.1_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat