Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w|Revolute4.phi|Revolute4.w",fileNamePrefix="ModelicaTest_3.2.1_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 1.862/1.862, allocations: 209.3 MB / 221.9 MB, free: 7.73 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.522e-05/3.547e-05, allocations: 4 kB / 273.1 MB, free: 3.664 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0862/0.08625, allocations: 48.7 MB / 321.8 MB, free: 2.867 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.367/0.4533, allocations: 94 MB / 415.8 MB, free: 1.805 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000188/0.4535, allocations: 70.22 kB / 415.8 MB, free: 1.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7514/1.205, allocations: 130.8 MB / 0.5338 GB, free: 71.2 MB / 426.7 MB Notification: Performance of FrontEnd: time 4.122e-06/1.205, allocations: 0.5625 kB / 0.5338 GB, free: 71.2 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004268/1.205, allocations: 125.4 kB / 0.534 GB, free: 71.2 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: 2370 * Number of variables: 2370 Notification: Performance of Generate backend data structure: time 0.0224/1.228, allocations: 6.366 MB / 0.5402 GB, free: 68.75 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.498e-05/1.228, allocations: 11.88 kB / 0.5402 GB, free: 68.75 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03904/1.267, allocations: 7.1 MB / 0.5471 GB, free: 68.31 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02184/1.289, allocations: 7.235 MB / 0.5542 GB, free: 67.52 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006236/1.29, allocations: 0.497 MB / 0.5547 GB, free: 67.5 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003006/1.293, allocations: 0.6523 MB / 0.5553 GB, free: 67.5 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04385/1.336, allocations: 16.33 MB / 0.5713 GB, free: 64.33 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000432/1.337, allocations: 79.09 kB / 0.5713 GB, free: 64.32 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002876/1.34, allocations: 310 kB / 0.5716 GB, free: 64.32 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002829/1.343, allocations: 1.577 MB / 0.5732 GB, free: 64.31 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03511/1.378, allocations: 13.66 MB / 0.5865 GB, free: 64.28 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09371/1.472, allocations: 66.16 MB / 0.6511 GB, free: 14.45 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02882/1.5, allocations: 6.959 MB / 0.6579 GB, free: 8.605 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.01273/1.513, allocations: 4.179 MB / 0.662 GB, free: 4.762 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.06105/1.574, allocations: 15.05 MB / 0.6767 GB, free: 7.906 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001429/1.575, allocations: 68.56 kB / 0.6768 GB, free: 7.832 MB / 442.7 MB Notification: Performance of pre-optimization done (n=306): time 1.63e-05/1.575, allocations: 0 / 0.6768 GB, free: 7.832 MB / 442.7 MB Notification: Performance of matching and sorting (n=348): time 0.3528/1.928, allocations: 26.02 MB / 0.7022 GB, free: 79.38 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.904e-05/1.928, allocations: 221.7 kB / 0.7024 GB, free: 79.16 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01075/1.938, allocations: 4.66 MB / 0.7069 GB, free: 78.73 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007905/1.939, allocations: 80.7 kB / 0.707 GB, free: 78.7 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00312/1.942, allocations: 4.231 MB / 0.7111 GB, free: 76.69 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001708/1.944, allocations: 1.271 MB / 0.7124 GB, free: 75.94 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009118/1.945, allocations: 166.3 kB / 0.7125 GB, free: 75.94 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0005707/1.946, allocations: 0.6562 MB / 0.7132 GB, free: 75.61 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007303/1.953, allocations: 3.536 MB / 0.7166 GB, free: 75.59 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01005/1.963, allocations: 7.941 MB / 0.7244 GB, free: 69.92 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01074/1.974, allocations: 5.262 MB / 0.7295 GB, free: 69.86 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001496/1.974, allocations: 48.91 kB / 0.7296 GB, free: 69.86 MB / 442.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.03045/2.005, allocations: 12.27 MB / 0.7416 GB, free: 69.2 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001304/2.005, allocations: 70.28 kB / 0.7416 GB, free: 69.2 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.000183/2.005, allocations: 154.8 kB / 0.7418 GB, free: 69.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0053/2.01, allocations: 1.67 MB / 0.7434 GB, free: 68.91 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009703/2.02, allocations: 1.923 MB / 0.7453 GB, free: 68.69 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01805/2.038, allocations: 11.33 MB / 0.7563 GB, free: 62.63 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008634/2.047, allocations: 0.4951 MB / 0.7568 GB, free: 62.49 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001834/2.049, allocations: 481.1 kB / 0.7573 GB, free: 62.43 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 710 * Number of states: 0 () * Number of discrete variables: 48 (fixedTranslation.color[3],fixedTranslation.color[2],fixedTranslation.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (996): * Single equations (assignments): 991 * 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%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002241/2.051, allocations: 0.717 MB / 0.758 GB, free: 61.84 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001283/2.052, allocations: 0.4973 MB / 0.7585 GB, free: 61.57 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01796/2.07, allocations: 7.363 MB / 0.7657 GB, free: 58.89 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.667e-05/2.07, allocations: 37.86 kB / 0.7657 GB, free: 58.89 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.87e-05/2.07, allocations: 10.44 kB / 0.7657 GB, free: 58.89 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.31e-05/2.07, allocations: 17.25 kB / 0.7657 GB, free: 58.89 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0402/2.111, allocations: 16.01 MB / 0.7814 GB, free: 53.25 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-05/2.111, allocations: 3.094 kB / 0.7814 GB, free: 53.25 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004816/2.115, allocations: 0.5962 MB / 0.7819 GB, free: 53.21 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005152/2.121, allocations: 1.421 MB / 0.7833 GB, free: 52.27 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007728/2.121, allocations: 59.23 kB / 0.7834 GB, free: 52.21 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01593/2.137, allocations: 10.53 MB / 0.7937 GB, free: 42.79 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.249e-06/2.137, allocations: 3.938 kB / 0.7937 GB, free: 42.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02321/2.161, allocations: 11.88 MB / 0.8053 GB, free: 32.39 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003537/2.164, allocations: 1.101 MB / 0.8064 GB, free: 31.37 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001586/2.166, allocations: 55.94 kB / 0.8064 GB, free: 31.32 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004339/2.17, allocations: 261.8 kB / 0.8067 GB, free: 31.16 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001023/2.171, allocations: 198.7 kB / 0.8069 GB, free: 31.03 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004038/2.172, allocations: 84.27 kB / 0.8069 GB, free: 30.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.007095/2.179, allocations: 3.273 MB / 0.8101 GB, free: 28.07 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.314e-06/2.179, allocations: 3.438 kB / 0.8101 GB, free: 28.07 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.009794/2.189, allocations: 1.616 MB / 0.8117 GB, free: 26.47 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (294): * Single equations (assignments): 289 * 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 {(4,75.0%) 18,(4,75.0%) 18} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001014/2.19, allocations: 202.6 kB / 0.8119 GB, free: 26.27 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.01596/2.206, allocations: 8.577 MB / 0.8203 GB, free: 18.49 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.152e-06/2.206, allocations: 0 / 0.8203 GB, free: 18.49 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007607/2.213, allocations: 3.685 MB / 0.8239 GB, free: 15.17 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004118/2.218, allocations: 0.6298 MB / 0.8245 GB, free: 14.65 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03128/2.249, allocations: 13.68 MB / 0.8378 GB, free: 2.574 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01933/2.268, allocations: 5.366 MB / 0.8431 GB, free: 15.96 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002945/2.271, allocations: 437.7 kB / 0.8435 GB, free: 15.56 MB / 458.7 MB Notification: Performance of SimCode: time 2.234e-06/2.271, allocations: 0 / 0.8435 GB, free: 15.56 MB / 458.7 MB Notification: Performance of Templates: time 0.5044/2.776, allocations: 140.5 MB / 0.9807 GB, free: 18.56 MB / 458.7 MB