Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.341/2.341, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.091e-05/4.095e-05, allocations: 4 kB / 305 MB, free: 5.078 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4042/0.4043, allocations: 54.86 MB / 359.9 MB, free: 3.156 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.167/0.5714, allocations: 89.5 MB / 449.4 MB, free: 7.422 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002942/0.5717, allocations: 75.95 kB / 449.5 MB, free: 7.348 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2099/0.7816, allocations: 46.92 MB / 496.4 MB, free: 8.043 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.7817, allocations: 7.875 kB / 496.4 MB, free: 8.035 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001281/0.7818, allocations: 52 kB / 496.4 MB, free: 7.984 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: 946 * Number of variables: 946 Notification: Performance of Generate backend data structure: time 0.009211/0.7911, allocations: 2.299 MB / 498.7 MB, free: 5.629 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.036e-05/0.7912, allocations: 11.97 kB / 498.7 MB, free: 5.617 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002193/0.7934, allocations: 494.1 kB / 499.2 MB, free: 5.125 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01404/0.8075, allocations: 1.775 MB / 0.4893 GB, free: 3.344 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005133/0.8126, allocations: 1.346 MB / 0.4906 GB, free: 1.953 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002919/0.813, allocations: 180.7 kB / 0.4907 GB, free: 1.773 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001517/0.8145, allocations: 239.8 kB / 0.491 GB, free: 1.539 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01962/0.8342, allocations: 6.507 MB / 0.4973 GB, free: 10.27 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001782/0.8344, allocations: 43.62 kB / 0.4974 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00123/0.8357, allocations: 123.9 kB / 0.4975 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00175/0.8375, allocations: 0.6994 MB / 0.4982 GB, free: 9.406 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01678/0.8543, allocations: 5.279 MB / 0.5033 GB, free: 4.121 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4419/1.296, allocations: 31.71 MB / 0.5343 GB, free: 98.93 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007827/1.304, allocations: 2.329 MB / 0.5366 GB, free: 98.26 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002169/1.306, allocations: 0.962 MB / 0.5375 GB, free: 98.23 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002153/1.307, allocations: 44.86 kB / 0.5376 GB, free: 98.23 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.749e-05/1.307, allocations: 43.27 kB / 0.5376 GB, free: 98.19 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 6.132e-06/1.307, allocations: 4.078 kB / 0.5376 GB, free: 98.19 MB / 458.7 MB Notification: Performance of matching and sorting (n=115): time 0.04569/1.352, allocations: 8.48 MB / 0.5459 GB, free: 96.38 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.063e-05/1.353, allocations: 139.1 kB / 0.546 GB, free: 96.22 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0066/1.359, allocations: 2.315 MB / 0.5483 GB, free: 95.93 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003299/1.36, allocations: 40.61 kB / 0.5483 GB, free: 95.9 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002102/1.362, allocations: 2.017 MB / 0.5503 GB, free: 94.83 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008171/1.363, allocations: 469.7 kB / 0.5507 GB, free: 94.58 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005484/1.363, allocations: 86.47 kB / 0.5508 GB, free: 94.58 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003961/1.364, allocations: 0.4898 MB / 0.5513 GB, free: 94.26 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003941/1.368, allocations: 1.343 MB / 0.5526 GB, free: 94.25 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005996/1.374, allocations: 4.069 MB / 0.5566 GB, free: 90.68 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005383/1.379, allocations: 2.368 MB / 0.5589 GB, free: 90.21 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001325/1.379, allocations: 27.12 kB / 0.5589 GB, free: 90.21 MB / 458.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01473/1.394, allocations: 5.243 MB / 0.564 GB, free: 88.71 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.782e-05/1.394, allocations: 47.09 kB / 0.5641 GB, free: 88.71 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001608/1.394, allocations: 108.5 kB / 0.5642 GB, free: 88.71 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001895/1.396, allocations: 469.3 kB / 0.5646 GB, free: 88.62 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007251/1.404, allocations: 1.015 MB / 0.5656 GB, free: 88.5 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007552/1.411, allocations: 3.377 MB / 0.5689 GB, free: 86.36 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007424/1.419, allocations: 233.5 kB / 0.5691 GB, free: 86.27 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001295/1.42, allocations: 277.1 kB / 0.5694 GB, free: 86.23 MB / 458.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.001927/1.422, allocations: 445.7 kB / 0.5698 GB, free: 85.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009626/1.423, allocations: 219 kB / 0.57 GB, free: 85.74 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006204/1.429, allocations: 1.466 MB / 0.5715 GB, free: 85.18 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.674e-05/1.429, allocations: 18.81 kB / 0.5715 GB, free: 85.18 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.941e-05/1.429, allocations: 3.844 kB / 0.5715 GB, free: 85.18 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.841e-05/1.429, allocations: 3.938 kB / 0.5715 GB, free: 85.18 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01986/1.449, allocations: 4.453 MB / 0.5758 GB, free: 83.48 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.744e-05/1.449, allocations: 3.75 kB / 0.5759 GB, free: 83.48 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002444/1.452, allocations: 167.6 kB / 0.576 GB, free: 83.47 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002086/1.454, allocations: 318.4 kB / 0.5763 GB, free: 83.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002893/1.454, allocations: 18.02 kB / 0.5763 GB, free: 83.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006325/1.461, allocations: 2.799 MB / 0.5791 GB, free: 81.5 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.461, allocations: 3.094 kB / 0.5791 GB, free: 81.5 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01047/1.471, allocations: 3.298 MB / 0.5823 GB, free: 80.03 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002011/1.473, allocations: 428.2 kB / 0.5827 GB, free: 79.75 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000897/1.474, allocations: 27.58 kB / 0.5827 GB, free: 79.73 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002511/1.477, allocations: 48.98 kB / 0.5828 GB, free: 79.71 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003031/1.477, allocations: 57.83 kB / 0.5828 GB, free: 79.71 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/1.477, allocations: 29.52 kB / 0.5829 GB, free: 79.7 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003742/1.481, allocations: 1.585 MB / 0.5844 GB, free: 79.11 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.132e-06/1.481, allocations: 0 / 0.5844 GB, free: 79.11 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005183/1.486, allocations: 0.6096 MB / 0.585 GB, free: 79.03 MB / 458.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.007595/1.494, allocations: 4.109 MB / 0.589 GB, free: 76.83 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007299/1.501, allocations: 3.146 MB / 0.5921 GB, free: 75.73 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.034e-06/1.501, allocations: 0 / 0.5921 GB, free: 75.73 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001954/1.503, allocations: 0.9054 MB / 0.593 GB, free: 74.95 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001959/1.505, allocations: 194.9 kB / 0.5932 GB, free: 74.77 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01877/1.524, allocations: 5.41 MB / 0.5984 GB, free: 70.06 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003945/1.528, allocations: 2.227 MB / 0.6006 GB, free: 68.28 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.006162/1.534, allocations: 1.408 MB / 0.602 GB, free: 67.4 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002508/1.537, allocations: 1.031 MB / 0.603 GB, free: 66.45 MB / 458.7 MB Notification: Performance of SimCode: time 1.362e-06/1.537, allocations: 0 / 0.603 GB, free: 66.45 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1117/1.649, allocations: 46.17 MB / 0.6481 GB, free: 23.13 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002468/1.649, allocations: 173.4 kB / 0.6482 GB, free: 22.89 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.142/5.791, allocations: 0 / 0.6482 GB, free: 22.89 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat