Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies2,fileNamePrefix="ModelicaTest_3_2_2_cs_ModelicaTest_MultiBody_Parts_FreeBodies2",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(ModelicaTest): time 3.272/3.272, allocations: 235.2 MB / 242.3 MB, free: 9.566 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.806e-05/2.809e-05, allocations: 4 kB / 299.6 MB, free: 208 kB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4223/0.4224, allocations: 54.85 MB / 354.4 MB, free: 15.19 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2559/0.6784, allocations: 98.61 MB / 453 MB, free: 12.43 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003675/0.6788, allocations: 79.89 kB / 453.1 MB, free: 12.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.073/1.752, allocations: 139.6 MB / 0.5788 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.294e-06/1.752, allocations: 0 / 0.5788 GB, free: 0.5234 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006712/1.753, allocations: 159.9 kB / 0.579 GB, free: 376 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2525 * Number of variables: 2525 Notification: Performance of Generate backend data structure: time 0.08398/1.837, allocations: 8.676 MB / 0.5874 GB, free: 7.617 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.871e-05/1.837, allocations: 8.031 kB / 0.5874 GB, free: 7.609 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.007254/1.844, allocations: 0.9874 MB / 0.5884 GB, free: 6.613 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.08616/1.93, allocations: 7.751 MB / 0.596 GB, free: 14.84 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.05639/1.987, allocations: 10.94 MB / 0.6067 GB, free: 3.816 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008109/1.988, allocations: 319.2 kB / 0.607 GB, free: 3.504 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004424/1.992, allocations: 451.8 kB / 0.6074 GB, free: 3.062 MB / 442.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.03494/2.027, allocations: 10.04 MB / 0.6172 GB, free: 9.02 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.5417/2.569, allocations: 15.13 MB / 0.632 GB, free: 63.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0008085/2.57, allocations: 108.6 kB / 0.6321 GB, free: 63.07 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004209/2.574, allocations: 46.69 kB / 0.6321 GB, free: 63.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005187/2.579, allocations: 1.598 MB / 0.6337 GB, free: 63.05 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1509/2.73, allocations: 77.61 MB / 0.7095 GB, free: 18.1 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01067/2.741, allocations: 4.358 MB / 0.7137 GB, free: 17.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007594/2.749, allocations: 3.041 MB / 0.7167 GB, free: 15.82 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003909/2.749, allocations: 51.44 kB / 0.7167 GB, free: 15.81 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.062e-05/2.749, allocations: 62.58 kB / 0.7168 GB, free: 15.75 MB / 458.7 MB Notification: Performance of pre-optimization done (n=265): time 1.009e-05/2.749, allocations: 0 / 0.7168 GB, free: 15.75 MB / 458.7 MB Notification: Performance of matching and sorting (n=293): time 0.1074/2.857, allocations: 21.59 MB / 0.7379 GB, free: 7.645 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/2.857, allocations: 237.1 kB / 0.7381 GB, free: 7.391 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01518/2.872, allocations: 5.147 MB / 0.7431 GB, free: 5.52 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001077/2.873, allocations: 28.52 kB / 0.7432 GB, free: 5.488 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.005592/2.879, allocations: 5.295 MB / 0.7483 GB, free: 1.41 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002487/2.881, allocations: 1.175 MB / 0.7495 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001476/2.883, allocations: 0.6562 kB / 0.7495 GB, free: 0.5508 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0008679/2.884, allocations: 0.7272 MB / 0.7502 GB, free: 68 kB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01869/2.902, allocations: 4.006 MB / 0.7541 GB, free: 0 / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01828/2.921, allocations: 9.576 MB / 0.7635 GB, free: 6.691 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0161/2.937, allocations: 5.806 MB / 0.7691 GB, free: 4.52 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002547/2.937, allocations: 59.19 kB / 0.7692 GB, free: 4.52 MB / 474.7 MB Notification: Performance of matching and sorting (n=1301) (initialization): time 0.07435/3.011, allocations: 15.05 MB / 0.7839 GB, free: 10.02 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002273/3.012, allocations: 92 kB / 0.784 GB, free: 9.93 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.04543/3.057, allocations: 7.485 MB / 0.7913 GB, free: 4.074 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03776/3.095, allocations: 3.853 MB / 0.795 GB, free: 1.5 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01853/3.114, allocations: 2.361 MB / 0.7974 GB, free: 15.47 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03124/3.145, allocations: 13.11 MB / 0.8102 GB, free: 3.164 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01729/3.162, allocations: 0.682 MB / 0.8108 GB, free: 2.703 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003296/3.166, allocations: 0.6053 MB / 0.8114 GB, free: 2.121 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * Number of states: 0 () * Number of discrete variables: 75 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1225): * Single equations (assignments): 1200 * 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.004448/3.17, allocations: 0.6456 MB / 0.812 GB, free: 1.477 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002199/3.172, allocations: 0.5593 MB / 0.8126 GB, free: 0.9102 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.5725/3.745, allocations: 7.668 MB / 0.8201 GB, free: 106.9 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.03743/3.782, allocations: 6.544 MB / 0.8265 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.555e-05/3.782, allocations: 10.34 kB / 0.8265 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001253/3.783, allocations: 10.22 kB / 0.8265 GB, free: 106.7 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03866/3.821, allocations: 11.02 MB / 0.8372 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.86e-05/3.821, allocations: 0.75 kB / 0.8372 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00816/3.83, allocations: 0.6067 MB / 0.8378 GB, free: 106.1 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.02116/3.851, allocations: 3.072 MB / 0.8408 GB, free: 106 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001024/3.852, allocations: 64.62 kB / 0.8409 GB, free: 105.9 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0262/3.878, allocations: 13.75 MB / 0.8543 GB, free: 98.58 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.00496/3.883, allocations: 5.782 MB / 0.86 GB, free: 93.39 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03911/3.922, allocations: 11.5 MB / 0.8712 GB, free: 92.6 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002375/3.925, allocations: 0.6038 MB / 0.8718 GB, free: 92.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0027/3.927, allocations: 29.75 kB / 0.8718 GB, free: 92.51 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008459/3.936, allocations: 331.8 kB / 0.8721 GB, free: 92.51 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001506/3.937, allocations: 215.9 kB / 0.8724 GB, free: 92.5 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006021/3.938, allocations: 93.77 kB / 0.8724 GB, free: 92.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01016/3.948, allocations: 3.447 MB / 0.8758 GB, free: 92.29 MB / 0.4948 GB Notification: Performance of sort global known variables: time 2.364e-06/3.948, allocations: 0 / 0.8758 GB, free: 92.29 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01536/3.964, allocations: 1.881 MB / 0.8776 GB, free: 92.29 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 54 ($STATESET140302627275147.x[3],$STATESET140302627275147.x[2],$STATESET140302627275147.x[1],$STATESET140302627275146.x[3],$STATESET140302627275146.x[2],$STATESET140302627275146.x[1],$STATESET140302627275145.x[3],$STATESET140302627275145.x[2],$STATESET140302627275145.x[1],$STATESET140302627275144.x[3],$STATESET140302627275144.x[2],$STATESET140302627275144.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 (239): * Single equations (assignments): 222 * 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.04233/4.006, allocations: 12.34 MB / 0.8897 GB, free: 88.56 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.03537/4.042, allocations: 10.7 MB / 0.9001 GB, free: 84.54 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 8.115e-06/4.042, allocations: 0 / 0.9001 GB, free: 84.54 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.02025/4.062, allocations: 5.217 MB / 0.9052 GB, free: 82.01 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008139/4.07, allocations: 0.7122 MB / 0.9059 GB, free: 81.74 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06664/4.137, allocations: 18.67 MB / 0.9242 GB, free: 66.77 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01482/4.152, allocations: 5.402 MB / 0.9294 GB, free: 62.82 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01764/4.169, allocations: 2.985 MB / 0.9324 GB, free: 60.93 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009864/4.179, allocations: 3.584 MB / 0.9359 GB, free: 57.62 MB / 0.4948 GB Notification: Performance of SimCode: time 2.274e-06/4.179, allocations: 0 / 0.9359 GB, free: 57.62 MB / 0.4948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.891/5.07, allocations: 142.3 MB / 1.075 GB, free: 103.5 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.000383/5.071, allocations: 142.5 kB / 1.075 GB, free: 103.3 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 10.54/15.61, allocations: 0 / 1.075 GB, free: 103.3 MB / 0.5105 GB