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_4.0.0_ModelicaTest.MultiBody.Forces.ForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 2.52/2.52, allocations: 270 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.446e-05/3.457e-05, allocations: 6.625 kB / 348.4 MB, free: 10.8 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1117/0.1117, allocations: 61.88 MB / 410.3 MB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5444/0.6562, allocations: 110.8 MB / 0.5088 GB, free: 9.328 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00024/0.6565, allocations: 71.97 kB / 0.5089 GB, free: 9.258 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8098/1.466, allocations: 138 MB / 0.6436 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of FrontEnd: time 2.116e-06/1.466, allocations: 0 / 0.6436 GB, free: 108.2 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0003988/1.467, allocations: 142.6 kB / 0.6438 GB, free: 108.2 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2487 * Number of variables: 2487 Notification: Performance of Generate backend data structure: time 0.0211/1.488, allocations: 6.877 MB / 0.6505 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.041e-05/1.488, allocations: 8.062 kB / 0.6505 GB, free: 105.6 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03849/1.526, allocations: 7.197 MB / 0.6575 GB, free: 105.1 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02187/1.548, allocations: 7.293 MB / 0.6646 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005914/1.549, allocations: 0.5303 MB / 0.6652 GB, free: 104.2 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003004/1.552, allocations: 0.7084 MB / 0.6659 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.044/1.596, allocations: 17.26 MB / 0.6827 GB, free: 97.65 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003429/1.596, allocations: 86.72 kB / 0.6828 GB, free: 97.63 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002169/1.599, allocations: 342.5 kB / 0.6831 GB, free: 97.44 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002751/1.601, allocations: 1.63 MB / 0.6847 GB, free: 97.13 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03661/1.638, allocations: 13.69 MB / 0.6981 GB, free: 92.94 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.09545/1.733, allocations: 76.69 MB / 0.773 GB, free: 22.04 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02593/1.759, allocations: 7.855 MB / 0.7806 GB, free: 14.02 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.006092/1.766, allocations: 4.043 MB / 0.7846 GB, free: 9.977 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.02013/1.786, allocations: 10.11 MB / 0.7945 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.283e-05/1.786, allocations: 73.69 kB / 0.7945 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=277): time 7.783e-06/1.786, allocations: 0 / 0.7945 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=319): time 0.4749/2.261, allocations: 28.63 MB / 0.8225 GB, free: 110.4 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.503e-05/2.261, allocations: 237.5 kB / 0.8227 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01583/2.277, allocations: 6.256 MB / 0.8288 GB, free: 109.7 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0006669/2.277, allocations: 72.44 kB / 0.8289 GB, free: 109.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.004862/2.282, allocations: 4.902 MB / 0.8337 GB, free: 107.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.001777/2.284, allocations: 1.204 MB / 0.8349 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009691/2.285, allocations: 185.5 kB / 0.835 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0006542/2.286, allocations: 0.6866 MB / 0.8357 GB, free: 106.4 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007772/2.294, allocations: 3.444 MB / 0.8391 GB, free: 106.3 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01062/2.304, allocations: 8.658 MB / 0.8475 GB, free: 99.59 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01057/2.315, allocations: 5.425 MB / 0.8528 GB, free: 99.2 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001702/2.315, allocations: 54.84 kB / 0.8529 GB, free: 99.2 MB / 0.5261 GB Notification: Performance of matching and sorting (n=1174) (initialization): time 0.03163/2.347, allocations: 12.91 MB / 0.8655 GB, free: 95.4 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001488/2.347, allocations: 81.59 kB / 0.8656 GB, free: 95.4 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002101/2.347, allocations: 187.4 kB / 0.8657 GB, free: 95.4 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005308/2.353, allocations: 1.707 MB / 0.8674 GB, free: 95.11 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.009527/2.362, allocations: 2.165 MB / 0.8695 GB, free: 94.86 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01801/2.38, allocations: 11.39 MB / 0.8806 GB, free: 88.82 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009903/2.39, allocations: 0.5047 MB / 0.8811 GB, free: 88.66 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002003/2.392, allocations: 0.531 MB / 0.8816 GB, free: 88.59 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 847 * Number of states: 0 () * Number of discrete variables: 83 (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.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceArrow.color[3],forceAndTorque2.forceArrow.color[2],forceAndTorque2.forceArrow.color[1],forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],forceAndTorque1.connectionLineColor[3],forceAndTorque1.connectionLineColor[2],forceAndTorque1.connectionLineColor[1],forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque1.forceArrow.color[3],forceAndTorque1.forceArrow.color[2],forceAndTorque1.forceArrow.color[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.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 (1102): * Single equations (assignments): 1097 * 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.002649/2.395, allocations: 0.8132 MB / 0.8824 GB, free: 87.93 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001558/2.396, allocations: 0.6092 MB / 0.883 GB, free: 87.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01627/2.413, allocations: 6.679 MB / 0.8896 GB, free: 85.25 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.294e-05/2.413, allocations: 37.3 kB / 0.8896 GB, free: 85.25 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.267e-05/2.413, allocations: 8.969 kB / 0.8896 GB, free: 85.25 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.631e-05/2.413, allocations: 16.31 kB / 0.8896 GB, free: 85.25 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03998/2.453, allocations: 15.71 MB / 0.905 GB, free: 79.71 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.576e-05/2.453, allocations: 3.281 kB / 0.905 GB, free: 79.71 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004082/2.457, allocations: 0.6247 MB / 0.9056 GB, free: 79.66 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004908/2.462, allocations: 1.422 MB / 0.907 GB, free: 79.39 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007325/2.463, allocations: 58.28 kB / 0.907 GB, free: 79.35 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01803/2.481, allocations: 10.59 MB / 0.9174 GB, free: 73.46 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/2.481, allocations: 11.94 kB / 0.9174 GB, free: 73.45 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02096/2.502, allocations: 12.06 MB / 0.9291 GB, free: 62.61 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002296/2.504, allocations: 0.6814 MB / 0.9298 GB, free: 61.93 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002273/2.507, allocations: 60 kB / 0.9299 GB, free: 61.88 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004814/2.511, allocations: 204.8 kB / 0.9301 GB, free: 61.75 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009751/2.512, allocations: 206.6 kB / 0.9303 GB, free: 61.62 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000422/2.513, allocations: 84.52 kB / 0.9303 GB, free: 61.54 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.01018/2.523, allocations: 4.463 MB / 0.9347 GB, free: 57.62 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.185e-06/2.523, allocations: 0 / 0.9347 GB, free: 57.62 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.01079/2.534, allocations: 1.679 MB / 0.9363 GB, free: 55.95 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * 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 (261): * Single equations (assignments): 256 * 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.0009135/2.535, allocations: 213.1 kB / 0.9365 GB, free: 55.74 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.01564/2.55, allocations: 8.317 MB / 0.9447 GB, free: 48.2 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/2.551, allocations: 4 kB / 0.9447 GB, free: 48.2 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.006544/2.557, allocations: 3.339 MB / 0.9479 GB, free: 45.23 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005252/2.562, allocations: 0.7537 MB / 0.9487 GB, free: 44.58 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03035/2.593, allocations: 13.52 MB / 0.9619 GB, free: 32.45 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01121/2.604, allocations: 5.192 MB / 0.9669 GB, free: 28.64 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.01092/2.615, allocations: 3.002 MB / 0.9699 GB, free: 26.71 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002387/2.617, allocations: 407.2 kB / 0.9703 GB, free: 26.33 MB / 0.5261 GB Notification: Performance of SimCode: time 2.341e-06/2.617, allocations: 0 / 0.9703 GB, free: 26.33 MB / 0.5261 GB Notification: Performance of Templates: time 0.8634/3.481, allocations: 63.97 MB / 1.033 GB, free: 105.6 MB / 0.5418 GB