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_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadModel(ModelicaTest): time 2.358/2.358, allocations: 209.2 MB / 224.4 MB, free: 0.5195 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.772e-05/3.769e-05, allocations: 4 kB / 276.1 MB, free: 15.87 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4077/0.4078, allocations: 48.7 MB / 324.8 MB, free: 2.887 MB / 266.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.1695/0.5773, allocations: 108.2 MB / 433.1 MB, free: 3.098 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.07304/0.6504, allocations: 22.26 MB / 455.3 MB, free: 12.77 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02892/0.6794, allocations: 0.5574 MB / 455.9 MB, free: 12.21 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02351/0.7029, allocations: 5.794 MB / 461.7 MB, free: 6.391 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06139/0.7644, allocations: 15.29 MB / 477 MB, free: 7.062 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009764/0.7742, allocations: 1.17 MB / 478.1 MB, free: 5.891 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.4854/1.26, allocations: 25.39 MB / 0.4917 GB, free: 6.633 MB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01759/1.277, allocations: 9.163 MB / 0.5007 GB, free: 5.977 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004641/1.282, allocations: 1.709 MB / 0.5023 GB, free: 5.977 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006385/1.289, allocations: 2.788 MB / 0.5051 GB, free: 5.965 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004899/1.293, allocations: 1.144 MB / 0.5062 GB, free: 5.961 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002841/1.296, allocations: 254.7 kB / 0.5064 GB, free: 5.961 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.005361/1.302, allocations: 3.41 MB / 0.5098 GB, free: 5.961 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003511/1.305, allocations: 0.5765 MB / 0.5103 GB, free: 5.961 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01685/1.322, allocations: 12.38 MB / 0.5224 GB, free: 148 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.13e-06/1.322, allocations: 0 / 0.5224 GB, free: 148 kB / 410.7 MB Notification: Performance of FrontEnd: time 3.496e-06/1.322, allocations: 0 / 0.5224 GB, free: 148 kB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0006624/1.323, allocations: 0 / 0.5224 GB, free: 148 kB / 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.03509/1.358, allocations: 8.851 MB / 0.5311 GB, free: 8.355 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.377e-05/1.358, allocations: 12.03 kB / 0.5311 GB, free: 8.344 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.269/1.627, allocations: 17.05 MB / 0.5477 GB, free: 8.293 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02345/1.651, allocations: 6.528 MB / 0.5541 GB, free: 3.645 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008257/1.652, allocations: 0.5228 MB / 0.5546 GB, free: 3.355 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.004496/1.656, allocations: 0.7061 MB / 0.5553 GB, free: 2.891 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.08944/1.746, allocations: 22.23 MB / 0.577 GB, free: 1.766 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0006151/1.746, allocations: 89.31 kB / 0.5771 GB, free: 1.719 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003923/1.75, allocations: 330.9 kB / 0.5774 GB, free: 1.629 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01112/1.761, allocations: 3.863 MB / 0.5812 GB, free: 14.49 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06848/1.83, allocations: 18.8 MB / 0.5995 GB, free: 1.285 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.501/2.331, allocations: 80.53 MB / 0.6782 GB, free: 168.8 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04101/2.372, allocations: 9.227 MB / 0.6872 GB, free: 168.1 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000671/2.373, allocations: 86.53 kB / 0.6873 GB, free: 168.1 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.634e-05/2.373, allocations: 78.03 kB / 0.6873 GB, free: 168 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=412): time 8.456e-06/2.373, allocations: 0 / 0.6873 GB, free: 168 MB / 0.5105 GB Notification: Performance of matching and sorting (n=475): time 0.2139/2.587, allocations: 47.62 MB / 0.7339 GB, free: 149.8 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/2.587, allocations: 284.2 kB / 0.7341 GB, free: 149.5 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01999/2.607, allocations: 7.82 MB / 0.7418 GB, free: 141.7 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.001605/2.609, allocations: 99.03 kB / 0.7419 GB, free: 141.6 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.005249/2.614, allocations: 5.745 MB / 0.7475 GB, free: 135.8 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.003383/2.617, allocations: 1.749 MB / 0.7492 GB, free: 134.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.002596/2.62, allocations: 223.8 kB / 0.7494 GB, free: 133.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.001189/2.621, allocations: 0.7858 MB / 0.7502 GB, free: 133.1 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0144/2.636, allocations: 5.152 MB / 0.7552 GB, free: 127.9 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0181/2.654, allocations: 11.17 MB / 0.7661 GB, free: 114.1 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01814/2.672, allocations: 7.438 MB / 0.7734 GB, free: 107 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001951/2.672, allocations: 60 kB / 0.7734 GB, free: 107 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1452) (initialization): time 0.05404/2.726, allocations: 18.21 MB / 0.7912 GB, free: 89.08 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001614/2.726, allocations: 96 kB / 0.7913 GB, free: 88.98 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002819/2.727, allocations: 212 kB / 0.7915 GB, free: 88.78 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01152/2.738, allocations: 2.639 MB / 0.7941 GB, free: 86.13 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01972/2.758, allocations: 2.71 MB / 0.7967 GB, free: 83.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03669/2.795, allocations: 18.57 MB / 0.8148 GB, free: 64.46 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01576/2.811, allocations: 0.6748 MB / 0.8155 GB, free: 63.79 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.003031/2.814, allocations: 0.6396 MB / 0.8161 GB, free: 63.15 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.01294/2.827, allocations: 4.131 MB / 0.8202 GB, free: 59.01 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.003182/2.83, allocations: 0.7482 MB / 0.8209 GB, free: 58.25 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03732/2.867, allocations: 11.11 MB / 0.8317 GB, free: 47.07 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.45e-05/2.867, allocations: 51.52 kB / 0.8318 GB, free: 47.03 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.939e-05/2.868, allocations: 16 kB / 0.8318 GB, free: 47.01 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001219/2.868, allocations: 19.92 kB / 0.8318 GB, free: 46.99 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07208/2.94, allocations: 23.55 MB / 0.8548 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.113e-05/2.94, allocations: 6.344 kB / 0.8548 GB, free: 23.39 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00967/2.95, allocations: 0.9169 MB / 0.8557 GB, free: 22.47 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01088/2.96, allocations: 2.292 MB / 0.858 GB, free: 20.17 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001936/2.962, allocations: 87.97 kB / 0.858 GB, free: 20.09 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03593/2.998, allocations: 17.45 MB / 0.8751 GB, free: 2.242 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.973e-06/2.999, allocations: 4 kB / 0.8751 GB, free: 2.238 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.3733/3.372, allocations: 18.32 MB / 0.893 GB, free: 193.4 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.007074/3.379, allocations: 1.655 MB / 0.8946 GB, free: 193 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.004096/3.383, allocations: 81.56 kB / 0.8947 GB, free: 192.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.009569/3.393, allocations: 352.2 kB / 0.895 GB, free: 192.8 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002105/3.395, allocations: 291.3 kB / 0.8953 GB, free: 192.8 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001157/3.396, allocations: 120.8 kB / 0.8954 GB, free: 192.8 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01564/3.412, allocations: 5.609 MB / 0.9009 GB, free: 190.9 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.051e-06/3.412, allocations: 0 / 0.9009 GB, free: 190.9 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01504/3.427, allocations: 2.31 MB / 0.9031 GB, free: 190.7 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.002129/3.429, allocations: 262.7 kB / 0.9034 GB, free: 190.5 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.03123/3.46, allocations: 12.75 MB / 0.9158 GB, free: 185.8 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.127e-05/3.46, allocations: 3.938 kB / 0.9158 GB, free: 185.8 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01623/3.477, allocations: 5.608 MB / 0.9213 GB, free: 183.6 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00924/3.486, allocations: 0.9344 MB / 0.9222 GB, free: 183.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06456/3.55, allocations: 26.48 MB / 0.9481 GB, free: 163.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01619/3.567, allocations: 6.589 MB / 0.9545 GB, free: 159 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.006112/3.573, allocations: 0.6122 MB / 0.9551 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of SimCode: time 1.543e-06/3.573, allocations: 0 / 0.9551 GB, free: 158.4 MB / 0.5105 GB Notification: Performance of Templates: time 0.7605/4.333, allocations: 237 MB / 1.187 GB, free: 109.7 MB / 0.5105 GB