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.2_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques3") Notification: Performance of loadModel(ModelicaTest): time 2.266/2.266, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.063e-05/3.079e-05, allocations: 4 kB / 304.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3462/0.3463, allocations: 54.85 MB / 359.8 MB, free: 3.152 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1946/0.5409, allocations: 100.8 MB / 460.6 MB, free: 12.11 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002534/0.5412, allocations: 75.95 kB / 460.7 MB, free: 12.03 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.779/1.32, allocations: 131 MB / 0.5778 GB, free: 98.61 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.868e-06/1.32, allocations: 4 kB / 0.5778 GB, free: 98.61 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0003435/1.321, allocations: 127.6 kB / 0.578 GB, free: 98.6 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: 2374 * Number of variables: 2374 Notification: Performance of Generate backend data structure: time 0.02116/1.342, allocations: 6.366 MB / 0.5842 GB, free: 95.53 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.222e-05/1.342, allocations: 11.72 kB / 0.5842 GB, free: 95.53 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03954/1.381, allocations: 7.097 MB / 0.5911 GB, free: 93.44 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02021/1.402, allocations: 7.247 MB / 0.5982 GB, free: 89.5 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005661/1.402, allocations: 0.4962 MB / 0.5987 GB, free: 89.3 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002934/1.405, allocations: 0.656 MB / 0.5993 GB, free: 89.11 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04279/1.448, allocations: 16.35 MB / 0.6153 GB, free: 72.07 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003283/1.448, allocations: 75.39 kB / 0.6154 GB, free: 72 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002391/1.451, allocations: 312.4 kB / 0.6157 GB, free: 71.74 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003943/1.455, allocations: 1.577 MB / 0.6172 GB, free: 70.16 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06663/1.522, allocations: 13.67 MB / 0.6305 GB, free: 56.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1013/1.623, allocations: 66.21 MB / 0.6952 GB, free: 4.617 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3216/1.945, allocations: 6.938 MB / 0.702 GB, free: 105.8 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.007405/1.952, allocations: 4.174 MB / 0.7061 GB, free: 105.7 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03298/1.985, allocations: 15.05 MB / 0.7208 GB, free: 104.2 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.917e-05/1.985, allocations: 72.47 kB / 0.7208 GB, free: 104.2 MB / 474.7 MB Notification: Performance of pre-optimization done (n=306): time 8.355e-06/1.985, allocations: 0 / 0.7208 GB, free: 104.2 MB / 474.7 MB Notification: Performance of matching and sorting (n=348): time 0.09177/2.077, allocations: 26.04 MB / 0.7463 GB, free: 95.8 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.784e-05/2.077, allocations: 214.9 kB / 0.7465 GB, free: 95.57 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009989/2.087, allocations: 4.649 MB / 0.751 GB, free: 93.88 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0007592/2.088, allocations: 78.09 kB / 0.7511 GB, free: 93.81 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00334/2.091, allocations: 4.405 MB / 0.7554 GB, free: 90.44 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00261/2.094, allocations: 1.276 MB / 0.7566 GB, free: 89.5 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00123/2.095, allocations: 159.9 kB / 0.7568 GB, free: 89.37 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0006424/2.096, allocations: 0.6514 MB / 0.7574 GB, free: 88.92 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007921/2.104, allocations: 3.535 MB / 0.7609 GB, free: 87.68 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01037/2.114, allocations: 7.947 MB / 0.7686 GB, free: 80.53 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01055/2.125, allocations: 5.257 MB / 0.7738 GB, free: 78.9 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001347/2.125, allocations: 43.19 kB / 0.7738 GB, free: 78.9 MB / 474.7 MB Notification: Performance of matching and sorting (n=1068) (initialization): time 0.02918/2.154, allocations: 12.46 MB / 0.786 GB, free: 71.18 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001141/2.154, allocations: 72 kB / 0.786 GB, free: 71.11 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001717/2.154, allocations: 159.2 kB / 0.7862 GB, free: 70.96 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005067/2.16, allocations: 1.656 MB / 0.7878 GB, free: 69.72 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009086/2.169, allocations: 1.931 MB / 0.7897 GB, free: 68.07 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0169/2.186, allocations: 11.35 MB / 0.8008 GB, free: 57.86 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008948/2.195, allocations: 0.4925 MB / 0.8013 GB, free: 57.46 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001951/2.197, allocations: 479.9 kB / 0.8017 GB, free: 57 MB / 474.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.002447/2.199, allocations: 0.7174 MB / 0.8024 GB, free: 56.29 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00123/2.2, allocations: 0.5009 MB / 0.8029 GB, free: 55.79 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01675/2.217, allocations: 7.354 MB / 0.8101 GB, free: 49.76 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.962e-05/2.217, allocations: 42.31 kB / 0.8101 GB, free: 49.72 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.212e-05/2.217, allocations: 12 kB / 0.8101 GB, free: 49.71 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.93e-05/2.217, allocations: 15.38 kB / 0.8102 GB, free: 49.71 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03764/2.255, allocations: 16.01 MB / 0.8258 GB, free: 36.71 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.826e-05/2.255, allocations: 0 / 0.8258 GB, free: 36.71 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004178/2.259, allocations: 0.6098 MB / 0.8264 GB, free: 36.14 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.004527/2.264, allocations: 1.415 MB / 0.8278 GB, free: 34.72 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007674/2.265, allocations: 59.98 kB / 0.8278 GB, free: 34.66 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01568/2.28, allocations: 10.53 MB / 0.8381 GB, free: 23.87 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.552e-06/2.28, allocations: 0 / 0.8381 GB, free: 23.87 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02207/2.302, allocations: 11.89 MB / 0.8497 GB, free: 11.91 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.003366/2.306, allocations: 1.096 MB / 0.8508 GB, free: 10.79 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001503/2.307, allocations: 56 kB / 0.8508 GB, free: 10.73 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004047/2.311, allocations: 260.2 kB / 0.8511 GB, free: 10.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009841/2.312, allocations: 198.1 kB / 0.8513 GB, free: 10.28 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000485/2.313, allocations: 89.16 kB / 0.8514 GB, free: 10.2 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.007134/2.32, allocations: 3.265 MB / 0.8545 GB, free: 6.949 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.116e-06/2.32, allocations: 4 kB / 0.8545 GB, free: 6.945 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.009689/2.33, allocations: 1.612 MB / 0.8561 GB, free: 5.34 MB / 474.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.00103/2.331, allocations: 209.7 kB / 0.8563 GB, free: 5.133 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.01795/2.349, allocations: 8.579 MB / 0.8647 GB, free: 12.55 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 7.87e-06/2.349, allocations: 0 / 0.8647 GB, free: 12.55 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.009236/2.358, allocations: 3.681 MB / 0.8683 GB, free: 8.848 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004503/2.363, allocations: 0.619 MB / 0.8689 GB, free: 8.254 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3171/2.68, allocations: 12.93 MB / 0.8815 GB, free: 127.8 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0122/2.692, allocations: 4.922 MB / 0.8863 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.01053/2.703, allocations: 2.652 MB / 0.8889 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002647/2.705, allocations: 373.1 kB / 0.8893 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of SimCode: time 2.049e-06/2.705, allocations: 1.641 kB / 0.8893 GB, free: 126.9 MB / 0.4948 GB Notification: Performance of Templates: time 0.1594/2.865, allocations: 60.75 MB / 0.9486 GB, free: 113.6 MB / 0.4948 GB