Running command: translateModel(Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="Modelica_trunk_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadModel(Modelica): time 2.034/2.034, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.637e-05/2.65e-05, allocations: 5.562 kB / 292.7 MB, free: 8.336 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.09063, allocations: 50.42 MB / 343.1 MB, free: 5.906 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4068/0.4975, allocations: 105.1 MB / 448.2 MB, free: 5.441 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002612/0.4978, allocations: 86.69 kB / 448.2 MB, free: 5.398 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8553/1.353, allocations: 137.8 MB / 0.5723 GB, free: 95.22 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.427e-06/1.353, allocations: 0 / 0.5723 GB, free: 95.22 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004038/1.354, allocations: 138.3 kB / 0.5725 GB, free: 95.21 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.02887/1.383, allocations: 7.038 MB / 0.5793 GB, free: 92.58 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.138e-05/1.383, allocations: 8.969 kB / 0.5794 GB, free: 92.58 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05089/1.434, allocations: 7.558 MB / 0.5867 GB, free: 92.1 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.04397/1.478, allocations: 9.086 MB / 0.5956 GB, free: 90.21 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008497/1.478, allocations: 495.6 kB / 0.5961 GB, free: 90.03 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004124/1.483, allocations: 0.6549 MB / 0.5967 GB, free: 89.83 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06315/1.546, allocations: 16.51 MB / 0.6128 GB, free: 75.49 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003883/1.546, allocations: 98.59 kB / 0.6129 GB, free: 75.4 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002025/1.548, allocations: 311.9 kB / 0.6132 GB, free: 75.13 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002687/1.551, allocations: 1.587 MB / 0.6148 GB, free: 73.55 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03288/1.584, allocations: 13.25 MB / 0.6277 GB, free: 60.28 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3936/1.978, allocations: 74.32 MB / 0.7003 GB, free: 40.53 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02991/2.007, allocations: 7.661 MB / 0.7078 GB, free: 39.86 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007021/2.015, allocations: 3.977 MB / 0.7117 GB, free: 39.81 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.036/2.051, allocations: 18.65 MB / 0.7299 GB, free: 35.43 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.492e-05/2.051, allocations: 66.56 kB / 0.7299 GB, free: 35.39 MB / 442.7 MB Notification: Performance of pre-optimization done (n=287): time 7.434e-06/2.051, allocations: 0 / 0.7299 GB, free: 35.39 MB / 442.7 MB Notification: Performance of matching and sorting (n=370): time 0.2065/2.257, allocations: 38.73 MB / 0.7678 GB, free: 25.32 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.932e-05/2.257, allocations: 277.6 kB / 0.768 GB, free: 25.03 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01066/2.268, allocations: 5.262 MB / 0.7732 GB, free: 23.21 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007527/2.269, allocations: 86.3 kB / 0.7733 GB, free: 23.14 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003593/2.272, allocations: 4.755 MB / 0.7779 GB, free: 19.5 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001755/2.274, allocations: 1.362 MB / 0.7792 GB, free: 18.49 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009678/2.275, allocations: 187.6 kB / 0.7794 GB, free: 18.34 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005974/2.276, allocations: 0.6966 MB / 0.7801 GB, free: 17.87 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007484/2.283, allocations: 3.672 MB / 0.7837 GB, free: 15.43 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01027/2.294, allocations: 8.81 MB / 0.7923 GB, free: 4.801 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01088/2.305, allocations: 5.59 MB / 0.7977 GB, free: 288 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001362/2.305, allocations: 52 kB / 0.7978 GB, free: 236 kB / 442.7 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.04564/2.35, allocations: 15.45 MB / 0.8129 GB, free: 4.289 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001559/2.351, allocations: 84 kB / 0.813 GB, free: 4.207 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002494/2.351, allocations: 180 kB / 0.8131 GB, free: 4.031 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01653/2.367, allocations: 4.02 MB / 0.817 GB, free: 1.238 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01042/2.378, allocations: 2.063 MB / 0.8191 GB, free: 15.47 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07433/2.452, allocations: 20.79 MB / 0.8394 GB, free: 11.05 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01862/2.471, allocations: 0.55 MB / 0.8399 GB, free: 10.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002631/2.474, allocations: 0.522 MB / 0.8404 GB, free: 9.984 MB / 490.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.003352/2.477, allocations: 0.8088 MB / 0.8412 GB, free: 9.172 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002644/2.48, allocations: 0.5669 MB / 0.8418 GB, free: 8.598 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.05207/2.532, allocations: 9.447 MB / 0.851 GB, free: 15.09 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001212/2.532, allocations: 42.58 kB / 0.851 GB, free: 15.05 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-05/2.532, allocations: 16 kB / 0.851 GB, free: 15.04 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000103/2.532, allocations: 19.94 kB / 0.8511 GB, free: 15.02 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05886/2.591, allocations: 18.93 MB / 0.8695 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-05/2.591, allocations: 0 / 0.8695 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003735/2.595, allocations: 0.507 MB / 0.87 GB, free: 11.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0162/2.611, allocations: 3.571 MB / 0.8735 GB, free: 7.891 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007414/2.612, allocations: 58.02 kB / 0.8736 GB, free: 7.836 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3171/2.929, allocations: 18.72 MB / 0.8919 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.939e-06/2.929, allocations: 1.188 kB / 0.8919 GB, free: 152.1 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03288/2.962, allocations: 13.95 MB / 0.9055 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001674/2.964, allocations: 0.5776 MB / 0.9061 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001191/2.965, allocations: 65.64 kB / 0.9061 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003695/2.968, allocations: 217.1 kB / 0.9063 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008703/2.969, allocations: 227.8 kB / 0.9065 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004256/2.97, allocations: 89.95 kB / 0.9066 GB, free: 151.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007041/2.977, allocations: 3.679 MB / 0.9102 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.639e-06/2.977, allocations: 3.781 kB / 0.9102 GB, free: 151.1 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01006/2.987, allocations: 1.846 MB / 0.912 GB, free: 151.1 MB / 0.5105 GB 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.0008011/2.988, allocations: 228.9 kB / 0.9122 GB, free: 151 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01801/3.006, allocations: 9.197 MB / 0.9212 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.106e-06/3.006, allocations: 0 / 0.9212 GB, free: 148.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007424/3.013, allocations: 3.672 MB / 0.9248 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004809/3.018, allocations: 0.7172 MB / 0.9255 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03069/3.049, allocations: 13.12 MB / 0.9383 GB, free: 142 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009971/3.059, allocations: 5.001 MB / 0.9432 GB, free: 140.4 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00993/3.069, allocations: 2.809 MB / 0.946 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001807/3.071, allocations: 382.7 kB / 0.9463 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of SimCode: time 1.716e-06/3.071, allocations: 0 / 0.9463 GB, free: 140.3 MB / 0.5105 GB Notification: Performance of Templates: time 0.1821/3.253, allocations: 73.55 MB / 1.018 GB, free: 84.66 MB / 0.5105 GB