Running command: translateModel(ModelicaTest.MultiBody.Forces.WorldForces2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.WorldForces2") Notification: Performance of loadModel(ModelicaTest): time 2.343/2.343, allocations: 270 MB / 282.6 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 2.993e-05/3.032e-05, allocations: 4 kB / 347 MB, free: 3.285 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3181/0.3181, allocations: 61.87 MB / 408.8 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1622/0.4804, allocations: 107 MB / 0.5037 GB, free: 15.65 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/0.4807, allocations: 75.97 kB / 0.5038 GB, free: 15.58 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6947/1.175, allocations: 132.3 MB / 0.633 GB, free: 6.461 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.45e-06/1.175, allocations: 0 / 0.633 GB, free: 6.461 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003741/1.176, allocations: 132 kB / 0.6332 GB, free: 6.332 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.01838/1.194, allocations: 6.35 MB / 0.6394 GB, free: 15.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.194, allocations: 8.031 kB / 0.6394 GB, free: 15.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.04878/1.243, allocations: 9.422 MB / 0.6486 GB, free: 6.449 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02491/1.268, allocations: 8.103 MB / 0.6565 GB, free: 14.26 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005767/1.269, allocations: 488.9 kB / 0.657 GB, free: 13.78 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002157/1.271, allocations: 0.6364 MB / 0.6576 GB, free: 13.14 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03689/1.308, allocations: 15.03 MB / 0.6723 GB, free: 12.67 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003313/1.308, allocations: 91.19 kB / 0.6723 GB, free: 12.58 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001268/1.309, allocations: 315.8 kB / 0.6727 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002403/1.312, allocations: 1.345 MB / 0.674 GB, free: 10.92 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03084/1.343, allocations: 11.56 MB / 0.6853 GB, free: 15.34 MB / 0.4948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.5051/1.848, allocations: 67.57 MB / 0.7512 GB, free: 57.2 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01716/1.865, allocations: 5.23 MB / 0.7563 GB, free: 56.5 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004235/1.869, allocations: 2.609 MB / 0.7589 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001197/1.869, allocations: 40.48 kB / 0.7589 GB, free: 56.46 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.004e-05/1.869, allocations: 60.88 kB / 0.759 GB, free: 56.43 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=190): time 6.532e-06/1.87, allocations: 0 / 0.759 GB, free: 56.43 MB / 0.5105 GB Notification: Performance of matching and sorting (n=208): time 0.05571/1.925, allocations: 16.78 MB / 0.7754 GB, free: 51.34 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.534e-05/1.925, allocations: 265.9 kB / 0.7756 GB, free: 51.05 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01012/1.935, allocations: 5.915 MB / 0.7814 GB, free: 50.55 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0003395/1.936, allocations: 60.72 kB / 0.7815 GB, free: 50.52 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002794/1.939, allocations: 4.414 MB / 0.7858 GB, free: 48.38 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008183/1.94, allocations: 0.8295 MB / 0.7866 GB, free: 47.92 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004224/1.94, allocations: 156 kB / 0.7867 GB, free: 47.92 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004351/1.94, allocations: 0.6442 MB / 0.7874 GB, free: 47.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004436/1.945, allocations: 2.394 MB / 0.7897 GB, free: 47.58 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006578/1.951, allocations: 7.285 MB / 0.7968 GB, free: 41.21 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007472/1.959, allocations: 4.169 MB / 0.8009 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001364/1.959, allocations: 52.22 kB / 0.8009 GB, free: 41.18 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1015) (initialization): time 0.02115/1.98, allocations: 9.276 MB / 0.81 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001287/1.98, allocations: 77.81 kB / 0.8101 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001832/1.981, allocations: 175.4 kB / 0.8102 GB, free: 39.63 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002416/1.983, allocations: 0.7978 MB / 0.811 GB, free: 39.49 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007036/1.99, allocations: 1.753 MB / 0.8127 GB, free: 39.27 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01082/2.001, allocations: 8.284 MB / 0.8208 GB, free: 33.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007706/2.009, allocations: 412.3 kB / 0.8212 GB, free: 33.33 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001095/2.01, allocations: 486 kB / 0.8217 GB, free: 33.27 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.001231/2.011, allocations: 0.7192 MB / 0.8224 GB, free: 32.69 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009844/2.012, allocations: 0.5564 MB / 0.8229 GB, free: 32.38 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007253/2.019, allocations: 3.357 MB / 0.8262 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.082e-05/2.019, allocations: 21.75 kB / 0.8262 GB, free: 31.13 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.682e-05/2.019, allocations: 11.45 kB / 0.8262 GB, free: 31.12 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.44e-05/2.02, allocations: 10.88 kB / 0.8262 GB, free: 31.12 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02161/2.041, allocations: 9.51 MB / 0.8355 GB, free: 26.48 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/2.041, allocations: 4 kB / 0.8355 GB, free: 26.47 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001793/2.043, allocations: 294.9 kB / 0.8358 GB, free: 26.23 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001818/2.045, allocations: 0.4992 MB / 0.8363 GB, free: 25.86 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002167/2.045, allocations: 32 kB / 0.8363 GB, free: 25.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008782/2.054, allocations: 7.389 MB / 0.8435 GB, free: 18.69 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.309e-06/2.054, allocations: 3.953 kB / 0.8435 GB, free: 18.69 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/2.064, allocations: 6.167 MB / 0.8496 GB, free: 13.17 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001808/2.066, allocations: 0.6197 MB / 0.8502 GB, free: 12.56 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0008748/2.067, allocations: 32 kB / 0.8502 GB, free: 12.53 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002378/2.069, allocations: 108.3 kB / 0.8503 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003454/2.07, allocations: 120.3 kB / 0.8504 GB, free: 12.38 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001981/2.07, allocations: 52 kB / 0.8505 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.007996/2.078, allocations: 4.212 MB / 0.8546 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.163e-06/2.078, allocations: 0 / 0.8546 GB, free: 8.625 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.008458/2.086, allocations: 1.388 MB / 0.8559 GB, free: 7.242 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.0005159/2.087, allocations: 182.2 kB / 0.8561 GB, free: 7.07 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01045/2.097, allocations: 5.912 MB / 0.8619 GB, free: 1.699 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 6.632e-06/2.097, allocations: 4 kB / 0.8619 GB, free: 1.695 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.003052/2.1, allocations: 1.897 MB / 0.8637 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004429/2.105, allocations: 0.7607 MB / 0.8645 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02735/2.132, allocations: 11.65 MB / 0.8759 GB, free: 4.977 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008773/2.141, allocations: 4.775 MB / 0.8805 GB, free: 1.465 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001817/2.143, allocations: 410.4 kB / 0.8809 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of SimCode: time 1.788e-06/2.143, allocations: 0 / 0.8809 GB, free: 1.074 MB / 0.5261 GB Notification: Performance of Templates: time 0.5777/2.721, allocations: 159.9 MB / 1.037 GB, free: 108.8 MB / 0.573 GB