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_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadModel(ModelicaTest): time 2.392/2.392, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.292e-05/3.313e-05, allocations: 6.656 kB / 323.4 MB, free: 4.301 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3217, allocations: 58.83 MB / 382.2 MB, free: 10.19 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1689/0.4906, allocations: 109.2 MB / 491.4 MB, free: 15.15 MB / 426.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002721/0.4909, allocations: 79.95 kB / 491.5 MB, free: 15.07 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6367/1.128, allocations: 98.35 MB / 0.576 GB, free: 99.23 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.741e-06/1.128, allocations: 0 / 0.576 GB, free: 99.23 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.000262/1.128, allocations: 110.6 kB / 0.5761 GB, free: 99.12 MB / 458.8 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1851 * Number of variables: 1851 Notification: Performance of Generate backend data structure: time 0.02222/1.15, allocations: 5.507 MB / 0.5815 GB, free: 93.58 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/1.15, allocations: 15.97 kB / 0.5815 GB, free: 93.56 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01275/1.163, allocations: 2.332 MB / 0.5838 GB, free: 91.22 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.014/1.177, allocations: 4.984 MB / 0.5887 GB, free: 86.19 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004143/1.177, allocations: 398.3 kB / 0.589 GB, free: 85.8 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002242/1.18, allocations: 0.5114 MB / 0.5895 GB, free: 85.29 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.031/1.211, allocations: 12.82 MB / 0.6021 GB, free: 71.41 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002735/1.211, allocations: 63.41 kB / 0.6021 GB, free: 71.35 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001714/1.213, allocations: 251.8 kB / 0.6024 GB, free: 71.11 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001984/1.215, allocations: 1.216 MB / 0.6035 GB, free: 69.88 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04224/1.257, allocations: 10.89 MB / 0.6142 GB, free: 58.99 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1236/1.381, allocations: 55.86 MB / 0.6687 GB, free: 1.602 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01991/1.401, allocations: 5.251 MB / 0.6739 GB, free: 12.2 MB / 474.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006471/1.407, allocations: 3.276 MB / 0.6771 GB, free: 8.918 MB / 474.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002001/1.409, allocations: 1.014 MB / 0.678 GB, free: 7.738 MB / 474.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.64e-05/1.409, allocations: 63.81 kB / 0.6781 GB, free: 7.664 MB / 474.8 MB Notification: Performance of pre-optimization done (n=224): time 7.159e-06/1.409, allocations: 0 / 0.6781 GB, free: 7.664 MB / 474.8 MB Notification: Performance of matching and sorting (n=255): time 0.08095/1.49, allocations: 21.94 MB / 0.6995 GB, free: 1.598 MB / 490.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/1.491, allocations: 158.5 kB / 0.6997 GB, free: 1.414 MB / 490.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009142/1.5, allocations: 3.989 MB / 0.7036 GB, free: 13.41 MB / 0.4949 GB Notification: Performance of collectPreVariables (initialization): time 0.0006077/1.5, allocations: 65.7 kB / 0.7036 GB, free: 13.34 MB / 0.4949 GB Notification: Performance of collectInitialEqns (initialization): time 0.003903/1.504, allocations: 3.544 MB / 0.7071 GB, free: 9.746 MB / 0.4949 GB Notification: Performance of collectInitialBindings (initialization): time 0.001649/1.506, allocations: 0.96 MB / 0.708 GB, free: 8.773 MB / 0.4949 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006866/1.507, allocations: 140 kB / 0.7082 GB, free: 8.637 MB / 0.4949 GB Notification: Performance of setup shared object (initialization): time 0.0006152/1.507, allocations: 0.5914 MB / 0.7087 GB, free: 8.039 MB / 0.4949 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.006869/1.514, allocations: 2.977 MB / 0.7117 GB, free: 5.059 MB / 0.4949 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.306/1.82, allocations: 6.85 MB / 0.7183 GB, free: 129.1 MB / 0.4949 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009669/1.83, allocations: 4.471 MB / 0.7227 GB, free: 129.1 MB / 0.4949 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0002575/1.83, allocations: 40.64 kB / 0.7228 GB, free: 129.1 MB / 0.4949 GB Notification: Performance of matching and sorting (n=894) (initialization): time 0.02586/1.856, allocations: 10.36 MB / 0.7329 GB, free: 128.7 MB / 0.4949 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001348/1.856, allocations: 64.28 kB / 0.7329 GB, free: 128.7 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001803/1.856, allocations: 141.5 kB / 0.7331 GB, free: 128.7 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003887/1.86, allocations: 1.131 MB / 0.7342 GB, free: 128.7 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.008754/1.869, allocations: 1.714 MB / 0.7358 GB, free: 128.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009784/1.879, allocations: 5.923 MB / 0.7416 GB, free: 127.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007275/1.886, allocations: 424.5 kB / 0.742 GB, free: 127.1 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001873/1.888, allocations: 425.2 kB / 0.7424 GB, free: 127.1 MB / 0.4949 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 632 * Number of states: 0 () * Number of discrete variables: 42 (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.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 (855): * Single equations (assignments): 851 * 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.001956/1.89, allocations: 0.6339 MB / 0.7431 GB, free: 126.9 MB / 0.4949 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001003/1.891, allocations: 411.6 kB / 0.7435 GB, free: 126.9 MB / 0.4949 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01225/1.903, allocations: 5.571 MB / 0.7489 GB, free: 125.1 MB / 0.4949 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.765e-05/1.904, allocations: 34.86 kB / 0.7489 GB, free: 125.1 MB / 0.4949 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.494e-05/1.904, allocations: 2.688 kB / 0.7489 GB, free: 125.1 MB / 0.4949 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.184e-05/1.904, allocations: 15.83 kB / 0.7489 GB, free: 125.1 MB / 0.4949 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02948/1.933, allocations: 12.26 MB / 0.7609 GB, free: 120.6 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.275e-05/1.933, allocations: 6.281 kB / 0.7609 GB, free: 120.6 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004008/1.937, allocations: 0.5082 MB / 0.7614 GB, free: 120.6 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003621/1.941, allocations: 0.9348 MB / 0.7623 GB, free: 120.4 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006648/1.942, allocations: 55.14 kB / 0.7624 GB, free: 120.4 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009402/1.951, allocations: 5.644 MB / 0.7679 GB, free: 117.5 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.442e-06/1.951, allocations: 10.94 kB / 0.7679 GB, free: 117.5 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01858/1.97, allocations: 9.834 MB / 0.7775 GB, free: 111 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002856/1.973, allocations: 0.91 MB / 0.7784 GB, free: 110.2 MB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001278/1.974, allocations: 47.52 kB / 0.7784 GB, free: 110.1 MB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003424/1.977, allocations: 188.2 kB / 0.7786 GB, free: 110 MB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007507/1.978, allocations: 157.1 kB / 0.7788 GB, free: 109.9 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003102/1.978, allocations: 70.58 kB / 0.7788 GB, free: 109.8 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.00584/1.984, allocations: 2.788 MB / 0.7816 GB, free: 107.4 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.195e-06/1.984, allocations: 4 kB / 0.7816 GB, free: 107.4 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.00789/1.992, allocations: 1.263 MB / 0.7828 GB, free: 106.1 MB / 0.4949 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 (228): * Single equations (assignments): 224 * 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.0008545/1.993, allocations: 198.5 kB / 0.783 GB, free: 105.9 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.01326/2.006, allocations: 6.971 MB / 0.7898 GB, free: 99.67 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 6.577e-06/2.006, allocations: 0 / 0.7898 GB, free: 99.67 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.005182/2.012, allocations: 2.705 MB / 0.7924 GB, free: 97.26 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003307/2.015, allocations: 468.4 kB / 0.7929 GB, free: 96.87 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02359/2.039, allocations: 10.13 MB / 0.8028 GB, free: 87.86 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007773/2.046, allocations: 3.904 MB / 0.8066 GB, free: 84.92 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.008178/2.055, allocations: 2.301 MB / 0.8088 GB, free: 83.43 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002061/2.057, allocations: 316.4 kB / 0.8091 GB, free: 83.15 MB / 0.4949 GB Notification: Performance of SimCode: time 1.861e-06/2.057, allocations: 0 / 0.8091 GB, free: 83.15 MB / 0.4949 GB Notification: Performance of Templates: time 0.1175/2.174, allocations: 47.02 MB / 0.855 GB, free: 37.74 MB / 0.4949 GB