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.1_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadModel(ModelicaTest): time 2.017/2.017, allocations: 209.3 MB / 223.8 MB, free: 444 kB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.103e-05, allocations: 4 kB / 276.2 MB, free: 15.2 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.364/0.364, allocations: 48.7 MB / 324.9 MB, free: 3.375 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.1714/0.5354, allocations: 108.2 MB / 433.1 MB, free: 3.023 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.07046/0.606, allocations: 22.26 MB / 455.4 MB, free: 12.7 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02874/0.6348, allocations: 0.5574 MB / 455.9 MB, free: 12.14 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02107/0.6559, allocations: 5.813 MB / 461.7 MB, free: 6.301 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.05899/0.7149, allocations: 15.27 MB / 477 MB, free: 6.984 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.01009/0.7251, allocations: 1.182 MB / 478.2 MB, free: 5.801 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.4152/1.14, allocations: 25.38 MB / 0.4918 GB, free: 6.355 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01866/1.159, allocations: 9.158 MB / 0.5007 GB, free: 5.703 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004918/1.164, allocations: 1.711 MB / 0.5024 GB, free: 5.703 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006057/1.17, allocations: 2.79 MB / 0.5051 GB, free: 5.691 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004828/1.175, allocations: 1.137 MB / 0.5062 GB, free: 5.691 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002793/1.178, allocations: 256.1 kB / 0.5064 GB, free: 5.691 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005807/1.184, allocations: 3.417 MB / 0.5098 GB, free: 5.688 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003736/1.188, allocations: 0.5781 MB / 0.5104 GB, free: 5.688 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01877/1.206, allocations: 12.37 MB / 0.5224 GB, free: 0 / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.206, allocations: 0 / 0.5224 GB, free: 0 / 410.7 MB Notification: Performance of FrontEnd: time 4.218e-06/1.206, allocations: 2.094 kB / 0.5224 GB, free: 0 / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006917/1.207, allocations: 2.344 kB / 0.5224 GB, free: 0 / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3262 * Number of variables: 3262 Notification: Performance of Generate backend data structure: time 0.0351/1.242, allocations: 8.852 MB / 0.5311 GB, free: 8.199 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.451e-05/1.242, allocations: 12.03 kB / 0.5311 GB, free: 8.188 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1814/1.424, allocations: 17.06 MB / 0.5477 GB, free: 8.137 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02205/1.446, allocations: 6.526 MB / 0.5541 GB, free: 3.492 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007761/1.447, allocations: 0.5298 MB / 0.5546 GB, free: 3.195 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004005/1.451, allocations: 0.6965 MB / 0.5553 GB, free: 2.738 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.07267/1.523, allocations: 22.23 MB / 0.577 GB, free: 1.617 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005449/1.524, allocations: 92.55 kB / 0.5771 GB, free: 1.566 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003855/1.528, allocations: 331.2 kB / 0.5774 GB, free: 1.477 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01032/1.538, allocations: 3.865 MB / 0.5812 GB, free: 14.34 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06581/1.604, allocations: 18.8 MB / 0.5996 GB, free: 1.125 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4886/2.093, allocations: 80.53 MB / 0.6782 GB, free: 169.1 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03992/2.133, allocations: 9.235 MB / 0.6872 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007151/2.134, allocations: 83.89 kB / 0.6873 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.606e-05/2.134, allocations: 81.48 kB / 0.6874 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=412): time 9.517e-06/2.134, allocations: 3.438 kB / 0.6874 GB, free: 168.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=475): time 0.2061/2.34, allocations: 47.61 MB / 0.7339 GB, free: 149.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001235/2.34, allocations: 285.9 kB / 0.7342 GB, free: 149.2 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01963/2.36, allocations: 7.821 MB / 0.7418 GB, free: 141.4 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001587/2.361, allocations: 99.66 kB / 0.7419 GB, free: 141.3 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005684/2.367, allocations: 6.083 MB / 0.7478 GB, free: 135.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003216/2.37, allocations: 1.745 MB / 0.7495 GB, free: 133.5 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00223/2.372, allocations: 224 kB / 0.7497 GB, free: 133.3 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0009571/2.373, allocations: 0.7733 MB / 0.7505 GB, free: 132.5 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01364/2.387, allocations: 5.158 MB / 0.7555 GB, free: 127.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01802/2.405, allocations: 11.17 MB / 0.7664 GB, free: 113.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0176/2.423, allocations: 7.443 MB / 0.7737 GB, free: 106.5 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001902/2.423, allocations: 60 kB / 0.7738 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1452) (initialization): time 0.05128/2.474, allocations: 18.52 MB / 0.7919 GB, free: 88.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001496/2.475, allocations: 99.95 kB / 0.792 GB, free: 88.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002953/2.475, allocations: 211.9 kB / 0.7922 GB, free: 87.89 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01112/2.486, allocations: 2.642 MB / 0.7947 GB, free: 85.24 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01866/2.505, allocations: 2.706 MB / 0.7974 GB, free: 82.53 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03519/2.54, allocations: 18.56 MB / 0.8155 GB, free: 63.59 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01423/2.554, allocations: 0.6904 MB / 0.8162 GB, free: 62.89 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002783/2.557, allocations: 0.6366 MB / 0.8168 GB, free: 62.26 MB / 0.5105 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.01203/2.569, allocations: 4.127 MB / 0.8208 GB, free: 58.12 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003204/2.572, allocations: 0.7443 MB / 0.8216 GB, free: 57.37 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03536/2.608, allocations: 11.12 MB / 0.8324 GB, free: 46.18 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.528e-05/2.608, allocations: 48 kB / 0.8325 GB, free: 46.14 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.557e-05/2.608, allocations: 14.34 kB / 0.8325 GB, free: 46.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001241/2.608, allocations: 27.86 kB / 0.8325 GB, free: 46.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07184/2.68, allocations: 23.54 MB / 0.8555 GB, free: 22.51 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.616e-05/2.68, allocations: 7.812 kB / 0.8555 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009538/2.69, allocations: 0.9165 MB / 0.8564 GB, free: 21.59 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01025/2.7, allocations: 2.285 MB / 0.8586 GB, free: 19.29 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001436/2.701, allocations: 87.98 kB / 0.8587 GB, free: 19.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03508/2.737, allocations: 17.46 MB / 0.8758 GB, free: 1.359 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.454e-06/2.737, allocations: 11.69 kB / 0.8758 GB, free: 1.352 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3672/3.104, allocations: 18.31 MB / 0.8937 GB, free: 193.1 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006836/3.111, allocations: 1.66 MB / 0.8953 GB, free: 192.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004038/3.115, allocations: 80.23 kB / 0.8954 GB, free: 192.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00905/3.124, allocations: 356.2 kB / 0.8957 GB, free: 192.5 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002053/3.126, allocations: 285.6 kB / 0.896 GB, free: 192.5 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001446/3.127, allocations: 126.8 kB / 0.8961 GB, free: 192.4 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01574/3.143, allocations: 5.606 MB / 0.9016 GB, free: 190.6 MB / 0.5105 GB Notification: Performance of sort global known variables: time 8.01e-07/3.143, allocations: 0 / 0.9016 GB, free: 190.6 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0148/3.158, allocations: 2.313 MB / 0.9038 GB, free: 190.3 MB / 0.5105 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.002127/3.16, allocations: 259 kB / 0.9041 GB, free: 190.1 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03208/3.192, allocations: 12.75 MB / 0.9165 GB, free: 185.4 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.181e-05/3.192, allocations: 2.062 kB / 0.9165 GB, free: 185.4 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01619/3.209, allocations: 5.603 MB / 0.922 GB, free: 183.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008294/3.217, allocations: 0.9414 MB / 0.9229 GB, free: 182.8 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05757/3.275, allocations: 25.47 MB / 0.9478 GB, free: 163.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01545/3.29, allocations: 6.589 MB / 0.9542 GB, free: 158.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.01808/3.308, allocations: 3.774 MB / 0.9579 GB, free: 155.3 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004501/3.313, allocations: 0.5345 MB / 0.9584 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of SimCode: time 1.994e-06/3.313, allocations: 4 kB / 0.9584 GB, free: 154.8 MB / 0.5105 GB Notification: Performance of Templates: time 0.2362/3.549, allocations: 90.8 MB / 1.047 GB, free: 64.11 MB / 0.5105 GB