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.469/2.469, allocations: 234.9 MB / 250.1 MB, free: 10.01 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.576e-05/3.575e-05, allocations: 4 kB / 308 MB, free: 15.98 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3829/0.3829, allocations: 54.86 MB / 362.9 MB, free: 12.07 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.1756/0.5586, allocations: 108.3 MB / 471.1 MB, free: 1.312 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.06677/0.6255, allocations: 22.3 MB / 493.4 MB, free: 10.95 MB / 426.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02638/0.6519, allocations: 0.5535 MB / 494 MB, free: 10.39 MB / 426.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02034/0.6723, allocations: 5.802 MB / 499.8 MB, free: 4.562 MB / 426.7 MB Notification: Performance of NFTyping.typeBindings: time 0.4211/1.093, allocations: 15.28 MB / 0.503 GB, free: 2.945 MB / 426.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00855/1.102, allocations: 1.162 MB / 0.5041 GB, free: 2.938 MB / 426.7 MB Notification: Performance of NFFlatten.flatten: time 0.06957/1.172, allocations: 25.39 MB / 0.5289 GB, free: 14.99 MB / 442.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.01898/1.191, allocations: 9.16 MB / 0.5379 GB, free: 12.5 MB / 442.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004918/1.196, allocations: 1.709 MB / 0.5395 GB, free: 12.29 MB / 442.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.006593/1.202, allocations: 2.794 MB / 0.5423 GB, free: 10.85 MB / 442.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005111/1.208, allocations: 1.145 MB / 0.5434 GB, free: 9.902 MB / 442.7 MB Notification: Performance of NFPackage.collectConstants: time 0.002738/1.21, allocations: 256 kB / 0.5436 GB, free: 9.652 MB / 442.7 MB Notification: Performance of NFScalarize.scalarize: time 0.006457/1.217, allocations: 3.42 MB / 0.547 GB, free: 7.164 MB / 442.7 MB Notification: Performance of NFVerifyModel.verify: time 0.003716/1.221, allocations: 0.582 MB / 0.5475 GB, free: 6.582 MB / 442.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0201/1.241, allocations: 12.39 MB / 0.5596 GB, free: 11.81 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/1.241, allocations: 0 / 0.5596 GB, free: 11.81 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.196e-06/1.241, allocations: 0.5625 kB / 0.5596 GB, free: 11.81 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0005639/1.241, allocations: 0 / 0.5596 GB, free: 11.81 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.03409/1.275, allocations: 8.866 MB / 0.5683 GB, free: 3.656 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.195e-05/1.276, allocations: 8.031 kB / 0.5683 GB, free: 3.648 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1779/1.453, allocations: 17.06 MB / 0.5849 GB, free: 3.605 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02148/1.475, allocations: 6.523 MB / 0.5913 GB, free: 14.96 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007807/1.476, allocations: 0.537 MB / 0.5918 GB, free: 14.66 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003858/1.48, allocations: 0.7037 MB / 0.5925 GB, free: 14.2 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.06835/1.548, allocations: 22.25 MB / 0.6142 GB, free: 13.07 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005312/1.549, allocations: 87.02 kB / 0.6143 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003217/1.552, allocations: 341.8 kB / 0.6147 GB, free: 12.92 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01015/1.562, allocations: 3.861 MB / 0.6184 GB, free: 9.781 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.06647/1.629, allocations: 18.82 MB / 0.6368 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.8645/2.493, allocations: 80.6 MB / 0.7155 GB, free: 179.2 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03849/2.532, allocations: 9.227 MB / 0.7245 GB, free: 178.5 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006644/2.532, allocations: 85.09 kB / 0.7246 GB, free: 178.5 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.681e-05/2.532, allocations: 81.44 kB / 0.7247 GB, free: 178.5 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=412): time 7.875e-06/2.533, allocations: 0 / 0.7247 GB, free: 178.5 MB / 0.5418 GB Notification: Performance of matching and sorting (n=475): time 0.2035/2.736, allocations: 47.64 MB / 0.7712 GB, free: 146.3 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000123/2.736, allocations: 286.2 kB / 0.7715 GB, free: 145.9 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01797/2.754, allocations: 7.809 MB / 0.7791 GB, free: 138.1 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 0.001718/2.756, allocations: 101.7 kB / 0.7792 GB, free: 138 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.004913/2.761, allocations: 5.751 MB / 0.7848 GB, free: 132.3 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 0.003013/2.764, allocations: 1.742 MB / 0.7865 GB, free: 130.6 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001591/2.766, allocations: 229.3 kB / 0.7867 GB, free: 130.3 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0007359/2.766, allocations: 0.7854 MB / 0.7875 GB, free: 129.5 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01319/2.78, allocations: 5.156 MB / 0.7925 GB, free: 124.4 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01709/2.797, allocations: 11.17 MB / 0.8034 GB, free: 110.6 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01777/2.815, allocations: 7.44 MB / 0.8107 GB, free: 103.4 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002014/2.815, allocations: 60 kB / 0.8108 GB, free: 103.4 MB / 0.5418 GB Notification: Performance of matching and sorting (n=1452) (initialization): time 0.05245/2.867, allocations: 18.2 MB / 0.8285 GB, free: 85.39 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001506/2.867, allocations: 96 kB / 0.8286 GB, free: 85.29 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003108/2.868, allocations: 212 kB / 0.8288 GB, free: 85.09 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01123/2.879, allocations: 2.636 MB / 0.8314 GB, free: 82.44 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01867/2.898, allocations: 2.714 MB / 0.8341 GB, free: 79.72 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03591/2.934, allocations: 18.56 MB / 0.8522 GB, free: 60.76 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01431/2.948, allocations: 0.6827 MB / 0.8529 GB, free: 60.08 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002885/2.951, allocations: 0.6405 MB / 0.8535 GB, free: 59.44 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.01179/2.963, allocations: 4.129 MB / 0.8575 GB, free: 55.3 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002349/2.965, allocations: 0.7599 MB / 0.8583 GB, free: 54.53 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03625/3.002, allocations: 11.1 MB / 0.8691 GB, free: 43.36 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.76e-05/3.002, allocations: 48 kB / 0.8691 GB, free: 43.31 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.852e-05/3.002, allocations: 12 kB / 0.8692 GB, free: 43.3 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001294/3.002, allocations: 31.91 kB / 0.8692 GB, free: 43.27 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.07179/3.074, allocations: 23.54 MB / 0.8922 GB, free: 19.69 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.473e-05/3.074, allocations: 4.375 kB / 0.8922 GB, free: 19.69 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.009663/3.083, allocations: 0.9243 MB / 0.8931 GB, free: 18.76 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01072/3.094, allocations: 2.292 MB / 0.8953 GB, free: 16.46 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001671/3.096, allocations: 83.98 kB / 0.8954 GB, free: 16.38 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3903/3.486, allocations: 17.45 MB / 0.9124 GB, free: 205.1 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.591e-05/3.486, allocations: 7.812 kB / 0.9124 GB, free: 205.1 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.05244/3.539, allocations: 18.31 MB / 0.9303 GB, free: 200.5 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.006516/3.546, allocations: 1.655 MB / 0.9319 GB, free: 200.1 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003833/3.549, allocations: 81.81 kB / 0.932 GB, free: 200 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.008981/3.558, allocations: 358.7 kB / 0.9324 GB, free: 200 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.002052/3.561, allocations: 291.4 kB / 0.9326 GB, free: 199.9 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.001319/3.562, allocations: 121.1 kB / 0.9328 GB, free: 199.9 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01445/3.576, allocations: 5.61 MB / 0.9382 GB, free: 198 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.032e-06/3.576, allocations: 0 / 0.9382 GB, free: 198 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.01415/3.591, allocations: 2.311 MB / 0.9405 GB, free: 197.8 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.002088/3.593, allocations: 258.2 kB / 0.9407 GB, free: 197.6 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0304/3.623, allocations: 12.75 MB / 0.9532 GB, free: 190.4 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/3.623, allocations: 11.78 kB / 0.9532 GB, free: 190.4 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.01612/3.639, allocations: 5.597 MB / 0.9587 GB, free: 185.6 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008598/3.648, allocations: 0.9315 MB / 0.9596 GB, free: 184.8 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06217/3.71, allocations: 26.51 MB / 0.9855 GB, free: 160.3 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01435/3.725, allocations: 6.586 MB / 0.9919 GB, free: 153.7 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005146/3.73, allocations: 0.6165 MB / 0.9925 GB, free: 153.1 MB / 0.5418 GB Notification: Performance of SimCode: time 1.593e-06/3.73, allocations: 3.938 kB / 0.9925 GB, free: 153.1 MB / 0.5418 GB Notification: Performance of Templates: time 0.751/4.481, allocations: 237.3 MB / 1.224 GB, free: 104.6 MB / 0.5418 GB