Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldTorques") Notification: Performance of loadModel(ModelicaTest): time 2.281/2.281, allocations: 270 MB / 282.7 MB, free: 1.793 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.324e-05/3.34e-05, allocations: 4 kB / 347 MB, free: 3.148 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.321/0.3211, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.4851, allocations: 107 MB / 0.5037 GB, free: 15.66 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002552/0.4854, allocations: 75.97 kB / 0.5038 GB, free: 15.59 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7479/1.233, allocations: 132.8 MB / 0.6335 GB, free: 5.934 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.393e-06/1.233, allocations: 0 / 0.6335 GB, free: 5.934 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003246/1.234, allocations: 128 kB / 0.6336 GB, free: 5.809 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.01727/1.251, allocations: 6.375 MB / 0.6398 GB, free: 15.35 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.668e-05/1.251, allocations: 8.031 kB / 0.6398 GB, free: 15.34 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05031/1.301, allocations: 9.43 MB / 0.649 GB, free: 5.891 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02517/1.327, allocations: 8.108 MB / 0.657 GB, free: 13.7 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006001/1.327, allocations: 492.9 kB / 0.6574 GB, free: 13.21 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002253/1.33, allocations: 0.6442 MB / 0.6581 GB, free: 12.57 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03881/1.368, allocations: 15.06 MB / 0.6728 GB, free: 12.06 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005337/1.369, allocations: 91.19 kB / 0.6728 GB, free: 11.97 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002691/1.372, allocations: 311.9 kB / 0.6731 GB, free: 11.67 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.004245/1.376, allocations: 1.342 MB / 0.6745 GB, free: 10.32 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03181/1.408, allocations: 11.61 MB / 0.6858 GB, free: 14.69 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.418/1.826, allocations: 67.64 MB / 0.7518 GB, free: 57.05 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01764/1.844, allocations: 5.17 MB / 0.7569 GB, free: 56.36 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003917/1.848, allocations: 2.574 MB / 0.7594 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001342/1.848, allocations: 37.17 kB / 0.7594 GB, free: 56.32 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.407e-05/1.848, allocations: 64.14 kB / 0.7595 GB, free: 56.29 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=186): time 7.598e-06/1.848, allocations: 3.031 kB / 0.7595 GB, free: 56.29 MB / 0.5105 GB Notification: Performance of matching and sorting (n=204): time 0.0592/1.907, allocations: 16.8 MB / 0.7759 GB, free: 51.19 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.746e-05/1.907, allocations: 252.2 kB / 0.7762 GB, free: 50.9 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01272/1.92, allocations: 5.883 MB / 0.7819 GB, free: 50.39 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003912/1.92, allocations: 55.95 kB / 0.782 GB, free: 50.36 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003493/1.924, allocations: 4.446 MB / 0.7863 GB, free: 48.23 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009601/1.925, allocations: 0.8132 MB / 0.7871 GB, free: 47.79 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006482/1.925, allocations: 155 kB / 0.7872 GB, free: 47.79 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004662/1.926, allocations: 0.6405 MB / 0.7879 GB, free: 47.46 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004801/1.931, allocations: 2.392 MB / 0.7902 GB, free: 47.45 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007707/1.938, allocations: 7.288 MB / 0.7973 GB, free: 41.07 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007916/1.946, allocations: 4.173 MB / 0.8014 GB, free: 41.04 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001481/1.947, allocations: 51.78 kB / 0.8014 GB, free: 41.04 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1011) (initialization): time 0.02178/1.968, allocations: 9.296 MB / 0.8105 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001384/1.969, allocations: 80.38 kB / 0.8106 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002039/1.969, allocations: 177.1 kB / 0.8108 GB, free: 39.53 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002565/1.971, allocations: 0.8204 MB / 0.8116 GB, free: 39.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007764/1.979, allocations: 1.766 MB / 0.8133 GB, free: 39.16 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01166/1.991, allocations: 8.468 MB / 0.8216 GB, free: 33.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008312/1.999, allocations: 423.4 kB / 0.822 GB, free: 33.15 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00154/2.001, allocations: 479.8 kB / 0.8224 GB, free: 33.09 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 801 * Number of states: 0 () * Number of discrete variables: 63 (worldTorque3.arrow.arrowLine.twoHeadedArrow,worldTorque3.arrow.headAtOrigin,worldTorque3.color[3],worldTorque3.color[2],worldTorque3.color[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],worldTorque2.arrow.arrowLine.twoHeadedArrow,worldTorque2.arrow.headAtOrigin,worldTorque2.color[3],worldTorque2.color[2],worldTorque2.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldTorque1.arrow.arrowLine.twoHeadedArrow,worldTorque1.arrow.headAtOrigin,worldTorque1.color[3],worldTorque1.color[2],worldTorque1.color[1],BodyCylinder2.color[3],BodyCylinder2.color[2],BodyCylinder2.color[1],BodyCylinder2.body.sphereColor[3],BodyCylinder2.body.sphereColor[2],BodyCylinder2.body.sphereColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[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 (945): * Single equations (assignments): 939 * 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 {(1,100.0%) 14,(1,100.0%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001514/2.002, allocations: 0.7262 MB / 0.8231 GB, free: 32.5 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001184/2.004, allocations: 0.5455 MB / 0.8237 GB, free: 32.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007655/2.011, allocations: 3.373 MB / 0.827 GB, free: 30.95 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.916e-05/2.011, allocations: 21.16 kB / 0.827 GB, free: 30.95 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.514e-05/2.011, allocations: 7.938 kB / 0.827 GB, free: 30.95 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.431e-05/2.011, allocations: 11.31 kB / 0.827 GB, free: 30.95 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02213/2.034, allocations: 9.539 MB / 0.8363 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.596e-05/2.034, allocations: 7.828 kB / 0.8363 GB, free: 26.38 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002021/2.036, allocations: 300.6 kB / 0.8366 GB, free: 26.13 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002096/2.038, allocations: 0.5239 MB / 0.8371 GB, free: 25.74 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002508/2.038, allocations: 39.2 kB / 0.8372 GB, free: 25.71 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009214/2.047, allocations: 7.572 MB / 0.8445 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.143e-06/2.047, allocations: 4.031 kB / 0.8446 GB, free: 18.43 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009956/2.057, allocations: 6.156 MB / 0.8506 GB, free: 12.94 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00187/2.059, allocations: 0.6111 MB / 0.8512 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001033/2.06, allocations: 35.94 kB / 0.8512 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002751/2.063, allocations: 107.8 kB / 0.8513 GB, free: 12.22 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004101/2.064, allocations: 132.6 kB / 0.8514 GB, free: 12.14 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002094/2.064, allocations: 58.47 kB / 0.8515 GB, free: 12.09 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007923/2.072, allocations: 4.169 MB / 0.8556 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.1e-06/2.072, allocations: 0 / 0.8556 GB, free: 8.414 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008578/2.08, allocations: 1.396 MB / 0.8569 GB, free: 7.027 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 6 (Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute1.phi,Revolute1.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (153): * Single equations (assignments): 147 * 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 {(1,100.0%) 11,(1,100.0%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005277/2.081, allocations: 179.1 kB / 0.8571 GB, free: 6.855 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01041/2.091, allocations: 5.901 MB / 0.8628 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.268e-06/2.091, allocations: 0 / 0.8628 GB, free: 1.496 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003649/2.095, allocations: 1.943 MB / 0.8647 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004581/2.1, allocations: 0.7393 MB / 0.8655 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03408/2.134, allocations: 11.66 MB / 0.8769 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02047/2.154, allocations: 4.793 MB / 0.8815 GB, free: 1.328 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00329/2.158, allocations: 406.6 kB / 0.8819 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of SimCode: time 2.77e-06/2.158, allocations: 0 / 0.8819 GB, free: 0.9453 MB / 0.5261 GB Notification: Performance of Templates: time 0.6219/2.78, allocations: 160.1 MB / 1.038 GB, free: 72.39 MB / 0.5573 GB