Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadModel(Modelica): time 1.945/1.945, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.688e-05/2.733e-05, allocations: 0 / 292.1 MB, free: 8.824 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09065/0.0907, allocations: 50.42 MB / 342.6 MB, free: 6.383 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3964/0.4871, allocations: 105.1 MB / 447.7 MB, free: 5.344 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002585/0.4874, allocations: 88.7 kB / 447.8 MB, free: 5.301 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.802/1.289, allocations: 137.8 MB / 0.5719 GB, free: 92.14 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.27e-06/1.289, allocations: 0 / 0.5719 GB, free: 92.14 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004198/1.29, allocations: 137.3 kB / 0.572 GB, free: 92.14 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: 2303 * Number of variables: 2303 Notification: Performance of Generate backend data structure: time 0.02143/1.311, allocations: 7.033 MB / 0.5789 GB, free: 89.51 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.911e-05/1.311, allocations: 6.719 kB / 0.5789 GB, free: 89.51 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.042/1.353, allocations: 7.561 MB / 0.5863 GB, free: 89.03 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02678/1.38, allocations: 9.098 MB / 0.5952 GB, free: 87.85 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005119/1.381, allocations: 491.9 kB / 0.5956 GB, free: 87.66 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002665/1.383, allocations: 0.6585 MB / 0.5963 GB, free: 87.46 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04/1.423, allocations: 16.5 MB / 0.6124 GB, free: 74.51 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003398/1.424, allocations: 99.08 kB / 0.6125 GB, free: 74.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001577/1.425, allocations: 312.9 kB / 0.6128 GB, free: 74.15 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002472/1.428, allocations: 1.588 MB / 0.6143 GB, free: 72.56 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03293/1.461, allocations: 13.25 MB / 0.6273 GB, free: 59.3 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3673/1.828, allocations: 74.31 MB / 0.6998 GB, free: 88.85 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03129/1.86, allocations: 7.667 MB / 0.7073 GB, free: 88.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007546/1.867, allocations: 3.977 MB / 0.7112 GB, free: 88.12 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03701/1.904, allocations: 18.65 MB / 0.7294 GB, free: 83.78 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.91e-05/1.904, allocations: 72.38 kB / 0.7295 GB, free: 83.74 MB / 458.7 MB Notification: Performance of pre-optimization done (n=287): time 7.77e-06/1.904, allocations: 0 / 0.7295 GB, free: 83.74 MB / 458.7 MB Notification: Performance of matching and sorting (n=370): time 0.1645/2.069, allocations: 38.72 MB / 0.7673 GB, free: 74.95 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.073e-05/2.069, allocations: 276.8 kB / 0.7676 GB, free: 74.66 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0111/2.08, allocations: 5.266 MB / 0.7727 GB, free: 72.84 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007457/2.081, allocations: 80.86 kB / 0.7728 GB, free: 72.77 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003258/2.084, allocations: 4.56 MB / 0.7772 GB, free: 69.16 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001732/2.086, allocations: 1.36 MB / 0.7786 GB, free: 68.16 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009132/2.087, allocations: 188.5 kB / 0.7787 GB, free: 68.01 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0005622/2.087, allocations: 0.6976 MB / 0.7794 GB, free: 67.53 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00766/2.095, allocations: 3.669 MB / 0.783 GB, free: 66.26 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01176/2.107, allocations: 8.81 MB / 0.7916 GB, free: 58.07 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01099/2.118, allocations: 5.599 MB / 0.7971 GB, free: 54.42 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000167/2.118, allocations: 52 kB / 0.7971 GB, free: 54.37 MB / 458.7 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.03971/2.158, allocations: 15.14 MB / 0.8119 GB, free: 42.37 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001351/2.158, allocations: 80 kB / 0.812 GB, free: 42.29 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002023/2.158, allocations: 187.4 kB / 0.8122 GB, free: 42.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01539/2.174, allocations: 4.01 MB / 0.8161 GB, free: 39.32 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008781/2.182, allocations: 2.048 MB / 0.8181 GB, free: 37.54 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03675/2.219, allocations: 20.78 MB / 0.8384 GB, free: 19.66 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00953/2.229, allocations: 0.5522 MB / 0.8389 GB, free: 19.16 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001889/2.231, allocations: 0.5241 MB / 0.8394 GB, free: 18.63 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 831 * Number of states: 0 () * Number of discrete variables: 66 (lineForceWithTwoMasses.massColor[3],lineForceWithTwoMasses.massColor[2],lineForceWithTwoMasses.massColor[1],lineForceWithTwoMasses.color_b[3],lineForceWithTwoMasses.color_b[2],lineForceWithTwoMasses.color_b[1],lineForceWithTwoMasses.color_a[3],lineForceWithTwoMasses.color_a[2],lineForceWithTwoMasses.color_a[1],rod4.color[3],rod4.color[2],rod4.color[1],rod3.color[3],rod3.color[2],rod3.color[1],bodyBox2.color[3],bodyBox2.color[2],bodyBox2.color[1],bodyBox2.body.sphereColor[3],bodyBox2.body.sphereColor[2],bodyBox2.body.sphereColor[1],revolute2.cylinderColor[3],revolute2.cylinderColor[2],revolute2.cylinderColor[1],rod2.color[3],rod2.color[2],rod2.color[1],body2.sphereColor[3],body2.sphereColor[2],body2.sphereColor[1],body1.sphereColor[3],body1.sphereColor[2],body1.sphereColor[1],jointUPS.cylinderColor[3],jointUPS.cylinderColor[2],jointUPS.cylinderColor[1],jointUPS.sphereColor[3],jointUPS.sphereColor[2],jointUPS.sphereColor[1],jointUPS.axisColor[3],jointUPS.axisColor[2],jointUPS.axisColor[1],rod1.color[3],rod1.color[2],rod1.color[1],bodyBox1.color[3],bodyBox1.color[2],bodyBox1.color[1],bodyBox1.body.sphereColor[3],bodyBox1.body.sphereColor[2],bodyBox1.body.sphereColor[1],revolute1.cylinderColor[3],revolute1.cylinderColor[2],revolute1.cylinderColor[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 (1088): * Single equations (assignments): 1083 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 44,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002233/2.233, allocations: 0.806 MB / 0.8402 GB, free: 17.82 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00158/2.235, allocations: 0.5708 MB / 0.8408 GB, free: 17.24 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02441/2.259, allocations: 9.447 MB / 0.85 GB, free: 7.738 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.115e-05/2.259, allocations: 42.75 kB / 0.85 GB, free: 7.699 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.344e-05/2.259, allocations: 16 kB / 0.8501 GB, free: 7.684 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.526e-05/2.259, allocations: 19.92 kB / 0.8501 GB, free: 7.664 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.3317/2.591, allocations: 18.93 MB / 0.8686 GB, free: 99.69 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.29e-05/2.591, allocations: 1.906 kB / 0.8686 GB, free: 99.69 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003521/2.595, allocations: 0.5051 MB / 0.8691 GB, free: 99.69 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.01591/2.611, allocations: 3.57 MB / 0.8725 GB, free: 99.68 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007995/2.611, allocations: 63.55 kB / 0.8726 GB, free: 99.68 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03912/2.651, allocations: 18.72 MB / 0.8909 GB, free: 97.06 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.267e-06/2.651, allocations: 3.719 kB / 0.8909 GB, free: 97.06 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03431/2.685, allocations: 13.94 MB / 0.9045 GB, free: 95.8 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001825/2.687, allocations: 0.5792 MB / 0.9051 GB, free: 95.69 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002024/2.689, allocations: 65.12 kB / 0.9051 GB, free: 95.64 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004765/2.694, allocations: 214.5 kB / 0.9053 GB, free: 95.6 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001264/2.695, allocations: 230.7 kB / 0.9056 GB, free: 95.57 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004941/2.696, allocations: 92.09 kB / 0.9057 GB, free: 95.55 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.008644/2.704, allocations: 3.674 MB / 0.9092 GB, free: 94.29 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.075e-06/2.704, allocations: 0 / 0.9092 GB, free: 94.29 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01125/2.715, allocations: 1.848 MB / 0.911 GB, free: 94.08 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute1.phi,revolute1.w,revolute2.phi,revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (270): * Single equations (assignments): 265 * Array equations: 3 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 43,(1,100.0%) 36} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001114/2.717, allocations: 229.3 kB / 0.9113 GB, free: 93.95 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01899/2.736, allocations: 9.199 MB / 0.9202 GB, free: 90.97 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.403e-06/2.736, allocations: 5.531 kB / 0.9203 GB, free: 90.97 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007681/2.743, allocations: 3.666 MB / 0.9238 GB, free: 89.45 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005159/2.749, allocations: 0.724 MB / 0.9245 GB, free: 89.13 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03211/2.781, allocations: 13.85 MB / 0.9381 GB, free: 84.16 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01036/2.791, allocations: 5.011 MB / 0.943 GB, free: 82.58 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002285/2.793, allocations: 448.6 kB / 0.9434 GB, free: 82.57 MB / 474.7 MB Notification: Performance of SimCode: time 1.772e-06/2.794, allocations: 0 / 0.9434 GB, free: 82.57 MB / 474.7 MB Notification: Performance of Templates: time 0.4843/3.278, allocations: 144.3 MB / 1.084 GB, free: 98.41 MB / 474.7 MB