Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForces,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForces") Notification: Performance of loadModel(ModelicaTest): time 2.309/2.309, allocations: 270 MB / 282.7 MB, free: 1.801 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.513e-05/3.524e-05, allocations: 4 kB / 347 MB, free: 3.168 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3529/0.3529, allocations: 61.87 MB / 408.8 MB, free: 10.79 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2107/0.5637, allocations: 108.1 MB / 0.5048 GB, free: 14.56 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002225/0.5639, allocations: 83.94 kB / 0.5049 GB, free: 14.48 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6529/1.217, allocations: 108 MB / 0.6104 GB, free: 19.05 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.064e-06/1.217, allocations: 0 / 0.6104 GB, free: 19.05 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002594/1.217, allocations: 104 kB / 0.6105 GB, free: 18.95 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: 1784 * Number of variables: 1784 Notification: Performance of Generate backend data structure: time 0.01443/1.232, allocations: 5.143 MB / 0.6155 GB, free: 13.77 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/1.232, allocations: 8.031 kB / 0.6155 GB, free: 13.76 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03289/1.265, allocations: 6.876 MB / 0.6222 GB, free: 6.867 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01756/1.282, allocations: 6.383 MB / 0.6285 GB, free: 0.5156 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003384/1.283, allocations: 384.6 kB / 0.6288 GB, free: 176 kB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002047/1.285, allocations: 0.495 MB / 0.6293 GB, free: 15.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.03182/1.317, allocations: 12.25 MB / 0.6413 GB, free: 2.305 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002756/1.317, allocations: 83.23 kB / 0.6414 GB, free: 2.223 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001142/1.318, allocations: 242.9 kB / 0.6416 GB, free: 2.016 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002065/1.32, allocations: 1.132 MB / 0.6427 GB, free: 0.8867 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02625/1.346, allocations: 9.45 MB / 0.6519 GB, free: 7.43 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08281/1.429, allocations: 56.32 MB / 0.7069 GB, free: 13.57 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01489/1.444, allocations: 4.313 MB / 0.7111 GB, free: 9.105 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003819/1.448, allocations: 1.943 MB / 0.713 GB, free: 7.152 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01453/1.463, allocations: 6.207 MB / 0.7191 GB, free: 0.8828 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.027e-05/1.463, allocations: 47.56 kB / 0.7191 GB, free: 0.8281 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=154): time 5.924e-06/1.463, allocations: 7.938 kB / 0.7191 GB, free: 0.8203 MB / 0.5261 GB Notification: Performance of matching and sorting (n=166): time 0.3491/1.812, allocations: 12.07 MB / 0.7309 GB, free: 132.3 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.03e-05/1.812, allocations: 203.4 kB / 0.7311 GB, free: 132 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01006/1.822, allocations: 4.956 MB / 0.736 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 0.0002859/1.822, allocations: 47.56 kB / 0.736 GB, free: 131.6 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.00276/1.825, allocations: 3.664 MB / 0.7396 GB, free: 129.8 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 0.000792/1.826, allocations: 0.6691 MB / 0.7402 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005109/1.826, allocations: 138.1 kB / 0.7404 GB, free: 129.5 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0004076/1.827, allocations: 0.5907 MB / 0.741 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003924/1.831, allocations: 1.951 MB / 0.7429 GB, free: 129.1 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.006203/1.837, allocations: 6.191 MB / 0.7489 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006501/1.844, allocations: 3.482 MB / 0.7523 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001319/1.844, allocations: 45.16 kB / 0.7524 GB, free: 123.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=865) (initialization): time 0.01796/1.862, allocations: 7.673 MB / 0.7598 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001116/1.862, allocations: 71.53 kB / 0.7599 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001631/1.862, allocations: 151.4 kB / 0.7601 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001602/1.864, allocations: 0.5857 MB / 0.7606 GB, free: 123.1 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006061/1.87, allocations: 1.501 MB / 0.7621 GB, free: 123 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007466/1.877, allocations: 5.59 MB / 0.7676 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006773/1.884, allocations: 340.9 kB / 0.7679 GB, free: 120.2 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001257/1.885, allocations: 421.6 kB / 0.7683 GB, free: 120.2 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 697 * Number of states: 0 () * Number of discrete variables: 49 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],frameForce2.arrow.arrowLine.twoHeadedArrow,frameForce2.arrow.headAtOrigin,frameForce2.color[3],frameForce2.color[2],frameForce2.color[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],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameForce1.arrow.arrowLine.twoHeadedArrow,frameForce1.arrow.headAtOrigin,frameForce1.color[3],frameForce1.color[2],frameForce1.color[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],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 (815): * Single equations (assignments): 810 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 13,(1,100.0%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001133/1.887, allocations: 0.6263 MB / 0.7689 GB, free: 119.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/1.888, allocations: 465.1 kB / 0.7693 GB, free: 119.6 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00571/1.893, allocations: 2.447 MB / 0.7717 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.283e-05/1.893, allocations: 25.44 kB / 0.7717 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.262e-05/1.893, allocations: 6.312 kB / 0.7718 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.343e-05/1.893, allocations: 10 kB / 0.7718 GB, free: 119.2 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01607/1.91, allocations: 7.139 MB / 0.7787 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.669e-05/1.91, allocations: 3.281 kB / 0.7787 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001548/1.911, allocations: 230.2 kB / 0.779 GB, free: 116.5 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00137/1.913, allocations: 338.9 kB / 0.7793 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001654/1.913, allocations: 31 kB / 0.7793 GB, free: 116.4 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006308/1.919, allocations: 4.943 MB / 0.7841 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.484e-06/1.919, allocations: 3.281 kB / 0.7841 GB, free: 112.8 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00808/1.927, allocations: 5.077 MB / 0.7891 GB, free: 110.2 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001673/1.929, allocations: 0.5226 MB / 0.7896 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007328/1.93, allocations: 31.41 kB / 0.7896 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001932/1.932, allocations: 68.5 kB / 0.7897 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002668/1.932, allocations: 99.59 kB / 0.7898 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001611/1.932, allocations: 52.31 kB / 0.7899 GB, free: 109.8 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.00736/1.939, allocations: 3.527 MB / 0.7933 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.196e-06/1.939, allocations: 1.625 kB / 0.7933 GB, free: 108.6 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.007706/1.947, allocations: 1.113 MB / 0.7944 GB, free: 108.4 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 4 (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 (126): * Single equations (assignments): 121 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(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.00047/1.948, allocations: 180.3 kB / 0.7946 GB, free: 108.3 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.008422/1.956, allocations: 4.72 MB / 0.7992 GB, free: 104 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 7.674e-06/1.956, allocations: 0 / 0.7992 GB, free: 104 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.002088/1.958, allocations: 1.369 MB / 0.8005 GB, free: 102.8 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003274/1.962, allocations: 0.5952 MB / 0.8011 GB, free: 102.3 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01897/1.981, allocations: 9.273 MB / 0.8101 GB, free: 94.04 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006325/1.987, allocations: 3.967 MB / 0.814 GB, free: 91.09 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001351/1.988, allocations: 341.7 kB / 0.8143 GB, free: 90.76 MB / 0.5261 GB Notification: Performance of SimCode: time 1.769e-06/1.988, allocations: 0 / 0.8143 GB, free: 90.76 MB / 0.5261 GB Notification: Performance of Templates: time 0.4591/2.447, allocations: 107.7 MB / 0.9195 GB, free: 141.7 MB / 0.5417 GB