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_4.0.0_Modelica.Mechanics.MultiBody.Examples.Elementary.LineForceWithTwoMasses") Notification: Performance of loadModel(Modelica): time 1.931/1.931, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.793e-05/2.806e-05, allocations: 3.938 kB / 292.1 MB, free: 8.324 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08742/0.08747, allocations: 50.41 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3896/0.4771, allocations: 105.1 MB / 447.6 MB, free: 5.406 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.4774, allocations: 85.58 kB / 447.7 MB, free: 5.363 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7537/1.231, allocations: 137.8 MB / 0.5718 GB, free: 95.39 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.514e-06/1.231, allocations: 0 / 0.5718 GB, free: 95.39 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0004156/1.232, allocations: 134.7 kB / 0.572 GB, free: 95.38 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.02218/1.254, allocations: 7.042 MB / 0.5788 GB, free: 92.75 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.101e-05/1.254, allocations: 7.531 kB / 0.5789 GB, free: 92.75 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.064/1.318, allocations: 7.56 MB / 0.5862 GB, free: 92.27 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02711/1.345, allocations: 9.089 MB / 0.5951 GB, free: 90.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005556/1.346, allocations: 489.7 kB / 0.5956 GB, free: 90.16 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002853/1.349, allocations: 0.6572 MB / 0.5962 GB, free: 89.96 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04049/1.389, allocations: 16.5 MB / 0.6123 GB, free: 75.46 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003837/1.389, allocations: 103 kB / 0.6124 GB, free: 75.36 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002028/1.391, allocations: 314.9 kB / 0.6127 GB, free: 75.09 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002733/1.394, allocations: 1.59 MB / 0.6143 GB, free: 73.5 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03414/1.428, allocations: 13.24 MB / 0.6272 GB, free: 60.25 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.394/1.822, allocations: 74.32 MB / 0.6998 GB, free: 40.73 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02893/1.851, allocations: 7.665 MB / 0.7073 GB, free: 40.06 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006961/1.858, allocations: 3.98 MB / 0.7112 GB, free: 40.01 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0395/1.898, allocations: 18.65 MB / 0.7294 GB, free: 35.62 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.758e-05/1.898, allocations: 68.81 kB / 0.7294 GB, free: 35.58 MB / 442.7 MB Notification: Performance of pre-optimization done (n=287): time 7.345e-06/1.898, allocations: 0 / 0.7294 GB, free: 35.58 MB / 442.7 MB Notification: Performance of matching and sorting (n=370): time 0.1606/2.059, allocations: 38.73 MB / 0.7673 GB, free: 25.51 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.186e-05/2.059, allocations: 278.3 kB / 0.7675 GB, free: 25.22 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01104/2.07, allocations: 5.264 MB / 0.7727 GB, free: 23.4 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007487/2.071, allocations: 80.77 kB / 0.7728 GB, free: 23.33 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003625/2.074, allocations: 4.755 MB / 0.7774 GB, free: 19.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001714/2.076, allocations: 1.368 MB / 0.7787 GB, free: 18.68 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008883/2.077, allocations: 185.5 kB / 0.7789 GB, free: 18.53 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005411/2.078, allocations: 0.7009 MB / 0.7796 GB, free: 18.05 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007819/2.085, allocations: 3.664 MB / 0.7832 GB, free: 15.32 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01047/2.096, allocations: 8.819 MB / 0.7918 GB, free: 4.684 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01015/2.106, allocations: 5.595 MB / 0.7972 GB, free: 188 kB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001282/2.106, allocations: 52 kB / 0.7973 GB, free: 136 kB / 442.7 MB Notification: Performance of matching and sorting (n=1208) (initialization): time 0.04898/2.155, allocations: 15.48 MB / 0.8124 GB, free: 4.27 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0002284/2.156, allocations: 90.58 kB / 0.8125 GB, free: 4.184 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003875/2.156, allocations: 180 kB / 0.8127 GB, free: 4.008 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.01953/2.176, allocations: 4.021 MB / 0.8166 GB, free: 1.215 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01039/2.186, allocations: 2.072 MB / 0.8186 GB, free: 15.48 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0464/2.232, allocations: 20.79 MB / 0.8389 GB, free: 10.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009852/2.242, allocations: 0.5461 MB / 0.8395 GB, free: 10.41 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002179/2.245, allocations: 0.5273 MB / 0.84 GB, free: 9.887 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.002335/2.247, allocations: 0.8065 MB / 0.8408 GB, free: 9.078 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001586/2.248, allocations: 0.5708 MB / 0.8413 GB, free: 8.5 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03046/2.279, allocations: 9.446 MB / 0.8505 GB, free: 15 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.966e-05/2.279, allocations: 36 kB / 0.8506 GB, free: 14.96 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.574e-05/2.279, allocations: 20 kB / 0.8506 GB, free: 14.95 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.392e-05/2.279, allocations: 19.94 kB / 0.8506 GB, free: 14.93 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.09601/2.375, allocations: 18.94 MB / 0.8691 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.355e-05/2.375, allocations: 0 / 0.8691 GB, free: 11.89 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003692/2.379, allocations: 0.507 MB / 0.8696 GB, free: 11.38 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01655/2.396, allocations: 3.563 MB / 0.8731 GB, free: 7.805 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008053/2.396, allocations: 63.98 kB / 0.8731 GB, free: 7.742 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.321/2.717, allocations: 18.71 MB / 0.8914 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.756e-06/2.718, allocations: 1.469 kB / 0.8914 GB, free: 152.5 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03353/2.751, allocations: 13.95 MB / 0.905 GB, free: 151.8 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001749/2.753, allocations: 0.5857 MB / 0.9056 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001426/2.754, allocations: 59.77 kB / 0.9057 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004405/2.759, allocations: 223 kB / 0.9059 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009719/2.76, allocations: 223.1 kB / 0.9061 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000422/2.76, allocations: 92.72 kB / 0.9062 GB, free: 151.7 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007706/2.768, allocations: 3.679 MB / 0.9098 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of sort global known variables: time 2.21e-06/2.768, allocations: 0 / 0.9098 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01071/2.779, allocations: 1.851 MB / 0.9116 GB, free: 151.4 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.001049/2.78, allocations: 238.6 kB / 0.9118 GB, free: 151.4 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01802/2.798, allocations: 9.183 MB / 0.9208 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.074e-06/2.798, allocations: 0 / 0.9208 GB, free: 148.6 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.007254/2.805, allocations: 3.679 MB / 0.9244 GB, free: 147.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00481/2.81, allocations: 0.7141 MB / 0.9251 GB, free: 146.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02931/2.839, allocations: 13.12 MB / 0.9379 GB, free: 142.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00891/2.848, allocations: 5.007 MB / 0.9428 GB, free: 140.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0105/2.859, allocations: 2.804 MB / 0.9455 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001944/2.861, allocations: 383 kB / 0.9459 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of SimCode: time 1.834e-06/2.861, allocations: 4.969 kB / 0.9459 GB, free: 140.6 MB / 0.5105 GB Notification: Performance of Templates: time 0.1946/3.055, allocations: 73.55 MB / 1.018 GB, free: 84.59 MB / 0.5105 GB