Running command: "" <> buildModelFMU(ModelicaTest.MultiBody.Parts.FreeBodies,fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest_MultiBody_Parts_FreeBodies",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.479/2.479, allocations: 270 MB / 282.6 MB, free: 1.809 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.874e-05/3.881e-05, allocations: 4 kB / 347.1 MB, free: 3.102 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4509/0.451, allocations: 61.87 MB / 408.9 MB, free: 10.65 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2063/0.6574, allocations: 108.6 MB / 0.5054 GB, free: 13.86 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003274/0.6578, allocations: 79.95 kB / 0.5055 GB, free: 13.78 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9346/1.592, allocations: 148 MB / 0.65 GB, free: 11.08 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.615e-06/1.592, allocations: 0 / 0.65 GB, free: 11.08 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0007462/1.593, allocations: 159.9 kB / 0.6502 GB, free: 10.92 MB / 474.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.1032/1.696, allocations: 8.856 MB / 0.6588 GB, free: 1.984 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.451e-05/1.697, allocations: 8.031 kB / 0.6588 GB, free: 1.977 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00868/1.705, allocations: 1.349 MB / 0.6602 GB, free: 0.6133 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07048/1.776, allocations: 7.778 MB / 0.6678 GB, free: 8.812 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04399/1.82, allocations: 10.43 MB / 0.6779 GB, free: 14.3 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009956/1.821, allocations: 0.5818 MB / 0.6785 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004602/1.826, allocations: 0.7925 MB / 0.6793 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08242/1.908, allocations: 18.07 MB / 0.6969 GB, free: 9.297 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007996/1.909, allocations: 103.1 kB / 0.697 GB, free: 9.195 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004503/1.913, allocations: 383.7 kB / 0.6974 GB, free: 8.82 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006318/1.92, allocations: 1.679 MB / 0.699 GB, free: 7.141 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05677/1.977, allocations: 14.37 MB / 0.7131 GB, free: 8.754 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.6213/2.598, allocations: 81.14 MB / 0.7923 GB, free: 51.81 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03794/2.636, allocations: 7.512 MB / 0.7996 GB, free: 51.14 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007437/2.643, allocations: 3.362 MB / 0.8029 GB, free: 51.09 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04014/2.684, allocations: 17.03 MB / 0.8196 GB, free: 45.95 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.014e-05/2.684, allocations: 76 kB / 0.8196 GB, free: 45.88 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=301): time 7.424e-06/2.684, allocations: 1.688 kB / 0.8196 GB, free: 45.88 MB / 0.5261 GB Notification: Performance of matching and sorting (n=329): time 0.1225/2.806, allocations: 23.94 MB / 0.843 GB, free: 37.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00509/2.811, allocations: 6.269 MB / 0.8491 GB, free: 31.58 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.015/2.827, allocations: 5.74 MB / 0.8547 GB, free: 29.59 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0009192/2.827, allocations: 72.83 kB / 0.8548 GB, free: 29.52 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004705/2.832, allocations: 5.124 MB / 0.8598 GB, free: 25.62 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.002321/2.835, allocations: 1.325 MB / 0.8611 GB, free: 24.66 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001615/2.836, allocations: 195.2 kB / 0.8613 GB, free: 24.51 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.000934/2.837, allocations: 0.736 MB / 0.862 GB, free: 24.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01015/2.847, allocations: 3.898 MB / 0.8658 GB, free: 22.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01442/2.862, allocations: 9.664 MB / 0.8753 GB, free: 12.58 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01396/2.876, allocations: 6.04 MB / 0.8811 GB, free: 7.656 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002345/2.876, allocations: 60 kB / 0.8812 GB, free: 7.598 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.06369/2.94, allocations: 15.84 MB / 0.8967 GB, free: 11.61 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002035/2.94, allocations: 94.03 kB / 0.8968 GB, free: 11.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.03644/2.977, allocations: 7.853 MB / 0.9044 GB, free: 5.301 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.03066/3.007, allocations: 3.907 MB / 0.9083 GB, free: 2.68 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01607/3.023, allocations: 2.363 MB / 0.9106 GB, free: 0.6445 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02604/3.05, allocations: 13.55 MB / 0.9238 GB, free: 3.82 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01501/3.065, allocations: 0.877 MB / 0.9246 GB, free: 3.164 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002977/3.068, allocations: 0.6011 MB / 0.9252 GB, free: 2.59 MB / 0.5573 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.00414/3.072, allocations: 0.8815 MB / 0.9261 GB, free: 1.711 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001946/3.074, allocations: 0.5939 MB / 0.9267 GB, free: 1.109 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.4517/3.525, allocations: 8.288 MB / 0.9348 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.02442/3.55, allocations: 6.903 MB / 0.9415 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.851e-05/3.55, allocations: 5.562 kB / 0.9415 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001002/3.55, allocations: 25.59 kB / 0.9415 GB, free: 125.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06335/3.614, allocations: 19.38 MB / 0.9605 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-05/3.614, allocations: 3.594 kB / 0.9605 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006824/3.62, allocations: 0.6589 MB / 0.9611 GB, free: 124.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01691/3.637, allocations: 3.137 MB / 0.9642 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00101/3.638, allocations: 102.8 kB / 0.9643 GB, free: 124.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02217/3.661, allocations: 14 MB / 0.9779 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.004384/3.665, allocations: 6.022 MB / 0.9838 GB, free: 110.9 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03363/3.699, allocations: 12.7 MB / 0.9962 GB, free: 109.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002418/3.701, allocations: 0.6456 MB / 0.9969 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002496/3.704, allocations: 89.88 kB / 0.9969 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007752/3.712, allocations: 393.7 kB / 0.9973 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001394/3.713, allocations: 239.2 kB / 0.9975 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004339/3.713, allocations: 112 kB / 0.9977 GB, free: 109.1 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01001/3.723, allocations: 3.983 MB / 1.002 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.363e-06/3.724, allocations: 0 / 1.002 GB, free: 108.6 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01281/3.736, allocations: 2.093 MB / 1.004 GB, free: 108.4 MB / 0.5573 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.03448/3.771, allocations: 14.19 MB / 1.017 GB, free: 102.2 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02891/3.8, allocations: 11.05 MB / 1.028 GB, free: 97.63 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/3.8, allocations: 0 / 1.028 GB, free: 97.63 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.01672/3.817, allocations: 5.394 MB / 1.034 GB, free: 92.86 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007732/3.824, allocations: 0.8598 MB / 1.034 GB, free: 92.14 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06408/3.889, allocations: 20.38 MB / 1.054 GB, free: 75.07 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01371/3.902, allocations: 5.522 MB / 1.06 GB, free: 71.04 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.009195/3.912, allocations: 3.746 MB / 1.063 GB, free: 67.58 MB / 0.5573 GB Notification: Performance of SimCode: time 1.713e-06/3.912, allocations: 0 / 1.063 GB, free: 67.58 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 8.441/12.35, allocations: 0.5556 GB / 1.619 GB, free: 157.2 MB / 0.6042 GB