Running command: translateModel(ModelicaTest.MultiBody.Parts.FreeBodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.FreeBodies") Notification: Performance of loadModel(ModelicaTest): time 2.298/2.298, allocations: 270 MB / 282.7 MB, free: 1.793 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.09e-05, allocations: 4 kB / 347 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3231, allocations: 61.88 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1669/0.49, allocations: 108.6 MB / 0.5053 GB, free: 13.99 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002475/0.4903, allocations: 79.95 kB / 0.5054 GB, free: 13.91 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7561/1.246, allocations: 148 MB / 0.6499 GB, free: 5.191 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.724e-06/1.246, allocations: 0 / 0.6499 GB, free: 5.191 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000511/1.247, allocations: 164 kB / 0.6501 GB, free: 5.031 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.04494/1.292, allocations: 8.848 MB / 0.6587 GB, free: 12.1 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.751e-05/1.292, allocations: 12.03 kB / 0.6587 GB, free: 12.09 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04486/1.337, allocations: 7.778 MB / 0.6663 GB, free: 4.289 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03343/1.37, allocations: 10.43 MB / 0.6765 GB, free: 9.777 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008555/1.371, allocations: 0.5817 MB / 0.6771 GB, free: 9.195 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003458/1.375, allocations: 0.7925 MB / 0.6779 GB, free: 8.402 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04886/1.424, allocations: 18.08 MB / 0.6955 GB, free: 4.773 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003991/1.424, allocations: 111 kB / 0.6956 GB, free: 4.664 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001829/1.426, allocations: 371.8 kB / 0.696 GB, free: 4.301 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003264/1.429, allocations: 1.687 MB / 0.6976 GB, free: 2.613 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04152/1.471, allocations: 14.37 MB / 0.7117 GB, free: 4.23 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4169/1.888, allocations: 81.14 MB / 0.7909 GB, free: 39.81 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03021/1.918, allocations: 7.505 MB / 0.7982 GB, free: 39.14 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006127/1.924, allocations: 3.362 MB / 0.8015 GB, free: 39.09 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0311/1.955, allocations: 17.04 MB / 0.8182 GB, free: 30.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.004e-05/1.955, allocations: 74.12 kB / 0.8182 GB, free: 30.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 8.268e-06/1.955, allocations: 0 / 0.8182 GB, free: 30.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=329): time 0.08485/2.04, allocations: 23.94 MB / 0.8416 GB, free: 22.25 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.003944/2.044, allocations: 6.271 MB / 0.8477 GB, free: 16.13 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01174/2.056, allocations: 5.736 MB / 0.8533 GB, free: 14.14 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007002/2.057, allocations: 75.7 kB / 0.8534 GB, free: 14.07 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003768/2.061, allocations: 5.132 MB / 0.8584 GB, free: 10.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001777/2.062, allocations: 1.325 MB / 0.8597 GB, free: 9.137 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009888/2.063, allocations: 199.8 kB / 0.8599 GB, free: 8.984 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005624/2.064, allocations: 0.7315 MB / 0.8606 GB, free: 8.492 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007519/2.072, allocations: 3.9 MB / 0.8644 GB, free: 5.848 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01257/2.084, allocations: 9.665 MB / 0.8739 GB, free: 10.14 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01286/2.097, allocations: 6.042 MB / 0.8798 GB, free: 5.184 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000192/2.097, allocations: 56 kB / 0.8798 GB, free: 5.129 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1316) (initialization): time 0.04686/2.144, allocations: 15.59 MB / 0.895 GB, free: 8.543 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001758/2.144, allocations: 92 kB / 0.8951 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.02452/2.169, allocations: 7.856 MB / 0.9028 GB, free: 2.23 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01999/2.189, allocations: 3.932 MB / 0.9066 GB, free: 15.66 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01115/2.2, allocations: 2.368 MB / 0.9089 GB, free: 13.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02145/2.222, allocations: 13.55 MB / 0.9222 GB, free: 0.793 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01174/2.233, allocations: 0.8687 MB / 0.923 GB, free: 152 kB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.005777/2.239, allocations: 0.7967 MB / 0.9238 GB, free: 0 / 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.3349/2.574, allocations: 0.8719 MB / 0.9247 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001723/2.576, allocations: 0.6001 MB / 0.9252 GB, free: 126.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02116/2.597, allocations: 7.772 MB / 0.9328 GB, free: 125.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.01857/2.616, allocations: 6.905 MB / 0.9396 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.323e-05/2.616, allocations: 7.812 kB / 0.9396 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.648e-05/2.616, allocations: 17.67 kB / 0.9396 GB, free: 125.5 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04734/2.663, allocations: 19.38 MB / 0.9585 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.881e-05/2.663, allocations: 6 kB / 0.9585 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005091/2.668, allocations: 0.6601 MB / 0.9592 GB, free: 124.5 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01297/2.681, allocations: 3.129 MB / 0.9622 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007847/2.682, allocations: 106.4 kB / 0.9623 GB, free: 124.4 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01741/2.7, allocations: 14 MB / 0.976 GB, free: 116.6 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.003879/2.704, allocations: 6.021 MB / 0.9819 GB, free: 111.2 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02676/2.73, allocations: 12.69 MB / 0.9943 GB, free: 108 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00199/2.732, allocations: 0.6477 MB / 0.9949 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001456/2.734, allocations: 85.05 kB / 0.995 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004883/2.739, allocations: 386.1 kB / 0.9954 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000789/2.74, allocations: 251.4 kB / 0.9956 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004034/2.74, allocations: 99.73 kB / 0.9957 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.008351/2.748, allocations: 3.979 MB / 0.9996 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.096e-06/2.748, allocations: 6.172 kB / 0.9996 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01203/2.76, allocations: 2.094 MB / 1.002 GB, free: 106.1 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.0009289/2.761, allocations: 256.4 kB / 1.002 GB, free: 106 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02247/2.784, allocations: 11.06 MB / 1.013 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.795e-06/2.784, allocations: 7.219 kB / 1.013 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0123/2.796, allocations: 5.388 MB / 1.018 GB, free: 99.39 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005652/2.802, allocations: 0.8626 MB / 1.019 GB, free: 99.06 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03527/2.837, allocations: 17.75 MB / 1.036 GB, free: 85.63 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009132/2.846, allocations: 5.532 MB / 1.042 GB, free: 81.61 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002402/2.849, allocations: 0.4889 MB / 1.042 GB, free: 81.16 MB / 0.5573 GB Notification: Performance of SimCode: time 1.914e-06/2.849, allocations: 0 / 1.042 GB, free: 81.16 MB / 0.5573 GB Notification: Performance of Templates: time 1.286/4.135, allocations: 0.5107 GB / 1.553 GB, free: 24.58 MB / 0.6042 GB