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.1_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadModel(ModelicaTest): time 1.968/1.968, allocations: 209.3 MB / 221.5 MB, free: 1.855 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.045e-05/3.064e-05, allocations: 4 kB / 273.1 MB, free: 240 kB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08774/0.0878, allocations: 48.71 MB / 321.8 MB, free: 15.43 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3652/0.4531, allocations: 98 MB / 419.8 MB, free: 7.641 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000227/0.4534, allocations: 79.08 kB / 419.9 MB, free: 7.566 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7037/1.157, allocations: 110.6 MB / 0.5181 GB, free: 92.7 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.254e-06/1.157, allocations: 0 / 0.5181 GB, free: 92.7 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003954/1.158, allocations: 118.4 kB / 0.5182 GB, free: 92.7 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1935 * Number of variables: 1935 Notification: Performance of Generate backend data structure: time 0.0199/1.177, allocations: 5.859 MB / 0.5239 GB, free: 90.48 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.471e-05/1.178, allocations: 16.53 kB / 0.5239 GB, free: 90.47 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03601/1.214, allocations: 6.904 MB / 0.5307 GB, free: 90.08 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02107/1.235, allocations: 7.058 MB / 0.5376 GB, free: 89.24 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004366/1.235, allocations: 414.9 kB / 0.538 GB, free: 89.23 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002177/1.237, allocations: 0.5347 MB / 0.5385 GB, free: 89.22 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03496/1.272, allocations: 13.94 MB / 0.5521 GB, free: 84.79 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000297/1.273, allocations: 69.88 kB / 0.5522 GB, free: 84.79 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002123/1.275, allocations: 268.4 kB / 0.5524 GB, free: 84.64 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002463/1.277, allocations: 1.354 MB / 0.5537 GB, free: 84.4 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03041/1.308, allocations: 11.35 MB / 0.5648 GB, free: 81.07 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0747/1.383, allocations: 60.61 MB / 0.624 GB, free: 26.69 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02114/1.404, allocations: 5.748 MB / 0.6296 GB, free: 20.79 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005148/1.409, allocations: 3.243 MB / 0.6328 GB, free: 17.54 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02594/1.435, allocations: 14.74 MB / 0.6472 GB, free: 2.332 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.751e-05/1.435, allocations: 60.56 kB / 0.6472 GB, free: 2.266 MB / 426.7 MB Notification: Performance of pre-optimization done (n=226): time 7.086e-06/1.435, allocations: 4 kB / 0.6472 GB, free: 2.262 MB / 426.7 MB Notification: Performance of matching and sorting (n=263): time 0.3382/1.773, allocations: 21.89 MB / 0.6686 GB, free: 99.77 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000101/1.773, allocations: 261.6 kB / 0.6689 GB, free: 99.49 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01041/1.784, allocations: 4.396 MB / 0.6732 GB, free: 99.07 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005205/1.784, allocations: 63.3 kB / 0.6732 GB, free: 99.04 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003519/1.788, allocations: 3.966 MB / 0.6771 GB, free: 97.37 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001452/1.789, allocations: 0.9871 MB / 0.6781 GB, free: 96.87 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007234/1.79, allocations: 150.7 kB / 0.6782 GB, free: 96.87 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005481/1.791, allocations: 0.6117 MB / 0.6788 GB, free: 96.55 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006303/1.797, allocations: 2.517 MB / 0.6813 GB, free: 96.54 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00866/1.806, allocations: 6.794 MB / 0.6879 GB, free: 91.01 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008596/1.814, allocations: 4.114 MB / 0.6919 GB, free: 90.98 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002289/1.815, allocations: 43.22 kB / 0.692 GB, free: 90.98 MB / 442.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02266/1.837, allocations: 9.166 MB / 0.7009 GB, free: 89.64 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001651/1.838, allocations: 68.06 kB / 0.701 GB, free: 89.64 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002289/1.838, allocations: 155.3 kB / 0.7011 GB, free: 89.64 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001938/1.84, allocations: 0.5893 MB / 0.7017 GB, free: 89.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008712/1.848, allocations: 1.734 MB / 0.7034 GB, free: 89.34 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007705/1.856, allocations: 5.616 MB / 0.7089 GB, free: 85.45 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007722/1.864, allocations: 403.2 kB / 0.7093 GB, free: 85.31 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001505/1.865, allocations: 440.5 kB / 0.7097 GB, free: 85.25 MB / 442.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.001434/1.867, allocations: 0.6747 MB / 0.7103 GB, free: 84.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001127/1.868, allocations: 464 kB / 0.7108 GB, free: 84.46 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008758/1.877, allocations: 3.981 MB / 0.7147 GB, free: 82.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-05/1.877, allocations: 27.81 kB / 0.7147 GB, free: 82.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.731e-05/1.877, allocations: 7.375 kB / 0.7147 GB, free: 82.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.811e-05/1.877, allocations: 13.45 kB / 0.7147 GB, free: 82.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02518/1.902, allocations: 10.23 MB / 0.7247 GB, free: 79.16 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.941e-05/1.902, allocations: 0 / 0.7247 GB, free: 79.16 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003162/1.905, allocations: 463.6 kB / 0.7251 GB, free: 79.13 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001338/1.907, allocations: 348.9 kB / 0.7255 GB, free: 79.04 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003803/1.907, allocations: 47.02 kB / 0.7255 GB, free: 79.01 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006325/1.914, allocations: 4.949 MB / 0.7304 GB, free: 75.34 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.293e-06/1.914, allocations: 7.625 kB / 0.7304 GB, free: 75.34 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01327/1.927, allocations: 7.081 MB / 0.7373 GB, free: 72.25 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00284/1.93, allocations: 0.824 MB / 0.7381 GB, free: 71.76 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001439/1.931, allocations: 43.44 kB / 0.7381 GB, free: 71.73 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003724/1.935, allocations: 161.3 kB / 0.7383 GB, free: 71.7 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006616/1.936, allocations: 140.9 kB / 0.7384 GB, free: 71.68 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000279/1.936, allocations: 69.61 kB / 0.7385 GB, free: 71.66 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007043/1.943, allocations: 3.076 MB / 0.7415 GB, free: 70.61 MB / 442.7 MB Notification: Performance of sort global known variables: time 1e-06/1.943, allocations: 0 / 0.7415 GB, free: 70.61 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.008562/1.952, allocations: 1.288 MB / 0.7427 GB, free: 70.46 MB / 442.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.0007633/1.952, allocations: 194.5 kB / 0.7429 GB, free: 70.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01229/1.965, allocations: 6.132 MB / 0.7489 GB, free: 68.09 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.831e-06/1.965, allocations: 0 / 0.7489 GB, free: 68.09 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.004261/1.969, allocations: 2.155 MB / 0.751 GB, free: 67.15 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00428/1.973, allocations: 0.5614 MB / 0.7516 GB, free: 66.89 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02339/1.997, allocations: 10.06 MB / 0.7614 GB, free: 58.94 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008368/2.005, allocations: 4.221 MB / 0.7655 GB, free: 55.81 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.008592/2.014, allocations: 2.382 MB / 0.7678 GB, free: 54.28 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001742/2.016, allocations: 325 kB / 0.7682 GB, free: 53.97 MB / 442.7 MB Notification: Performance of SimCode: time 1.656e-06/2.016, allocations: 0 / 0.7682 GB, free: 53.97 MB / 442.7 MB Notification: Performance of Templates: time 0.1409/2.157, allocations: 44.15 MB / 0.8113 GB, free: 17.07 MB / 442.7 MB