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.2_cpp_ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses") Notification: Performance of loadModel(ModelicaTest): time 2.28/2.28, allocations: 234.9 MB / 250.1 MB, free: 9.934 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.601e-05/3.563e-05, allocations: 7.984 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3721/0.3722, allocations: 54.85 MB / 362.9 MB, free: 12.09 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.LineForceWithTwoMasses): time 0.09034/0.4626, allocations: 57.81 MB / 420.7 MB, free: 3.891 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.03693/0.4996, allocations: 12.92 MB / 433.6 MB, free: 6.938 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01339/0.513, allocations: 311.2 kB / 433.9 MB, free: 6.633 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01033/0.5234, allocations: 3.01 MB / 436.9 MB, free: 3.609 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03059/0.554, allocations: 8.243 MB / 445.1 MB, free: 11.34 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006163/0.5603, allocations: 1.229 MB / 446.4 MB, free: 10.11 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.05099/0.6113, allocations: 17.76 MB / 464.1 MB, free: 8.332 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01235/0.6237, allocations: 5.719 MB / 469.8 MB, free: 2.57 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004322/0.6281, allocations: 1.492 MB / 471.3 MB, free: 1.074 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005755/0.6339, allocations: 2.49 MB / 473.8 MB, free: 14.58 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004327/0.6382, allocations: 1.17 MB / 475 MB, free: 13.41 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002272/0.6406, allocations: 224 kB / 475.2 MB, free: 13.19 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005062/0.6457, allocations: 2.689 MB / 477.9 MB, free: 10.49 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002788/0.6485, allocations: 456 kB / 478.3 MB, free: 10.05 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01486/0.6634, allocations: 8.904 MB / 487.3 MB, free: 1.121 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.819e-06/0.6635, allocations: 0 / 487.3 MB, free: 1.121 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.116e-06/0.6635, allocations: 4 kB / 487.3 MB, free: 1.117 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004117/0.6639, allocations: 0 / 487.3 MB, free: 1.117 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2299 * Number of variables: 2299 Notification: Performance of Generate backend data structure: time 0.0253/0.6892, allocations: 6.847 MB / 494.1 MB, free: 10.19 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.6893, allocations: 12.03 kB / 494.1 MB, free: 10.18 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.7151/1.404, allocations: 19.39 MB / 0.5015 GB, free: 118.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01897/1.423, allocations: 6.194 MB / 0.5075 GB, free: 114.8 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00042/1.424, allocations: 364.6 kB / 0.5079 GB, free: 114.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002511/1.426, allocations: 0.5088 MB / 0.5084 GB, free: 114.1 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04457/1.471, allocations: 16.39 MB / 0.5244 GB, free: 96.88 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000436/1.472, allocations: 75.28 kB / 0.5244 GB, free: 96.81 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002204/1.474, allocations: 238 kB / 0.5247 GB, free: 96.63 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006325/1.48, allocations: 2.815 MB / 0.5274 GB, free: 93.84 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04367/1.524, allocations: 13.69 MB / 0.5408 GB, free: 80.16 MB / 426.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.1076/1.632, allocations: 64.42 MB / 0.6037 GB, free: 14.17 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03741/1.669, allocations: 7.862 MB / 0.6114 GB, free: 6.148 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04989/1.719, allocations: 18.93 MB / 0.6299 GB, free: 2.621 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.638e-05/1.719, allocations: 68.48 kB / 0.6299 GB, free: 2.547 MB / 442.7 MB Notification: Performance of pre-optimization done (n=286): time 7.033e-06/1.719, allocations: 0 / 0.6299 GB, free: 2.547 MB / 442.7 MB Notification: Performance of matching and sorting (n=367): time 0.6634/2.383, allocations: 53.03 MB / 0.6817 GB, free: 169.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000127/2.383, allocations: 275.2 kB / 0.682 GB, free: 169 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01503/2.398, allocations: 5.863 MB / 0.6877 GB, free: 167.4 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001085/2.399, allocations: 77.52 kB / 0.6878 GB, free: 167.4 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004346/2.403, allocations: 4.538 MB / 0.6922 GB, free: 164.4 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002302/2.406, allocations: 1.346 MB / 0.6935 GB, free: 163.4 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001524/2.407, allocations: 182.9 kB / 0.6937 GB, free: 163.3 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0007799/2.408, allocations: 0.6997 MB / 0.6944 GB, free: 162.8 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01054/2.419, allocations: 3.92 MB / 0.6982 GB, free: 161.5 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01387/2.433, allocations: 9.097 MB / 0.7071 GB, free: 153.2 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01377/2.446, allocations: 5.768 MB / 0.7127 GB, free: 151 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001745/2.447, allocations: 57.39 kB / 0.7128 GB, free: 151 MB / 490.7 MB Notification: Performance of matching and sorting (n=1202) (initialization): time 0.05584/2.502, allocations: 16.66 MB / 0.729 GB, free: 137.9 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001385/2.503, allocations: 88.06 kB / 0.7291 GB, free: 137.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002558/2.503, allocations: 180 kB / 0.7293 GB, free: 137.6 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02276/2.526, allocations: 4.16 MB / 0.7334 GB, free: 133.4 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0137/2.539, allocations: 2.062 MB / 0.7354 GB, free: 131.4 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.07661/2.616, allocations: 23.85 MB / 0.7587 GB, free: 107.3 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01534/2.632, allocations: 0.5032 MB / 0.7592 GB, free: 106.8 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002084/2.634, allocations: 0.539 MB / 0.7597 GB, free: 106.2 MB / 490.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.008468/2.642, allocations: 3.068 MB / 0.7627 GB, free: 103.1 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002307/2.645, allocations: 0.5786 MB / 0.7632 GB, free: 102.6 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.04453/2.689, allocations: 10.08 MB / 0.7731 GB, free: 92.41 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.124e-05/2.689, allocations: 40.86 kB / 0.7731 GB, free: 92.38 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.769e-05/2.689, allocations: 16 kB / 0.7731 GB, free: 92.36 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.319e-05/2.689, allocations: 19.94 kB / 0.7732 GB, free: 92.34 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06339/2.753, allocations: 19.76 MB / 0.7925 GB, free: 72.48 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.77e-05/2.753, allocations: 0 / 0.7925 GB, free: 72.48 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005351/2.758, allocations: 0.5344 MB / 0.793 GB, free: 71.95 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02116/2.779, allocations: 3.657 MB / 0.7965 GB, free: 68.28 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009205/2.78, allocations: 63.98 kB / 0.7966 GB, free: 68.21 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0491/2.83, allocations: 20.72 MB / 0.8168 GB, free: 47.22 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.479e-06/2.83, allocations: 7.938 kB / 0.8169 GB, free: 47.21 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04659/2.876, allocations: 14.77 MB / 0.8313 GB, free: 32.35 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004389/2.881, allocations: 1.153 MB / 0.8324 GB, free: 31.17 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002365/2.883, allocations: 60 kB / 0.8325 GB, free: 31.11 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006196/2.889, allocations: 211.7 kB / 0.8327 GB, free: 30.91 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001387/2.891, allocations: 230.1 kB / 0.8329 GB, free: 30.68 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005746/2.891, allocations: 95.92 kB / 0.833 GB, free: 30.59 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009551/2.901, allocations: 4.163 MB / 0.837 GB, free: 26.43 MB / 490.7 MB Notification: Performance of sort global known variables: time 7.32e-07/2.901, allocations: 4 kB / 0.837 GB, free: 26.43 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01131/2.912, allocations: 1.872 MB / 0.8389 GB, free: 24.56 MB / 490.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.001532/2.914, allocations: 227.9 kB / 0.8391 GB, free: 24.34 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02526/2.939, allocations: 9.983 MB / 0.8488 GB, free: 14.34 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.02e-05/2.939, allocations: 0 / 0.8488 GB, free: 14.34 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009914/2.949, allocations: 3.927 MB / 0.8527 GB, free: 10.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006322/2.956, allocations: 0.7129 MB / 0.8534 GB, free: 9.668 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.4105/3.366, allocations: 19.29 MB / 0.8722 GB, free: 151 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01546/3.382, allocations: 5.01 MB / 0.8771 GB, free: 150.1 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003717/3.385, allocations: 461.1 kB / 0.8775 GB, free: 150.1 MB / 490.7 MB Notification: Performance of SimCode: time 2.605e-06/3.385, allocations: 0 / 0.8775 GB, free: 150.1 MB / 490.7 MB Notification: Performance of Templates: time 0.2741/3.66, allocations: 147 MB / 1.021 GB, free: 11.12 MB / 490.7 MB