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_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadModel(ModelicaTest): time 2.279/2.279, allocations: 269 MB / 284.1 MB, free: 3.629 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.163e-05/4.155e-05, allocations: 8 kB / 349 MB, free: 10.76 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.133, allocations: 61.89 MB / 410.9 MB, free: 12.87 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.WorldForceAndTorque): time 0.5038/0.6369, allocations: 110.7 MB / 0.5094 GB, free: 8.711 MB / 426.7 MB Notification: Performance of NFInst.instExpressions: time 0.07025/0.7072, allocations: 22.79 MB / 0.5317 GB, free: 1.848 MB / 442.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.02932/0.7366, allocations: 0.5768 MB / 0.5322 GB, free: 1.27 MB / 442.7 MB Notification: Performance of NFTyping.typeComponents: time 0.02156/0.7582, allocations: 5.879 MB / 0.538 GB, free: 11.36 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.06142/0.8196, allocations: 15.69 MB / 0.5533 GB, free: 11.63 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.009212/0.8289, allocations: 1.162 MB / 0.5544 GB, free: 10.47 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.5882/1.417, allocations: 70.7 MB / 0.6235 GB, free: 59.36 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.01907/1.436, allocations: 8.925 MB / 0.6322 GB, free: 58.72 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004286/1.441, allocations: 1.514 MB / 0.6337 GB, free: 58.72 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005228/1.446, allocations: 2.362 MB / 0.636 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004286/1.45, allocations: 1.075 MB / 0.637 GB, free: 58.71 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 0.002352/1.453, allocations: 220.6 kB / 0.6373 GB, free: 58.7 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.005/1.458, allocations: 3.047 MB / 0.6402 GB, free: 58.7 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.003182/1.461, allocations: 0.5233 MB / 0.6407 GB, free: 58.7 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.01591/1.477, allocations: 10.93 MB / 0.6514 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/1.477, allocations: 0 / 0.6514 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of FrontEnd: time 4.008e-06/1.477, allocations: 0 / 0.6514 GB, free: 54.93 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 0.0006213/1.478, allocations: 0 / 0.6514 GB, free: 54.93 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2857 * Number of variables: 2857 Notification: Performance of Generate backend data structure: time 0.027/1.505, allocations: 7.832 MB / 0.6591 GB, free: 50.44 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/1.505, allocations: 8.562 kB / 0.6591 GB, free: 50.44 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1711/1.676, allocations: 16.91 MB / 0.6756 GB, free: 36.18 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02706/1.703, allocations: 5.697 MB / 0.6811 GB, free: 32.07 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007412/1.704, allocations: 483.7 kB / 0.6816 GB, free: 31.81 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003922/1.708, allocations: 0.6429 MB / 0.6822 GB, free: 31.39 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05594/1.764, allocations: 19.62 MB / 0.7014 GB, free: 16.11 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004981/1.764, allocations: 91.36 kB / 0.7015 GB, free: 16.06 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00281/1.767, allocations: 308.1 kB / 0.7018 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.01115/1.778, allocations: 3.647 MB / 0.7053 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.05286/1.831, allocations: 16.57 MB / 0.7215 GB, free: 1.242 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1396/1.971, allocations: 72.45 MB / 0.7923 GB, free: 5.238 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.04012/2.011, allocations: 7.349 MB / 0.7995 GB, free: 15.38 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005696/2.012, allocations: 61.86 kB / 0.7995 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001021/2.012, allocations: 64.22 kB / 0.7996 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=301): time 1.136e-05/2.012, allocations: 0 / 0.7996 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of matching and sorting (n=364): time 0.5647/2.577, allocations: 42.3 MB / 0.8409 GB, free: 242.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/2.577, allocations: 273.6 kB / 0.8411 GB, free: 242.2 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0207/2.597, allocations: 7.423 MB / 0.8484 GB, free: 240.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.001185/2.599, allocations: 79.61 kB / 0.8485 GB, free: 240.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.005284/2.604, allocations: 5.209 MB / 0.8536 GB, free: 236 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.002631/2.607, allocations: 1.367 MB / 0.8549 GB, free: 235 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001358/2.608, allocations: 190.8 kB / 0.8551 GB, free: 234.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.000792/2.609, allocations: 0.7204 MB / 0.8558 GB, free: 234.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.01212/2.621, allocations: 4.246 MB / 0.8599 GB, free: 232.9 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01524/2.636, allocations: 9.732 MB / 0.8694 GB, free: 224.1 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01493/2.651, allocations: 6.294 MB / 0.8756 GB, free: 221.8 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002089/2.651, allocations: 53.75 kB / 0.8756 GB, free: 221.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=1257) (initialization): time 0.04345/2.695, allocations: 15.78 MB / 0.891 GB, free: 216.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001545/2.695, allocations: 95.8 kB / 0.8911 GB, free: 216.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002969/2.695, allocations: 193.1 kB / 0.8913 GB, free: 216.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01098/2.706, allocations: 2.616 MB / 0.8939 GB, free: 215.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01502/2.722, allocations: 2.299 MB / 0.8961 GB, free: 215.3 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03485/2.756, allocations: 18.52 MB / 0.9142 GB, free: 199.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01286/2.769, allocations: 0.5752 MB / 0.9148 GB, free: 199 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002374/2.772, allocations: 0.5732 MB / 0.9153 GB, free: 198.5 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 879 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,forceAndTorque1.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,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.groundColor[3],world.groundColor[2],world.groundColor[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 (1161): * Single equations (assignments): 1155 * 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.01018/2.782, allocations: 3.704 MB / 0.9189 GB, free: 194.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.002339/2.784, allocations: 0.6787 MB / 0.9196 GB, free: 194.2 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02643/2.811, allocations: 9.102 MB / 0.9285 GB, free: 185.1 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.336e-05/2.811, allocations: 43.95 kB / 0.9285 GB, free: 185 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.859e-05/2.811, allocations: 12 kB / 0.9285 GB, free: 185 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.96e-05/2.811, allocations: 15.94 kB / 0.9285 GB, free: 185 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0561/2.867, allocations: 19.67 MB / 0.9478 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.417e-05/2.867, allocations: 0 / 0.9478 GB, free: 165.4 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006873/2.874, allocations: 0.6631 MB / 0.9484 GB, free: 164.7 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01069/2.885, allocations: 2.287 MB / 0.9506 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001292/2.886, allocations: 63.98 kB / 0.9507 GB, free: 162.4 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0358/2.922, allocations: 17.46 MB / 0.9677 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.498e-06/2.922, allocations: 4 kB / 0.9677 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.03792/2.96, allocations: 14.42 MB / 0.9818 GB, free: 130 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002969/2.963, allocations: 0.7693 MB / 0.9826 GB, free: 129.2 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.003651/2.967, allocations: 65.56 kB / 0.9826 GB, free: 129.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.007612/2.974, allocations: 271.6 kB / 0.9829 GB, free: 128.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001594/2.976, allocations: 214.6 kB / 0.9831 GB, free: 128.7 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0006092/2.977, allocations: 91.98 kB / 0.9832 GB, free: 128.6 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.01354/2.99, allocations: 5.326 MB / 0.9884 GB, free: 123.3 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.082e-06/2.99, allocations: 0 / 0.9884 GB, free: 123.3 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.01262/3.003, allocations: 2.021 MB / 0.9904 GB, free: 121.3 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (289): * Single equations (assignments): 283 * 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.001667/3.005, allocations: 229.2 kB / 0.9906 GB, free: 121.1 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.02356/3.028, allocations: 10.62 MB / 1.001 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/3.028, allocations: 4 kB / 1.001 GB, free: 110.4 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.01269/3.041, allocations: 4.609 MB / 1.005 GB, free: 105.8 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008294/3.049, allocations: 0.9083 MB / 1.006 GB, free: 104.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0512/3.101, allocations: 22.99 MB / 1.029 GB, free: 81.83 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01261/3.113, allocations: 5.932 MB / 1.035 GB, free: 75.86 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003879/3.117, allocations: 0.515 MB / 1.035 GB, free: 75.34 MB / 0.6042 GB Notification: Performance of SimCode: time 1.442e-06/3.117, allocations: 0 / 1.035 GB, free: 75.34 MB / 0.6042 GB Notification: Performance of Templates: time 0.7384/3.856, allocations: 208.9 MB / 1.239 GB, free: 106 MB / 0.6042 GB