Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithMass,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute1.phi|revolute1.w|revolute2.phi|revolute2.w",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadModel(ModelicaTest): time 2.382/2.382, allocations: 235 MB / 247.2 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.558e-05/3.574e-05, allocations: 4.938 kB / 304.9 MB, free: 5.168 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3397/0.3397, allocations: 54.85 MB / 359.8 MB, free: 3.137 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1628/0.5026, allocations: 104.8 MB / 464.6 MB, free: 8.059 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00025/0.5029, allocations: 75.95 kB / 464.7 MB, free: 7.984 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6934/1.196, allocations: 110.8 MB / 0.562 GB, free: 104.3 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.491e-06/1.196, allocations: 0 / 0.562 GB, free: 104.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004831/1.197, allocations: 114.3 kB / 0.5621 GB, free: 104.3 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1937 * Number of variables: 1937 Notification: Performance of Generate backend data structure: time 0.0302/1.227, allocations: 5.871 MB / 0.5678 GB, free: 102 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.796e-05/1.227, allocations: 14.12 kB / 0.5678 GB, free: 102 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.055/1.282, allocations: 6.9 MB / 0.5746 GB, free: 101.6 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02149/1.304, allocations: 7.071 MB / 0.5815 GB, free: 99.37 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004713/1.304, allocations: 418.3 kB / 0.5819 GB, free: 99.21 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002461/1.307, allocations: 0.5399 MB / 0.5824 GB, free: 99.05 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03588/1.343, allocations: 13.94 MB / 0.596 GB, free: 91.29 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002998/1.343, allocations: 77.5 kB / 0.5961 GB, free: 91.24 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001869/1.345, allocations: 259 kB / 0.5963 GB, free: 91.07 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002178/1.347, allocations: 1.357 MB / 0.5976 GB, free: 89.72 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02828/1.375, allocations: 11.35 MB / 0.6087 GB, free: 78.36 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07699/1.452, allocations: 60.63 MB / 0.6679 GB, free: 16.24 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02025/1.473, allocations: 5.755 MB / 0.6736 GB, free: 10.34 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00521/1.478, allocations: 3.242 MB / 0.6767 GB, free: 7.094 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02869/1.507, allocations: 14.73 MB / 0.6911 GB, free: 7.891 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.404e-05/1.507, allocations: 56.56 kB / 0.6912 GB, free: 7.828 MB / 474.7 MB Notification: Performance of pre-optimization done (n=226): time 6.157e-06/1.507, allocations: 7.938 kB / 0.6912 GB, free: 7.82 MB / 474.7 MB Notification: Performance of matching and sorting (n=263): time 0.3763/1.883, allocations: 21.9 MB / 0.7126 GB, free: 108.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/1.883, allocations: 263.6 kB / 0.7128 GB, free: 108.4 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01509/1.898, allocations: 4.397 MB / 0.7171 GB, free: 107.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006855/1.899, allocations: 67.09 kB / 0.7172 GB, free: 107.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004736/1.904, allocations: 3.965 MB / 0.721 GB, free: 105.9 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00187/1.906, allocations: 0.9822 MB / 0.722 GB, free: 105.3 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008278/1.907, allocations: 147.9 kB / 0.7221 GB, free: 105.3 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006848/1.907, allocations: 0.6128 MB / 0.7227 GB, free: 105 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.008959/1.916, allocations: 2.517 MB / 0.7252 GB, free: 105 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01231/1.929, allocations: 6.795 MB / 0.7318 GB, free: 98.53 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01324/1.942, allocations: 4.116 MB / 0.7359 GB, free: 97.36 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002561/1.942, allocations: 43.31 kB / 0.7359 GB, free: 97.36 MB / 474.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02327/1.966, allocations: 9.16 MB / 0.7448 GB, free: 94.39 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000113/1.966, allocations: 70.34 kB / 0.7449 GB, free: 94.39 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001638/1.966, allocations: 153.7 kB / 0.7451 GB, free: 94.39 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001704/1.968, allocations: 0.5886 MB / 0.7456 GB, free: 94.28 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007997/1.976, allocations: 1.735 MB / 0.7473 GB, free: 94.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007547/1.983, allocations: 5.62 MB / 0.7528 GB, free: 90.17 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008373/1.992, allocations: 404 kB / 0.7532 GB, free: 90.04 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001445/1.993, allocations: 438.2 kB / 0.7536 GB, free: 89.98 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 693 * Number of states: 0 () * Number of discrete variables: 54 (lineForceWithMass.lineShapeColor[3],lineForceWithMass.lineShapeColor[2],lineForceWithMass.lineShapeColor[1],lineForceWithMass.massColor[3],lineForceWithMass.massColor[2],lineForceWithMass.massColor[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],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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (912): * Single equations (assignments): 907 * 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 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001665/1.995, allocations: 0.6762 MB / 0.7543 GB, free: 89.42 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001146/1.996, allocations: 466 kB / 0.7547 GB, free: 89.17 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008524/2.005, allocations: 3.977 MB / 0.7586 GB, free: 87.61 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.972e-05/2.005, allocations: 27.11 kB / 0.7586 GB, free: 87.61 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.698e-05/2.005, allocations: 7.5 kB / 0.7586 GB, free: 87.61 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.596e-05/2.005, allocations: 13.97 kB / 0.7587 GB, free: 87.61 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03007/2.035, allocations: 10.23 MB / 0.7686 GB, free: 83.85 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.023e-05/2.035, allocations: 2.25 kB / 0.7686 GB, free: 83.85 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003073/2.038, allocations: 467.1 kB / 0.7691 GB, free: 83.82 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001316/2.039, allocations: 344 kB / 0.7694 GB, free: 83.72 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003706/2.04, allocations: 48.25 kB / 0.7695 GB, free: 83.69 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006044/2.046, allocations: 4.943 MB / 0.7743 GB, free: 80.02 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.381e-06/2.046, allocations: 5.625 kB / 0.7743 GB, free: 80.01 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01264/2.059, allocations: 7.081 MB / 0.7812 GB, free: 76.74 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002455/2.061, allocations: 0.8236 MB / 0.782 GB, free: 75.96 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008836/2.062, allocations: 40 kB / 0.7821 GB, free: 75.92 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002589/2.065, allocations: 162.2 kB / 0.7822 GB, free: 75.82 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003862/2.065, allocations: 139.7 kB / 0.7823 GB, free: 75.73 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002575/2.065, allocations: 76.02 kB / 0.7824 GB, free: 75.66 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.005538/2.071, allocations: 3.072 MB / 0.7854 GB, free: 72.96 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.103e-06/2.071, allocations: 0 / 0.7854 GB, free: 72.96 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.007572/2.078, allocations: 1.288 MB / 0.7867 GB, free: 71.68 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 (224): * Single equations (assignments): 219 * 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 {(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005619/2.079, allocations: 193.8 kB / 0.7869 GB, free: 71.49 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01102/2.09, allocations: 6.135 MB / 0.7928 GB, free: 65.89 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 7.796e-06/2.09, allocations: 0 / 0.7928 GB, free: 65.89 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003448/2.094, allocations: 2.157 MB / 0.795 GB, free: 63.9 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003384/2.097, allocations: 0.563 MB / 0.7955 GB, free: 63.41 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02151/2.119, allocations: 10.07 MB / 0.8053 GB, free: 54.45 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007986/2.127, allocations: 4.226 MB / 0.8095 GB, free: 51.32 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.008744/2.135, allocations: 2.385 MB / 0.8118 GB, free: 49.79 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001762/2.137, allocations: 322.3 kB / 0.8121 GB, free: 49.48 MB / 474.7 MB Notification: Performance of SimCode: time 1.753e-06/2.137, allocations: 0 / 0.8121 GB, free: 49.48 MB / 474.7 MB Notification: Performance of Templates: time 0.1173/2.254, allocations: 44.17 MB / 0.8552 GB, free: 9.375 MB / 474.7 MB