Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Revolute1.phi|Revolute1.w|Revolute2.phi|Revolute2.w|Revolute3.phi|Revolute3.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadModel(ModelicaTest): time 2.574/2.574, allocations: 270 MB / 283.6 MB, free: 1.789 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.212e-05/3.231e-05, allocations: 4 kB / 348.4 MB, free: 2.664 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3318/0.3318, allocations: 61.88 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1662/0.498, allocations: 107 MB / 0.5052 GB, free: 15.55 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002507/0.4983, allocations: 71.97 kB / 0.5052 GB, free: 15.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7891/1.287, allocations: 132.3 MB / 0.6345 GB, free: 6.324 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.179e-06/1.288, allocations: 3.938 kB / 0.6345 GB, free: 6.32 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003688/1.288, allocations: 132 kB / 0.6346 GB, free: 6.191 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: 2214 * Number of variables: 2214 Notification: Performance of Generate backend data structure: time 0.01913/1.307, allocations: 6.343 MB / 0.6408 GB, free: 15.77 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.455e-05/1.307, allocations: 8.031 kB / 0.6408 GB, free: 15.76 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04956/1.357, allocations: 9.426 MB / 0.65 GB, free: 6.312 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02594/1.383, allocations: 8.099 MB / 0.6579 GB, free: 14.13 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006757/1.383, allocations: 484.9 kB / 0.6584 GB, free: 13.65 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003/1.386, allocations: 0.6442 MB / 0.659 GB, free: 13.01 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04084/1.427, allocations: 15.03 MB / 0.6737 GB, free: 12.53 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004141/1.428, allocations: 91.19 kB / 0.6738 GB, free: 12.44 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002155/1.43, allocations: 315.9 kB / 0.6741 GB, free: 12.13 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002632/1.433, allocations: 1.342 MB / 0.6754 GB, free: 10.78 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03193/1.465, allocations: 11.56 MB / 0.6867 GB, free: 15.2 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4217/1.886, allocations: 67.57 MB / 0.7526 GB, free: 57.25 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01644/1.903, allocations: 5.22 MB / 0.7577 GB, free: 56.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004435/1.907, allocations: 2.622 MB / 0.7603 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001421/1.907, allocations: 32.64 kB / 0.7603 GB, free: 56.52 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.054e-05/1.908, allocations: 60.62 kB / 0.7604 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 6.966e-06/1.908, allocations: 0 / 0.7604 GB, free: 56.48 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208): time 0.06152/1.969, allocations: 16.78 MB / 0.7768 GB, free: 51.39 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.948e-05/1.969, allocations: 256.8 kB / 0.777 GB, free: 51.11 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01306/1.982, allocations: 5.92 MB / 0.7828 GB, free: 50.6 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003822/1.983, allocations: 60.3 kB / 0.7829 GB, free: 50.57 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003814/1.987, allocations: 4.673 MB / 0.7874 GB, free: 48.49 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001528/1.988, allocations: 0.8281 MB / 0.7882 GB, free: 48.04 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0009495/1.989, allocations: 156.7 kB / 0.7884 GB, free: 48.04 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005545/1.99, allocations: 0.6378 MB / 0.789 GB, free: 47.72 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005031/1.995, allocations: 2.397 MB / 0.7914 GB, free: 47.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007613/2.002, allocations: 7.283 MB / 0.7985 GB, free: 41.33 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00777/2.01, allocations: 4.175 MB / 0.8025 GB, free: 41.3 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001574/2.01, allocations: 49.81 kB / 0.8026 GB, free: 41.3 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.02277/2.033, allocations: 9.539 MB / 0.8119 GB, free: 39.39 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001475/2.033, allocations: 79.47 kB / 0.812 GB, free: 39.39 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0002204/2.034, allocations: 179.9 kB / 0.8122 GB, free: 39.39 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002462/2.036, allocations: 0.7944 MB / 0.8129 GB, free: 39.25 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007381/2.043, allocations: 1.755 MB / 0.8146 GB, free: 39.03 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01095/2.054, allocations: 8.28 MB / 0.8227 GB, free: 33.24 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.008485/2.063, allocations: 411.7 kB / 0.8231 GB, free: 33.09 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001454/2.064, allocations: 488.6 kB / 0.8236 GB, free: 33.03 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 (worldForce2.arrow.arrowLine.twoHeadedArrow,worldForce2.arrow.headAtOrigin,worldForce2.color[3],worldForce2.color[2],worldForce2.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],fixed2.color[3],fixed2.color[2],fixed2.color[1],worldForce1.arrow.arrowLine.twoHeadedArrow,worldForce1.arrow.headAtOrigin,worldForce1.color[3],worldForce1.color[2],worldForce1.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],fixed1.color[3],fixed1.color[2],fixed1.color[1],worldForce.arrow.arrowLine.twoHeadedArrow,worldForce.arrow.headAtOrigin,worldForce.color[3],worldForce.color[2],worldForce.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],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 (952): * Single equations (assignments): 946 * 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%) 13,(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001741/2.066, allocations: 0.7227 MB / 0.8243 GB, free: 32.45 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001204/2.067, allocations: 0.5592 MB / 0.8248 GB, free: 32.14 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007753/2.075, allocations: 3.346 MB / 0.8281 GB, free: 30.89 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.991e-05/2.075, allocations: 26.95 kB / 0.8281 GB, free: 30.89 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.615e-05/2.075, allocations: 6.281 kB / 0.8281 GB, free: 30.89 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.993e-05/2.075, allocations: 14.06 kB / 0.8282 GB, free: 30.89 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02349/2.099, allocations: 9.503 MB / 0.8374 GB, free: 26 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.261e-05/2.099, allocations: 7.719 kB / 0.8374 GB, free: 25.99 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002126/2.101, allocations: 296 kB / 0.8377 GB, free: 25.75 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002105/2.103, allocations: 0.4972 MB / 0.8382 GB, free: 25.38 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000352/2.104, allocations: 32 kB / 0.8382 GB, free: 25.35 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009444/2.113, allocations: 7.387 MB / 0.8455 GB, free: 18.22 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/2.113, allocations: 7.969 kB / 0.8455 GB, free: 18.21 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01068/2.124, allocations: 6.163 MB / 0.8515 GB, free: 12.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001907/2.126, allocations: 0.6188 MB / 0.8521 GB, free: 12.08 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001447/2.127, allocations: 32 kB / 0.8521 GB, free: 12.05 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003245/2.13, allocations: 106.8 kB / 0.8522 GB, free: 11.98 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000495/2.131, allocations: 130.3 kB / 0.8523 GB, free: 11.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002062/2.131, allocations: 55.06 kB / 0.8524 GB, free: 11.85 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.009043/2.14, allocations: 4.216 MB / 0.8565 GB, free: 8.137 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.26e-06/2.14, allocations: 0 / 0.8565 GB, free: 8.137 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008857/2.149, allocations: 1.382 MB / 0.8579 GB, free: 6.758 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,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 (160): * Single equations (assignments): 154 * 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%) 10,(1,100.0%) 10,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005809/2.15, allocations: 184.8 kB / 0.858 GB, free: 6.582 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01072/2.161, allocations: 5.901 MB / 0.8638 GB, free: 1.215 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.48e-06/2.161, allocations: 8 kB / 0.8638 GB, free: 1.207 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003357/2.164, allocations: 1.898 MB / 0.8657 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004974/2.169, allocations: 0.7561 MB / 0.8664 GB, free: 14.84 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02861/2.198, allocations: 10.94 MB / 0.8771 GB, free: 5.086 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01093/2.209, allocations: 4.766 MB / 0.8817 GB, free: 1.578 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.009581/2.218, allocations: 2.544 MB / 0.8842 GB, free: 0 / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001632/2.22, allocations: 364.1 kB / 0.8846 GB, free: 15.66 MB / 0.5417 GB Notification: Performance of SimCode: time 1.949e-06/2.22, allocations: 3.938 kB / 0.8846 GB, free: 15.65 MB / 0.5417 GB Notification: Performance of Templates: time 0.1525/2.372, allocations: 49.85 MB / 0.9333 GB, free: 4.566 MB / 0.573 GB