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_4.0.0_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_3") Notification: Performance of loadModel(ModelicaTest): time 2.531/2.531, allocations: 270 MB / 283.6 MB, free: 1.926 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.264e-05/3.268e-05, allocations: 4 kB / 348.4 MB, free: 2.809 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4085/0.4085, allocations: 61.87 MB / 410.3 MB, free: 10.77 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1675/0.576, allocations: 110.3 MB / 0.5084 GB, free: 12.29 MB / 442.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/0.5763, allocations: 83.95 kB / 0.5085 GB, free: 12.21 MB / 442.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6087/1.185, allocations: 95.52 MB / 0.6018 GB, free: 40.16 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.465e-06/1.185, allocations: 0 / 0.6018 GB, free: 40.16 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002521/1.185, allocations: 100 kB / 0.6019 GB, free: 40.07 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.02099/1.206, allocations: 5.353 MB / 0.6071 GB, free: 34.65 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.514e-05/1.206, allocations: 12.03 kB / 0.6071 GB, free: 34.64 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01291/1.219, allocations: 2.282 MB / 0.6093 GB, free: 32.34 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02359/1.243, allocations: 4.73 MB / 0.6139 GB, free: 27.55 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006653/1.244, allocations: 377.9 kB / 0.6143 GB, free: 27.18 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003388/1.247, allocations: 0.4919 MB / 0.6148 GB, free: 26.69 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0496/1.297, allocations: 12.36 MB / 0.6268 GB, free: 13.28 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003713/1.297, allocations: 67.39 kB / 0.6269 GB, free: 13.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.002513/1.3, allocations: 239.8 kB / 0.6271 GB, free: 12.98 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003534/1.303, allocations: 1.157 MB / 0.6283 GB, free: 11.82 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.04545/1.349, allocations: 10.47 MB / 0.6385 GB, free: 1.328 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1184/1.467, allocations: 54.23 MB / 0.6915 GB, free: 9.574 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.02013/1.488, allocations: 5.048 MB / 0.6964 GB, free: 4.371 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00592/1.494, allocations: 3.116 MB / 0.6994 GB, free: 1.242 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001984/1.496, allocations: 1.014 MB / 0.7004 GB, free: 64 kB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.032e-05/1.496, allocations: 47.88 kB / 0.7005 GB, free: 4 kB / 0.4948 GB Notification: Performance of pre-optimization done (n=203): time 7.237e-06/1.496, allocations: 4 kB / 0.7005 GB, free: 0 / 0.4948 GB Notification: Performance of matching and sorting (n=234): time 0.3885/1.884, allocations: 20.95 MB / 0.7209 GB, free: 123.6 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.804e-05/1.884, allocations: 149.4 kB / 0.7211 GB, free: 123.4 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008135/1.892, allocations: 3.893 MB / 0.7249 GB, free: 123 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 0.0005469/1.893, allocations: 60.25 kB / 0.7249 GB, free: 123 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 0.002682/1.896, allocations: 3.443 MB / 0.7283 GB, free: 121.5 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 0.001304/1.897, allocations: 0.8802 MB / 0.7292 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008051/1.898, allocations: 130.9 kB / 0.7293 GB, free: 121.1 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 0.0005118/1.898, allocations: 0.5816 MB / 0.7299 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005937/1.904, allocations: 2.807 MB / 0.7326 GB, free: 120.8 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008267/1.913, allocations: 6.588 MB / 0.739 GB, free: 115.9 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.008126/1.921, allocations: 4.269 MB / 0.7432 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001198/1.921, allocations: 41.06 kB / 0.7432 GB, free: 115.8 MB / 0.5105 GB Notification: Performance of matching and sorting (n=856) (initialization): time 0.02368/1.945, allocations: 9.921 MB / 0.7529 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/1.945, allocations: 64.12 kB / 0.753 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001466/1.945, allocations: 137.1 kB / 0.7531 GB, free: 115.4 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003976/1.949, allocations: 1.128 MB / 0.7542 GB, free: 115.2 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00824/1.957, allocations: 1.632 MB / 0.7558 GB, free: 115 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009597/1.967, allocations: 5.928 MB / 0.7616 GB, free: 112 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.007296/1.974, allocations: 404.8 kB / 0.762 GB, free: 111.9 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001474/1.976, allocations: 413.1 kB / 0.7624 GB, free: 111.8 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.001482/1.977, allocations: 0.6079 MB / 0.763 GB, free: 111.3 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001067/1.978, allocations: 398.4 kB / 0.7634 GB, free: 111.1 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01197/1.99, allocations: 5.218 MB / 0.7684 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.682e-05/1.99, allocations: 26.12 kB / 0.7685 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.92e-05/1.991, allocations: 3.5 kB / 0.7685 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.721e-05/1.991, allocations: 15.56 kB / 0.7685 GB, free: 109.3 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02863/2.019, allocations: 11.57 MB / 0.7798 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.942e-05/2.019, allocations: 3.938 kB / 0.7798 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00329/2.023, allocations: 490.1 kB / 0.7803 GB, free: 105 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003568/2.026, allocations: 0.934 MB / 0.7812 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0005234/2.027, allocations: 42.12 kB / 0.7812 GB, free: 104.8 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009218/2.036, allocations: 5.639 MB / 0.7867 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.29e-06/2.036, allocations: 3.938 kB / 0.7867 GB, free: 101.9 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0164/2.052, allocations: 9.257 MB / 0.7958 GB, free: 93.72 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002597/2.055, allocations: 0.8656 MB / 0.7966 GB, free: 92.91 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00114/2.056, allocations: 40 kB / 0.7966 GB, free: 92.88 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003025/2.059, allocations: 179.9 kB / 0.7968 GB, free: 92.77 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005626/2.06, allocations: 145.2 kB / 0.797 GB, free: 92.68 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002889/2.06, allocations: 70.28 kB / 0.797 GB, free: 92.61 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.005592/2.066, allocations: 2.72 MB / 0.7997 GB, free: 90.2 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.957e-06/2.066, allocations: 0 / 0.7997 GB, free: 90.2 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.007318/2.073, allocations: 1.211 MB / 0.8009 GB, free: 89 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.0007027/2.074, allocations: 196 kB / 0.8011 GB, free: 88.82 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.01242/2.086, allocations: 6.566 MB / 0.8075 GB, free: 82.97 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.33e-06/2.086, allocations: 0 / 0.8075 GB, free: 82.97 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.004658/2.091, allocations: 2.536 MB / 0.8099 GB, free: 80.71 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003116/2.094, allocations: 452.7 kB / 0.8104 GB, free: 80.33 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02116/2.115, allocations: 9.669 MB / 0.8198 GB, free: 71.76 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006106/2.122, allocations: 3.761 MB / 0.8235 GB, free: 68.93 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.00757/2.129, allocations: 2.207 MB / 0.8256 GB, free: 67.5 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001927/2.131, allocations: 293.8 kB / 0.8259 GB, free: 67.24 MB / 0.5105 GB Notification: Performance of SimCode: time 1.847e-06/2.131, allocations: 0 / 0.8259 GB, free: 67.24 MB / 0.5105 GB Notification: Performance of Templates: time 0.1115/2.243, allocations: 45.34 MB / 0.8702 GB, free: 26.22 MB / 0.5105 GB