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_cpp_ModelicaTest.MultiBody.Forces.LineForceWithMass") Notification: Performance of loadModel(ModelicaTest): time 1.893/1.893, allocations: 209.3 MB / 221.9 MB, free: 7.738 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.124e-05/3.133e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09492/0.09497, allocations: 48.7 MB / 321.8 MB, free: 2.871 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4358/0.5308, allocations: 98.01 MB / 419.8 MB, free: 13.84 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002033/0.531, allocations: 70.16 kB / 419.8 MB, free: 13.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4243/0.9554, allocations: 110.7 MB / 0.5181 GB, free: 5.977 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.69e-06/0.9554, allocations: 0 / 0.5181 GB, free: 5.977 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003779/0.9558, allocations: 116 kB / 0.5182 GB, free: 5.863 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.2679/1.224, allocations: 5.869 MB / 0.5239 GB, free: 76.56 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/1.224, allocations: 8.719 kB / 0.5239 GB, free: 76.56 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03687/1.261, allocations: 6.893 MB / 0.5306 GB, free: 76.18 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02121/1.282, allocations: 7.059 MB / 0.5375 GB, free: 75.77 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005498/1.282, allocations: 413.2 kB / 0.5379 GB, free: 75.76 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002336/1.285, allocations: 0.5391 MB / 0.5384 GB, free: 75.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03367/1.319, allocations: 13.94 MB / 0.5521 GB, free: 72.69 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003215/1.319, allocations: 75.25 kB / 0.5521 GB, free: 72.69 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001975/1.321, allocations: 264.6 kB / 0.5524 GB, free: 72.69 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002231/1.323, allocations: 1.353 MB / 0.5537 GB, free: 72.68 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02803/1.351, allocations: 11.35 MB / 0.5648 GB, free: 72.66 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0729/1.424, allocations: 60.62 MB / 0.624 GB, free: 30.91 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02021/1.444, allocations: 5.751 MB / 0.6296 GB, free: 28.93 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005255/1.45, allocations: 3.24 MB / 0.6328 GB, free: 27.52 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02529/1.475, allocations: 14.73 MB / 0.6472 GB, free: 15.03 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/1.475, allocations: 59.44 kB / 0.6472 GB, free: 14.96 MB / 426.7 MB Notification: Performance of pre-optimization done (n=226): time 6.472e-06/1.475, allocations: 0 / 0.6472 GB, free: 14.96 MB / 426.7 MB Notification: Performance of matching and sorting (n=263): time 0.08608/1.561, allocations: 21.9 MB / 0.6686 GB, free: 12.92 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001954/1.561, allocations: 260.3 kB / 0.6688 GB, free: 12.61 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01096/1.572, allocations: 4.397 MB / 0.6731 GB, free: 8.719 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005326/1.573, allocations: 69.61 kB / 0.6732 GB, free: 8.648 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004098/1.577, allocations: 3.804 MB / 0.6769 GB, free: 5.191 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001571/1.579, allocations: 0.9917 MB / 0.6779 GB, free: 4.316 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009012/1.58, allocations: 146.8 kB / 0.678 GB, free: 4.176 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001007/1.581, allocations: 0.622 MB / 0.6786 GB, free: 3.633 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006347/1.587, allocations: 2.514 MB / 0.6811 GB, free: 1.367 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.2686/1.856, allocations: 7.164 MB / 0.6881 GB, free: 83.08 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.008635/1.864, allocations: 4.107 MB / 0.6921 GB, free: 83.05 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002813/1.865, allocations: 44.09 kB / 0.6921 GB, free: 83.05 MB / 442.7 MB Notification: Performance of matching and sorting (n=962) (initialization): time 0.02368/1.888, allocations: 8.986 MB / 0.7009 GB, free: 82.8 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001977/1.889, allocations: 72.31 kB / 0.701 GB, free: 82.8 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003077/1.889, allocations: 152.7 kB / 0.7011 GB, free: 82.8 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002042/1.891, allocations: 0.5867 MB / 0.7017 GB, free: 82.78 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00844/1.9, allocations: 1.733 MB / 0.7034 GB, free: 82.63 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007641/1.907, allocations: 5.622 MB / 0.7089 GB, free: 79.9 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007585/1.915, allocations: 401.8 kB / 0.7093 GB, free: 79.9 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001676/1.917, allocations: 441.1 kB / 0.7097 GB, free: 79.9 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.001818/1.918, allocations: 0.676 MB / 0.7103 GB, free: 79.64 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001015/1.919, allocations: 468.1 kB / 0.7108 GB, free: 79.64 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008404/1.928, allocations: 3.977 MB / 0.7147 GB, free: 79.46 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.061e-05/1.928, allocations: 27.62 kB / 0.7147 GB, free: 79.46 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.584e-05/1.928, allocations: 6.875 kB / 0.7147 GB, free: 79.46 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.63e-05/1.928, allocations: 14.09 kB / 0.7147 GB, free: 79.46 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02412/1.952, allocations: 10.23 MB / 0.7247 GB, free: 78.87 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.31e-05/1.952, allocations: 3.625 kB / 0.7247 GB, free: 78.87 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003105/1.955, allocations: 462.9 kB / 0.7252 GB, free: 78.85 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001347/1.957, allocations: 345.6 kB / 0.7255 GB, free: 78.84 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000408/1.957, allocations: 45.16 kB / 0.7255 GB, free: 78.84 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005996/1.963, allocations: 4.964 MB / 0.7304 GB, free: 76.16 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.516e-06/1.963, allocations: 0 / 0.7304 GB, free: 76.16 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01217/1.975, allocations: 7.072 MB / 0.7373 GB, free: 73.79 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002517/1.978, allocations: 0.8294 MB / 0.7381 GB, free: 73.31 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001173/1.979, allocations: 42.33 kB / 0.7381 GB, free: 73.28 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002993/1.982, allocations: 159.4 kB / 0.7383 GB, free: 73.25 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004302/1.983, allocations: 148.1 kB / 0.7384 GB, free: 73.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002573/1.983, allocations: 66.66 kB / 0.7385 GB, free: 73.21 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006454/1.989, allocations: 3.075 MB / 0.7415 GB, free: 72.16 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.403e-06/1.989, allocations: 0 / 0.7415 GB, free: 72.16 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00819/1.998, allocations: 1.293 MB / 0.7428 GB, free: 72.01 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.000737/1.998, allocations: 196.8 kB / 0.7429 GB, free: 71.87 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01164/2.01, allocations: 6.13 MB / 0.7489 GB, free: 69.65 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.975e-06/2.01, allocations: 0 / 0.7489 GB, free: 69.65 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003669/2.014, allocations: 2.156 MB / 0.751 GB, free: 68.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003524/2.017, allocations: 0.5674 MB / 0.7516 GB, free: 68.45 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02449/2.042, allocations: 10.68 MB / 0.762 GB, free: 64.42 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009212/2.051, allocations: 4.223 MB / 0.7661 GB, free: 62.98 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002061/2.053, allocations: 380.1 kB / 0.7665 GB, free: 62.96 MB / 442.7 MB Notification: Performance of SimCode: time 1.885e-06/2.053, allocations: 0 / 0.7665 GB, free: 62.96 MB / 442.7 MB Notification: Performance of Templates: time 0.4179/2.471, allocations: 117 MB / 0.8808 GB, free: 97.86 MB / 458.7 MB