Running command: translateModel(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2,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.ForceWithTwoMasses2") Notification: Performance of loadModel(ModelicaTest): time 2.445/2.445, allocations: 234.9 MB / 250.1 MB, free: 9.938 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.554e-05/4.561e-05, allocations: 8 kB / 308 MB, free: 15.91 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4395/0.4396, allocations: 54.86 MB / 362.9 MB, free: 12.06 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.09083/0.5305, allocations: 57.8 MB / 420.7 MB, free: 3.895 MB / 346.7 MB Notification: Performance of NFInst.instExpressions: time 0.04416/0.5747, allocations: 12.9 MB / 433.6 MB, free: 6.961 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01795/0.5927, allocations: 315.2 kB / 433.9 MB, free: 6.652 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01505/0.6079, allocations: 3.013 MB / 436.9 MB, free: 3.625 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.04362/0.6515, allocations: 8.239 MB / 445.1 MB, free: 11.36 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008595/0.6602, allocations: 1.221 MB / 446.3 MB, free: 10.14 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.06373/0.724, allocations: 17.76 MB / 464.1 MB, free: 8.371 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01257/0.7366, allocations: 5.727 MB / 469.8 MB, free: 2.598 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004358/0.7411, allocations: 1.488 MB / 471.3 MB, free: 1.105 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005806/0.7469, allocations: 2.482 MB / 473.8 MB, free: 14.61 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004784/0.7518, allocations: 1.178 MB / 475 MB, free: 13.44 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002594/0.7545, allocations: 224 kB / 475.2 MB, free: 13.22 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005571/0.7601, allocations: 2.677 MB / 477.9 MB, free: 10.54 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.00297/0.7631, allocations: 452 kB / 478.3 MB, free: 10.09 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01551/0.7787, allocations: 8.888 MB / 487.2 MB, free: 1.184 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.94e-06/0.7787, allocations: 0 / 487.2 MB, free: 1.184 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.757e-06/0.7787, allocations: 0 / 487.2 MB, free: 1.184 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0004139/0.7792, allocations: 0 / 487.2 MB, free: 1.184 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: 2293 * Number of variables: 2293 Notification: Performance of Generate backend data structure: time 0.02571/0.8049, allocations: 6.847 MB / 494 MB, free: 10.26 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.489e-05/0.805, allocations: 11.97 kB / 494 MB, free: 10.25 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.6876/1.493, allocations: 19.39 MB / 0.5014 GB, free: 118.8 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02076/1.513, allocations: 6.193 MB / 0.5074 GB, free: 114.9 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004914/1.514, allocations: 362.5 kB / 0.5078 GB, free: 114.6 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002731/1.517, allocations: 0.5206 MB / 0.5083 GB, free: 114.2 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04599/1.563, allocations: 16.37 MB / 0.5243 GB, free: 97 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000419/1.563, allocations: 79.2 kB / 0.5244 GB, free: 96.92 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002396/1.566, allocations: 241.9 kB / 0.5246 GB, free: 96.74 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00635/1.572, allocations: 2.8 MB / 0.5273 GB, free: 93.96 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0444/1.617, allocations: 13.67 MB / 0.5407 GB, free: 80.3 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.1119/1.728, allocations: 64.33 MB / 0.6035 GB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.04586/1.774, allocations: 7.823 MB / 0.6111 GB, free: 6.406 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04906/1.823, allocations: 18.84 MB / 0.6295 GB, free: 2.965 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.762e-05/1.824, allocations: 64.56 kB / 0.6296 GB, free: 2.895 MB / 442.7 MB Notification: Performance of pre-optimization done (n=280): time 6.703e-06/1.824, allocations: 0 / 0.6296 GB, free: 2.895 MB / 442.7 MB Notification: Performance of matching and sorting (n=360): time 0.3278/2.151, allocations: 50.01 MB / 0.6784 GB, free: 0.6641 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002125/2.152, allocations: 270 kB / 0.6787 GB, free: 352 kB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3472/2.499, allocations: 5.869 MB / 0.6844 GB, free: 169.9 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0009426/2.5, allocations: 77.48 kB / 0.6845 GB, free: 169.8 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004078/2.504, allocations: 4.53 MB / 0.6889 GB, free: 166.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002261/2.506, allocations: 1.331 MB / 0.6902 GB, free: 165.9 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001087/2.508, allocations: 187.1 kB / 0.6904 GB, free: 165.7 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0005902/2.508, allocations: 0.6946 MB / 0.6911 GB, free: 165.3 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009631/2.518, allocations: 3.885 MB / 0.6949 GB, free: 164 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01326/2.531, allocations: 9.062 MB / 0.7037 GB, free: 155.7 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01377/2.545, allocations: 5.733 MB / 0.7093 GB, free: 153.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000193/2.545, allocations: 51.47 kB / 0.7094 GB, free: 153.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.05544/2.601, allocations: 16.63 MB / 0.7256 GB, free: 141.6 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001505/2.601, allocations: 85.56 kB / 0.7257 GB, free: 141.5 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000232/2.601, allocations: 180 kB / 0.7259 GB, free: 141.4 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.02335/2.624, allocations: 4.203 MB / 0.73 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01283/2.637, allocations: 2.035 MB / 0.732 GB, free: 135.1 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05554/2.693, allocations: 23.87 MB / 0.7553 GB, free: 111 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01127/2.704, allocations: 0.5077 MB / 0.7558 GB, free: 110.5 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002136/2.706, allocations: 0.5279 MB / 0.7563 GB, free: 109.9 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 (1076): * Single equations (assignments): 1071 * 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,(4,62.5%) 48} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.008348/2.715, allocations: 3.072 MB / 0.7593 GB, free: 106.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001682/2.717, allocations: 0.5747 MB / 0.7598 GB, free: 106.3 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03763/2.754, allocations: 10.04 MB / 0.7697 GB, free: 96.17 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.34e-05/2.754, allocations: 40.55 kB / 0.7697 GB, free: 96.13 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.938e-05/2.754, allocations: 16 kB / 0.7697 GB, free: 96.12 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.383e-05/2.754, allocations: 19.89 kB / 0.7697 GB, free: 96.1 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06413/2.819, allocations: 19.69 MB / 0.789 GB, free: 76.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.925e-05/2.819, allocations: 7.953 kB / 0.789 GB, free: 76.29 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005284/2.824, allocations: 0.5188 MB / 0.7895 GB, free: 75.77 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.02204/2.846, allocations: 3.708 MB / 0.7931 GB, free: 72.05 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0009059/2.847, allocations: 63.98 kB / 0.7931 GB, free: 71.99 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04859/2.896, allocations: 20.74 MB / 0.8134 GB, free: 50.99 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.703e-06/2.896, allocations: 7.891 kB / 0.8134 GB, free: 50.98 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04642/2.942, allocations: 14.68 MB / 0.8277 GB, free: 36.2 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004411/2.947, allocations: 1.157 MB / 0.8289 GB, free: 35.02 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00228/2.949, allocations: 56 kB / 0.8289 GB, free: 34.96 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006295/2.955, allocations: 219.7 kB / 0.8291 GB, free: 34.75 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001421/2.957, allocations: 233.5 kB / 0.8294 GB, free: 34.52 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004643/2.957, allocations: 91.98 kB / 0.8294 GB, free: 34.43 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.009401/2.967, allocations: 4.171 MB / 0.8335 GB, free: 30.27 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.162e-06/2.967, allocations: 0 / 0.8335 GB, free: 30.27 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.01079/2.978, allocations: 1.857 MB / 0.8353 GB, free: 28.41 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 (263): * Single equations (assignments): 258 * 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.001372/2.979, allocations: 226.9 kB / 0.8355 GB, free: 28.2 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.02268/3.002, allocations: 9.879 MB / 0.8452 GB, free: 18.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 1.003e-05/3.002, allocations: 4 kB / 0.8452 GB, free: 18.29 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009505/3.011, allocations: 3.891 MB / 0.849 GB, free: 14.38 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006252/3.018, allocations: 0.7122 MB / 0.8497 GB, free: 13.66 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3756/3.393, allocations: 19.2 MB / 0.8684 GB, free: 151.2 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01051/3.404, allocations: 5.003 MB / 0.8733 GB, free: 150.3 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00276/3.407, allocations: 455.6 kB / 0.8738 GB, free: 150.3 MB / 490.7 MB Notification: Performance of SimCode: time 1.323e-06/3.407, allocations: 0 / 0.8738 GB, free: 150.3 MB / 490.7 MB Notification: Performance of Templates: time 0.2639/3.671, allocations: 146.6 MB / 1.017 GB, free: 15.18 MB / 490.7 MB