Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2,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.2_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques2") Notification: Performance of loadModel(ModelicaTest): time 2.205/2.205, allocations: 235 MB / 247.6 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.099e-05/3.112e-05, allocations: 4 kB / 304.9 MB, free: 5.66 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3231, allocations: 54.86 MB / 359.8 MB, free: 2.684 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1547/0.4778, allocations: 101.3 MB / 461 MB, free: 11.68 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002306/0.4781, allocations: 75.97 kB / 461.1 MB, free: 11.6 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7355/1.214, allocations: 133 MB / 0.5802 GB, free: 98.16 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.065e-06/1.214, allocations: 0 / 0.5802 GB, free: 98.16 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003446/1.214, allocations: 128 kB / 0.5803 GB, free: 98.16 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2410 * Number of variables: 2410 Notification: Performance of Generate backend data structure: time 0.02069/1.235, allocations: 6.431 MB / 0.5866 GB, free: 95.04 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.657e-05/1.235, allocations: 7.812 kB / 0.5866 GB, free: 95.04 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0397/1.275, allocations: 7.128 MB / 0.5935 GB, free: 92.3 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02008/1.295, allocations: 7.239 MB / 0.6006 GB, free: 88.37 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005751/1.295, allocations: 0.5102 MB / 0.6011 GB, free: 88.17 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002854/1.298, allocations: 0.6712 MB / 0.6017 GB, free: 87.55 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03927/1.337, allocations: 16.52 MB / 0.6179 GB, free: 69.81 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003424/1.338, allocations: 91.12 kB / 0.618 GB, free: 69.72 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002357/1.34, allocations: 324.3 kB / 0.6183 GB, free: 69.41 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002412/1.343, allocations: 1.558 MB / 0.6198 GB, free: 67.84 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03329/1.376, allocations: 13.52 MB / 0.633 GB, free: 54.31 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3767/1.753, allocations: 70.14 MB / 0.7015 GB, free: 93.81 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02695/1.78, allocations: 7.804 MB / 0.7091 GB, free: 93.14 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007094/1.787, allocations: 3.878 MB / 0.7129 GB, free: 93.11 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000235/1.787, allocations: 56.7 kB / 0.713 GB, free: 93.11 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.62e-05/1.787, allocations: 65.19 kB / 0.713 GB, free: 93.06 MB / 474.7 MB Notification: Performance of pre-optimization done (n=290): time 8.241e-06/1.787, allocations: 0.9375 kB / 0.713 GB, free: 93.06 MB / 474.7 MB Notification: Performance of matching and sorting (n=332): time 0.1002/1.887, allocations: 28.25 MB / 0.7406 GB, free: 89.29 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.332e-05/1.888, allocations: 213.9 kB / 0.7408 GB, free: 89.07 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01207/1.9, allocations: 5.562 MB / 0.7462 GB, free: 88.15 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007273/1.9, allocations: 76.38 kB / 0.7463 GB, free: 88.08 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003155/1.904, allocations: 4.384 MB / 0.7506 GB, free: 84.61 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001654/1.905, allocations: 1.236 MB / 0.7518 GB, free: 83.7 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001012/1.906, allocations: 174.7 kB / 0.752 GB, free: 83.57 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006107/1.907, allocations: 0.676 MB / 0.7526 GB, free: 83.09 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007853/1.915, allocations: 3.706 MB / 0.7562 GB, free: 81.8 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01049/1.925, allocations: 8.47 MB / 0.7645 GB, free: 74.12 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01081/1.936, allocations: 5.56 MB / 0.77 GB, free: 72.44 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001418/1.936, allocations: 52.66 kB / 0.77 GB, free: 72.44 MB / 474.7 MB Notification: Performance of matching and sorting (n=1119) (initialization): time 0.03063/1.967, allocations: 12.87 MB / 0.7826 GB, free: 68.65 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001315/1.967, allocations: 82.88 kB / 0.7826 GB, free: 68.65 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002004/1.967, allocations: 166.2 kB / 0.7828 GB, free: 68.65 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005751/1.973, allocations: 1.68 MB / 0.7844 GB, free: 68.19 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009827/1.983, allocations: 2.093 MB / 0.7865 GB, free: 66.43 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01692/2, allocations: 11.36 MB / 0.7976 GB, free: 56.21 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009181/2.009, allocations: 0.5255 MB / 0.7981 GB, free: 55.78 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001817/2.011, allocations: 0.502 MB / 0.7986 GB, free: 55.3 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 770 * Number of states: 0 () * Number of discrete variables: 51 (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],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[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 (1047): * Single equations (assignments): 1042 * 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.001687/2.013, allocations: 0.7453 MB / 0.7993 GB, free: 54.55 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001275/2.014, allocations: 0.5553 MB / 0.7999 GB, free: 53.99 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01571/2.03, allocations: 7.43 MB / 0.8071 GB, free: 47.91 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.804e-05/2.03, allocations: 37.55 kB / 0.8071 GB, free: 47.88 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.342e-05/2.03, allocations: 8 kB / 0.8072 GB, free: 47.87 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.45e-05/2.03, allocations: 17.16 kB / 0.8072 GB, free: 47.87 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03909/2.069, allocations: 16.26 MB / 0.8231 GB, free: 34.66 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.838e-05/2.069, allocations: 4 kB / 0.8231 GB, free: 34.66 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004439/2.074, allocations: 0.6513 MB / 0.8237 GB, free: 34 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004609/2.078, allocations: 1.42 MB / 0.8251 GB, free: 32.58 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000798/2.079, allocations: 61.14 kB / 0.8251 GB, free: 32.53 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01669/2.096, allocations: 10.6 MB / 0.8355 GB, free: 21.67 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.837e-06/2.096, allocations: 7.938 kB / 0.8355 GB, free: 21.66 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02293/2.119, allocations: 12.69 MB / 0.8479 GB, free: 8.703 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003889/2.123, allocations: 1.2 MB / 0.8491 GB, free: 7.477 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001912/2.125, allocations: 60 kB / 0.8491 GB, free: 7.418 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004713/2.129, allocations: 267.6 kB / 0.8494 GB, free: 7.156 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001091/2.131, allocations: 209.5 kB / 0.8496 GB, free: 6.953 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004825/2.131, allocations: 87.98 kB / 0.8497 GB, free: 6.867 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.009176/2.14, allocations: 3.936 MB / 0.8535 GB, free: 2.93 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.978e-06/2.14, allocations: 3.938 kB / 0.8535 GB, free: 2.926 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0107/2.151, allocations: 1.672 MB / 0.8551 GB, free: 1.258 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (278): * Single equations (assignments): 273 * 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.001198/2.152, allocations: 211.9 kB / 0.8553 GB, free: 1.047 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.02066/2.173, allocations: 8.915 MB / 0.864 GB, free: 8.137 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 9.031e-06/2.173, allocations: 0 / 0.864 GB, free: 8.137 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009471/2.182, allocations: 3.76 MB / 0.8677 GB, free: 4.355 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005074/2.188, allocations: 0.6654 MB / 0.8684 GB, free: 3.715 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3257/2.513, allocations: 14.13 MB / 0.8822 GB, free: 120 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01257/2.526, allocations: 4.99 MB / 0.887 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003048/2.529, allocations: 464 kB / 0.8875 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of SimCode: time 1.758e-06/2.529, allocations: 0 / 0.8875 GB, free: 119.1 MB / 0.4948 GB Notification: Performance of Templates: time 0.2558/2.785, allocations: 145.9 MB / 1.03 GB, free: 29.89 MB / 0.4948 GB