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.915/1.915, allocations: 209.3 MB / 221.9 MB, free: 1.93 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.764e-05/3.799e-05, allocations: 4 kB / 273.1 MB, free: 0.6484 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1126/0.1127, allocations: 48.71 MB / 321.8 MB, free: 15.84 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4261/0.5388, allocations: 82.88 MB / 404.7 MB, free: 7.043 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002861/0.5392, allocations: 79.05 kB / 404.8 MB, free: 6.969 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.203/0.7422, allocations: 46.86 MB / 451.6 MB, free: 7.699 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.7423, allocations: 8 kB / 451.7 MB, free: 7.691 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001086/0.7424, allocations: 40 kB / 451.7 MB, free: 7.652 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.008439/0.7508, allocations: 2.311 MB / 454 MB, free: 5.285 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.462e-05/0.7509, allocations: 15.91 kB / 454 MB, free: 5.27 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001791/0.7527, allocations: 494.1 kB / 454.5 MB, free: 4.777 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01366/0.7664, allocations: 1.775 MB / 456.3 MB, free: 2.996 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004955/0.7714, allocations: 1.338 MB / 457.6 MB, free: 1.609 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002494/0.7717, allocations: 180.7 kB / 457.8 MB, free: 1.43 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001434/0.7731, allocations: 239.9 kB / 458 MB, free: 1.195 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01816/0.7913, allocations: 6.532 MB / 464.6 MB, free: 9.902 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001443/0.7915, allocations: 43.53 kB / 464.6 MB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008704/0.7924, allocations: 119.9 kB / 464.7 MB, free: 9.742 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00154/0.794, allocations: 0.6994 MB / 465.4 MB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01591/0.8099, allocations: 5.412 MB / 470.8 MB, free: 3.625 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04582/0.8558, allocations: 31.56 MB / 0.4906 GB, free: 2.945 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007852/0.8637, allocations: 2.335 MB / 0.4929 GB, free: 472 kB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.2749/1.139, allocations: 0.9695 MB / 0.4938 GB, free: 122.1 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002206/1.139, allocations: 41.41 kB / 0.4939 GB, free: 122.1 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.488e-05/1.139, allocations: 40.64 kB / 0.4939 GB, free: 122.1 MB / 426.7 MB Notification: Performance of pre-optimization done (n=96): time 4.769e-06/1.139, allocations: 1.469 kB / 0.4939 GB, free: 122.1 MB / 426.7 MB Notification: Performance of matching and sorting (n=115): time 0.04067/1.18, allocations: 8.482 MB / 0.5022 GB, free: 120.5 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.726e-05/1.18, allocations: 139.1 kB / 0.5023 GB, free: 120.3 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005888/1.186, allocations: 2.309 MB / 0.5046 GB, free: 120 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002842/1.186, allocations: 43.61 kB / 0.5046 GB, free: 120 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00204/1.188, allocations: 2.024 MB / 0.5066 GB, free: 118.9 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008566/1.189, allocations: 464.1 kB / 0.5071 GB, free: 118.6 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005264/1.189, allocations: 86 kB / 0.5071 GB, free: 118.6 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0003993/1.19, allocations: 0.4926 MB / 0.5076 GB, free: 118.3 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003796/1.194, allocations: 1.341 MB / 0.5089 GB, free: 118.3 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005639/1.199, allocations: 4.097 MB / 0.5129 GB, free: 114.7 MB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005604/1.205, allocations: 2.358 MB / 0.5152 GB, free: 114.7 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001235/1.205, allocations: 28.5 kB / 0.5153 GB, free: 114.7 MB / 426.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01563/1.221, allocations: 5.471 MB / 0.5206 GB, free: 113.3 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.355e-05/1.221, allocations: 49.09 kB / 0.5206 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001157/1.221, allocations: 103.1 kB / 0.5207 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001716/1.223, allocations: 472.1 kB / 0.5212 GB, free: 113.3 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005984/1.229, allocations: 1.011 MB / 0.5222 GB, free: 113.1 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005295/1.234, allocations: 3.384 MB / 0.5255 GB, free: 111 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004573/1.239, allocations: 227.5 kB / 0.5257 GB, free: 110.9 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0006806/1.24, allocations: 276.6 kB / 0.526 GB, free: 110.9 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.0007975/1.24, allocations: 453.4 kB / 0.5264 GB, free: 110.5 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005512/1.241, allocations: 213.9 kB / 0.5266 GB, free: 110.4 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003837/1.245, allocations: 1.46 MB / 0.528 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.64e-05/1.245, allocations: 18.59 kB / 0.528 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.283e-05/1.245, allocations: 3.969 kB / 0.5281 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.484e-05/1.245, allocations: 3.609 kB / 0.5281 GB, free: 109.8 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/1.257, allocations: 4.457 MB / 0.5324 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.748e-05/1.257, allocations: 0 / 0.5324 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001692/1.258, allocations: 176.4 kB / 0.5326 GB, free: 108.1 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001423/1.26, allocations: 315.3 kB / 0.5329 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002002/1.26, allocations: 19.47 kB / 0.5329 GB, free: 108 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004406/1.265, allocations: 2.797 MB / 0.5356 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.742e-06/1.265, allocations: 4.828 kB / 0.5356 GB, free: 106.1 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006925/1.272, allocations: 3.31 MB / 0.5389 GB, free: 104.6 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001516/1.273, allocations: 437 kB / 0.5393 GB, free: 104.4 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004668/1.274, allocations: 20.34 kB / 0.5393 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001525/1.275, allocations: 48.09 kB / 0.5393 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002202/1.275, allocations: 55.8 kB / 0.5394 GB, free: 104.3 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001157/1.276, allocations: 31.47 kB / 0.5394 GB, free: 104.3 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.003464/1.279, allocations: 1.58 MB / 0.541 GB, free: 103.7 MB / 426.7 MB Notification: Performance of sort global known variables: time 7.91e-07/1.279, allocations: 0 / 0.541 GB, free: 103.7 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.004846/1.284, allocations: 0.6123 MB / 0.5416 GB, free: 103.7 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.007552/1.291, allocations: 4.113 MB / 0.5456 GB, free: 101.5 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.007334/1.299, allocations: 3.281 MB / 0.5488 GB, free: 100.3 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 6.292e-06/1.299, allocations: 3.875 kB / 0.5488 GB, free: 100.3 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001806/1.301, allocations: 0.9223 MB / 0.5497 GB, free: 99.87 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001497/1.302, allocations: 193.3 kB / 0.5499 GB, free: 99.76 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01743/1.32, allocations: 5.695 MB / 0.5554 GB, free: 95.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003245/1.323, allocations: 2.233 MB / 0.5576 GB, free: 93.57 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00233/1.325, allocations: 1.066 MB / 0.5587 GB, free: 92.59 MB / 426.7 MB Notification: Performance of SimCode: time 1.883e-06/1.325, allocations: 3.938 kB / 0.5587 GB, free: 92.59 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.716/5.041, allocations: 59.79 MB / 0.6171 GB, free: 36.88 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