Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.BodyShape,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_BodyShape",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.466/2.466, allocations: 270 MB / 282.6 MB, free: 1.828 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.007e-05/4.011e-05, allocations: 8 kB / 347 MB, free: 3.133 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4107/0.4108, allocations: 61.87 MB / 408.9 MB, free: 10.68 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2247/0.6356, allocations: 108.4 MB / 0.5052 GB, free: 14.09 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003117/0.6359, allocations: 75.97 kB / 0.5053 GB, free: 14.01 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6678/1.304, allocations: 82.87 MB / 0.5862 GB, free: 54.6 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.214e-06/1.304, allocations: 0 / 0.5862 GB, free: 54.6 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000261/1.304, allocations: 84 kB / 0.5863 GB, free: 54.52 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: 1478 * Number of variables: 1478 Notification: Performance of Generate backend data structure: time 0.01509/1.319, allocations: 3.892 MB / 0.5901 GB, free: 50.56 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/1.319, allocations: 8.031 kB / 0.5901 GB, free: 50.55 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003405/1.323, allocations: 0.7576 MB / 0.5909 GB, free: 49.79 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01794/1.341, allocations: 2.326 MB / 0.5931 GB, free: 47.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01772/1.358, allocations: 5.023 MB / 0.598 GB, free: 42.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004016/1.359, allocations: 312.3 kB / 0.5983 GB, free: 42.05 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002356/1.361, allocations: 431.8 kB / 0.5987 GB, free: 41.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03021/1.392, allocations: 10.24 MB / 0.6087 GB, free: 30.34 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002848/1.392, allocations: 63.47 kB / 0.6088 GB, free: 30.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00181/1.394, allocations: 203.9 kB / 0.609 GB, free: 30.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002253/1.396, allocations: 0.9906 MB / 0.61 GB, free: 29.08 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02442/1.42, allocations: 8.101 MB / 0.6179 GB, free: 20.96 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07583/1.496, allocations: 48.1 MB / 0.6648 GB, free: 3.215 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01671/1.513, allocations: 3.673 MB / 0.6684 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003727/1.517, allocations: 1.526 MB / 0.6699 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.019/1.536, allocations: 7.632 MB / 0.6774 GB, free: 5.848 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.463e-05/1.536, allocations: 51.34 kB / 0.6774 GB, free: 5.789 MB / 490.7 MB Notification: Performance of pre-optimization done (n=144): time 5.37e-06/1.536, allocations: 0 / 0.6774 GB, free: 5.789 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.06104/1.597, allocations: 12.01 MB / 0.6892 GB, free: 9.645 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001831/1.599, allocations: 1.577 MB / 0.6907 GB, free: 7.895 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01045/1.61, allocations: 3.417 MB / 0.694 GB, free: 4.496 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0004517/1.61, allocations: 49.69 kB / 0.6941 GB, free: 4.441 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003799/1.614, allocations: 3.035 MB / 0.697 GB, free: 1.363 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.001264/1.615, allocations: 0.6404 MB / 0.6977 GB, free: 0.7148 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008542/1.616, allocations: 116 kB / 0.6978 GB, free: 0.6016 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0006591/1.617, allocations: 0.5667 MB / 0.6983 GB, free: 24 kB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005666/1.622, allocations: 1.929 MB / 0.7002 GB, free: 14.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01382/1.636, allocations: 5.624 MB / 0.7057 GB, free: 6.59 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01372/1.65, allocations: 3.287 MB / 0.7089 GB, free: 3.305 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000197/1.65, allocations: 36 kB / 0.7089 GB, free: 3.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.4831/2.133, allocations: 7.652 MB / 0.7164 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001597/2.134, allocations: 66.11 kB / 0.7165 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.01179/2.145, allocations: 2.494 MB / 0.7189 GB, free: 129.1 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008227/2.154, allocations: 1.137 MB / 0.72 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01089/2.165, allocations: 1.366 MB / 0.7214 GB, free: 129 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007599/2.172, allocations: 4.686 MB / 0.7259 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006789/2.179, allocations: 381.2 kB / 0.7263 GB, free: 126.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001406/2.181, allocations: 369.8 kB / 0.7267 GB, free: 126.5 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 606 * Number of states: 0 () * Number of discrete variables: 41 (freeMotion.arrow.arrowLine.twoHeadedArrow,freeMotion.arrow.headAtOrigin,freeMotion.arrowColor[3],freeMotion.arrowColor[2],freeMotion.arrowColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],body.frameTranslation.color[3],body.frameTranslation.color[2],body.frameTranslation.color[1],spring1.color[3],spring1.color[2],spring1.color[1],spring1.massColor[3],spring1.massColor[2],spring1.massColor[1],bar2.color[3],bar2.color[2],bar2.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 (742): * Single equations (assignments): 733 * Array equations: 5 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001945/2.183, allocations: 0.5736 MB / 0.7272 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008308/2.183, allocations: 336.9 kB / 0.7275 GB, free: 126.4 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009699/2.193, allocations: 2.887 MB / 0.7304 GB, free: 126.2 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.007929/2.201, allocations: 2.429 MB / 0.7327 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.012e-05/2.201, allocations: 0 / 0.7327 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.537e-05/2.201, allocations: 11.23 kB / 0.7327 GB, free: 126.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0277/2.229, allocations: 9.19 MB / 0.7417 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-05/2.229, allocations: 3.812 kB / 0.7417 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002288/2.231, allocations: 256.8 kB / 0.742 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005397/2.237, allocations: 1.01 MB / 0.743 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004132/2.237, allocations: 49.2 kB / 0.743 GB, free: 125.3 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008101/2.245, allocations: 4.827 MB / 0.7477 GB, free: 122.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.001095/2.247, allocations: 1.456 MB / 0.7491 GB, free: 121.4 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01288/2.259, allocations: 5.627 MB / 0.7546 GB, free: 119 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001227/2.261, allocations: 398.5 kB / 0.755 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009517/2.262, allocations: 38.23 kB / 0.755 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002944/2.265, allocations: 123.7 kB / 0.7552 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004533/2.265, allocations: 106.9 kB / 0.7553 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001836/2.265, allocations: 51.77 kB / 0.7553 GB, free: 118.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005585/2.271, allocations: 2.337 MB / 0.7576 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.002e-06/2.271, allocations: 0 / 0.7576 GB, free: 117.8 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008462/2.28, allocations: 1.019 MB / 0.7586 GB, free: 117.7 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 12 ($STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],freeMotion.r_rel_a[1],freeMotion.r_rel_a[2],freeMotion.r_rel_a[3],freeMotion.v_rel_a[1],freeMotion.v_rel_a[2],freeMotion.v_rel_a[3],freeMotion.w_rel_b[1],freeMotion.w_rel_b[2],freeMotion.w_rel_b[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (126): * Single equations (assignments): 119 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 3 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 2 {(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 1 {4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0193/2.299, allocations: 7.272 MB / 0.7657 GB, free: 113.6 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01878/2.318, allocations: 5.142 MB / 0.7707 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.436e-05/2.318, allocations: 0 / 0.7707 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.009201/2.327, allocations: 2.074 MB / 0.7727 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005605/2.333, allocations: 430.1 kB / 0.7731 GB, free: 110 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03468/2.367, allocations: 9.51 MB / 0.7824 GB, free: 102 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01133/2.379, allocations: 3.267 MB / 0.7856 GB, free: 99.56 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.007292/2.386, allocations: 1.866 MB / 0.7874 GB, free: 97.84 MB / 0.5105 GB Notification: Performance of SimCode: time 1.653e-06/2.386, allocations: 1.125 kB / 0.7874 GB, free: 97.84 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 4.964/7.351, allocations: 145.1 MB / 0.9292 GB, free: 158.4 MB / 0.5417 GB