Running command: translateModel(ModelicaTest.MultiBody.Parts.Bodies,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Bodies") Notification: Performance of loadModel(ModelicaTest): time 2.25/2.25, allocations: 270 MB / 282.7 MB, free: 1.855 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.068e-05/3.089e-05, allocations: 4 kB / 347 MB, free: 3.234 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3163, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1563/0.4727, allocations: 103.3 MB / 0.5001 GB, free: 3.375 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.473, allocations: 71.97 kB / 0.5002 GB, free: 3.305 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6094/1.082, allocations: 98.58 MB / 0.5964 GB, free: 43.89 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.304e-06/1.082, allocations: 0 / 0.5964 GB, free: 43.89 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002764/1.083, allocations: 84 kB / 0.5965 GB, free: 43.81 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: 1021 * Number of variables: 1021 Notification: Performance of Generate backend data structure: time 0.01035/1.093, allocations: 4.077 MB / 0.6005 GB, free: 39.68 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.354e-05/1.093, allocations: 8.031 kB / 0.6005 GB, free: 39.67 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03126/1.124, allocations: 5.997 MB / 0.6064 GB, free: 33.66 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02019/1.145, allocations: 8.232 MB / 0.6144 GB, free: 25.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000207/1.145, allocations: 254.5 kB / 0.6146 GB, free: 25.1 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008407/1.146, allocations: 355.7 kB / 0.615 GB, free: 24.75 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01278/1.159, allocations: 6.726 MB / 0.6215 GB, free: 17.45 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001797/1.159, allocations: 55.55 kB / 0.6216 GB, free: 17.39 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004754/1.159, allocations: 152 kB / 0.6217 GB, free: 17.25 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001122/1.16, allocations: 0.5875 MB / 0.6223 GB, free: 16.66 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01069/1.171, allocations: 4.712 MB / 0.6269 GB, free: 11.94 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03997/1.211, allocations: 28.33 MB / 0.6546 GB, free: 14.82 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003315/1.214, allocations: 0.7035 MB / 0.6553 GB, free: 14.07 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004302/1.215, allocations: 212.2 kB / 0.6555 GB, free: 13.85 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.837e-05/1.215, allocations: 12.42 kB / 0.6555 GB, free: 13.84 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.157e-05/1.215, allocations: 42.52 kB / 0.6555 GB, free: 13.79 MB / 474.7 MB Notification: Performance of pre-optimization done (n=37): time 3.825e-06/1.215, allocations: 0 / 0.6555 GB, free: 13.79 MB / 474.7 MB Notification: Performance of matching and sorting (n=37): time 0.008876/1.224, allocations: 1.753 MB / 0.6572 GB, free: 12.02 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001583/1.224, allocations: 243.3 kB / 0.6575 GB, free: 11.73 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008057/1.232, allocations: 4.083 MB / 0.6615 GB, free: 7.645 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 6.371e-05/1.232, allocations: 33.7 kB / 0.6615 GB, free: 7.605 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00258/1.235, allocations: 2.531 MB / 0.664 GB, free: 5.047 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002478/1.235, allocations: 202 kB / 0.6642 GB, free: 4.848 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001625/1.235, allocations: 68 kB / 0.6642 GB, free: 4.781 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.000371/1.236, allocations: 458.3 kB / 0.6647 GB, free: 4.324 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001556/1.237, allocations: 0.7409 MB / 0.6654 GB, free: 3.582 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003805/1.241, allocations: 3.325 MB / 0.6686 GB, free: 14.93 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002719/1.244, allocations: 1.533 MB / 0.6701 GB, free: 13.39 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.578e-05/1.244, allocations: 28 kB / 0.6702 GB, free: 13.37 MB / 490.7 MB Notification: Performance of matching and sorting (n=449) (initialization): time 0.007298/1.251, allocations: 3.434 MB / 0.6735 GB, free: 9.93 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.622e-05/1.251, allocations: 55.92 kB / 0.6736 GB, free: 9.875 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001149/1.251, allocations: 92.06 kB / 0.6736 GB, free: 9.785 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001937/1.252, allocations: 144 kB / 0.6738 GB, free: 9.645 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003099/1.255, allocations: 0.8618 MB / 0.6746 GB, free: 8.781 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001985/1.255, allocations: 187.2 kB / 0.6748 GB, free: 8.598 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004666/1.26, allocations: 0.6194 MB / 0.6754 GB, free: 7.973 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004016/1.26, allocations: 232 kB / 0.6756 GB, free: 7.746 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 430 * Number of states: 0 () * Number of discrete variables: 54 (world.groundColor[3],world.groundColor[2],world.groundColor[1],world.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1],world.gravityArrowColor[3],world.gravityArrowColor[2],world.gravityArrowColor[1],world.axisColor_x[3],world.axisColor_x[2],world.axisColor_x[1],Fixed2.color[3],Fixed2.color[2],Fixed2.color[1],Fixed1.color[3],Fixed1.color[2],Fixed1.color[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],Fixed5.color[3],Fixed5.color[2],Fixed5.color[1],Fixed4.color[3],Fixed4.color[2],Fixed4.color[1],Fixed3.color[3],Fixed3.color[2],Fixed3.color[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],BodyBox1.color[3],BodyBox1.color[2],BodyBox1.color[1],BodyBox1.body.sphereColor[3],BodyBox1.body.sphereColor[2],BodyBox1.body.sphereColor[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],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (449): * Single equations (assignments): 449 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005992/1.261, allocations: 440 kB / 0.6761 GB, free: 7.309 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007024/1.261, allocations: 375.1 kB / 0.6764 GB, free: 6.938 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009488/1.262, allocations: 397.4 kB / 0.6768 GB, free: 6.547 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.088e-05/1.262, allocations: 11.89 kB / 0.6768 GB, free: 6.535 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.067e-05/1.262, allocations: 4 kB / 0.6768 GB, free: 6.531 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.827e-06/1.262, allocations: 4 kB / 0.6768 GB, free: 6.527 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008797/1.271, allocations: 4.5 MB / 0.6812 GB, free: 1.793 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-05/1.271, allocations: 20.23 kB / 0.6812 GB, free: 1.773 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000366/1.272, allocations: 99.78 kB / 0.6813 GB, free: 1.676 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.95e-05/1.272, allocations: 16 kB / 0.6813 GB, free: 1.66 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.89e-05/1.272, allocations: 24 kB / 0.6814 GB, free: 1.637 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.487e-05/1.272, allocations: 23.92 kB / 0.6814 GB, free: 1.613 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.059e-05/1.272, allocations: 15.94 kB / 0.6814 GB, free: 1.598 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002742/1.275, allocations: 2.828 MB / 0.6842 GB, free: 14.19 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001158/1.276, allocations: 479.9 kB / 0.6846 GB, free: 13.7 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004897/1.276, allocations: 27.98 kB / 0.6846 GB, free: 13.67 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001503/1.278, allocations: 63.94 kB / 0.6847 GB, free: 13.61 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001064/1.278, allocations: 75.67 kB / 0.6848 GB, free: 13.53 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.07e-05/1.278, allocations: 31.95 kB / 0.6848 GB, free: 13.5 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.006069/1.284, allocations: 2.996 MB / 0.6877 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.064e-06/1.284, allocations: 0 / 0.6877 GB, free: 10.51 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.004352/1.288, allocations: 0.8571 MB / 0.6886 GB, free: 9.648 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (52): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002741/1.289, allocations: 146.8 kB / 0.6887 GB, free: 9.5 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.003397/1.292, allocations: 1.673 MB / 0.6903 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 6.055e-06/1.292, allocations: 0.9375 kB / 0.6903 GB, free: 7.848 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.000386/1.293, allocations: 212.2 kB / 0.6905 GB, free: 7.641 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003357/1.296, allocations: 0.6194 MB / 0.6911 GB, free: 7.02 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01284/1.309, allocations: 6.002 MB / 0.697 GB, free: 0.8164 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004481/1.313, allocations: 2.924 MB / 0.6999 GB, free: 13.87 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007501/1.314, allocations: 227.4 kB / 0.7001 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of SimCode: time 1.911e-06/1.314, allocations: 0 / 0.7001 GB, free: 13.64 MB / 0.5105 GB Notification: Performance of Templates: time 0.3724/1.687, allocations: 45.57 MB / 0.7446 GB, free: 125.1 MB / 0.5105 GB