Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForceAndTorque,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForceAndTorque") Notification: Performance of loadModel(ModelicaTest): time 2.267/2.267, allocations: 270 MB / 282.7 MB, free: 1.898 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.114e-05/3.123e-05, allocations: 8 kB / 347 MB, free: 3.266 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3209/0.3209, allocations: 61.86 MB / 408.8 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1666/0.4876, allocations: 108.2 MB / 0.5049 GB, free: 14.45 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002537/0.4879, allocations: 75.97 kB / 0.505 GB, free: 14.37 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.8255/1.313, allocations: 161.8 MB / 0.663 GB, free: 7.883 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.45e-06/1.313, allocations: 3.938 kB / 0.663 GB, free: 7.879 MB / 474.7 MB Notification: Performance of Transformations before backend: time 0.0004916/1.314, allocations: 164 kB / 0.6631 GB, free: 7.719 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.02739/1.341, allocations: 8.044 MB / 0.671 GB, free: 15.59 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.602e-05/1.341, allocations: 15.97 kB / 0.671 GB, free: 15.58 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05104/1.392, allocations: 9.681 MB / 0.6804 GB, free: 5.871 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0287/1.421, allocations: 8.935 MB / 0.6892 GB, free: 12.85 MB / 0.4948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009257/1.422, allocations: 0.6138 MB / 0.6898 GB, free: 12.23 MB / 0.4948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003801/1.426, allocations: 0.8238 MB / 0.6906 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.05744/1.483, allocations: 19.79 MB / 0.7099 GB, free: 6.043 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0005308/1.484, allocations: 103.1 kB / 0.71 GB, free: 5.941 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003061/1.487, allocations: 391.8 kB / 0.7104 GB, free: 5.559 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003609/1.491, allocations: 1.782 MB / 0.7121 GB, free: 3.77 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.3694/1.86, allocations: 16 MB / 0.7277 GB, free: 81.76 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1628/2.023, allocations: 83.36 MB / 0.8092 GB, free: 35.08 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.03606/2.059, allocations: 8.072 MB / 0.817 GB, free: 32.56 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.007307/2.066, allocations: 4.734 MB / 0.8217 GB, free: 30.59 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002111/2.067, allocations: 63.08 kB / 0.8217 GB, free: 30.58 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/2.067, allocations: 65.5 kB / 0.8218 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=301): time 7.852e-06/2.067, allocations: 3.469 kB / 0.8218 GB, free: 30.52 MB / 0.5105 GB Notification: Performance of matching and sorting (n=364): time 0.1152/2.182, allocations: 34.03 MB / 0.855 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.992e-05/2.182, allocations: 266.1 kB / 0.8553 GB, free: 14.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01374/2.196, allocations: 6.923 MB / 0.862 GB, free: 8.16 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0007905/2.197, allocations: 77.7 kB / 0.8621 GB, free: 8.078 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003955/2.201, allocations: 5.235 MB / 0.8672 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001843/2.203, allocations: 1.375 MB / 0.8686 GB, free: 2.117 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009826/2.204, allocations: 188 kB / 0.8687 GB, free: 1.934 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005648/2.204, allocations: 0.7208 MB / 0.8694 GB, free: 1.316 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.02509/2.229, allocations: 4.989 MB / 0.8743 GB, free: 0 / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01472/2.244, allocations: 9.514 MB / 0.8836 GB, free: 4.594 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01302/2.257, allocations: 6.185 MB / 0.8896 GB, free: 15.76 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001739/2.257, allocations: 58 kB / 0.8897 GB, free: 15.71 MB / 0.5417 GB Notification: Performance of matching and sorting (n=1263) (initialization): time 0.03836/2.296, allocations: 14.82 MB / 0.9042 GB, free: 3.188 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001772/2.296, allocations: 88.19 kB / 0.9043 GB, free: 3.102 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003141/2.296, allocations: 200 kB / 0.9044 GB, free: 2.906 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.008412/2.305, allocations: 2.439 MB / 0.9068 GB, free: 1.113 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01105/2.316, allocations: 2.291 MB / 0.9091 GB, free: 15.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.3673/2.683, allocations: 16.88 MB / 0.9256 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.01068/2.694, allocations: 0.57 MB / 0.9261 GB, free: 117.3 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002477/2.696, allocations: 0.5737 MB / 0.9267 GB, free: 117.3 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.002427/2.699, allocations: 0.859 MB / 0.9275 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001634/2.7, allocations: 0.6816 MB / 0.9282 GB, free: 117.2 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01982/2.72, allocations: 8.706 MB / 0.9367 GB, free: 117 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-05/2.72, allocations: 38.47 kB / 0.9367 GB, free: 117 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.416e-05/2.72, allocations: 14.16 kB / 0.9367 GB, free: 117 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.694e-05/2.721, allocations: 20.75 kB / 0.9367 GB, free: 117 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05675/2.777, allocations: 19 MB / 0.9553 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.391e-05/2.777, allocations: 5.641 kB / 0.9553 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004465/2.782, allocations: 0.6371 MB / 0.9559 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.007644/2.79, allocations: 2.121 MB / 0.958 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0008218/2.79, allocations: 64.81 kB / 0.9581 GB, free: 116.2 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02542/2.816, allocations: 15.68 MB / 0.9734 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.811e-06/2.816, allocations: 0 / 0.9734 GB, free: 112.1 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02735/2.843, allocations: 13.8 MB / 0.9869 GB, free: 109.2 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0025/2.846, allocations: 0.7505 MB / 0.9876 GB, free: 109 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002346/2.848, allocations: 59.72 kB / 0.9876 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005162/2.853, allocations: 282.7 kB / 0.9879 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001199/2.855, allocations: 214.4 kB / 0.9881 GB, free: 108.9 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004576/2.855, allocations: 89.97 kB / 0.9882 GB, free: 108.8 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.01146/2.867, allocations: 4.917 MB / 0.993 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of sort global known variables: time 1.879e-06/2.867, allocations: 3.75 kB / 0.993 GB, free: 107.2 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.01161/2.878, allocations: 1.972 MB / 0.9949 GB, free: 107 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.001043/2.879, allocations: 222 kB / 0.9951 GB, free: 106.8 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.01912/2.898, allocations: 9.932 MB / 1.005 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 7.73e-06/2.898, allocations: 0 / 1.005 GB, free: 103.6 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.008739/2.907, allocations: 4.251 MB / 1.009 GB, free: 101.9 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005663/2.913, allocations: 0.9275 MB / 1.01 GB, free: 101.6 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03663/2.95, allocations: 16.82 MB / 1.026 GB, free: 91.6 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01191/2.962, allocations: 5.926 MB / 1.032 GB, free: 87.29 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002916/2.965, allocations: 0.514 MB / 1.033 GB, free: 86.81 MB / 0.5573 GB Notification: Performance of SimCode: time 2.358e-06/2.965, allocations: 4.672 kB / 1.033 GB, free: 86.81 MB / 0.5573 GB Notification: Performance of Templates: time 0.6064/3.571, allocations: 206 MB / 1.234 GB, free: 98.48 MB / 0.573 GB