Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_3_2_2_cpp_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.486/2.486, allocations: 235 MB / 247.6 MB, free: 14.39 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.634e-05/3.657e-05, allocations: 4 kB / 305 MB, free: 5.566 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4346/0.4346, allocations: 54.85 MB / 359.9 MB, free: 2.32 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1835/0.6182, allocations: 89.49 MB / 449.4 MB, free: 7.379 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002511/0.6185, allocations: 79.95 kB / 449.4 MB, free: 7.301 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2293/0.8478, allocations: 46.93 MB / 496.4 MB, free: 7.988 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.8479, allocations: 7.938 kB / 496.4 MB, free: 7.98 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0001081/0.848, allocations: 44 kB / 496.4 MB, free: 7.938 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.008232/0.8562, allocations: 2.303 MB / 498.7 MB, free: 5.578 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.636e-05/0.8563, allocations: 15.97 kB / 498.7 MB, free: 5.562 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001624/0.8579, allocations: 490.1 kB / 499.2 MB, free: 5.074 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01343/0.8714, allocations: 1.767 MB / 0.4892 GB, free: 3.301 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004752/0.8762, allocations: 1.35 MB / 0.4906 GB, free: 1.906 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002254/0.8765, allocations: 180.7 kB / 0.4907 GB, free: 1.727 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00115/0.8776, allocations: 239.8 kB / 0.491 GB, free: 1.492 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01681/0.8945, allocations: 6.503 MB / 0.4973 GB, free: 10.23 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001706/0.8947, allocations: 43.61 kB / 0.4973 GB, free: 10.19 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008417/0.8956, allocations: 123.9 kB / 0.4975 GB, free: 10.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001986/0.8976, allocations: 0.6955 MB / 0.4981 GB, free: 9.367 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02103/0.9186, allocations: 5.286 MB / 0.5033 GB, free: 4.074 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3821/1.301, allocations: 31.71 MB / 0.5343 GB, free: 98.05 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00749/1.308, allocations: 2.332 MB / 0.5365 GB, free: 97.38 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002044/1.31, allocations: 0.9668 MB / 0.5375 GB, free: 97.35 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001693/1.311, allocations: 41.59 kB / 0.5375 GB, free: 97.35 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.329e-05/1.311, allocations: 42.62 kB / 0.5376 GB, free: 97.31 MB / 458.7 MB Notification: Performance of pre-optimization done (n=96): time 4.508e-06/1.311, allocations: 3.469 kB / 0.5376 GB, free: 97.31 MB / 458.7 MB Notification: Performance of matching and sorting (n=115): time 0.0404/1.351, allocations: 8.475 MB / 0.5458 GB, free: 95.5 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/1.351, allocations: 138.4 kB / 0.546 GB, free: 95.34 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006144/1.357, allocations: 2.316 MB / 0.5482 GB, free: 95.05 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003015/1.358, allocations: 40.86 kB / 0.5483 GB, free: 95.02 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001864/1.36, allocations: 2.021 MB / 0.5503 GB, free: 93.89 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007685/1.36, allocations: 467.3 kB / 0.5507 GB, free: 93.64 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004988/1.361, allocations: 86.59 kB / 0.5508 GB, free: 93.64 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0003105/1.361, allocations: 0.4961 MB / 0.5513 GB, free: 93.31 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003705/1.365, allocations: 1.341 MB / 0.5526 GB, free: 93.3 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005609/1.371, allocations: 4.074 MB / 0.5566 GB, free: 89.72 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.005521/1.376, allocations: 2.366 MB / 0.5589 GB, free: 89.7 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001807/1.376, allocations: 28.5 kB / 0.5589 GB, free: 89.7 MB / 458.7 MB Notification: Performance of matching and sorting (n=567) (initialization): time 0.01508/1.392, allocations: 5.194 MB / 0.564 GB, free: 88.31 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.541e-05/1.392, allocations: 47.19 kB / 0.564 GB, free: 88.31 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001311/1.392, allocations: 97.94 kB / 0.5641 GB, free: 88.31 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001776/1.394, allocations: 476 kB / 0.5646 GB, free: 88.22 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006037/1.4, allocations: 1.018 MB / 0.5656 GB, free: 88.09 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005341/1.405, allocations: 3.378 MB / 0.5689 GB, free: 85.95 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004899/1.41, allocations: 233.8 kB / 0.5691 GB, free: 85.86 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009471/1.411, allocations: 270 kB / 0.5693 GB, free: 85.83 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.0009581/1.412, allocations: 448.2 kB / 0.5698 GB, free: 85.46 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006768/1.413, allocations: 221.8 kB / 0.57 GB, free: 85.34 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003976/1.417, allocations: 1.471 MB / 0.5714 GB, free: 84.77 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.912e-05/1.417, allocations: 16.06 kB / 0.5714 GB, free: 84.77 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.181e-05/1.417, allocations: 2.844 kB / 0.5714 GB, free: 84.77 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.705e-05/1.417, allocations: 8.766 kB / 0.5714 GB, free: 84.77 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01257/1.429, allocations: 4.442 MB / 0.5758 GB, free: 83.08 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.421e-05/1.43, allocations: 0 / 0.5758 GB, free: 83.08 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001676/1.431, allocations: 176.4 kB / 0.5759 GB, free: 83.07 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001397/1.433, allocations: 311 kB / 0.5762 GB, free: 82.98 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001854/1.433, allocations: 26.69 kB / 0.5763 GB, free: 82.97 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004366/1.437, allocations: 2.798 MB / 0.579 GB, free: 81.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.306e-06/1.437, allocations: 0 / 0.579 GB, free: 81.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006977/1.444, allocations: 3.303 MB / 0.5822 GB, free: 79.62 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00148/1.446, allocations: 429.2 kB / 0.5826 GB, free: 79.34 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006206/1.446, allocations: 22 kB / 0.5827 GB, free: 79.32 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001652/1.448, allocations: 49.61 kB / 0.5827 GB, free: 79.31 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002725/1.448, allocations: 55.75 kB / 0.5828 GB, free: 79.31 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001174/1.449, allocations: 31.2 kB / 0.5828 GB, free: 79.3 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.003772/1.452, allocations: 1.582 MB / 0.5843 GB, free: 78.71 MB / 458.7 MB Notification: Performance of sort global known variables: time 5.92e-07/1.452, allocations: 0 / 0.5843 GB, free: 78.71 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005359/1.458, allocations: 0.6127 MB / 0.5849 GB, free: 78.63 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.007656/1.466, allocations: 4.108 MB / 0.5889 GB, free: 76.42 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.00746/1.473, allocations: 3.146 MB / 0.592 GB, free: 75.32 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/1.473, allocations: 0 / 0.592 GB, free: 75.32 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001958/1.475, allocations: 0.9071 MB / 0.5929 GB, free: 74.77 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001681/1.477, allocations: 197.1 kB / 0.5931 GB, free: 74.59 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01909/1.496, allocations: 5.688 MB / 0.5986 GB, free: 69.64 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003923/1.5, allocations: 2.239 MB / 0.6008 GB, free: 67.86 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002633/1.503, allocations: 1.064 MB / 0.6019 GB, free: 66.88 MB / 458.7 MB Notification: Performance of SimCode: time 1.964e-06/1.503, allocations: 4 kB / 0.6019 GB, free: 66.87 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.718/5.22, allocations: 59.15 MB / 0.6596 GB, free: 11.01 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_cpp_ModelicaTest.MultiBody.Parts.PointMass_res.mat does not exist to compare? outputFormat=mat