Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,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|Revolute5.phi|Revolute5.w|Revolute6.phi|Revolute6.w",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadModel(ModelicaTest): time 2.634/2.634, allocations: 270 MB / 283.6 MB, free: 1.852 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.44e-05/3.49e-05, allocations: 4 kB / 348.4 MB, free: 2.746 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.333/0.333, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1922/0.5253, allocations: 108.2 MB / 0.5063 GB, free: 14.38 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002248/0.5255, allocations: 79.94 kB / 0.5064 GB, free: 14.3 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8716/1.397, allocations: 161.8 MB / 0.6644 GB, free: 7.688 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.548e-06/1.397, allocations: 0 / 0.6644 GB, free: 7.688 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005095/1.398, allocations: 175.9 kB / 0.6645 GB, free: 7.516 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2857 * Number of variables: 2857 Notification: Performance of Generate backend data structure: time 0.02813/1.426, allocations: 8.039 MB / 0.6724 GB, free: 15.4 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.577e-05/1.426, allocations: 8.031 kB / 0.6724 GB, free: 15.39 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05231/1.478, allocations: 9.685 MB / 0.6818 GB, free: 5.68 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02883/1.507, allocations: 8.943 MB / 0.6906 GB, free: 12.65 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009246/1.508, allocations: 0.6177 MB / 0.6912 GB, free: 12.03 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003758/1.512, allocations: 0.8199 MB / 0.692 GB, free: 11.21 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06773/1.58, allocations: 19.79 MB / 0.7113 GB, free: 5.852 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0007915/1.58, allocations: 107 kB / 0.7114 GB, free: 5.746 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.004282/1.585, allocations: 391.8 kB / 0.7118 GB, free: 5.363 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.006218/1.591, allocations: 1.778 MB / 0.7135 GB, free: 3.578 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3972/1.988, allocations: 16.01 MB / 0.7291 GB, free: 81.43 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1051/2.093, allocations: 83.37 MB / 0.8106 GB, free: 34.66 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02808/2.122, allocations: 8.073 MB / 0.8184 GB, free: 32.13 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007193/2.129, allocations: 4.727 MB / 0.8231 GB, free: 30.17 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002208/2.129, allocations: 67.3 kB / 0.8231 GB, free: 30.16 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.771e-05/2.129, allocations: 62.75 kB / 0.8232 GB, free: 30.09 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 8.029e-06/2.129, allocations: 2.844 kB / 0.8232 GB, free: 30.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=364): time 0.1206/2.25, allocations: 34.03 MB / 0.8564 GB, free: 14.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.971e-05/2.25, allocations: 269 kB / 0.8567 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01431/2.264, allocations: 6.926 MB / 0.8634 GB, free: 7.957 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.000819/2.265, allocations: 84.52 kB / 0.8635 GB, free: 7.871 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004665/2.27, allocations: 5.554 MB / 0.8689 GB, free: 2.91 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001849/2.272, allocations: 1.362 MB / 0.8703 GB, free: 1.707 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001198/2.273, allocations: 198.4 kB / 0.8705 GB, free: 1.516 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0007821/2.274, allocations: 0.7148 MB / 0.8712 GB, free: 0.9102 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02925/2.303, allocations: 5.154 MB / 0.8762 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01539/2.318, allocations: 9.518 MB / 0.8855 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01348/2.332, allocations: 6.173 MB / 0.8915 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002002/2.332, allocations: 56 kB / 0.8916 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.04047/2.373, allocations: 15.14 MB / 0.9063 GB, free: 2.805 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001804/2.373, allocations: 88.22 kB / 0.9064 GB, free: 2.719 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003019/2.373, allocations: 200 kB / 0.9066 GB, free: 2.523 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008481/2.382, allocations: 2.436 MB / 0.909 GB, free: 0.7305 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01141/2.393, allocations: 2.3 MB / 0.9112 GB, free: 14.85 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3951/2.788, allocations: 16.88 MB / 0.9277 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01053/2.799, allocations: 0.5747 MB / 0.9283 GB, free: 116.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002339/2.801, allocations: 0.5725 MB / 0.9289 GB, free: 116.3 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque2.forceColor[3],forceAndTorque2.forceColor[2],forceAndTorque2.forceColor[1],Revolute6.cylinderColor[3],Revolute6.cylinderColor[2],Revolute6.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute5.cylinderColor[3],Revolute5.cylinderColor[2],Revolute5.cylinderColor[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.forceColor[3],forceAndTorque1.forceColor[2],forceAndTorque1.forceColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],BodyCylinder1.color[3],BodyCylinder1.color[2],BodyCylinder1.color[1],BodyCylinder1.body.sphereColor[3],BodyCylinder1.body.sphereColor[2],BodyCylinder1.body.sphereColor[1],Revolute1.cylinderColor[3],Revolute1.cylinderColor[2],Revolute1.cylinderColor[1],forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],fixed3.color[3],fixed3.color[2],fixed3.color[1],BodyCylinder3.color[3],BodyCylinder3.color[2],BodyCylinder3.color[1],BodyCylinder3.body.sphereColor[3],BodyCylinder3.body.sphereColor[2],BodyCylinder3.body.sphereColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.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 (1167): * Single equations (assignments): 1161 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(2,100.0%) 23,(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002915/2.804, allocations: 0.8529 MB / 0.9297 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002771/2.807, allocations: 0.6847 MB / 0.9304 GB, free: 116.1 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03527/2.842, allocations: 8.707 MB / 0.9389 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.785e-05/2.842, allocations: 39.55 kB / 0.9389 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.088e-05/2.842, allocations: 15.69 kB / 0.9389 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001029/2.843, allocations: 23.67 kB / 0.9389 GB, free: 116 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07039/2.913, allocations: 18.99 MB / 0.9575 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-05/2.913, allocations: 4.188 kB / 0.9575 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00601/2.919, allocations: 0.6384 MB / 0.9581 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007624/2.927, allocations: 2.12 MB / 0.9602 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007864/2.928, allocations: 61.67 kB / 0.9602 GB, free: 115.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02551/2.953, allocations: 15.69 MB / 0.9756 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.632e-06/2.953, allocations: 3.312 kB / 0.9756 GB, free: 111.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02715/2.98, allocations: 13.8 MB / 0.989 GB, free: 108 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002313/2.983, allocations: 0.7518 MB / 0.9898 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00213/2.985, allocations: 64.42 kB / 0.9898 GB, free: 107.8 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00491/2.99, allocations: 277.9 kB / 0.9901 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001099/2.991, allocations: 216.7 kB / 0.9903 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004117/2.991, allocations: 84.59 kB / 0.9904 GB, free: 107.7 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01029/3.002, allocations: 4.922 MB / 0.9952 GB, free: 106 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.051e-06/3.002, allocations: 3.75 kB / 0.9952 GB, free: 106 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01144/3.013, allocations: 1.969 MB / 0.9971 GB, free: 105.8 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 12 (Revolute5.phi,Revolute5.w,Revolute6.phi,Revolute6.w,Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.w,Revolute1.phi,Revolute1.w,Revolute2.phi,Revolute2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (289): * Single equations (assignments): 283 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(4,75.0%) 18,(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.0009103/3.014, allocations: 221.9 kB / 0.9973 GB, free: 105.7 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.02003/3.034, allocations: 9.939 MB / 1.007 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.1e-06/3.034, allocations: 0 / 1.007 GB, free: 102.5 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008711/3.043, allocations: 4.253 MB / 1.011 GB, free: 100.8 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005752/3.049, allocations: 0.9213 MB / 1.012 GB, free: 100.4 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03556/3.084, allocations: 15.91 MB / 1.028 GB, free: 91.22 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01255/3.097, allocations: 5.923 MB / 1.033 GB, free: 86.91 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0166/3.114, allocations: 3.265 MB / 1.037 GB, free: 84.96 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004976/3.119, allocations: 461.2 kB / 1.037 GB, free: 84.54 MB / 0.5573 GB Notification: Performance of SimCode: time 2.535e-06/3.119, allocations: 0 / 1.037 GB, free: 84.54 MB / 0.5573 GB Notification: Performance of Templates: time 0.2817/3.4, allocations: 78.2 MB / 1.113 GB, free: 18.49 MB / 0.5573 GB