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_3.2.2_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadModel(ModelicaTest): time 2.255/2.255, allocations: 234.9 MB / 249.4 MB, free: 10.02 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.895e-05/3.883e-05, allocations: 4 kB / 308 MB, free: 15.34 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4141/0.4141, allocations: 54.85 MB / 362.9 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.26/0.6742, allocations: 108.3 MB / 471.2 MB, free: 1.238 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.09088/0.7652, allocations: 22.29 MB / 493.4 MB, free: 10.88 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.03422/0.7995, allocations: 0.5535 MB / 494 MB, free: 10.32 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02868/0.8282, allocations: 5.806 MB / 499.8 MB, free: 4.492 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.4478/1.276, allocations: 15.28 MB / 0.503 GB, free: 3.004 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.008583/1.285, allocations: 1.16 MB / 0.5041 GB, free: 2.996 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.07021/1.355, allocations: 25.4 MB / 0.5289 GB, free: 14.96 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01893/1.374, allocations: 9.153 MB / 0.5379 GB, free: 12.47 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.005589/1.38, allocations: 1.711 MB / 0.5396 GB, free: 12.26 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00755/1.387, allocations: 2.799 MB / 0.5423 GB, free: 10.84 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004943/1.392, allocations: 1.14 MB / 0.5434 GB, free: 9.891 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002544/1.395, allocations: 256 kB / 0.5436 GB, free: 9.641 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006386/1.401, allocations: 3.421 MB / 0.547 GB, free: 7.152 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003725/1.405, allocations: 0.582 MB / 0.5476 GB, free: 6.57 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.02103/1.426, allocations: 12.39 MB / 0.5597 GB, free: 11.8 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.32e-06/1.426, allocations: 3.875 kB / 0.5597 GB, free: 11.8 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.807e-06/1.426, allocations: 3.938 kB / 0.5597 GB, free: 11.8 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005947/1.427, allocations: 0 / 0.5597 GB, free: 11.8 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: 3268 * Number of variables: 3268 Notification: Performance of Generate backend data structure: time 0.03489/1.462, allocations: 8.859 MB / 0.5683 GB, free: 3.648 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.011e-05/1.462, allocations: 12.03 kB / 0.5683 GB, free: 3.637 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.2008/1.663, allocations: 17.06 MB / 0.585 GB, free: 3.59 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0234/1.686, allocations: 6.529 MB / 0.5914 GB, free: 14.94 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007508/1.687, allocations: 0.5292 MB / 0.5919 GB, free: 14.64 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003917/1.691, allocations: 0.7028 MB / 0.5926 GB, free: 14.18 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07287/1.764, allocations: 22.25 MB / 0.6143 GB, free: 13.05 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005599/1.764, allocations: 87.58 kB / 0.6144 GB, free: 13 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003494/1.768, allocations: 331.4 kB / 0.6147 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01077/1.779, allocations: 3.86 MB / 0.6185 GB, free: 9.773 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.08777/1.867, allocations: 18.81 MB / 0.6368 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.846/2.713, allocations: 80.61 MB / 0.7156 GB, free: 179.6 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03938/2.752, allocations: 9.218 MB / 0.7246 GB, free: 178.9 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001022/2.753, allocations: 86.89 kB / 0.7246 GB, free: 178.9 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001204/2.753, allocations: 78.34 kB / 0.7247 GB, free: 178.8 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=412): time 1.896e-05/2.753, allocations: 0 / 0.7247 GB, free: 178.8 MB / 0.5418 GB Notification: Performance of matching and sorting (n=475): time 0.2078/2.961, allocations: 47.64 MB / 0.7712 GB, free: 146.3 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/2.961, allocations: 282.9 kB / 0.7715 GB, free: 145.9 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01993/2.981, allocations: 7.813 MB / 0.7791 GB, free: 138.1 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.001528/2.983, allocations: 97.7 kB / 0.7792 GB, free: 138 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.005396/2.988, allocations: 6.088 MB / 0.7852 GB, free: 131.9 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.003158/2.992, allocations: 1.743 MB / 0.7869 GB, free: 130.2 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002/2.994, allocations: 227.7 kB / 0.7871 GB, free: 130 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.000974/2.995, allocations: 0.781 MB / 0.7879 GB, free: 129.2 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01358/3.008, allocations: 5.155 MB / 0.7929 GB, free: 124 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01707/3.025, allocations: 11.17 MB / 0.8038 GB, free: 110.2 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01831/3.044, allocations: 7.436 MB / 0.8111 GB, free: 103.1 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001833/3.044, allocations: 64 kB / 0.8111 GB, free: 103 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1452) (initialization): time 0.0523/3.096, allocations: 18.53 MB / 0.8292 GB, free: 84.73 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001838/3.096, allocations: 96 kB / 0.8293 GB, free: 84.63 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003761/3.097, allocations: 209.3 kB / 0.8295 GB, free: 84.43 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01123/3.108, allocations: 2.64 MB / 0.8321 GB, free: 81.78 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01895/3.127, allocations: 2.706 MB / 0.8347 GB, free: 79.07 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03638/3.164, allocations: 18.57 MB / 0.8529 GB, free: 60.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01509/3.179, allocations: 0.6861 MB / 0.8535 GB, free: 59.42 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003417/3.182, allocations: 0.6366 MB / 0.8541 GB, free: 58.78 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 957 * Number of states: 0 () * Number of discrete variables: 72 (forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],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.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],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.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],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.gravitySphereColor[3],world.gravitySphereColor[2],world.gravitySphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1356): * Single equations (assignments): 1350 * 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.01224/3.194, allocations: 4.132 MB / 0.8582 GB, free: 54.64 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002961/3.197, allocations: 0.7482 MB / 0.8589 GB, free: 53.88 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03667/3.234, allocations: 11.11 MB / 0.8698 GB, free: 42.7 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.871e-05/3.234, allocations: 48 kB / 0.8698 GB, free: 42.66 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-05/3.234, allocations: 16 kB / 0.8698 GB, free: 42.64 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001407/3.235, allocations: 19.92 kB / 0.8698 GB, free: 42.62 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.06831/3.303, allocations: 23.56 MB / 0.8928 GB, free: 19.03 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.574e-05/3.303, allocations: 8.031 kB / 0.8928 GB, free: 19.02 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00944/3.312, allocations: 0.9168 MB / 0.8937 GB, free: 18.1 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01046/3.323, allocations: 2.296 MB / 0.896 GB, free: 15.8 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001688/3.325, allocations: 87.98 kB / 0.8961 GB, free: 15.71 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3889/3.714, allocations: 17.44 MB / 0.9131 GB, free: 205.4 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.046e-05/3.714, allocations: 7.469 kB / 0.9131 GB, free: 205.4 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05143/3.765, allocations: 18.32 MB / 0.931 GB, free: 200.6 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006268/3.771, allocations: 1.653 MB / 0.9326 GB, free: 200.2 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003701/3.775, allocations: 86.56 kB / 0.9327 GB, free: 200.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008721/3.784, allocations: 356.1 kB / 0.933 GB, free: 200.1 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001983/3.786, allocations: 289.4 kB / 0.9333 GB, free: 200 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001493/3.787, allocations: 124.5 kB / 0.9334 GB, free: 200 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01418/3.802, allocations: 5.601 MB / 0.9389 GB, free: 198.1 MB / 0.5418 GB Notification: Performance of sort global known variables: time 7.82e-07/3.802, allocations: 0 / 0.9389 GB, free: 198.1 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01356/3.815, allocations: 2.313 MB / 0.9412 GB, free: 197.9 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (406): * Single equations (assignments): 400 * 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.001945/3.817, allocations: 257.7 kB / 0.9414 GB, free: 197.7 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.03101/3.848, allocations: 12.76 MB / 0.9539 GB, free: 190.1 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.361e-05/3.848, allocations: 4 kB / 0.9539 GB, free: 190.1 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01568/3.864, allocations: 5.592 MB / 0.9593 GB, free: 185.2 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008256/3.872, allocations: 0.938 MB / 0.9602 GB, free: 184.4 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05976/3.932, allocations: 25.49 MB / 0.9851 GB, free: 160.9 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01437/3.947, allocations: 6.59 MB / 0.9916 GB, free: 154.2 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.01754/3.964, allocations: 3.78 MB / 0.9953 GB, free: 150.4 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00467/3.969, allocations: 0.5306 MB / 0.9958 GB, free: 149.9 MB / 0.5418 GB Notification: Performance of SimCode: time 1.883e-06/3.969, allocations: 0 / 0.9958 GB, free: 149.9 MB / 0.5418 GB Notification: Performance of Templates: time 0.2422/4.211, allocations: 90.83 MB / 1.084 GB, free: 59.15 MB / 0.5418 GB