Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,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.3_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 2.376/2.376, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.217e-05/3.234e-05, allocations: 4 kB / 323.4 MB, free: 4.316 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3719, allocations: 58.83 MB / 382.2 MB, free: 10.32 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1658/0.5378, allocations: 109 MB / 491.2 MB, free: 15.46 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.5381, allocations: 75.95 kB / 491.3 MB, free: 15.39 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.7739/1.312, allocations: 139 MB / 0.6155 GB, free: 59.23 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.457e-06/1.312, allocations: 0 / 0.6155 GB, free: 59.23 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0003631/1.312, allocations: 143.9 kB / 0.6157 GB, free: 59.09 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2491 * Number of variables: 2491 Notification: Performance of Generate backend data structure: time 0.02137/1.334, allocations: 6.791 MB / 0.6223 GB, free: 52.22 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.497e-05/1.334, allocations: 12.03 kB / 0.6223 GB, free: 52.21 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03651/1.37, allocations: 7.186 MB / 0.6293 GB, free: 45 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.021/1.391, allocations: 7.554 MB / 0.6367 GB, free: 37.36 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006109/1.392, allocations: 0.5214 MB / 0.6372 GB, free: 36.84 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002897/1.395, allocations: 0.6872 MB / 0.6379 GB, free: 36.15 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04045/1.435, allocations: 17.04 MB / 0.6545 GB, free: 17.74 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003749/1.436, allocations: 95.11 kB / 0.6546 GB, free: 17.64 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002356/1.438, allocations: 331.8 kB / 0.6549 GB, free: 17.32 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002585/1.441, allocations: 1.621 MB / 0.6565 GB, free: 15.69 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03334/1.474, allocations: 13.89 MB / 0.6701 GB, free: 1.773 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.488/1.962, allocations: 72.38 MB / 0.7408 GB, free: 63.32 MB / 0.4949 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04005/2.002, allocations: 7.075 MB / 0.7477 GB, free: 62.62 MB / 0.4949 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0136/2.016, allocations: 3.92 MB / 0.7515 GB, free: 62.57 MB / 0.4949 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04092/2.057, allocations: 9.48 MB / 0.7608 GB, free: 61.23 MB / 0.4949 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.708e-05/2.057, allocations: 60.31 kB / 0.7608 GB, free: 61.2 MB / 0.4949 GB Notification: Performance of pre-optimization done (n=297): time 1.599e-05/2.057, allocations: 3.188 kB / 0.7608 GB, free: 61.2 MB / 0.4949 GB Notification: Performance of matching and sorting (n=339): time 0.1068/2.164, allocations: 27.72 MB / 0.7879 GB, free: 55.78 MB / 0.4949 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.372e-05/2.164, allocations: 245.2 kB / 0.7881 GB, free: 55.53 MB / 0.4949 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01253/2.177, allocations: 5.909 MB / 0.7939 GB, free: 53.52 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0007229/2.178, allocations: 76.83 kB / 0.794 GB, free: 53.45 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003772/2.181, allocations: 4.833 MB / 0.7987 GB, free: 49.73 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001615/2.183, allocations: 1.258 MB / 0.7999 GB, free: 48.81 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009236/2.184, allocations: 181.9 kB / 0.8001 GB, free: 48.67 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.000551/2.185, allocations: 0.6846 MB / 0.8008 GB, free: 48.2 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00777/2.192, allocations: 3.653 MB / 0.8043 GB, free: 46.93 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01045/2.203, allocations: 8.645 MB / 0.8128 GB, free: 38.95 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01061/2.213, allocations: 5.572 MB / 0.8182 GB, free: 37.27 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001454/2.214, allocations: 53.34 kB / 0.8183 GB, free: 37.27 MB / 0.4949 GB Notification: Performance of matching and sorting (n=1164) (initialization): time 0.03027/2.244, allocations: 13.19 MB / 0.8311 GB, free: 27.59 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001342/2.244, allocations: 81 kB / 0.8312 GB, free: 27.51 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001842/2.244, allocations: 176 kB / 0.8314 GB, free: 27.34 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005003/2.249, allocations: 1.695 MB / 0.833 GB, free: 26.06 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009735/2.259, allocations: 2.124 MB / 0.8351 GB, free: 24.25 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01699/2.276, allocations: 11.39 MB / 0.8462 GB, free: 14 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009343/2.286, allocations: 0.5228 MB / 0.8467 GB, free: 13.56 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001899/2.287, allocations: 0.5219 MB / 0.8473 GB, free: 13.06 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 809 * Number of states: 0 () * Number of discrete variables: 57 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.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],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.groundColor[3],world.groundColor[2],world.groundColor[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 (1092): * Single equations (assignments): 1087 * 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.002315/2.29, allocations: 0.7893 MB / 0.848 GB, free: 12.27 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001427/2.291, allocations: 0.5862 MB / 0.8486 GB, free: 11.68 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01657/2.308, allocations: 7.43 MB / 0.8559 GB, free: 5.641 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.187e-05/2.308, allocations: 36 kB / 0.8559 GB, free: 5.605 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.835e-05/2.308, allocations: 8 kB / 0.8559 GB, free: 5.598 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.75e-05/2.308, allocations: 17.86 kB / 0.8559 GB, free: 5.598 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04302/2.351, allocations: 16.07 MB / 0.8716 GB, free: 8.809 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.369e-05/2.351, allocations: 7.906 kB / 0.8716 GB, free: 8.805 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004597/2.356, allocations: 0.6311 MB / 0.8722 GB, free: 8.316 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005718/2.362, allocations: 1.418 MB / 0.8736 GB, free: 7.324 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000879/2.362, allocations: 63.75 kB / 0.8737 GB, free: 7.266 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02025/2.383, allocations: 10.6 MB / 0.884 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.411e-06/2.383, allocations: 4 kB / 0.884 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02658/2.409, allocations: 12.6 MB / 0.8963 GB, free: 24 kB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.004225/2.414, allocations: 1.2 MB / 0.8975 GB, free: 14.8 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001745/2.415, allocations: 63 kB / 0.8976 GB, free: 14.74 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004406/2.42, allocations: 227.7 kB / 0.8978 GB, free: 14.52 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009117/2.421, allocations: 205.9 kB / 0.898 GB, free: 14.32 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004244/2.421, allocations: 87.98 kB / 0.8981 GB, free: 14.23 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01093/2.432, allocations: 4.239 MB / 0.9022 GB, free: 10 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.071e-06/2.432, allocations: 0 / 0.9022 GB, free: 10 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01093/2.443, allocations: 1.707 MB / 0.9039 GB, free: 8.305 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 20 * 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 (279): * Single equations (assignments): 274 * 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.0009884/2.444, allocations: 224.9 kB / 0.9041 GB, free: 8.086 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.01984/2.464, allocations: 8.766 MB / 0.9126 GB, free: 15.34 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 8.682e-06/2.464, allocations: 0 / 0.9126 GB, free: 15.34 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.008683/2.473, allocations: 3.612 MB / 0.9162 GB, free: 11.71 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005063/2.478, allocations: 0.6999 MB / 0.9169 GB, free: 11.02 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3437/2.822, allocations: 13.71 MB / 0.9302 GB, free: 163.3 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01238/2.834, allocations: 5.181 MB / 0.9353 GB, free: 162.4 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.01172/2.846, allocations: 2.986 MB / 0.9382 GB, free: 162.4 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002568/2.848, allocations: 413.4 kB / 0.9386 GB, free: 162.4 MB / 0.5574 GB Notification: Performance of SimCode: time 1.959e-06/2.848, allocations: 2.844 kB / 0.9386 GB, free: 162.4 MB / 0.5574 GB Notification: Performance of Templates: time 0.2282/3.077, allocations: 63.96 MB / 1.001 GB, free: 147.1 MB / 0.5574 GB