Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces") Notification: Performance of loadModel(ModelicaTest): time 2.329/2.329, allocations: 270 MB / 282.7 MB, free: 1.75 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.776e-05/3.781e-05, allocations: 3.984 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3273, allocations: 61.88 MB / 408.9 MB, free: 10.64 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1675/0.4949, allocations: 109 MB / 0.5057 GB, free: 13.52 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002388/0.4952, allocations: 75.95 kB / 0.5058 GB, free: 13.44 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7526/1.248, allocations: 141.3 MB / 0.6438 GB, free: 11.31 MB / 458.7 MB Notification: Performance of FrontEnd: time 3.02e-06/1.248, allocations: 4 kB / 0.6438 GB, free: 11.3 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.000501/1.248, allocations: 151.9 kB / 0.6439 GB, free: 11.15 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 2429 * Number of variables: 2429 Notification: Performance of Generate backend data structure: time 0.02351/1.272, allocations: 6.874 MB / 0.6506 GB, free: 4.195 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/1.272, allocations: 8.031 kB / 0.6506 GB, free: 4.188 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.05005/1.322, allocations: 9.511 MB / 0.6599 GB, free: 10.65 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02709/1.349, allocations: 8.366 MB / 0.6681 GB, free: 2.203 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007938/1.35, allocations: 0.5216 MB / 0.6686 GB, free: 1.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003051/1.353, allocations: 0.7028 MB / 0.6693 GB, free: 0.9766 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04525/1.398, allocations: 16.43 MB / 0.6853 GB, free: 14.98 MB / 0.4948 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0004308/1.399, allocations: 103 kB / 0.6854 GB, free: 14.88 MB / 0.4948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002054/1.401, allocations: 343.8 kB / 0.6858 GB, free: 14.54 MB / 0.4948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002941/1.404, allocations: 1.495 MB / 0.6872 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03452/1.438, allocations: 12.72 MB / 0.6996 GB, free: 316 kB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.7281/2.167, allocations: 75.41 MB / 0.7733 GB, free: 43.27 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02019/2.187, allocations: 6.255 MB / 0.7794 GB, free: 42.55 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005414/2.192, allocations: 3.449 MB / 0.7828 GB, free: 42.5 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001549/2.192, allocations: 45 kB / 0.7828 GB, free: 42.5 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.309e-05/2.192, allocations: 65.19 kB / 0.7829 GB, free: 42.46 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=229): time 8.003e-06/2.193, allocations: 7.641 kB / 0.7829 GB, free: 42.46 MB / 0.5105 GB Notification: Performance of matching and sorting (n=262): time 0.07924/2.272, allocations: 24.12 MB / 0.8064 GB, free: 35.86 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.892e-05/2.272, allocations: 285.3 kB / 0.8067 GB, free: 35.55 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01316/2.285, allocations: 6.242 MB / 0.8128 GB, free: 35.02 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004973/2.286, allocations: 68.22 kB / 0.8129 GB, free: 34.99 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.003152/2.289, allocations: 4.717 MB / 0.8175 GB, free: 32.72 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001215/2.29, allocations: 1.025 MB / 0.8185 GB, free: 32.14 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006136/2.291, allocations: 169.4 kB / 0.8186 GB, free: 32.01 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004712/2.291, allocations: 0.6708 MB / 0.8193 GB, free: 31.54 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006069/2.297, allocations: 3.02 MB / 0.8222 GB, free: 30.54 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008886/2.306, allocations: 8.211 MB / 0.8303 GB, free: 22.5 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00909/2.315, allocations: 4.943 MB / 0.8351 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001271/2.315, allocations: 56.73 kB / 0.8351 GB, free: 21.09 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1118) (initialization): time 0.02605/2.341, allocations: 11.36 MB / 0.8462 GB, free: 17.93 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001359/2.342, allocations: 94.41 kB / 0.8463 GB, free: 17.93 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001987/2.342, allocations: 185.5 kB / 0.8465 GB, free: 17.93 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004321/2.346, allocations: 1.355 MB / 0.8478 GB, free: 17.68 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008095/2.354, allocations: 1.979 MB / 0.8498 GB, free: 16.86 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01521/2.37, allocations: 11.23 MB / 0.8607 GB, free: 6.469 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.009049/2.379, allocations: 473.1 kB / 0.8612 GB, free: 6.059 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00167/2.38, allocations: 0.5162 MB / 0.8617 GB, free: 5.555 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 848 * Number of states: 0 () * Number of discrete variables: 71 (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],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],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 (1043): * Single equations (assignments): 1037 * 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%) 14,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001439/2.382, allocations: 0.7827 MB / 0.8624 GB, free: 4.773 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001278/2.383, allocations: 0.6009 MB / 0.863 GB, free: 4.168 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01167/2.395, allocations: 5.27 MB / 0.8682 GB, free: 15.99 MB / 0.5262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.36e-05/2.395, allocations: 35.16 kB / 0.8682 GB, free: 15.96 MB / 0.5262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.164e-05/2.395, allocations: 8 kB / 0.8682 GB, free: 15.95 MB / 0.5262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-05/2.395, allocations: 11.2 kB / 0.8682 GB, free: 15.95 MB / 0.5262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0323/2.427, allocations: 12.89 MB / 0.8808 GB, free: 5.52 MB / 0.5262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.611e-05/2.427, allocations: 0 / 0.8808 GB, free: 5.52 MB / 0.5262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002878/2.43, allocations: 422.9 kB / 0.8812 GB, free: 5.188 MB / 0.5262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003929/2.434, allocations: 1.045 MB / 0.8822 GB, free: 4.434 MB / 0.5262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005153/2.435, allocations: 50.67 kB / 0.8823 GB, free: 4.387 MB / 0.5262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01763/2.452, allocations: 10.2 MB / 0.8922 GB, free: 10.88 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.671e-06/2.453, allocations: 0 / 0.8922 GB, free: 10.88 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01871/2.471, allocations: 8.974 MB / 0.901 GB, free: 2.922 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002256/2.474, allocations: 0.6562 MB / 0.9017 GB, free: 2.266 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001573/2.475, allocations: 43.59 kB / 0.9017 GB, free: 2.227 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003693/2.479, allocations: 154.3 kB / 0.9018 GB, free: 2.125 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007004/2.48, allocations: 160.6 kB / 0.902 GB, free: 2.031 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002952/2.48, allocations: 64 kB / 0.9021 GB, free: 1.969 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.01843/2.498, allocations: 4.856 MB / 0.9068 GB, free: 15.11 MB / 0.5574 GB Notification: Performance of sort global known variables: time 1.118e-06/2.498, allocations: 0 / 0.9068 GB, free: 15.11 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.01041/2.509, allocations: 1.591 MB / 0.9084 GB, free: 13.52 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 8 (Revolute3.phi,Revolute3.w,Revolute4.phi,Revolute4.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 (204): * Single equations (assignments): 198 * 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,(1,100.0%) 11,(1,100.0%) 10} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000647/2.509, allocations: 197.2 kB / 0.9085 GB, free: 13.34 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.01559/2.525, allocations: 7.392 MB / 0.9158 GB, free: 6.641 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 6.481e-06/2.525, allocations: 0 / 0.9158 GB, free: 6.641 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.005694/2.531, allocations: 2.711 MB / 0.9184 GB, free: 4.176 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004777/2.536, allocations: 0.8112 MB / 0.9192 GB, free: 3.504 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3471/2.883, allocations: 13.44 MB / 0.9323 GB, free: 135.3 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009352/2.892, allocations: 5.165 MB / 0.9374 GB, free: 134.4 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002192/2.894, allocations: 451.2 kB / 0.9378 GB, free: 134.4 MB / 0.5574 GB Notification: Performance of SimCode: time 1.748e-06/2.894, allocations: 0 / 0.9378 GB, free: 134.4 MB / 0.5574 GB Notification: Performance of Templates: time 0.2294/3.124, allocations: 175 MB / 1.109 GB, free: 15.32 MB / 0.5574 GB