Running command: translateModel(ModelicaTest.MultiBody.Forces.FrameTorques,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Forces.FrameTorques") Notification: Performance of loadModel(ModelicaTest): time 2.344/2.344, allocations: 270 MB / 282.7 MB, free: 1.754 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 4.878e-05/4.905e-05, allocations: 4 kB / 347 MB, free: 3.137 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3312/0.3313, allocations: 61.88 MB / 408.8 MB, free: 10.76 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1638/0.4951, allocations: 108.1 MB / 0.5048 GB, free: 14.5 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002405/0.4953, allocations: 83.95 kB / 0.5049 GB, free: 14.42 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6231/1.118, allocations: 108.2 MB / 0.6105 GB, free: 29.65 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.043e-06/1.119, allocations: 0 / 0.6105 GB, free: 29.65 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002367/1.119, allocations: 100 kB / 0.6106 GB, free: 29.55 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: 1787 * Number of variables: 1787 Notification: Performance of Generate backend data structure: time 0.01261/1.131, allocations: 5.152 MB / 0.6157 GB, free: 24.33 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.12e-05/1.131, allocations: 8.031 kB / 0.6157 GB, free: 24.32 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.03532/1.167, allocations: 6.88 MB / 0.6224 GB, free: 17.43 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01744/1.184, allocations: 6.384 MB / 0.6286 GB, free: 10.98 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003274/1.185, allocations: 382.1 kB / 0.629 GB, free: 10.61 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001648/1.186, allocations: 0.5036 MB / 0.6295 GB, free: 10.11 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02676/1.213, allocations: 12.28 MB / 0.6415 GB, free: 12.59 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002573/1.213, allocations: 71.34 kB / 0.6415 GB, free: 12.52 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001127/1.215, allocations: 251.9 kB / 0.6418 GB, free: 12.27 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.002089/1.217, allocations: 1.129 MB / 0.6429 GB, free: 11.14 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0257/1.242, allocations: 9.458 MB / 0.6521 GB, free: 1.676 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08116/1.324, allocations: 56.39 MB / 0.7072 GB, free: 7.508 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01479/1.338, allocations: 4.234 MB / 0.7113 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003658/1.342, allocations: 1.916 MB / 0.7132 GB, free: 1.188 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 0.3139/1.656, allocations: 5.629 MB / 0.7187 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/1.656, allocations: 52.42 kB / 0.7187 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=150): time 5.873e-06/1.656, allocations: 2.562 kB / 0.7188 GB, free: 119.5 MB / 0.5105 GB Notification: Performance of matching and sorting (n=162): time 0.0402/1.696, allocations: 12.93 MB / 0.7314 GB, free: 115.7 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.685e-05/1.696, allocations: 227.8 kB / 0.7316 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009578/1.706, allocations: 4.961 MB / 0.7364 GB, free: 115 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0002786/1.706, allocations: 48.64 kB / 0.7365 GB, free: 115 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002689/1.709, allocations: 3.677 MB / 0.7401 GB, free: 113.1 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007131/1.71, allocations: 0.6537 MB / 0.7407 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003973/1.71, allocations: 133.1 kB / 0.7408 GB, free: 112.7 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0003848/1.711, allocations: 0.5838 MB / 0.7414 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003425/1.714, allocations: 1.927 MB / 0.7433 GB, free: 112.4 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005291/1.719, allocations: 6.17 MB / 0.7493 GB, free: 106.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005955/1.725, allocations: 3.459 MB / 0.7527 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001001/1.725, allocations: 44.22 kB / 0.7527 GB, free: 106.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=861) (initialization): time 0.0166/1.742, allocations: 7.633 MB / 0.7602 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001124/1.742, allocations: 73.03 kB / 0.7603 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001689/1.742, allocations: 153.3 kB / 0.7604 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001691/1.744, allocations: 0.6019 MB / 0.761 GB, free: 106.4 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006229/1.75, allocations: 1.492 MB / 0.7625 GB, free: 106.2 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007113/1.758, allocations: 5.706 MB / 0.768 GB, free: 102.6 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006383/1.764, allocations: 349.7 kB / 0.7684 GB, free: 102.4 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001013/1.765, allocations: 421.4 kB / 0.7688 GB, free: 102.4 MB / 0.5105 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 (Revolute2.cylinderColor[3],Revolute2.cylinderColor[2],Revolute2.cylinderColor[1],frameTorque2.arrow.arrowLine.twoHeadedArrow,frameTorque2.arrow.headAtOrigin,frameTorque2.color[3],frameTorque2.color[2],frameTorque2.color[1],frameTorque1.arrow.arrowLine.twoHeadedArrow,frameTorque1.arrow.headAtOrigin,frameTorque1.color[3],frameTorque1.color[2],frameTorque1.color[1],FixedRotation1.color[3],FixedRotation1.color[2],FixedRotation1.color[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 (809): * Single equations (assignments): 804 * 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%) 14,(1,100.0%) 14} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001106/1.766, allocations: 0.6313 MB / 0.7694 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008886/1.767, allocations: 461.8 kB / 0.7698 GB, free: 101.6 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004962/1.772, allocations: 2.416 MB / 0.7722 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-05/1.772, allocations: 17.34 kB / 0.7722 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.325e-05/1.772, allocations: 6.344 kB / 0.7722 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.256e-05/1.772, allocations: 10.81 kB / 0.7722 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01546/1.788, allocations: 7.224 MB / 0.7793 GB, free: 98.02 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.548e-05/1.788, allocations: 3.906 kB / 0.7793 GB, free: 98.02 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001544/1.789, allocations: 257.4 kB / 0.7795 GB, free: 98 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001302/1.791, allocations: 364.7 kB / 0.7799 GB, free: 97.91 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001982/1.791, allocations: 23.5 kB / 0.7799 GB, free: 97.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00626/1.797, allocations: 5.057 MB / 0.7848 GB, free: 94.21 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.703e-06/1.797, allocations: 7.719 kB / 0.7848 GB, free: 94.2 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007555/1.805, allocations: 5.084 MB / 0.7898 GB, free: 91.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001463/1.806, allocations: 0.5274 MB / 0.7903 GB, free: 91.06 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007276/1.807, allocations: 28.62 kB / 0.7903 GB, free: 91.04 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/1.809, allocations: 70.44 kB / 0.7904 GB, free: 90.99 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002538/1.809, allocations: 99.62 kB / 0.7905 GB, free: 90.92 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001506/1.809, allocations: 45.02 kB / 0.7905 GB, free: 90.88 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.006767/1.816, allocations: 3.542 MB / 0.794 GB, free: 87.78 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.224e-06/1.816, allocations: 0 / 0.794 GB, free: 87.78 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007312/1.823, allocations: 1.109 MB / 0.7951 GB, free: 86.68 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (120): * Single equations (assignments): 115 * 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%) 11,(1,100.0%) 11} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004929/1.824, allocations: 176.4 kB / 0.7953 GB, free: 86.51 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.008599/1.833, allocations: 4.675 MB / 0.7998 GB, free: 82.29 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.596e-06/1.833, allocations: 0 / 0.7998 GB, free: 82.29 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002197/1.835, allocations: 1.364 MB / 0.8012 GB, free: 81.03 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003922/1.839, allocations: 0.5973 MB / 0.8017 GB, free: 80.54 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01932/1.858, allocations: 9.277 MB / 0.8108 GB, free: 72.29 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006572/1.865, allocations: 3.969 MB / 0.8147 GB, free: 69.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001338/1.866, allocations: 342.5 kB / 0.815 GB, free: 69.01 MB / 0.5105 GB Notification: Performance of SimCode: time 1.862e-06/1.866, allocations: 4 kB / 0.815 GB, free: 69.01 MB / 0.5105 GB Notification: Performance of Templates: time 0.5094/2.376, allocations: 107.6 MB / 0.9201 GB, free: 142.8 MB / 0.5417 GB