Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameForcesAndTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameForcesAndTorques") Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 270 MB / 282.7 MB, free: 1.758 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.414e-05/3.42e-05, allocations: 4 kB / 347 MB, free: 3.156 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3645/0.3645, allocations: 61.88 MB / 408.8 MB, free: 10.75 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1656/0.5301, allocations: 109.5 MB / 0.5062 GB, free: 13.09 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.5304, allocations: 75.97 kB / 0.5063 GB, free: 13.01 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6998/1.23, allocations: 127.6 MB / 0.6308 GB, free: 8.785 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.188e-06/1.23, allocations: 0 / 0.6308 GB, free: 8.785 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.000364/1.231, allocations: 128 kB / 0.631 GB, free: 8.66 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: 2215 * Number of variables: 2215 Notification: Performance of Generate backend data structure: time 0.01962/1.25, allocations: 6.291 MB / 0.6371 GB, free: 2.289 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.649e-05/1.25, allocations: 12.03 kB / 0.6371 GB, free: 2.277 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03762/1.288, allocations: 7.062 MB / 0.644 GB, free: 11.19 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02255/1.311, allocations: 6.937 MB / 0.6508 GB, free: 4.168 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007184/1.311, allocations: 480.5 kB / 0.6512 GB, free: 3.695 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002903/1.314, allocations: 0.6285 MB / 0.6519 GB, free: 3.066 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04401/1.358, allocations: 15.51 MB / 0.667 GB, free: 2.215 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003565/1.359, allocations: 83.19 kB / 0.6671 GB, free: 2.133 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002029/1.361, allocations: 307.8 kB / 0.6674 GB, free: 1.832 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002808/1.364, allocations: 1.42 MB / 0.6688 GB, free: 420 kB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03544/1.399, allocations: 12.51 MB / 0.681 GB, free: 3.879 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4625/1.862, allocations: 66.91 MB / 0.7463 GB, free: 60.33 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02198/1.884, allocations: 6.318 MB / 0.7525 GB, free: 59.64 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005223/1.889, allocations: 3.352 MB / 0.7558 GB, free: 59.6 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01595/1.905, allocations: 7.977 MB / 0.7636 GB, free: 58.23 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.869e-05/1.905, allocations: 64.67 kB / 0.7636 GB, free: 58.2 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=227): time 7.63e-06/1.905, allocations: 3.469 kB / 0.7636 GB, free: 58.2 MB / 0.5105 GB Notification: Performance of matching and sorting (n=269): time 0.08572/1.991, allocations: 24.81 MB / 0.7879 GB, free: 53.22 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.653e-05/1.991, allocations: 239.6 kB / 0.7881 GB, free: 52.97 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01023/2.001, allocations: 5.631 MB / 0.7936 GB, free: 52.47 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005354/2.002, allocations: 66.02 kB / 0.7937 GB, free: 52.44 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.00274/2.004, allocations: 4.195 MB / 0.7978 GB, free: 49.98 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0012/2.006, allocations: 1.024 MB / 0.7988 GB, free: 49.23 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006161/2.006, allocations: 162.2 kB / 0.7989 GB, free: 49.11 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004609/2.007, allocations: 0.6438 MB / 0.7995 GB, free: 48.66 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005913/2.013, allocations: 3.065 MB / 0.8025 GB, free: 47.62 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008698/2.021, allocations: 7.712 MB / 0.8101 GB, free: 40.3 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009035/2.031, allocations: 4.819 MB / 0.8148 GB, free: 38.91 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001071/2.031, allocations: 47 kB / 0.8148 GB, free: 38.91 MB / 0.5105 GB Notification: Performance of matching and sorting (n=1032) (initialization): time 0.02632/2.057, allocations: 11.38 MB / 0.8259 GB, free: 35.85 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001238/2.057, allocations: 79.84 kB / 0.826 GB, free: 35.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001766/2.057, allocations: 171.9 kB / 0.8262 GB, free: 35.61 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004899/2.062, allocations: 1.675 MB / 0.8278 GB, free: 34.36 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007639/2.07, allocations: 1.851 MB / 0.8296 GB, free: 32.82 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01631/2.086, allocations: 11.37 MB / 0.8407 GB, free: 22.61 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007981/2.094, allocations: 462.4 kB / 0.8412 GB, free: 22.22 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001357/2.096, allocations: 484.8 kB / 0.8416 GB, free: 21.77 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 755 * Number of states: 0 () * Number of discrete variables: 65 (FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[1],Revolute4.cylinderColor[3],Revolute4.cylinderColor[2],Revolute4.cylinderColor[1],Revolute3.cylinderColor[3],Revolute3.cylinderColor[2],Revolute3.cylinderColor[1],Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.torqueArrow.arrowLine.twoHeadedArrow,frameTorque2.torqueArrow.headAtOrigin,frameTorque2.torqueColor[3],frameTorque2.torqueColor[2],frameTorque2.torqueColor[1],frameTorque2.forceArrow.arrowLine.twoHeadedArrow,frameTorque2.forceArrow.headAtOrigin,frameTorque2.forceColor[3],frameTorque2.forceColor[2],frameTorque2.forceColor[1],frameTorque1.torqueArrow.arrowLine.twoHeadedArrow,frameTorque1.torqueArrow.headAtOrigin,frameTorque1.torqueColor[3],frameTorque1.torqueColor[2],frameTorque1.torqueColor[1],frameTorque1.forceArrow.arrowLine.twoHeadedArrow,frameTorque1.forceArrow.headAtOrigin,frameTorque1.forceColor[3],frameTorque1.forceColor[2],frameTorque1.forceColor[1],fixed2.color[3],fixed2.color[2],fixed2.color[1],body2.color[3],body2.color[2],body2.color[1],body2.body.sphereColor[3],body2.body.sphereColor[2],body2.body.sphereColor[1],fixed1.color[3],fixed1.color[2],fixed1.color[1],body1.color[3],body1.color[2],body1.color[1],body1.body.sphereColor[3],body1.body.sphereColor[2],body1.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 (960): * Single equations (assignments): 955 * 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 {(2,100.0%) 23,(2,100.0%) 23} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001379/2.097, allocations: 0.7169 MB / 0.8423 GB, free: 21.05 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001105/2.098, allocations: 0.5437 MB / 0.8429 GB, free: 20.5 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01233/2.111, allocations: 6.023 MB / 0.8487 GB, free: 15.68 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.649e-05/2.111, allocations: 28 kB / 0.8488 GB, free: 15.66 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.584e-05/2.111, allocations: 8 kB / 0.8488 GB, free: 15.65 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.166e-05/2.111, allocations: 25.3 kB / 0.8488 GB, free: 15.64 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.03082/2.142, allocations: 13.6 MB / 0.8621 GB, free: 4.695 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-05/2.142, allocations: 4 kB / 0.8621 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00319/2.145, allocations: 491.9 kB / 0.8625 GB, free: 4.324 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004846/2.15, allocations: 1.416 MB / 0.8639 GB, free: 3.328 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005616/2.15, allocations: 44 kB / 0.864 GB, free: 3.285 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01863/2.169, allocations: 10.59 MB / 0.8743 GB, free: 9.805 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.404e-06/2.169, allocations: 4 kB / 0.8743 GB, free: 9.801 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02185/2.191, allocations: 10.32 MB / 0.8844 GB, free: 0.6289 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002175/2.193, allocations: 0.6244 MB / 0.885 GB, free: 8 kB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002128/2.195, allocations: 50.72 kB / 0.8851 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004915/2.2, allocations: 231 kB / 0.8853 GB, free: 0 / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001624/2.202, allocations: 212.1 kB / 0.8855 GB, free: 15.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003461/2.202, allocations: 72 kB / 0.8855 GB, free: 15.91 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.01063/2.213, allocations: 4.021 MB / 0.8895 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.016e-06/2.213, allocations: 0 / 0.8895 GB, free: 12.37 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.01049/2.223, allocations: 1.505 MB / 0.8909 GB, free: 10.87 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (Revolute1.phi,Revolute1.w,Revolute3.phi,Revolute3.w,Revolute2.phi,Revolute2.w,Revolute4.phi,Revolute4.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (211): * Single equations (assignments): 206 * 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 {(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.0009229/2.224, allocations: 197.4 kB / 0.8911 GB, free: 10.68 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.01675/2.241, allocations: 7.423 MB / 0.8984 GB, free: 3.844 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 8.527e-06/2.241, allocations: 4.062 kB / 0.8984 GB, free: 3.84 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.007491/2.249, allocations: 3.022 MB / 0.9013 GB, free: 0.8008 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004801/2.254, allocations: 0.7089 MB / 0.902 GB, free: 128 kB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03364/2.287, allocations: 12.78 MB / 0.9145 GB, free: 3.293 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01137/2.299, allocations: 4.739 MB / 0.9191 GB, free: 14.55 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002345/2.301, allocations: 423.4 kB / 0.9195 GB, free: 14.14 MB / 0.573 GB Notification: Performance of SimCode: time 1.935e-06/2.301, allocations: 0 / 0.9195 GB, free: 14.14 MB / 0.573 GB Notification: Performance of Templates: time 0.5193/2.82, allocations: 135.1 MB / 1.051 GB, free: 97.2 MB / 0.573 GB