Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadModel(ModelicaTest): time 2.25/2.25, allocations: 270 MB / 282.7 MB, free: 1.875 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.471e-05/3.472e-05, allocations: 4 kB / 347 MB, free: 3.219 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.318, allocations: 61.87 MB / 408.8 MB, free: 10.78 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1655/0.4835, allocations: 110.3 MB / 0.507 GB, free: 12.29 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002678/0.4839, allocations: 83.95 kB / 0.5071 GB, free: 12.2 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5871/1.071, allocations: 95.51 MB / 0.6004 GB, free: 40.12 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.912e-06/1.071, allocations: 0 / 0.6004 GB, free: 40.12 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002121/1.071, allocations: 100 kB / 0.6005 GB, free: 40.02 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: 1765 * Number of variables: 1765 Notification: Performance of Generate backend data structure: time 0.01915/1.09, allocations: 5.353 MB / 0.6057 GB, free: 34.61 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/1.09, allocations: 12.03 kB / 0.6057 GB, free: 34.59 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01209/1.103, allocations: 2.282 MB / 0.6079 GB, free: 32.3 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01352/1.116, allocations: 4.73 MB / 0.6125 GB, free: 27.51 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000389/1.117, allocations: 381.8 kB / 0.6129 GB, free: 27.13 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002105/1.119, allocations: 499.6 kB / 0.6134 GB, free: 26.64 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02579/1.145, allocations: 12.35 MB / 0.6254 GB, free: 13.24 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001896/1.145, allocations: 63.39 kB / 0.6255 GB, free: 13.18 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009193/1.146, allocations: 247.8 kB / 0.6257 GB, free: 12.94 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001732/1.147, allocations: 1.153 MB / 0.6269 GB, free: 11.78 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02401/1.171, allocations: 10.47 MB / 0.6371 GB, free: 1.289 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08288/1.254, allocations: 54.24 MB / 0.6901 GB, free: 9.523 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01923/1.274, allocations: 5.04 MB / 0.695 GB, free: 4.336 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005591/1.279, allocations: 3.124 MB / 0.698 GB, free: 1.203 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001848/1.281, allocations: 1.003 MB / 0.699 GB, free: 32 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.967e-05/1.281, allocations: 55.81 kB / 0.6991 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=203): time 6.829e-06/1.281, allocations: 0 / 0.6991 GB, free: 15.97 MB / 0.5105 GB Notification: Performance of matching and sorting (n=234): time 0.3718/1.653, allocations: 20.96 MB / 0.7195 GB, free: 122.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/1.653, allocations: 155 kB / 0.7197 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006904/1.66, allocations: 3.894 MB / 0.7235 GB, free: 122 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0004874/1.661, allocations: 59.45 kB / 0.7235 GB, free: 122 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.001986/1.663, allocations: 3.333 MB / 0.7268 GB, free: 120.4 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001079/1.664, allocations: 0.8818 MB / 0.7277 GB, free: 120 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004856/1.664, allocations: 131.9 kB / 0.7278 GB, free: 120 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004011/1.665, allocations: 0.5891 MB / 0.7284 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005026/1.67, allocations: 2.811 MB / 0.7311 GB, free: 119.7 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007055/1.677, allocations: 6.589 MB / 0.7375 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.007408/1.684, allocations: 4.27 MB / 0.7417 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.171e-05/1.684, allocations: 37.19 kB / 0.7417 GB, free: 114.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.0204/1.705, allocations: 9.777 MB / 0.7513 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001018/1.705, allocations: 62.5 kB / 0.7514 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001356/1.705, allocations: 133.2 kB / 0.7515 GB, free: 114.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003387/1.708, allocations: 1.128 MB / 0.7526 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007128/1.716, allocations: 1.626 MB / 0.7542 GB, free: 114 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009008/1.725, allocations: 5.932 MB / 0.76 GB, free: 111 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006415/1.731, allocations: 408.2 kB / 0.7604 GB, free: 110.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001172/1.732, allocations: 412.6 kB / 0.7607 GB, free: 110.9 MB / 0.5105 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 615 * Number of states: 0 () * Number of discrete variables: 44 (fixed.color[3],fixed.color[2],fixed.color[1],r2.cylinderColor[3],r2.cylinderColor[2],r2.cylinderColor[1],r1.cylinderColor[3],r1.cylinderColor[2],r1.cylinderColor[1],rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],torque.connectionLineColor[3],torque.connectionLineColor[2],torque.connectionLineColor[1],torque.torqueArrow.arrowLine.twoHeadedArrow,torque.torqueArrow.headAtOrigin,torque.torqueColor[3],torque.torqueColor[2],torque.torqueColor[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],revolute.cylinderColor[3],revolute.cylinderColor[2],revolute.cylinderColor[1],bodyCylinder.color[3],bodyCylinder.color[2],bodyCylinder.color[1],bodyCylinder.body.sphereColor[3],bodyCylinder.body.sphereColor[2],bodyCylinder.body.sphereColor[1],bodyCylinder.frameTranslation.color[3],bodyCylinder.frameTranslation.color[2],bodyCylinder.frameTranslation.color[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (817): * Single equations (assignments): 813 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.001297/1.734, allocations: 0.6067 MB / 0.7613 GB, free: 110.4 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001001/1.735, allocations: 394.7 kB / 0.7617 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01082/1.745, allocations: 5.218 MB / 0.7668 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.939e-05/1.746, allocations: 30.89 kB / 0.7668 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.481e-05/1.746, allocations: 3.125 kB / 0.7668 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.344e-05/1.746, allocations: 13.75 kB / 0.7669 GB, free: 108.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0247/1.77, allocations: 11.57 MB / 0.7782 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.121e-05/1.77, allocations: 10.84 kB / 0.7782 GB, free: 104.1 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003299/1.774, allocations: 480.7 kB / 0.7786 GB, free: 104 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003322/1.777, allocations: 0.9337 MB / 0.7795 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002959/1.777, allocations: 41.94 kB / 0.7796 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008789/1.786, allocations: 5.648 MB / 0.7851 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.534e-06/1.786, allocations: 11.81 kB / 0.7851 GB, free: 100.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01486/1.801, allocations: 9.253 MB / 0.7941 GB, free: 92.7 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002314/1.803, allocations: 0.8589 MB / 0.795 GB, free: 91.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007142/1.804, allocations: 45.17 kB / 0.795 GB, free: 91.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002399/1.807, allocations: 176 kB / 0.7952 GB, free: 91.75 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004682/1.807, allocations: 147.9 kB / 0.7953 GB, free: 91.66 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002737/1.807, allocations: 60 kB / 0.7954 GB, free: 91.6 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.004437/1.812, allocations: 2.724 MB / 0.798 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.051e-06/1.812, allocations: 0 / 0.798 GB, free: 89.18 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.006199/1.818, allocations: 1.208 MB / 0.7992 GB, free: 87.98 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * Number of states: 8 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w,r1.phi,r1.w,r2.phi,r2.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (206): * Single equations (assignments): 202 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,77.8%) 13} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005276/1.819, allocations: 194.5 kB / 0.7994 GB, free: 87.8 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01114/1.83, allocations: 6.572 MB / 0.8058 GB, free: 81.95 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 7.607e-06/1.83, allocations: 0 / 0.8058 GB, free: 81.95 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004142/1.834, allocations: 2.532 MB / 0.8083 GB, free: 79.7 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002774/1.837, allocations: 457.7 kB / 0.8087 GB, free: 79.31 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0196/1.856, allocations: 10.21 MB / 0.8187 GB, free: 70.3 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005056/1.861, allocations: 3.762 MB / 0.8224 GB, free: 67.47 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002031/1.864, allocations: 350.3 kB / 0.8227 GB, free: 67.16 MB / 0.5105 GB Notification: Performance of SimCode: time 2.098e-06/1.864, allocations: 4 kB / 0.8227 GB, free: 67.15 MB / 0.5105 GB Notification: Performance of Templates: time 0.1177/1.981, allocations: 86.25 MB / 0.9069 GB, free: 1.895 MB / 0.5261 GB