Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.PointMass,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_PointMass",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.543/2.543, allocations: 270 MB / 282.6 MB, free: 1.895 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.084e-05/4.09e-05, allocations: 11.88 kB / 347.1 MB, free: 3.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.3969, allocations: 61.86 MB / 408.9 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1785/0.5754, allocations: 97.98 MB / 0.495 GB, free: 8.578 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000272/0.5757, allocations: 71.97 kB / 0.4951 GB, free: 8.508 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.539/1.115, allocations: 48.37 MB / 0.5423 GB, free: 98.87 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.115, allocations: 3.938 kB / 0.5423 GB, free: 98.86 MB / 442.7 MB Notification: Performance of Transformations before backend: time 9.686e-05/1.115, allocations: 48 kB / 0.5424 GB, free: 98.82 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 949 * Number of variables: 949 Notification: Performance of Generate backend data structure: time 0.008103/1.123, allocations: 2.319 MB / 0.5446 GB, free: 96.46 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.248e-05/1.123, allocations: 8.031 kB / 0.5446 GB, free: 96.45 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001792/1.125, allocations: 492 kB / 0.5451 GB, free: 95.98 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01319/1.138, allocations: 1.783 MB / 0.5469 GB, free: 94.19 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004516/1.143, allocations: 1.358 MB / 0.5482 GB, free: 92.8 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002124/1.143, allocations: 183.1 kB / 0.5484 GB, free: 92.64 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0014/1.144, allocations: 242.5 kB / 0.5486 GB, free: 92.42 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01593/1.16, allocations: 6.519 MB / 0.555 GB, free: 85.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001425/1.16, allocations: 43.53 kB / 0.555 GB, free: 85.16 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008971/1.161, allocations: 127.2 kB / 0.5551 GB, free: 85.06 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001311/1.163, allocations: 0.695 MB / 0.5558 GB, free: 84.37 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01385/1.177, allocations: 5.294 MB / 0.561 GB, free: 79.07 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03803/1.215, allocations: 31.81 MB / 0.592 GB, free: 46.26 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007077/1.222, allocations: 2.332 MB / 0.5943 GB, free: 43.79 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001756/1.224, allocations: 0.9679 MB / 0.5953 GB, free: 42.8 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000166/1.224, allocations: 47.84 kB / 0.5953 GB, free: 42.76 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.926e-05/1.224, allocations: 46.55 kB / 0.5953 GB, free: 42.7 MB / 442.7 MB Notification: Performance of pre-optimization done (n=96): time 4.339e-06/1.224, allocations: 4 kB / 0.5953 GB, free: 42.7 MB / 442.7 MB Notification: Performance of matching and sorting (n=115): time 0.03817/1.262, allocations: 8.486 MB / 0.6036 GB, free: 34.09 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.558e-05/1.262, allocations: 145 kB / 0.6038 GB, free: 33.91 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004959/1.267, allocations: 2.337 MB / 0.6061 GB, free: 31.55 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002565/1.267, allocations: 41.69 kB / 0.6061 GB, free: 31.5 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001605/1.269, allocations: 2.035 MB / 0.6081 GB, free: 29.44 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006584/1.27, allocations: 466.2 kB / 0.6085 GB, free: 28.98 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004864/1.27, allocations: 84 kB / 0.6086 GB, free: 28.9 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002825/1.271, allocations: 0.5005 MB / 0.6091 GB, free: 28.39 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003255/1.274, allocations: 1.344 MB / 0.6104 GB, free: 27.04 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005006/1.279, allocations: 4.086 MB / 0.6144 GB, free: 21.55 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.004905/1.284, allocations: 2.374 MB / 0.6167 GB, free: 19.18 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.918e-05/1.284, allocations: 32 kB / 0.6167 GB, free: 19.14 MB / 442.7 MB Notification: Performance of matching and sorting (n=570) (initialization): time 0.01387/1.298, allocations: 5.208 MB / 0.6218 GB, free: 13.93 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.199e-05/1.298, allocations: 53.67 kB / 0.6219 GB, free: 13.88 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000123/1.298, allocations: 100 kB / 0.622 GB, free: 13.79 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/1.3, allocations: 476.9 kB / 0.6224 GB, free: 13.32 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006194/1.306, allocations: 1.029 MB / 0.6234 GB, free: 12.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005364/1.311, allocations: 3.38 MB / 0.6267 GB, free: 8.77 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004438/1.316, allocations: 231.6 kB / 0.627 GB, free: 8.543 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0009436/1.317, allocations: 276 kB / 0.6272 GB, free: 8.273 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 451 * Number of states: 0 () * Number of discrete variables: 21 (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.groundColor[3],world.groundColor[2],world.groundColor[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 (537): * Single equations (assignments): 533 * 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.0008756/1.318, allocations: 444.8 kB / 0.6276 GB, free: 7.828 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005381/1.318, allocations: 225.1 kB / 0.6279 GB, free: 7.605 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004075/1.322, allocations: 1.469 MB / 0.6293 GB, free: 6.125 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.691e-05/1.323, allocations: 12 kB / 0.6293 GB, free: 6.113 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.449e-05/1.323, allocations: 4 kB / 0.6293 GB, free: 6.109 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.776e-05/1.323, allocations: 3.984 kB / 0.6293 GB, free: 6.105 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01249/1.335, allocations: 4.452 MB / 0.6337 GB, free: 1.59 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.724e-05/1.335, allocations: 0 / 0.6337 GB, free: 1.59 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00177/1.337, allocations: 175.7 kB / 0.6338 GB, free: 1.418 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001514/1.339, allocations: 320.5 kB / 0.6341 GB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002587/1.339, allocations: 24 kB / 0.6342 GB, free: 1.078 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00536/1.344, allocations: 2.792 MB / 0.6369 GB, free: 14.15 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/1.344, allocations: 3.938 kB / 0.6369 GB, free: 14.14 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008206/1.352, allocations: 3.303 MB / 0.6401 GB, free: 10.79 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008612/1.353, allocations: 286.1 kB / 0.6404 GB, free: 10.49 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005237/1.354, allocations: 16 kB / 0.6404 GB, free: 10.47 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001674/1.356, allocations: 47.94 kB / 0.6404 GB, free: 10.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002864/1.356, allocations: 60.42 kB / 0.6405 GB, free: 10.37 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001373/1.356, allocations: 28 kB / 0.6405 GB, free: 10.34 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.004347/1.36, allocations: 1.6 MB / 0.6421 GB, free: 8.723 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.573e-06/1.361, allocations: 0 / 0.6421 GB, free: 8.723 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.005267/1.366, allocations: 0.6288 MB / 0.6427 GB, free: 8.094 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.008815/1.375, allocations: 4.121 MB / 0.6467 GB, free: 3.934 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.008068/1.383, allocations: 3.157 MB / 0.6498 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/1.383, allocations: 0 / 0.6498 GB, free: 0.7891 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00219/1.385, allocations: 0.9021 MB / 0.6507 GB, free: 15.88 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001587/1.387, allocations: 198.2 kB / 0.6509 GB, free: 15.69 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02006/1.407, allocations: 5.714 MB / 0.6565 GB, free: 9.891 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004817/1.412, allocations: 2.246 MB / 0.6587 GB, free: 7.613 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002929/1.415, allocations: 1.073 MB / 0.6597 GB, free: 6.539 MB / 474.7 MB Notification: Performance of SimCode: time 2.215e-06/1.415, allocations: 0 / 0.6597 GB, free: 6.539 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.161/5.575, allocations: 59.61 MB / 0.7179 GB, free: 157.6 MB / 0.5105 GB