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.1_cpp_ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2") Notification: Performance of loadModel(ModelicaTest): time 1.929/1.929, allocations: 209.3 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.289e-05/3.286e-05, allocations: 11.92 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4199/0.4199, allocations: 48.69 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.ForceWithTwoMasses2): time 0.09064/0.5106, allocations: 57.77 MB / 382.6 MB, free: 5.691 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.04015/0.5508, allocations: 12.89 MB / 395.5 MB, free: 8.762 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01457/0.5654, allocations: 319.2 kB / 395.8 MB, free: 8.449 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.01144/0.5769, allocations: 3.002 MB / 398.8 MB, free: 5.434 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.03266/0.6096, allocations: 8.243 MB / 407.1 MB, free: 13.17 MB / 346.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.006636/0.6163, allocations: 1.244 MB / 408.3 MB, free: 11.92 MB / 346.7 MB Notification: Performance of NFFlatten.flatten: time 0.05285/0.6692, allocations: 17.74 MB / 426 MB, free: 10.16 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01226/0.6816, allocations: 5.717 MB / 431.8 MB, free: 4.418 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003955/0.6856, allocations: 1.496 MB / 433.3 MB, free: 2.918 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005697/0.6913, allocations: 2.479 MB / 435.7 MB, free: 444 kB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004508/0.6959, allocations: 1.17 MB / 436.9 MB, free: 15.26 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002168/0.6981, allocations: 224 kB / 437.1 MB, free: 15.04 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 0.004866/0.703, allocations: 2.681 MB / 439.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 0.002642/0.7057, allocations: 452 kB / 440.2 MB, free: 11.91 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01426/0.72, allocations: 8.877 MB / 449.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.7201, allocations: 0 / 449.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of FrontEnd: time 3.126e-06/0.7201, allocations: 0 / 449.1 MB, free: 3.016 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0003606/0.7205, allocations: 4 kB / 449.1 MB, free: 3.012 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: 2291 * Number of variables: 2291 Notification: Performance of Generate backend data structure: time 0.02482/0.7453, allocations: 6.836 MB / 456 MB, free: 12.09 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.131e-05/0.7454, allocations: 8.031 kB / 456 MB, free: 12.09 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.3567/1.102, allocations: 19.4 MB / 475.4 MB, free: 8.652 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02266/1.125, allocations: 6.19 MB / 481.6 MB, free: 2.383 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005787/1.125, allocations: 361.4 kB / 481.9 MB, free: 2.027 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002902/1.128, allocations: 0.519 MB / 482.4 MB, free: 1.508 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4275/1.556, allocations: 16.36 MB / 498.8 MB, free: 120.6 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000404/1.556, allocations: 80.64 kB / 498.9 MB, free: 120.6 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001796/1.558, allocations: 232.1 kB / 499.1 MB, free: 120.4 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.007081/1.565, allocations: 2.802 MB / 0.4901 GB, free: 119.9 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04566/1.611, allocations: 13.66 MB / 0.5035 GB, free: 113.1 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.1505/1.762, allocations: 64.31 MB / 0.5663 GB, free: 47.73 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.05371/1.815, allocations: 7.832 MB / 0.5739 GB, free: 39.77 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.04198/1.857, allocations: 18.84 MB / 0.5923 GB, free: 20.43 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.575e-05/1.858, allocations: 68.56 kB / 0.5924 GB, free: 20.36 MB / 410.7 MB Notification: Performance of pre-optimization done (n=280): time 6.902e-06/1.858, allocations: 0 / 0.5924 GB, free: 20.36 MB / 410.7 MB Notification: Performance of matching and sorting (n=360): time 0.317/2.175, allocations: 50 MB / 0.6412 GB, free: 2.18 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002024/2.175, allocations: 277.7 kB / 0.6415 GB, free: 1.852 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.31/2.485, allocations: 5.855 MB / 0.6472 GB, free: 144.8 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001296/2.486, allocations: 78.59 kB / 0.6473 GB, free: 144.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00697/2.493, allocations: 4.531 MB / 0.6517 GB, free: 141.8 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003472/2.497, allocations: 1.328 MB / 0.653 GB, free: 140.8 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002287/2.499, allocations: 185.7 kB / 0.6532 GB, free: 140.7 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.001645/2.501, allocations: 0.6938 MB / 0.6539 GB, free: 140.2 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0172/2.518, allocations: 3.887 MB / 0.6576 GB, free: 138.9 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02356/2.542, allocations: 9.06 MB / 0.6665 GB, free: 130.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.02217/2.564, allocations: 5.741 MB / 0.6721 GB, free: 128.5 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0004435/2.564, allocations: 54.66 kB / 0.6722 GB, free: 128.5 MB / 442.7 MB Notification: Performance of matching and sorting (n=1195) (initialization): time 0.08608/2.651, allocations: 16.63 MB / 0.6884 GB, free: 122.9 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003014/2.651, allocations: 86.77 kB / 0.6885 GB, free: 122.9 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0005808/2.652, allocations: 185.7 kB / 0.6887 GB, free: 122.9 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.03462/2.686, allocations: 4.202 MB / 0.6928 GB, free: 121.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01863/2.705, allocations: 2.037 MB / 0.6947 GB, free: 120.1 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.08535/2.79, allocations: 23.85 MB / 0.718 GB, free: 96 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01722/2.808, allocations: 0.511 MB / 0.7185 GB, free: 95.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00296/2.811, allocations: 0.5351 MB / 0.7191 GB, free: 94.96 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 (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.008455/2.819, allocations: 3.054 MB / 0.722 GB, free: 91.89 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001698/2.821, allocations: 0.5708 MB / 0.7226 GB, free: 91.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03925/2.86, allocations: 10.05 MB / 0.7324 GB, free: 81.21 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.426e-05/2.86, allocations: 44.55 kB / 0.7325 GB, free: 81.17 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.199e-05/2.86, allocations: 16 kB / 0.7325 GB, free: 81.15 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.625e-05/2.86, allocations: 15.94 kB / 0.7325 GB, free: 81.14 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06852/2.929, allocations: 19.69 MB / 0.7517 GB, free: 61.35 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.477e-05/2.929, allocations: 0 / 0.7517 GB, free: 61.35 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00545/2.935, allocations: 0.5304 MB / 0.7522 GB, free: 60.82 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0273/2.962, allocations: 3.705 MB / 0.7559 GB, free: 57.11 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001102/2.963, allocations: 60.61 kB / 0.7559 GB, free: 57.05 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.07453/3.038, allocations: 20.74 MB / 0.7762 GB, free: 36.03 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.037e-05/3.038, allocations: 3.984 kB / 0.7762 GB, free: 36.03 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.07627/3.114, allocations: 14.7 MB / 0.7905 GB, free: 21.22 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.006585/3.121, allocations: 1.149 MB / 0.7917 GB, free: 20.04 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003968/3.125, allocations: 60 kB / 0.7917 GB, free: 19.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.01005/3.135, allocations: 217.1 kB / 0.7919 GB, free: 19.77 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002037/3.137, allocations: 226.1 kB / 0.7921 GB, free: 19.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001226/3.138, allocations: 87.98 kB / 0.7922 GB, free: 19.46 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.01549/3.154, allocations: 4.167 MB / 0.7963 GB, free: 15.3 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.563e-06/3.154, allocations: 0 / 0.7963 GB, free: 15.3 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0188/3.173, allocations: 1.862 MB / 0.7981 GB, free: 13.45 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 (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.002052/3.175, allocations: 231.7 kB / 0.7983 GB, free: 13.22 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3296/3.504, allocations: 9.874 MB / 0.808 GB, free: 136.3 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.175e-05/3.505, allocations: 1.156 kB / 0.808 GB, free: 136.3 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01132/3.516, allocations: 3.888 MB / 0.8118 GB, free: 135.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00676/3.523, allocations: 0.7176 MB / 0.8125 GB, free: 134.8 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05101/3.574, allocations: 19.19 MB / 0.8312 GB, free: 125.5 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01193/3.586, allocations: 5.005 MB / 0.8361 GB, free: 123.9 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002869/3.589, allocations: 451.7 kB / 0.8365 GB, free: 123.9 MB / 442.7 MB Notification: Performance of SimCode: time 2.034e-06/3.589, allocations: 0 / 0.8365 GB, free: 123.9 MB / 442.7 MB Notification: Performance of Templates: time 0.5966/4.185, allocations: 146.5 MB / 0.9796 GB, free: 125.4 MB / 442.7 MB