Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|r1.phi|r1.w|r2.phi|r2.w|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadModel(ModelicaTest): time 2.638/2.638, allocations: 270 MB / 283.6 MB, free: 1.891 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.827e-05/3.839e-05, allocations: 7.984 kB / 348.4 MB, free: 2.77 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3299/0.33, allocations: 61.87 MB / 410.3 MB, free: 10.73 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1684/0.4984, allocations: 110.3 MB / 0.5084 GB, free: 12.25 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002702/0.4987, allocations: 83.95 kB / 0.5085 GB, free: 12.16 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6604/1.159, allocations: 95.53 MB / 0.6018 GB, free: 40.09 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.71e-06/1.159, allocations: 0 / 0.6018 GB, free: 40.09 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002256/1.159, allocations: 100 kB / 0.6019 GB, free: 40 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.02039/1.18, allocations: 5.357 MB / 0.6071 GB, free: 34.57 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.363e-05/1.18, allocations: 8.031 kB / 0.6071 GB, free: 34.57 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01197/1.192, allocations: 2.279 MB / 0.6093 GB, free: 32.28 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01373/1.206, allocations: 4.734 MB / 0.614 GB, free: 27.48 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003652/1.206, allocations: 377.8 kB / 0.6143 GB, free: 27.11 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002048/1.208, allocations: 0.4957 MB / 0.6148 GB, free: 26.61 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02865/1.237, allocations: 12.36 MB / 0.6269 GB, free: 13.2 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002598/1.237, allocations: 59.41 kB / 0.6269 GB, free: 13.14 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001963/1.239, allocations: 243.8 kB / 0.6272 GB, free: 12.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001996/1.241, allocations: 1.149 MB / 0.6283 GB, free: 11.75 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02504/1.266, allocations: 10.47 MB / 0.6385 GB, free: 1.262 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.08973/1.356, allocations: 54.24 MB / 0.6915 GB, free: 9.492 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02002/1.376, allocations: 5.04 MB / 0.6964 GB, free: 4.305 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005988/1.382, allocations: 3.12 MB / 0.6994 GB, free: 1.176 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002033/1.384, allocations: 1.003 MB / 0.7004 GB, free: 4 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.172e-05/1.384, allocations: 59.88 kB / 0.7005 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=203): time 7.202e-06/1.384, allocations: 0 / 0.7005 GB, free: 15.94 MB / 0.5105 GB Notification: Performance of matching and sorting (n=234): time 0.3889/1.773, allocations: 20.95 MB / 0.7209 GB, free: 122.4 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.548e-05/1.773, allocations: 154 kB / 0.7211 GB, free: 122.3 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007947/1.781, allocations: 3.898 MB / 0.7249 GB, free: 121.9 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005334/1.782, allocations: 58.67 kB / 0.725 GB, free: 121.8 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002556/1.784, allocations: 3.437 MB / 0.7283 GB, free: 120.3 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001228/1.786, allocations: 0.8902 MB / 0.7292 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000642/1.786, allocations: 131 kB / 0.7293 GB, free: 119.9 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0004435/1.787, allocations: 0.5813 MB / 0.7299 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005779/1.793, allocations: 2.813 MB / 0.7326 GB, free: 119.6 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007747/1.8, allocations: 6.585 MB / 0.7391 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008087/1.808, allocations: 4.263 MB / 0.7432 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001049/1.809, allocations: 41 kB / 0.7433 GB, free: 114.7 MB / 0.5105 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.02387/1.832, allocations: 9.922 MB / 0.7529 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/1.833, allocations: 63.36 kB / 0.753 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001507/1.833, allocations: 137.5 kB / 0.7531 GB, free: 114.2 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003631/1.836, allocations: 1.121 MB / 0.7542 GB, free: 114 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007953/1.844, allocations: 1.638 MB / 0.7558 GB, free: 113.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009625/1.854, allocations: 5.914 MB / 0.7616 GB, free: 110.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007241/1.861, allocations: 412.9 kB / 0.762 GB, free: 110.7 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001365/1.863, allocations: 411.8 kB / 0.7624 GB, free: 110.6 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.001327/1.864, allocations: 0.6039 MB / 0.763 GB, free: 110.2 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001056/1.865, allocations: 393.5 kB / 0.7634 GB, free: 109.9 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0117/1.877, allocations: 5.224 MB / 0.7685 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.139e-05/1.877, allocations: 28 kB / 0.7685 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.986e-05/1.877, allocations: 7.156 kB / 0.7685 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.357e-05/1.877, allocations: 11.72 kB / 0.7685 GB, free: 108.1 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02677/1.904, allocations: 11.57 MB / 0.7798 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.855e-05/1.904, allocations: 10.55 kB / 0.7798 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.005669/1.91, allocations: 476.4 kB / 0.7803 GB, free: 103.8 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005435/1.915, allocations: 0.9379 MB / 0.7812 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000788/1.916, allocations: 46.88 kB / 0.7812 GB, free: 103.6 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01022/1.926, allocations: 5.642 MB / 0.7867 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.699e-06/1.926, allocations: 7.875 kB / 0.7867 GB, free: 100.7 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01594/1.942, allocations: 9.25 MB / 0.7958 GB, free: 92.59 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002642/1.945, allocations: 0.8667 MB / 0.7966 GB, free: 91.78 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001096/1.946, allocations: 41.17 kB / 0.7967 GB, free: 91.74 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00311/1.949, allocations: 182.6 kB / 0.7968 GB, free: 91.63 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006499/1.95, allocations: 138.5 kB / 0.797 GB, free: 91.54 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002869/1.95, allocations: 68.81 kB / 0.797 GB, free: 91.48 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005511/1.956, allocations: 2.716 MB / 0.7997 GB, free: 89.07 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.113e-06/1.956, allocations: 0 / 0.7997 GB, free: 89.07 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007532/1.963, allocations: 1.207 MB / 0.8009 GB, free: 87.87 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.000836/1.964, allocations: 184.6 kB / 0.801 GB, free: 87.69 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0122/1.976, allocations: 6.579 MB / 0.8075 GB, free: 81.83 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 1.665e-05/1.976, allocations: 8 kB / 0.8075 GB, free: 81.83 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004748/1.981, allocations: 2.518 MB / 0.8099 GB, free: 79.58 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003324/1.985, allocations: 471.8 kB / 0.8104 GB, free: 79.2 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02221/2.007, allocations: 9.676 MB / 0.8198 GB, free: 70.6 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007/2.014, allocations: 3.768 MB / 0.8235 GB, free: 67.75 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.007491/2.021, allocations: 2.197 MB / 0.8257 GB, free: 66.34 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001906/2.023, allocations: 303.4 kB / 0.826 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of SimCode: time 1.782e-06/2.023, allocations: 0 / 0.826 GB, free: 66.07 MB / 0.5105 GB Notification: Performance of Templates: time 0.1542/2.178, allocations: 45.32 MB / 0.8702 GB, free: 25 MB / 0.5105 GB