Running command: translateModel(ModelicaTest.MultiBody.Forces.DifferentiationOfForces,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|rev.phi|rev.w",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.DifferentiationOfForces") Notification: Performance of loadModel(ModelicaTest): time 2.327/2.327, allocations: 269 MB / 284.1 MB, free: 3.641 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.181e-05/3.19e-05, allocations: 4 kB / 349 MB, free: 10.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1328/0.1329, allocations: 61.9 MB / 410.9 MB, free: 12.86 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.MultiBody.Forces.DifferentiationOfForces): time 0.4264/0.5594, allocations: 42.78 MB / 453.7 MB, free: 4.633 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.03262/0.592, allocations: 9.818 MB / 463.5 MB, free: 14.18 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.01223/0.6043, allocations: 220.5 kB / 463.7 MB, free: 14.15 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.008881/0.6133, allocations: 2.236 MB / 466 MB, free: 13.34 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.02522/0.6385, allocations: 6.166 MB / 472.1 MB, free: 8.801 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.004033/0.6426, allocations: 0.5707 MB / 472.7 MB, free: 8.422 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.06117/0.7038, allocations: 23.95 MB / 496.7 MB, free: 1.758 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.007796/0.7117, allocations: 3.791 MB / 0.4887 GB, free: 13.93 MB / 410.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001686/0.7134, allocations: 0.713 MB / 0.4894 GB, free: 13.21 MB / 410.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002408/0.7158, allocations: 1.122 MB / 0.4905 GB, free: 12.09 MB / 410.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002727/0.7186, allocations: 0.8817 MB / 0.4914 GB, free: 11.21 MB / 410.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0008816/0.7195, allocations: 132 kB / 0.4915 GB, free: 11.08 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.002042/0.7216, allocations: 1.406 MB / 0.4929 GB, free: 9.668 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.001025/0.7227, allocations: 240 kB / 0.4931 GB, free: 9.434 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.008634/0.7313, allocations: 5.565 MB / 0.4985 GB, free: 3.855 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.007e-05/0.7314, allocations: 0 / 0.4985 GB, free: 3.855 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.617e-06/0.7314, allocations: 7.875 kB / 0.4985 GB, free: 3.848 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0002023/0.7316, allocations: 4 kB / 0.4985 GB, free: 3.844 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1454 * Number of variables: 1454 Notification: Performance of Generate backend data structure: time 0.01126/0.7429, allocations: 3.693 MB / 0.5022 GB, free: 92 kB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.239e-05/0.7429, allocations: 8.031 kB / 0.5022 GB, free: 84 kB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.1778/0.9208, allocations: 10.49 MB / 0.5124 GB, free: 5.562 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008658/0.9295, allocations: 2.539 MB / 0.5149 GB, free: 2.961 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002957/0.9298, allocations: 229.6 kB / 0.5151 GB, free: 2.738 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001429/0.9313, allocations: 299.8 kB / 0.5154 GB, free: 2.445 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02349/0.9548, allocations: 9.255 MB / 0.5244 GB, free: 8.555 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001709/0.955, allocations: 51.58 kB / 0.5245 GB, free: 8.504 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006435/0.9557, allocations: 139.9 kB / 0.5246 GB, free: 8.367 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.005662/0.9613, allocations: 1.838 MB / 0.5264 GB, free: 6.523 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02434/0.9857, allocations: 7.588 MB / 0.5338 GB, free: 14.92 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06388/1.05, allocations: 34.75 MB / 0.5677 GB, free: 11.09 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.008219/1.058, allocations: 2.407 MB / 0.5701 GB, free: 8.535 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005585/1.059, allocations: 319.8 kB / 0.5704 GB, free: 8.168 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.92e-05/1.059, allocations: 47.06 kB / 0.5704 GB, free: 8.113 MB / 490.7 MB Notification: Performance of pre-optimization done (n=122): time 5.29e-06/1.059, allocations: 0 / 0.5704 GB, free: 8.113 MB / 490.7 MB Notification: Performance of matching and sorting (n=140): time 0.04648/1.105, allocations: 11.23 MB / 0.5814 GB, free: 12.71 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/1.105, allocations: 192.6 kB / 0.5816 GB, free: 12.48 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008294/1.114, allocations: 3.357 MB / 0.5849 GB, free: 9.125 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003446/1.114, allocations: 45.7 kB / 0.5849 GB, free: 9.074 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.003165/1.117, allocations: 2.903 MB / 0.5878 GB, free: 6.133 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009713/1.118, allocations: 0.5517 MB / 0.5883 GB, free: 5.574 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005253/1.119, allocations: 108 kB / 0.5884 GB, free: 5.469 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.0004654/1.119, allocations: 0.5378 MB / 0.5889 GB, free: 4.922 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005157/1.124, allocations: 1.712 MB / 0.5906 GB, free: 3.203 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008739/1.133, allocations: 5.115 MB / 0.5956 GB, free: 12.36 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007831/1.141, allocations: 2.912 MB / 0.5984 GB, free: 9.438 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001093/1.141, allocations: 36 kB / 0.5985 GB, free: 9.402 MB / 0.5105 GB Notification: Performance of matching and sorting (n=691) (initialization): time 0.02012/1.161, allocations: 6.712 MB / 0.605 GB, free: 2.688 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001107/1.162, allocations: 56 kB / 0.6051 GB, free: 2.633 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001969/1.162, allocations: 124 kB / 0.6052 GB, free: 2.512 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001737/1.164, allocations: 445.2 kB / 0.6056 GB, free: 2.074 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008206/1.172, allocations: 1.248 MB / 0.6068 GB, free: 0.8242 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3495/1.521, allocations: 3.369 MB / 0.6101 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005527/1.527, allocations: 309.9 kB / 0.6104 GB, free: 163.1 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001187/1.528, allocations: 336.2 kB / 0.6107 GB, free: 163.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 553 * Number of states: 0 () * Number of discrete variables: 36 (forceAndTorque.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,cutForce.forceArrow.arrowLine.twoHeadedArrow,cutForce.forceArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceColor[3],forceAndTorque.forceColor[2],forceAndTorque.forceColor[1],cutForce.forceColor[3],cutForce.forceColor[2],cutForce.forceColor[1],body.color[3],body.color[2],body.color[1],body.body.sphereColor[3],body.body.sphereColor[2],body.body.sphereColor[1],rev.cylinderColor[3],rev.cylinderColor[2],rev.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 (653): * Single equations (assignments): 649 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.005801/1.534, allocations: 2.005 MB / 0.6127 GB, free: 162.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007608/1.535, allocations: 308 kB / 0.613 GB, free: 162.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006215/1.541, allocations: 1.93 MB / 0.6149 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.774e-05/1.541, allocations: 19.64 kB / 0.6149 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.369e-05/1.541, allocations: 2.719 kB / 0.6149 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.298e-05/1.541, allocations: 8.984 kB / 0.6149 GB, free: 161.8 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01846/1.56, allocations: 5.981 MB / 0.6208 GB, free: 159.7 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.824e-05/1.56, allocations: 2.516 kB / 0.6208 GB, free: 159.7 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002184/1.562, allocations: 229.3 kB / 0.621 GB, free: 159.7 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001269/1.563, allocations: 259.9 kB / 0.6212 GB, free: 159.7 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002458/1.563, allocations: 28.27 kB / 0.6212 GB, free: 159.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005386/1.569, allocations: 2.975 MB / 0.6242 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.549e-06/1.569, allocations: 4.953 kB / 0.6242 GB, free: 157.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01052/1.579, allocations: 4.076 MB / 0.6281 GB, free: 156.2 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001068/1.581, allocations: 363.5 kB / 0.6285 GB, free: 156 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007146/1.581, allocations: 22.25 kB / 0.6285 GB, free: 156 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00202/1.583, allocations: 94.98 kB / 0.6286 GB, free: 156 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003663/1.584, allocations: 95.44 kB / 0.6287 GB, free: 156 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001533/1.584, allocations: 40.27 kB / 0.6287 GB, free: 156 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005787/1.59, allocations: 2.346 MB / 0.631 GB, free: 155.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.72e-07/1.59, allocations: 0 / 0.631 GB, free: 155.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.00623/1.596, allocations: 0.876 MB / 0.6319 GB, free: 155.1 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (rev.phi,rev.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (107): * Single equations (assignments): 103 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007882/1.597, allocations: 177.5 kB / 0.632 GB, free: 155 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01028/1.607, allocations: 4.126 MB / 0.6361 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.604e-06/1.607, allocations: 0 / 0.6361 GB, free: 153.7 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002927/1.61, allocations: 1.194 MB / 0.6372 GB, free: 153.2 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003224/1.613, allocations: 387.9 kB / 0.6376 GB, free: 153.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02157/1.635, allocations: 10.16 MB / 0.6475 GB, free: 147.8 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005658/1.641, allocations: 3.241 MB / 0.6507 GB, free: 146.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001322/1.642, allocations: 263 kB / 0.6509 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of SimCode: time 1.583e-06/1.642, allocations: 0 / 0.6509 GB, free: 146.2 MB / 0.5105 GB Notification: Performance of Templates: time 0.119/1.761, allocations: 67.25 MB / 0.7166 GB, free: 79.23 MB / 0.5105 GB