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_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadModel(ModelicaTest): time 2.421/2.421, allocations: 270 MB / 283.6 MB, free: 1.766 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.236e-05/3.244e-05, allocations: 12 kB / 348.4 MB, free: 2.648 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3317/0.3317, allocations: 61.88 MB / 410.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1741/0.5059, allocations: 108.2 MB / 0.5063 GB, free: 14.36 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/0.5062, allocations: 83.94 kB / 0.5064 GB, free: 14.28 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8763/1.382, allocations: 161.8 MB / 0.6644 GB, free: 7.711 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.333e-06/1.383, allocations: 4 kB / 0.6644 GB, free: 7.707 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0005454/1.383, allocations: 163.9 kB / 0.6645 GB, free: 7.547 MB / 474.7 MB 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.02872/1.412, allocations: 8.037 MB / 0.6724 GB, free: 15.43 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.67e-05/1.412, allocations: 8.031 kB / 0.6724 GB, free: 15.42 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05387/1.466, allocations: 9.681 MB / 0.6818 GB, free: 5.715 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02845/1.494, allocations: 8.951 MB / 0.6906 GB, free: 12.68 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008708/1.495, allocations: 0.6099 MB / 0.6912 GB, free: 12.07 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003582/1.499, allocations: 0.8277 MB / 0.692 GB, free: 11.24 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05553/1.554, allocations: 19.79 MB / 0.7113 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.000517/1.555, allocations: 107.1 kB / 0.7114 GB, free: 5.773 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002924/1.558, allocations: 391.8 kB / 0.7118 GB, free: 5.391 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003498/1.561, allocations: 1.774 MB / 0.7135 GB, free: 3.609 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3694/1.931, allocations: 16.01 MB / 0.7292 GB, free: 81.65 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1033/2.034, allocations: 83.36 MB / 0.8106 GB, free: 34.92 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02798/2.062, allocations: 8.086 MB / 0.8185 GB, free: 32.39 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007185/2.069, allocations: 4.717 MB / 0.8231 GB, free: 30.43 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000261/2.07, allocations: 59.03 kB / 0.8231 GB, free: 30.42 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.028e-05/2.07, allocations: 75.92 kB / 0.8232 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 7.98e-06/2.07, allocations: 0 / 0.8232 GB, free: 30.36 MB / 0.5105 GB Notification: Performance of matching and sorting (n=364): time 0.1448/2.215, allocations: 34.03 MB / 0.8564 GB, free: 14.23 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.494e-05/2.215, allocations: 269.8 kB / 0.8567 GB, free: 13.91 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01496/2.23, allocations: 6.925 MB / 0.8634 GB, free: 7.961 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007825/2.231, allocations: 80.36 kB / 0.8635 GB, free: 7.879 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.004507/2.235, allocations: 5.556 MB / 0.8689 GB, free: 2.93 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001763/2.237, allocations: 1.363 MB / 0.8703 GB, free: 1.727 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001135/2.238, allocations: 199.2 kB / 0.8705 GB, free: 1.535 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0006611/2.239, allocations: 0.7153 MB / 0.8712 GB, free: 0.9297 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.06624/2.305, allocations: 5.139 MB / 0.8762 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.02497/2.33, allocations: 9.516 MB / 0.8855 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.013/2.343, allocations: 6.177 MB / 0.8915 GB, free: 15.73 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001929/2.343, allocations: 56 kB / 0.8916 GB, free: 15.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.04008/2.383, allocations: 15.14 MB / 0.9063 GB, free: 2.836 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001777/2.384, allocations: 91.42 kB / 0.9064 GB, free: 2.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003064/2.384, allocations: 192 kB / 0.9066 GB, free: 2.562 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008448/2.392, allocations: 2.443 MB / 0.909 GB, free: 0.7617 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01127/2.404, allocations: 2.29 MB / 0.9112 GB, free: 14.86 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3761/2.78, allocations: 16.88 MB / 0.9277 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01096/2.791, allocations: 0.5741 MB / 0.9283 GB, free: 116.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002223/2.793, allocations: 0.5695 MB / 0.9288 GB, free: 116.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 885 * Number of states: 0 () * Number of discrete variables: 87 (forceAndTorque2.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque2.torqueArrow.headAtOrigin,forceAndTorque2.torqueColor[3],forceAndTorque2.torqueColor[2],forceAndTorque2.torqueColor[1],forceAndTorque2.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque2.forceArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque1.torqueArrow.headAtOrigin,forceAndTorque1.torqueColor[3],forceAndTorque1.torqueColor[2],forceAndTorque1.torqueColor[1],forceAndTorque1.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque1.forceArrow.headAtOrigin,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.torqueArrow.arrowLine.twoHeadedArrow,forceAndTorque.torqueArrow.headAtOrigin,forceAndTorque.torqueColor[3],forceAndTorque.torqueColor[2],forceAndTorque.torqueColor[1],forceAndTorque.forceArrow.arrowLine.twoHeadedArrow,forceAndTorque.forceArrow.headAtOrigin,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 (1167): * Single equations (assignments): 1161 * 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.002535/2.796, allocations: 0.8584 MB / 0.9297 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001574/2.797, allocations: 0.6824 MB / 0.9303 GB, free: 116.4 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01984/2.817, allocations: 8.708 MB / 0.9389 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.247e-05/2.817, allocations: 40.56 kB / 0.9389 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.23e-05/2.817, allocations: 10.97 kB / 0.9389 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-05/2.817, allocations: 23.78 kB / 0.9389 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.04261/2.86, allocations: 19 MB / 0.9575 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.444e-05/2.86, allocations: 0 / 0.9575 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004674/2.865, allocations: 0.6347 MB / 0.9581 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007375/2.872, allocations: 2.122 MB / 0.9602 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0007665/2.873, allocations: 61.11 kB / 0.9602 GB, free: 115.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02572/2.899, allocations: 15.68 MB / 0.9755 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.625e-06/2.899, allocations: 3.844 kB / 0.9755 GB, free: 111.3 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02728/2.926, allocations: 13.8 MB / 0.989 GB, free: 108.3 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002272/2.928, allocations: 0.748 MB / 0.9898 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002299/2.931, allocations: 63.84 kB / 0.9898 GB, free: 108.1 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00526/2.936, allocations: 278.4 kB / 0.9901 GB, free: 108 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001074/2.937, allocations: 210 kB / 0.9903 GB, free: 108 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004203/2.938, allocations: 95.72 kB / 0.9904 GB, free: 108 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01098/2.949, allocations: 4.915 MB / 0.9952 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.044e-06/2.949, allocations: 2.625 kB / 0.9952 GB, free: 106.3 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01159/2.96, allocations: 1.971 MB / 0.9971 GB, free: 106.1 MB / 0.5573 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.0009822/2.961, allocations: 224.6 kB / 0.9973 GB, free: 106 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01854/2.98, allocations: 9.936 MB / 1.007 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.226e-06/2.98, allocations: 3.594 kB / 1.007 GB, free: 102.8 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008999/2.989, allocations: 4.251 MB / 1.011 GB, free: 101.1 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005775/2.995, allocations: 0.9236 MB / 1.012 GB, free: 100.7 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03552/3.03, allocations: 15.91 MB / 1.028 GB, free: 91.25 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01197/3.042, allocations: 5.922 MB / 1.033 GB, free: 86.95 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.01135/3.054, allocations: 3.263 MB / 1.037 GB, free: 85 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002558/3.056, allocations: 460.9 kB / 1.037 GB, free: 84.58 MB / 0.5573 GB Notification: Performance of SimCode: time 2.037e-06/3.056, allocations: 0 / 1.037 GB, free: 84.58 MB / 0.5573 GB Notification: Performance of Templates: time 0.2074/3.264, allocations: 78.21 MB / 1.113 GB, free: 18.53 MB / 0.5573 GB