Running command: translateModel(ModelicaTest.MultiBody.Forces.ForcesAndTorques,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_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 2.104/2.104, allocations: 209.3 MB / 221.5 MB, free: 7.727 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.13e-05/3.14e-05, allocations: 8 kB / 273.1 MB, free: 3.16 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09197/0.09202, allocations: 48.7 MB / 321.8 MB, free: 2.367 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4094/0.5014, allocations: 97.16 MB / 418.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002438/0.5017, allocations: 78.31 kB / 419 MB, free: 14.14 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8004/1.302, allocations: 148.5 MB / 0.5542 GB, free: 71.89 MB / 426.7 MB Notification: Performance of FrontEnd: time 3.023e-06/1.302, allocations: 0 / 0.5542 GB, free: 71.89 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0004538/1.303, allocations: 153.7 kB / 0.5544 GB, free: 71.89 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: 2756 * Number of variables: 2756 Notification: Performance of Generate backend data structure: time 0.03075/1.333, allocations: 7.388 MB / 0.5616 GB, free: 69.01 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/1.334, allocations: 7.844 kB / 0.5616 GB, free: 69.01 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.07084/1.404, allocations: 7.316 MB / 0.5688 GB, free: 68.49 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.03756/1.442, allocations: 7.875 MB / 0.5764 GB, free: 67.58 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006857/1.443, allocations: 0.5784 MB / 0.577 GB, free: 67.56 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003499/1.446, allocations: 0.7772 MB / 0.5778 GB, free: 67.55 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04843/1.495, allocations: 18.74 MB / 0.5961 GB, free: 62.91 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004092/1.495, allocations: 89.41 kB / 0.5962 GB, free: 62.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002719/1.498, allocations: 372.7 kB / 0.5965 GB, free: 62.7 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003379/1.501, allocations: 1.833 MB / 0.5983 GB, free: 62.38 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04046/1.542, allocations: 15.06 MB / 0.613 GB, free: 56.54 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.3744/1.916, allocations: 81.68 MB / 0.6928 GB, free: 71.65 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03223/1.949, allocations: 8.615 MB / 0.7012 GB, free: 70.96 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008272/1.957, allocations: 4.623 MB / 0.7057 GB, free: 70.92 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.02535/1.982, allocations: 11.72 MB / 0.7171 GB, free: 69.15 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.596e-05/1.982, allocations: 68.44 kB / 0.7172 GB, free: 69.11 MB / 442.7 MB Notification: Performance of pre-optimization done (n=347): time 8.255e-06/1.982, allocations: 0 / 0.7172 GB, free: 69.11 MB / 442.7 MB Notification: Performance of matching and sorting (n=389): time 0.1146/2.097, allocations: 31.49 MB / 0.748 GB, free: 63.43 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.043e-05/2.097, allocations: 253.1 kB / 0.7482 GB, free: 63.17 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01535/2.113, allocations: 6.492 MB / 0.7545 GB, free: 62.64 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000859/2.113, allocations: 82.77 kB / 0.7546 GB, free: 62.61 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.004417/2.118, allocations: 5.272 MB / 0.7598 GB, free: 58.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.002023/2.12, allocations: 1.446 MB / 0.7612 GB, free: 57.66 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001317/2.121, allocations: 199.5 kB / 0.7614 GB, free: 57.51 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0008288/2.122, allocations: 0.7259 MB / 0.7621 GB, free: 57.03 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.009042/2.131, allocations: 4.018 MB / 0.766 GB, free: 55.63 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01258/2.144, allocations: 9.527 MB / 0.7753 GB, free: 46.84 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0124/2.156, allocations: 6.152 MB / 0.7813 GB, free: 44.99 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001728/2.157, allocations: 59.97 kB / 0.7814 GB, free: 44.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=1297) (initialization): time 0.03484/2.191, allocations: 14.41 MB / 0.7954 GB, free: 36.11 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001534/2.192, allocations: 95.75 kB / 0.7955 GB, free: 36.02 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002432/2.192, allocations: 192 kB / 0.7957 GB, free: 35.84 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005257/2.197, allocations: 1.717 MB / 0.7974 GB, free: 34.54 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01121/2.208, allocations: 2.427 MB / 0.7998 GB, free: 32.49 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01703/2.225, allocations: 11.41 MB / 0.8109 GB, free: 22.25 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01041/2.236, allocations: 0.5769 MB / 0.8115 GB, free: 21.77 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002122/2.238, allocations: 0.5774 MB / 0.812 GB, free: 21.21 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 892 * Number of states: 0 () * Number of discrete variables: 66 (fixed4.color[3],fixed4.color[2],fixed4.color[1],fixed2.color[3],fixed2.color[2],fixed2.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],forceAndTorque2.connectionLineColor[3],forceAndTorque2.connectionLineColor[2],forceAndTorque2.connectionLineColor[1],forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],fixed3.color[3],fixed3.color[2],fixed3.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 (1225): * Single equations (assignments): 1220 * 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.002304/2.24, allocations: 0.8544 MB / 0.8129 GB, free: 20.36 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001453/2.242, allocations: 0.6473 MB / 0.8135 GB, free: 19.71 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01811/2.26, allocations: 8.132 MB / 0.8214 GB, free: 13.08 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.056e-05/2.26, allocations: 42.42 kB / 0.8215 GB, free: 13.04 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.291e-05/2.26, allocations: 12 kB / 0.8215 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.833e-05/2.26, allocations: 23.73 kB / 0.8215 GB, free: 13.03 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04393/2.304, allocations: 18.2 MB / 0.8393 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.148e-05/2.304, allocations: 8 kB / 0.8393 GB, free: 14.16 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005511/2.31, allocations: 0.7605 MB / 0.84 GB, free: 13.39 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005958/2.316, allocations: 1.429 MB / 0.8414 GB, free: 11.96 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000908/2.317, allocations: 82.73 kB / 0.8415 GB, free: 11.88 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02094/2.338, allocations: 10.6 MB / 0.8519 GB, free: 1.035 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.26e-05/2.338, allocations: 8.047 kB / 0.8519 GB, free: 1.027 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3043/2.642, allocations: 14.36 MB / 0.8659 GB, free: 98.03 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.004706/2.647, allocations: 1.329 MB / 0.8672 GB, free: 97.93 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002247/2.649, allocations: 69.69 kB / 0.8673 GB, free: 97.93 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005497/2.655, allocations: 251 kB / 0.8675 GB, free: 97.93 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001249/2.656, allocations: 245.6 kB / 0.8677 GB, free: 97.93 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004935/2.656, allocations: 101 kB / 0.8678 GB, free: 97.93 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.01225/2.669, allocations: 4.653 MB / 0.8724 GB, free: 97.69 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.033e-06/2.669, allocations: 0 / 0.8724 GB, free: 97.69 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.01196/2.681, allocations: 1.87 MB / 0.8742 GB, free: 97.69 MB / 474.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 32 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.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 (329): * Single equations (assignments): 324 * 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.001165/2.682, allocations: 235.7 kB / 0.8744 GB, free: 97.6 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01991/2.702, allocations: 9.624 MB / 0.8838 GB, free: 97.34 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.238e-05/2.702, allocations: 4.75 kB / 0.8838 GB, free: 97.34 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.008691/2.711, allocations: 3.92 MB / 0.8877 GB, free: 97.09 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00577/2.716, allocations: 0.7694 MB / 0.8884 GB, free: 97.06 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03777/2.754, allocations: 15.13 MB / 0.9032 GB, free: 94.06 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01295/2.767, allocations: 5.631 MB / 0.9087 GB, free: 92.25 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.01255/2.78, allocations: 3.331 MB / 0.9119 GB, free: 92.19 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003012/2.783, allocations: 455.1 kB / 0.9124 GB, free: 92.18 MB / 474.7 MB Notification: Performance of SimCode: time 1.936e-06/2.783, allocations: 0 / 0.9124 GB, free: 92.18 MB / 474.7 MB Notification: Performance of Templates: time 0.2174/3, allocations: 69.56 MB / 0.9803 GB, free: 53.23 MB / 474.7 MB