Running command: translateModel(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses,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.LineForceWithTwoMasses") Notification: Performance of loadModel(ModelicaTest): time 2.093/2.093, allocations: 209.3 MB / 224.4 MB, free: 0.6602 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.712e-05/3.706e-05, allocations: 7.984 kB / 276.1 MB, free: 15.89 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4106/0.4106, allocations: 48.7 MB / 324.8 MB, free: 2.875 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.09508/0.5058, allocations: 57.78 MB / 382.6 MB, free: 5.68 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.03933/0.5452, allocations: 12.88 MB / 395.5 MB, free: 8.758 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01467/0.5599, allocations: 315.2 kB / 395.8 MB, free: 8.449 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01188/0.5718, allocations: 3.017 MB / 398.8 MB, free: 5.418 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03212/0.604, allocations: 8.243 MB / 407.1 MB, free: 13.15 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006456/0.6105, allocations: 1.24 MB / 408.3 MB, free: 11.91 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.06761/0.6782, allocations: 17.75 MB / 426.1 MB, free: 10.15 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01665/0.6949, allocations: 5.729 MB / 431.8 MB, free: 4.387 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005547/0.7005, allocations: 1.492 MB / 433.3 MB, free: 2.891 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.008295/0.7089, allocations: 2.486 MB / 435.8 MB, free: 408 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006099/0.7151, allocations: 1.17 MB / 436.9 MB, free: 15.23 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.00382/0.7189, allocations: 228 kB / 437.2 MB, free: 15 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.008039/0.7271, allocations: 2.685 MB / 439.9 MB, free: 12.31 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00296/0.7301, allocations: 456 kB / 440.3 MB, free: 11.87 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01528/0.7454, allocations: 8.892 MB / 449.2 MB, free: 2.953 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.7455, allocations: 0 / 449.2 MB, free: 2.953 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.905e-06/0.7455, allocations: 0 / 449.2 MB, free: 2.953 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0004123/0.7459, allocations: 0 / 449.2 MB, free: 2.953 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2297 * Number of variables: 2297 Notification: Performance of Generate backend data structure: time 0.02547/0.7714, allocations: 6.851 MB / 456 MB, free: 12.02 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.9e-05/0.7715, allocations: 12.03 kB / 456.1 MB, free: 12.01 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3492/1.121, allocations: 19.39 MB / 475.4 MB, free: 8.582 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02264/1.143, allocations: 6.19 MB / 481.6 MB, free: 2.312 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000563/1.144, allocations: 369.4 kB / 482 MB, free: 1.949 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003008/1.147, allocations: 0.5073 MB / 482.5 MB, free: 1.441 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.3367/1.484, allocations: 16.37 MB / 498.9 MB, free: 120.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004479/1.484, allocations: 83.06 kB / 499 MB, free: 120.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002148/1.486, allocations: 239.5 kB / 499.2 MB, free: 120.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.008171/1.495, allocations: 2.803 MB / 0.4902 GB, free: 119.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04771/1.542, allocations: 13.68 MB / 0.5036 GB, free: 113 MB / 410.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1273/1.67, allocations: 64.4 MB / 0.5665 GB, free: 47.53 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04106/1.711, allocations: 7.857 MB / 0.5742 GB, free: 39.54 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04547/1.756, allocations: 18.93 MB / 0.5926 GB, free: 20.12 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.348e-05/1.756, allocations: 68.48 kB / 0.5927 GB, free: 20.05 MB / 410.7 MB Notification: Performance of pre-optimization done (n=286): time 7.123e-06/1.756, allocations: 0 / 0.5927 GB, free: 20.05 MB / 410.7 MB Notification: Performance of matching and sorting (n=367): time 0.6135/2.37, allocations: 53.04 MB / 0.6445 GB, free: 143.9 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000129/2.37, allocations: 271.9 kB / 0.6448 GB, free: 143.6 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01673/2.387, allocations: 5.863 MB / 0.6505 GB, free: 142.3 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001106/2.388, allocations: 81.52 kB / 0.6506 GB, free: 142.3 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004802/2.393, allocations: 4.536 MB / 0.655 GB, free: 139.3 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00257/2.396, allocations: 1.352 MB / 0.6563 GB, free: 138.3 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001456/2.397, allocations: 184.1 kB / 0.6565 GB, free: 138.2 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0009673/2.398, allocations: 0.6938 MB / 0.6572 GB, free: 137.7 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0116/2.41, allocations: 3.919 MB / 0.661 GB, free: 136.4 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0156/2.425, allocations: 9.096 MB / 0.6699 GB, free: 128.1 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01471/2.44, allocations: 5.775 MB / 0.6755 GB, free: 125.9 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002917/2.44, allocations: 57.72 kB / 0.6756 GB, free: 125.9 MB / 442.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.05808/2.499, allocations: 16.65 MB / 0.6918 GB, free: 120.3 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000157/2.499, allocations: 82.69 kB / 0.6919 GB, free: 120.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002892/2.499, allocations: 182 kB / 0.6921 GB, free: 120.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02292/2.522, allocations: 4.167 MB / 0.6961 GB, free: 118.6 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01342/2.535, allocations: 2.049 MB / 0.6982 GB, free: 116.9 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05816/2.594, allocations: 23.84 MB / 0.7214 GB, free: 92.84 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01122/2.605, allocations: 0.511 MB / 0.7219 GB, free: 92.33 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002036/2.607, allocations: 0.5362 MB / 0.7225 GB, free: 91.8 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 828 * Number of states: 0 () * Number of discrete variables: 63 (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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1083): * Single equations (assignments): 1078 * 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,(5,64.0%) 47} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008039/2.615, allocations: 3.067 MB / 0.7254 GB, free: 88.71 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001646/2.617, allocations: 0.5708 MB / 0.726 GB, free: 88.14 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03663/2.653, allocations: 10.08 MB / 0.7359 GB, free: 78 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.753e-05/2.654, allocations: 40 kB / 0.7359 GB, free: 77.96 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.384e-05/2.654, allocations: 19.94 kB / 0.7359 GB, free: 77.94 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.151e-05/2.654, allocations: 19.92 kB / 0.7359 GB, free: 77.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06638/2.72, allocations: 19.76 MB / 0.7552 GB, free: 58.06 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.133e-05/2.72, allocations: 3.938 kB / 0.7552 GB, free: 58.06 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005454/2.726, allocations: 0.5343 MB / 0.7558 GB, free: 57.52 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02105/2.747, allocations: 3.651 MB / 0.7593 GB, free: 53.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000945/2.748, allocations: 63.98 kB / 0.7594 GB, free: 53.8 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04826/2.796, allocations: 20.73 MB / 0.7796 GB, free: 32.81 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/2.796, allocations: 4 kB / 0.7796 GB, free: 32.8 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04558/2.842, allocations: 14.78 MB / 0.7941 GB, free: 17.93 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004429/2.846, allocations: 1.157 MB / 0.7952 GB, free: 16.75 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00215/2.848, allocations: 65.25 kB / 0.7952 GB, free: 16.68 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00582/2.854, allocations: 211.7 kB / 0.7955 GB, free: 16.48 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001334/2.856, allocations: 226.2 kB / 0.7957 GB, free: 16.25 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004892/2.856, allocations: 97.31 kB / 0.7958 GB, free: 16.16 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.009234/2.865, allocations: 4.163 MB / 0.7998 GB, free: 12 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.143e-06/2.865, allocations: 0 / 0.7998 GB, free: 12 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.3094/3.175, allocations: 1.866 MB / 0.8016 GB, free: 129.8 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 (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%) 35} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001552/3.176, allocations: 233 kB / 0.8019 GB, free: 129.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.02754/3.204, allocations: 9.967 MB / 0.8116 GB, free: 128.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.888e-06/3.204, allocations: 1.062 kB / 0.8116 GB, free: 128.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01089/3.215, allocations: 3.937 MB / 0.8154 GB, free: 126.8 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00667/3.222, allocations: 0.7076 MB / 0.8161 GB, free: 126.5 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04717/3.269, allocations: 19.3 MB / 0.835 GB, free: 117.1 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01088/3.28, allocations: 5.022 MB / 0.8399 GB, free: 115.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002924/3.283, allocations: 456.8 kB / 0.8403 GB, free: 115.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.853e-06/3.283, allocations: 0 / 0.8403 GB, free: 115.5 MB / 442.7 MB Notification: Performance of Templates: time 0.5642/3.847, allocations: 147 MB / 0.9838 GB, free: 139.2 MB / 458.7 MB