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_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadModel(ModelicaTest): time 2.114/2.114, allocations: 235 MB / 247.6 MB, free: 14.38 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.403e-05/3.413e-05, allocations: 4 kB / 304.9 MB, free: 5.668 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3228, allocations: 54.85 MB / 359.8 MB, free: 2.68 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1576/0.4805, allocations: 104.8 MB / 464.6 MB, free: 8.129 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002565/0.4808, allocations: 75.95 kB / 464.7 MB, free: 8.055 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6634/1.144, allocations: 110.8 MB / 0.5619 GB, free: 103.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.577e-06/1.144, allocations: 0 / 0.5619 GB, free: 103.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000307/1.145, allocations: 112.9 kB / 0.562 GB, free: 103.8 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.01844/1.163, allocations: 5.872 MB / 0.5678 GB, free: 101.5 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/1.163, allocations: 11.84 kB / 0.5678 GB, free: 101.5 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03409/1.197, allocations: 6.895 MB / 0.5745 GB, free: 101.1 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02001/1.217, allocations: 7.067 MB / 0.5814 GB, free: 99.04 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004493/1.218, allocations: 416.1 kB / 0.5818 GB, free: 98.88 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002419/1.22, allocations: 0.5396 MB / 0.5823 GB, free: 98.73 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03249/1.253, allocations: 13.95 MB / 0.596 GB, free: 91.22 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000281/1.253, allocations: 69.67 kB / 0.596 GB, free: 91.18 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001774/1.255, allocations: 263.7 kB / 0.5963 GB, free: 91.03 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002109/1.257, allocations: 1.357 MB / 0.5976 GB, free: 89.87 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02747/1.284, allocations: 11.35 MB / 0.6087 GB, free: 78.5 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.07192/1.356, allocations: 60.63 MB / 0.6679 GB, free: 16.39 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01988/1.376, allocations: 5.768 MB / 0.6735 GB, free: 10.48 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00495/1.381, allocations: 3.24 MB / 0.6767 GB, free: 7.227 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02737/1.409, allocations: 14.73 MB / 0.6911 GB, free: 8.035 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.992e-05/1.409, allocations: 64.5 kB / 0.6911 GB, free: 7.965 MB / 474.7 MB Notification: Performance of pre-optimization done (n=226): time 7.004e-06/1.409, allocations: 4 kB / 0.6912 GB, free: 7.961 MB / 474.7 MB Notification: Performance of matching and sorting (n=263): time 0.3593/1.768, allocations: 21.9 MB / 0.7125 GB, free: 108.6 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.871e-05/1.768, allocations: 258.9 kB / 0.7128 GB, free: 108.3 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01054/1.779, allocations: 4.4 MB / 0.7171 GB, free: 107.9 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005284/1.779, allocations: 65.2 kB / 0.7171 GB, free: 107.9 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002969/1.782, allocations: 3.811 MB / 0.7209 GB, free: 105.7 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00129/1.784, allocations: 0.9878 MB / 0.7218 GB, free: 105.2 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006056/1.784, allocations: 145.4 kB / 0.722 GB, free: 105.2 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0004683/1.785, allocations: 0.6199 MB / 0.7226 GB, free: 104.9 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005264/1.79, allocations: 2.514 MB / 0.725 GB, free: 104.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007544/1.798, allocations: 6.794 MB / 0.7317 GB, free: 98.57 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.007541/1.805, allocations: 4.114 MB / 0.7357 GB, free: 97.4 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000114/1.805, allocations: 45.97 kB / 0.7357 GB, free: 97.4 MB / 474.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02028/1.826, allocations: 8.979 MB / 0.7445 GB, free: 94.52 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001177/1.826, allocations: 73.81 kB / 0.7446 GB, free: 94.51 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001676/1.826, allocations: 154.4 kB / 0.7447 GB, free: 94.51 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001709/1.828, allocations: 0.583 MB / 0.7453 GB, free: 94.41 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007427/1.835, allocations: 1.733 MB / 0.747 GB, free: 94.21 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007097/1.842, allocations: 5.621 MB / 0.7525 GB, free: 90.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007457/1.85, allocations: 402.7 kB / 0.7528 GB, free: 90.16 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001421/1.851, allocations: 439.6 kB / 0.7533 GB, free: 90.11 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.001391/1.853, allocations: 0.6733 MB / 0.7539 GB, free: 89.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001122/1.854, allocations: 467 kB / 0.7544 GB, free: 89.3 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008227/1.862, allocations: 3.982 MB / 0.7583 GB, free: 87.73 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.795e-05/1.862, allocations: 26.38 kB / 0.7583 GB, free: 87.73 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.617e-05/1.862, allocations: 7.594 kB / 0.7583 GB, free: 87.73 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.245e-05/1.862, allocations: 15.77 kB / 0.7583 GB, free: 87.73 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02293/1.885, allocations: 10.23 MB / 0.7683 GB, free: 83.98 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.801e-05/1.885, allocations: 0 / 0.7683 GB, free: 83.98 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002879/1.888, allocations: 467.1 kB / 0.7687 GB, free: 83.95 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001285/1.89, allocations: 350.3 kB / 0.7691 GB, free: 83.85 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003187/1.89, allocations: 50.14 kB / 0.7691 GB, free: 83.82 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005885/1.896, allocations: 4.946 MB / 0.774 GB, free: 80.14 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/1.896, allocations: 112 / 0.774 GB, free: 80.14 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01207/1.908, allocations: 7.08 MB / 0.7809 GB, free: 77.05 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002641/1.911, allocations: 0.8254 MB / 0.7817 GB, free: 76.34 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001041/1.912, allocations: 44.7 kB / 0.7817 GB, free: 76.3 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002927/1.915, allocations: 162.5 kB / 0.7819 GB, free: 76.19 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005443/1.915, allocations: 140.3 kB / 0.782 GB, free: 76.11 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002677/1.915, allocations: 67.33 kB / 0.7821 GB, free: 76.04 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.006199/1.922, allocations: 3.074 MB / 0.7851 GB, free: 73.34 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.441e-06/1.922, allocations: 0 / 0.7851 GB, free: 73.34 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.008052/1.93, allocations: 1.289 MB / 0.7863 GB, free: 72.06 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.000697/1.931, allocations: 196.4 kB / 0.7865 GB, free: 71.87 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01118/1.942, allocations: 6.136 MB / 0.7925 GB, free: 66.27 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 8.281e-06/1.942, allocations: 0 / 0.7925 GB, free: 66.27 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003482/1.945, allocations: 2.154 MB / 0.7946 GB, free: 64.28 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003534/1.949, allocations: 0.5653 MB / 0.7952 GB, free: 63.8 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02262/1.971, allocations: 10.68 MB / 0.8056 GB, free: 54.34 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007354/1.979, allocations: 4.225 MB / 0.8097 GB, free: 51.2 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002006/1.981, allocations: 377.7 kB / 0.8101 GB, free: 50.84 MB / 474.7 MB Notification: Performance of SimCode: time 1.801e-06/1.981, allocations: 0 / 0.8101 GB, free: 50.84 MB / 474.7 MB Notification: Performance of Templates: time 0.4594/2.44, allocations: 117.1 MB / 0.9244 GB, free: 92.83 MB / 490.7 MB