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_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadModel(ModelicaTest): time 2.185/2.185, allocations: 235 MB / 247.6 MB, free: 14.37 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.639e-05/3.657e-05, allocations: 8.938 kB / 304.9 MB, free: 5.664 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3166/0.3167, allocations: 54.85 MB / 359.8 MB, free: 2.641 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1558/0.4725, allocations: 101.5 MB / 461.3 MB, free: 11.48 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002468/0.4728, allocations: 75.95 kB / 461.3 MB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8807/1.354, allocations: 178.8 MB / 0.6251 GB, free: 63.37 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.763e-06/1.354, allocations: 4 kB / 0.6251 GB, free: 63.37 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0004627/1.354, allocations: 176 kB / 0.6253 GB, free: 63.2 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.0286/1.383, allocations: 8.795 MB / 0.6339 GB, free: 54.32 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.503e-05/1.383, allocations: 8.031 kB / 0.6339 GB, free: 54.31 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0536/1.436, allocations: 9.875 MB / 0.6435 GB, free: 44.41 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02642/1.463, allocations: 9.85 MB / 0.6532 GB, free: 34.48 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007989/1.464, allocations: 0.6939 MB / 0.6538 GB, free: 33.78 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003855/1.468, allocations: 0.9176 MB / 0.6547 GB, free: 32.86 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05529/1.523, allocations: 22.04 MB / 0.6763 GB, free: 9.152 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000422/1.523, allocations: 107 kB / 0.6764 GB, free: 9.047 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00239/1.526, allocations: 443.8 kB / 0.6768 GB, free: 8.613 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00323/1.529, allocations: 2.081 MB / 0.6788 GB, free: 6.523 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04879/1.578, allocations: 18.07 MB / 0.6965 GB, free: 4.422 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.421/1.999, allocations: 91.49 MB / 0.7858 GB, free: 24.86 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.02873/2.028, allocations: 9.287 MB / 0.7949 GB, free: 21.84 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.008594/2.036, allocations: 5.604 MB / 0.8004 GB, free: 19.51 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003513/2.037, allocations: 83.84 kB / 0.8004 GB, free: 19.5 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.662e-05/2.037, allocations: 83.81 kB / 0.8005 GB, free: 19.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=412): time 1.038e-05/2.037, allocations: 0 / 0.8005 GB, free: 19.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=475): time 0.1296/2.166, allocations: 38.53 MB / 0.8381 GB, free: 4.82 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.787e-05/2.166, allocations: 286.2 kB / 0.8384 GB, free: 4.488 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01649/2.183, allocations: 7.309 MB / 0.8455 GB, free: 14.07 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.001149/2.184, allocations: 97.7 kB / 0.8456 GB, free: 13.96 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.006537/2.191, allocations: 5.78 MB / 0.8513 GB, free: 8.711 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.003157/2.194, allocations: 1.744 MB / 0.853 GB, free: 7.164 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001978/2.196, allocations: 224 kB / 0.8532 GB, free: 6.945 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.001446/2.197, allocations: 0.7782 MB / 0.854 GB, free: 6.293 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01213/2.21, allocations: 4.932 MB / 0.8588 GB, free: 1.871 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.03645/2.246, allocations: 11.95 MB / 0.8704 GB, free: 7.512 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01604/2.262, allocations: 7.277 MB / 0.8776 GB, free: 1.527 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002184/2.262, allocations: 68 kB / 0.8776 GB, free: 1.461 MB / 0.4948 GB Notification: Performance of matching and sorting (n=1458) (initialization): time 0.05107/2.314, allocations: 17.42 MB / 0.8946 GB, free: 2.172 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001973/2.314, allocations: 98.5 kB / 0.8947 GB, free: 2.078 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003184/2.314, allocations: 215.9 kB / 0.8949 GB, free: 1.867 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.3125/2.627, allocations: 2.463 MB / 0.8973 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01391/2.641, allocations: 2.678 MB / 0.9 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02916/2.67, allocations: 16.91 MB / 0.9165 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01266/2.682, allocations: 0.6743 MB / 0.9171 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002602/2.685, allocations: 0.6454 MB / 0.9177 GB, free: 111.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 963 * 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 (1362): * Single equations (assignments): 1356 * 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.002924/2.688, allocations: 0.9434 MB / 0.9187 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001886/2.69, allocations: 0.7441 MB / 0.9194 GB, free: 111.8 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02355/2.714, allocations: 10.66 MB / 0.9298 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.214e-05/2.714, allocations: 52.03 kB / 0.9299 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.431e-05/2.714, allocations: 10.5 kB / 0.9299 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.558e-05/2.714, allocations: 30.45 kB / 0.9299 GB, free: 111.5 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0506/2.764, allocations: 22.83 MB / 0.9522 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.932e-05/2.765, allocations: 3.719 kB / 0.9522 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005982/2.771, allocations: 0.8786 MB / 0.9531 GB, free: 107.3 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007042/2.778, allocations: 2.127 MB / 0.9551 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001074/2.779, allocations: 86.5 kB / 0.9552 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02432/2.803, allocations: 15.7 MB / 0.9705 GB, free: 98.48 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.426e-06/2.803, allocations: 5.344 kB / 0.9705 GB, free: 98.48 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03252/2.836, allocations: 17.58 MB / 0.9877 GB, free: 91.53 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.005128/2.841, allocations: 1.606 MB / 0.9893 GB, free: 90.81 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002365/2.843, allocations: 87.06 kB / 0.9894 GB, free: 90.75 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.006133/2.849, allocations: 356.9 kB / 0.9897 GB, free: 90.59 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001329/2.851, allocations: 289.4 kB / 0.99 GB, free: 90.41 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005847/2.851, allocations: 126.9 kB / 0.9901 GB, free: 90.3 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.01109/2.862, allocations: 5.194 MB / 0.9952 GB, free: 85.72 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.276e-06/2.862, allocations: 0 / 0.9952 GB, free: 85.72 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.01283/2.875, allocations: 2.263 MB / 0.9974 GB, free: 83.46 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.001174/2.877, allocations: 250.7 kB / 0.9976 GB, free: 83.27 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.02224/2.899, allocations: 11.99 MB / 1.009 GB, free: 72.69 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.651e-06/2.899, allocations: 0 / 1.009 GB, free: 72.69 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.01015/2.909, allocations: 5.2 MB / 1.014 GB, free: 68.02 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006153/2.915, allocations: 0.9453 MB / 1.015 GB, free: 67.23 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04257/2.958, allocations: 19.44 MB / 1.034 GB, free: 50.32 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01358/2.971, allocations: 6.594 MB / 1.041 GB, free: 45.53 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003878/2.975, allocations: 0.6044 MB / 1.041 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of SimCode: time 2.446e-06/2.975, allocations: 0 / 1.041 GB, free: 44.96 MB / 0.5105 GB Notification: Performance of Templates: time 0.6348/3.61, allocations: 234 MB / 1.27 GB, free: 14.84 MB / 0.5417 GB