Running command: translateModel(ModelicaTest.MultiBody.Parts.BodyShape,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.BodyShape") Notification: Performance of loadModel(ModelicaTest): time 2.318/2.318, allocations: 270 MB / 282.7 MB, free: 1.832 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.76e-05/2.768e-05, allocations: 0 / 347 MB, free: 3.172 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.3161, allocations: 61.88 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1658/0.482, allocations: 108.4 MB / 0.5052 GB, free: 14.19 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/0.4823, allocations: 79.95 kB / 0.5052 GB, free: 14.11 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5502/1.032, allocations: 82.84 MB / 0.5861 GB, free: 54.84 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.704e-06/1.032, allocations: 7.938 kB / 0.5861 GB, free: 54.83 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0001676/1.033, allocations: 83.98 kB / 0.5862 GB, free: 54.75 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.009477/1.042, allocations: 3.9 MB / 0.59 GB, free: 50.79 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.14e-05/1.042, allocations: 8.031 kB / 0.59 GB, free: 50.78 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01228/1.055, allocations: 2.319 MB / 0.5923 GB, free: 48.45 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01331/1.068, allocations: 5.027 MB / 0.5972 GB, free: 43.36 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002375/1.068, allocations: 316.3 kB / 0.5975 GB, free: 43.04 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001099/1.069, allocations: 423.8 kB / 0.5979 GB, free: 42.63 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01972/1.089, allocations: 10.25 MB / 0.6079 GB, free: 31.32 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001711/1.089, allocations: 59.47 kB / 0.608 GB, free: 31.27 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000722/1.09, allocations: 203.9 kB / 0.6082 GB, free: 31.07 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001416/1.091, allocations: 0.9906 MB / 0.6091 GB, free: 30.07 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01754/1.109, allocations: 8.097 MB / 0.617 GB, free: 21.96 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05921/1.168, allocations: 48.1 MB / 0.664 GB, free: 4.215 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01246/1.181, allocations: 3.673 MB / 0.6676 GB, free: 400 kB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00309/1.184, allocations: 1.53 MB / 0.6691 GB, free: 14.85 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.01545/1.199, allocations: 7.632 MB / 0.6766 GB, free: 6.844 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.226e-05/1.199, allocations: 47.34 kB / 0.6766 GB, free: 6.789 MB / 490.7 MB Notification: Performance of pre-optimization done (n=144): time 5.641e-06/1.199, allocations: 0 / 0.6766 GB, free: 6.789 MB / 490.7 MB Notification: Performance of matching and sorting (n=160): time 0.04233/1.242, allocations: 12.01 MB / 0.6883 GB, free: 10.64 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.001709/1.244, allocations: 1.593 MB / 0.6899 GB, free: 8.879 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007017/1.251, allocations: 3.401 MB / 0.6932 GB, free: 5.496 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0002966/1.251, allocations: 53.69 kB / 0.6933 GB, free: 5.438 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.002964/1.254, allocations: 3.027 MB / 0.6962 GB, free: 2.367 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009834/1.255, allocations: 0.6481 MB / 0.6968 GB, free: 1.711 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004616/1.255, allocations: 116.1 kB / 0.697 GB, free: 1.598 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0005505/1.256, allocations: 0.5668 MB / 0.6975 GB, free: 1.02 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004239/1.26, allocations: 1.929 MB / 0.6994 GB, free: 15.09 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007986/1.268, allocations: 5.617 MB / 0.7049 GB, free: 7.598 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006643/1.275, allocations: 3.288 MB / 0.7081 GB, free: 4.305 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001024/1.275, allocations: 36 kB / 0.7081 GB, free: 4.27 MB / 0.5105 GB Notification: Performance of matching and sorting (n=780) (initialization): time 0.3272/1.602, allocations: 7.662 MB / 0.7156 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001001/1.602, allocations: 68.11 kB / 0.7157 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.005977/1.608, allocations: 2.487 MB / 0.7181 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004201/1.613, allocations: 1.132 MB / 0.7192 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005632/1.618, allocations: 1.359 MB / 0.7205 GB, free: 128.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005885/1.624, allocations: 4.689 MB / 0.7251 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005677/1.63, allocations: 384.8 kB / 0.7255 GB, free: 125.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0008883/1.631, allocations: 373.7 kB / 0.7258 GB, free: 125.9 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.001027/1.632, allocations: 0.5739 MB / 0.7264 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006454/1.632, allocations: 334.3 kB / 0.7267 GB, free: 125.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006815/1.639, allocations: 2.884 MB / 0.7295 GB, free: 125.6 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.00586/1.645, allocations: 2.431 MB / 0.7319 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.44e-05/1.645, allocations: 3.438 kB / 0.7319 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.698e-05/1.645, allocations: 6.094 kB / 0.7319 GB, free: 125.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01971/1.665, allocations: 9.188 MB / 0.7409 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.88e-05/1.665, allocations: 7.469 kB / 0.7409 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001441/1.667, allocations: 257.8 kB / 0.7411 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004127/1.671, allocations: 1.011 MB / 0.7421 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001959/1.671, allocations: 42.66 kB / 0.7422 GB, free: 124.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006037/1.677, allocations: 4.839 MB / 0.7469 GB, free: 122.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0008987/1.678, allocations: 1.448 MB / 0.7483 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009787/1.688, allocations: 5.624 MB / 0.7538 GB, free: 118.5 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009366/1.689, allocations: 395.7 kB / 0.7542 GB, free: 118.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005263/1.689, allocations: 38.53 kB / 0.7542 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/1.691, allocations: 125.8 kB / 0.7543 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002838/1.691, allocations: 112.7 kB / 0.7544 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001716/1.692, allocations: 46.28 kB / 0.7545 GB, free: 118.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005715/1.697, allocations: 2.339 MB / 0.7568 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.154e-06/1.697, allocations: 0 / 0.7568 GB, free: 117.5 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01215/1.71, allocations: 1.015 MB / 0.7578 GB, free: 117.4 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.0007951/1.71, allocations: 186.4 kB / 0.7579 GB, free: 117.3 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01899/1.729, allocations: 5.15 MB / 0.763 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.263e-05/1.729, allocations: 0 / 0.763 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.008675/1.738, allocations: 2.068 MB / 0.765 GB, free: 114.9 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004791/1.743, allocations: 425.2 kB / 0.7654 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0296/1.773, allocations: 8.149 MB / 0.7734 GB, free: 110.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008367/1.781, allocations: 3.265 MB / 0.7765 GB, free: 108 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001959/1.783, allocations: 285.9 kB / 0.7768 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of SimCode: time 1.717e-06/1.783, allocations: 4 kB / 0.7768 GB, free: 107.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.1397/1.923, allocations: 120.4 MB / 0.8944 GB, free: 10.85 MB / 0.5261 GB