Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_FreeBodies2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 270 MB / 282.6 MB, free: 1.934 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.457e-05, allocations: 3.938 kB / 347.1 MB, free: 3.227 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4136/0.4137, allocations: 61.87 MB / 408.9 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.214/0.6277, allocations: 108.6 MB / 0.5054 GB, free: 13.94 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002822/0.6281, allocations: 75.95 kB / 0.5055 GB, free: 13.86 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9074/1.536, allocations: 148.1 MB / 0.6501 GB, free: 5.055 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.425e-06/1.536, allocations: 0 / 0.6501 GB, free: 5.055 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0007495/1.536, allocations: 160 kB / 0.6502 GB, free: 4.898 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2624 * Number of variables: 2624 Notification: Performance of Generate backend data structure: time 0.1059/1.642, allocations: 8.856 MB / 0.6589 GB, free: 11.96 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.992e-05/1.642, allocations: 12.02 kB / 0.6589 GB, free: 11.95 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.008282/1.651, allocations: 1.345 MB / 0.6602 GB, free: 10.59 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.06231/1.713, allocations: 7.774 MB / 0.6678 GB, free: 2.793 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0509/1.764, allocations: 10.44 MB / 0.678 GB, free: 8.273 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001253/1.765, allocations: 0.5818 MB / 0.6786 GB, free: 7.691 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.005311/1.771, allocations: 0.7964 MB / 0.6793 GB, free: 6.895 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07659/1.847, allocations: 18.08 MB / 0.697 GB, free: 3.262 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007461/1.848, allocations: 103.1 kB / 0.6971 GB, free: 3.16 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004016/1.852, allocations: 379.8 kB / 0.6975 GB, free: 2.789 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004714/1.857, allocations: 1.679 MB / 0.6991 GB, free: 1.109 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05608/1.913, allocations: 14.37 MB / 0.7131 GB, free: 2.723 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.9171/2.83, allocations: 81.13 MB / 0.7924 GB, free: 38.46 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0376/2.868, allocations: 7.519 MB / 0.7997 GB, free: 37.79 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007377/2.875, allocations: 3.361 MB / 0.803 GB, free: 37.58 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04079/2.916, allocations: 17.03 MB / 0.8196 GB, free: 28.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.074e-05/2.916, allocations: 67.75 kB / 0.8197 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 9.939e-06/2.916, allocations: 0 / 0.8197 GB, free: 28.26 MB / 0.5105 GB Notification: Performance of matching and sorting (n=329): time 0.1137/3.03, allocations: 23.94 MB / 0.8431 GB, free: 20.07 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.004834/3.035, allocations: 6.268 MB / 0.8492 GB, free: 13.96 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01485/3.05, allocations: 5.736 MB / 0.8548 GB, free: 11.96 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0009522/3.051, allocations: 78.17 kB / 0.8549 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004728/3.056, allocations: 5.13 MB / 0.8599 GB, free: 7.844 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.002274/3.058, allocations: 1.32 MB / 0.8612 GB, free: 6.883 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001531/3.059, allocations: 203.8 kB / 0.8614 GB, free: 6.73 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.000947/3.06, allocations: 0.742 MB / 0.8621 GB, free: 6.234 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01007/3.071, allocations: 3.895 MB / 0.8659 GB, free: 3.012 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01952/3.09, allocations: 9.863 MB / 0.8755 GB, free: 7.785 MB / 0.5262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01535/3.105, allocations: 6.033 MB / 0.8814 GB, free: 2.848 MB / 0.5262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002363/3.106, allocations: 56 kB / 0.8815 GB, free: 2.793 MB / 0.5262 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.06865/3.174, allocations: 16.05 MB / 0.8971 GB, free: 7.25 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001701/3.175, allocations: 92 kB / 0.8972 GB, free: 7.16 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03703/3.212, allocations: 7.853 MB / 0.9049 GB, free: 0.9414 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03054/3.242, allocations: 3.911 MB / 0.9087 GB, free: 14.33 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01582/3.258, allocations: 2.368 MB / 0.911 GB, free: 12.29 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.4611/3.719, allocations: 13.53 MB / 0.9242 GB, free: 121.4 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01566/3.735, allocations: 0.8763 MB / 0.9251 GB, free: 121.4 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003016/3.738, allocations: 0.6042 MB / 0.9257 GB, free: 121.4 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 936 * Number of states: 0 () * Number of discrete variables: 78 (spring6.color[3],spring6.color[2],spring6.color[1],spring6.massColor[3],spring6.massColor[2],spring6.massColor[1],pointMass.sphereColor[3],pointMass.sphereColor[2],pointMass.sphereColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],spring5.color[3],spring5.color[2],spring5.color[1],spring5.massColor[3],spring5.massColor[2],spring5.massColor[1],spring4.color[3],spring4.color[2],spring4.color[1],spring4.massColor[3],spring4.massColor[2],spring4.massColor[1],bodyBox.color[3],bodyBox.color[2],bodyBox.color[1],bodyBox.body.sphereColor[3],bodyBox.body.sphereColor[2],bodyBox.body.sphereColor[1],spring3.color[3],spring3.color[2],spring3.color[1],spring3.massColor[3],spring3.massColor[2],spring3.massColor[1],body.sphereColor[3],body.sphereColor[2],body.sphereColor[1],spring2.color[3],spring2.color[2],spring2.color[1],spring2.massColor[3],spring2.massColor[2],spring2.massColor[1],bodyShape.color[3],bodyShape.color[2],bodyShape.color[1],bodyShape.body.sphereColor[3],bodyShape.body.sphereColor[2],bodyShape.body.sphereColor[1],bodyShape.frameTranslation.color[3],bodyShape.frameTranslation.color[2],bodyShape.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 (1240): * Single equations (assignments): 1215 * Array equations: 11 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.003808/3.742, allocations: 0.8778 MB / 0.9265 GB, free: 121.2 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001764/3.744, allocations: 0.5976 MB / 0.9271 GB, free: 121.2 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02835/3.772, allocations: 7.77 MB / 0.9347 GB, free: 120.9 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02492/3.797, allocations: 6.91 MB / 0.9415 GB, free: 120.7 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.953e-05/3.797, allocations: 7.656 kB / 0.9415 GB, free: 120.7 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001025/3.797, allocations: 17.95 kB / 0.9415 GB, free: 120.7 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06163/3.859, allocations: 19.38 MB / 0.9604 GB, free: 119.6 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.064e-05/3.859, allocations: 10.8 kB / 0.9604 GB, free: 119.6 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006802/3.866, allocations: 0.6529 MB / 0.9611 GB, free: 119.6 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01709/3.883, allocations: 3.127 MB / 0.9641 GB, free: 119.5 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001007/3.884, allocations: 108 kB / 0.9642 GB, free: 119.5 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02153/3.906, allocations: 14 MB / 0.9779 GB, free: 111.8 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004542/3.91, allocations: 6.019 MB / 0.9838 GB, free: 106.3 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03459/3.945, allocations: 12.7 MB / 0.9962 GB, free: 103.1 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002465/3.947, allocations: 0.6526 MB / 0.9968 GB, free: 102.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002727/3.95, allocations: 82.94 kB / 0.9969 GB, free: 102.9 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007772/3.958, allocations: 385.9 kB / 0.9973 GB, free: 102.8 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001459/3.959, allocations: 251.6 kB / 0.9975 GB, free: 102.8 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004979/3.96, allocations: 105.8 kB / 0.9976 GB, free: 102.8 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.01056/3.97, allocations: 3.979 MB / 1.001 GB, free: 101.4 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.383e-06/3.97, allocations: 0 / 1.001 GB, free: 101.4 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01375/3.984, allocations: 2.092 MB / 1.004 GB, free: 101.2 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 54 ($STATESET4.x[3],$STATESET4.x[2],$STATESET4.x[1],$STATESET3.x[3],$STATESET3.x[2],$STATESET3.x[1],$STATESET2.x[3],$STATESET2.x[2],$STATESET2.x[1],$STATESET1.x[3],$STATESET1.x[2],$STATESET1.x[1],bodyShape.r_0[1],bodyShape.r_0[2],bodyShape.r_0[3],bodyShape.v_0[1],bodyShape.v_0[2],bodyShape.v_0[3],bodyShape.body.w_a[1],bodyShape.body.w_a[2],bodyShape.body.w_a[3],body.r_0[1],body.r_0[2],body.r_0[3],body.v_0[1],body.v_0[2],body.v_0[3],body.w_a[1],body.w_a[2],body.w_a[3],bodyBox.r_0[1],bodyBox.r_0[2],bodyBox.r_0[3],bodyBox.v_0[1],bodyBox.v_0[2],bodyBox.v_0[3],bodyBox.body.w_a[1],bodyBox.body.w_a[2],bodyBox.body.w_a[3],bodyCylinder.r_0[1],bodyCylinder.r_0[2],bodyCylinder.r_0[3],bodyCylinder.v_0[1],bodyCylinder.v_0[2],bodyCylinder.v_0[3],bodyCylinder.body.w_a[1],bodyCylinder.body.w_a[2],bodyCylinder.body.w_a[3],pointMass.r_0[1],pointMass.r_0[2],pointMass.r_0[3],pointMass.v_0[1],pointMass.v_0[2],pointMass.v_0[3]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (269): * Single equations (assignments): 252 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 12 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 8 {(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%),(3,100.0%),(4,100.0%)} * Non-linear Jacobian: 4 {4,4,4,4} * Without analytic Jacobian: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 1,(2,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.03588/4.02, allocations: 14.2 MB / 1.017 GB, free: 94.75 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.02864/4.049, allocations: 11.05 MB / 1.028 GB, free: 89.38 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-05/4.049, allocations: 0 / 1.028 GB, free: 89.38 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.01664/4.066, allocations: 5.389 MB / 1.033 GB, free: 84.6 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007796/4.073, allocations: 0.8633 MB / 1.034 GB, free: 83.89 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06433/4.138, allocations: 20.37 MB / 1.054 GB, free: 66.79 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01387/4.152, allocations: 5.536 MB / 1.06 GB, free: 62.77 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009045/4.161, allocations: 3.748 MB / 1.063 GB, free: 59.3 MB / 0.5574 GB Notification: Performance of SimCode: time 1.643e-06/4.161, allocations: 0 / 1.063 GB, free: 59.3 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.42/12.58, allocations: 0.5556 GB / 1.619 GB, free: 154.9 MB / 0.6043 GB