Running command: translateModel(ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|revolute.phi|revolute.w|rotor1D.phi|rotor1D.w",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.MultiBody.Parts.Rotor1D.Rotor1D_2") Notification: Performance of loadModel(ModelicaTest): time 2.409/2.409, allocations: 249.5 MB / 261.6 MB, free: 2.164 MB / 202.8 MB Notification: Performance of FrontEnd - loaded program: time 3.444e-05/3.463e-05, allocations: 4 kB / 323.4 MB, free: 4.312 MB / 266.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3226/0.3226, allocations: 58.83 MB / 382.2 MB, free: 10.33 MB / 314.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1686/0.4913, allocations: 108.4 MB / 490.6 MB, free: 64 kB / 410.8 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002569/0.4916, allocations: 84.03 kB / 490.7 MB, free: 15.98 MB / 426.8 MB Notification: Performance of FrontEnd - DAE generated: time 0.6245/1.116, allocations: 84.98 MB / 0.5622 GB, free: 111.2 MB / 458.8 MB Notification: Performance of FrontEnd: time 2.479e-06/1.116, allocations: 0 / 0.5622 GB, free: 111.2 MB / 458.8 MB Notification: Performance of Transformations before backend: time 0.0002037/1.116, allocations: 83.53 kB / 0.5623 GB, free: 111.2 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: 1528 * Number of variables: 1528 Notification: Performance of Generate backend data structure: time 0.01763/1.134, allocations: 4.499 MB / 0.5667 GB, free: 108.3 MB / 458.8 MB Notification: Performance of prepare preOptimizeDAE: time 4.084e-05/1.134, allocations: 10.06 kB / 0.5667 GB, free: 108.3 MB / 458.8 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01295/1.147, allocations: 2.224 MB / 0.5689 GB, free: 106.9 MB / 458.8 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01261/1.16, allocations: 4.515 MB / 0.5733 GB, free: 102.4 MB / 458.8 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003326/1.16, allocations: 326 kB / 0.5736 GB, free: 102.1 MB / 458.8 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001846/1.162, allocations: 423.3 kB / 0.574 GB, free: 101.7 MB / 458.8 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02505/1.187, allocations: 10.63 MB / 0.5844 GB, free: 90.17 MB / 458.8 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001996/1.187, allocations: 59.41 kB / 0.5844 GB, free: 90.11 MB / 458.8 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001175/1.188, allocations: 203.5 kB / 0.5846 GB, free: 89.94 MB / 458.8 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.001713/1.19, allocations: 1.018 MB / 0.5856 GB, free: 88.92 MB / 458.8 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.02114/1.211, allocations: 8.738 MB / 0.5941 GB, free: 80.17 MB / 458.8 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05612/1.268, allocations: 47.51 MB / 0.6405 GB, free: 31.38 MB / 458.8 MB Notification: Performance of preOpt comSubExp (simulation): time 0.01244/1.28, allocations: 3.561 MB / 0.644 GB, free: 27.66 MB / 458.8 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002954/1.283, allocations: 1.792 MB / 0.6458 GB, free: 25.86 MB / 458.8 MB Notification: Performance of preOpt evalFunc (simulation): time 0.008933/1.292, allocations: 4.745 MB / 0.6504 GB, free: 20.94 MB / 458.8 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/1.292, allocations: 59.22 kB / 0.6505 GB, free: 20.88 MB / 458.8 MB Notification: Performance of pre-optimization done (n=142): time 5.934e-06/1.292, allocations: 0 / 0.6505 GB, free: 20.88 MB / 458.8 MB Notification: Performance of matching and sorting (n=148): time 0.02856/1.321, allocations: 9.897 MB / 0.6601 GB, free: 10.88 MB / 458.8 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/1.321, allocations: 153.2 kB / 0.6603 GB, free: 10.69 MB / 458.8 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006908/1.328, allocations: 3.612 MB / 0.6638 GB, free: 7.051 MB / 458.8 MB Notification: Performance of collectPreVariables (initialization): time 0.0003115/1.328, allocations: 45.7 kB / 0.6638 GB, free: 7 MB / 458.8 MB Notification: Performance of collectInitialEqns (initialization): time 0.002126/1.33, allocations: 3.149 MB / 0.6669 GB, free: 3.852 MB / 458.8 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007248/1.331, allocations: 0.5902 MB / 0.6675 GB, free: 3.258 MB / 458.8 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004081/1.331, allocations: 116 kB / 0.6676 GB, free: 3.145 MB / 458.8 MB Notification: Performance of setup shared object (initialization): time 0.0003273/1.332, allocations: 0.5537 MB / 0.6681 GB, free: 2.582 MB / 458.8 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00369/1.335, allocations: 1.893 MB / 0.67 GB, free: 0.6836 MB / 458.8 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.008006/1.343, allocations: 5.54 MB / 0.6754 GB, free: 9.281 MB / 474.8 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00715/1.351, allocations: 3.221 MB / 0.6785 GB, free: 6.062 MB / 474.8 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.000119/1.351, allocations: 40 kB / 0.6786 GB, free: 6.023 MB / 474.8 MB Notification: Performance of matching and sorting (n=753) (initialization): time 0.02118/1.372, allocations: 7.575 MB / 0.686 GB, free: 14.44 MB / 490.8 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001257/1.372, allocations: 60 kB / 0.686 GB, free: 14.38 MB / 490.8 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0001912/1.372, allocations: 135.9 kB / 0.6862 GB, free: 14.25 MB / 490.8 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003495/1.376, allocations: 0.9114 MB / 0.6871 GB, free: 13.34 MB / 490.8 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.006164/1.382, allocations: 1.353 MB / 0.6884 GB, free: 11.98 MB / 490.8 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009099/1.391, allocations: 4.779 MB / 0.693 GB, free: 7.066 MB / 490.8 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00615/1.397, allocations: 319.7 kB / 0.6934 GB, free: 6.754 MB / 490.8 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.001342/1.399, allocations: 371.8 kB / 0.6937 GB, free: 6.395 MB / 490.8 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 601 * Number of states: 0 () * Number of discrete variables: 36 (rotor1D.cylinderColor[3],rotor1D.cylinderColor[2],rotor1D.cylinderColor[1],fixed.color[3],fixed.color[2],fixed.color[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 (714): * Single equations (assignments): 710 * 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.00127/1.4, allocations: 0.5486 MB / 0.6942 GB, free: 5.836 MB / 490.8 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009059/1.401, allocations: 347.6 kB / 0.6946 GB, free: 5.492 MB / 490.8 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00789/1.409, allocations: 2.839 MB / 0.6973 GB, free: 2.633 MB / 490.8 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.024e-05/1.409, allocations: 16 kB / 0.6974 GB, free: 2.617 MB / 490.8 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.445e-05/1.409, allocations: 4 kB / 0.6974 GB, free: 2.613 MB / 490.8 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.35e-05/1.409, allocations: 7.969 kB / 0.6974 GB, free: 2.605 MB / 490.8 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01985/1.429, allocations: 7.098 MB / 0.7043 GB, free: 11.44 MB / 0.4949 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.426e-05/1.429, allocations: 0 / 0.7043 GB, free: 11.44 MB / 0.4949 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001838/1.431, allocations: 247.6 kB / 0.7045 GB, free: 11.2 MB / 0.4949 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003003/1.434, allocations: 0.7069 MB / 0.7052 GB, free: 10.48 MB / 0.4949 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002929/1.434, allocations: 28 kB / 0.7053 GB, free: 10.46 MB / 0.4949 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00829/1.443, allocations: 4.337 MB / 0.7095 GB, free: 5.98 MB / 0.4949 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.517e-06/1.443, allocations: 0 / 0.7095 GB, free: 5.98 MB / 0.4949 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01158/1.454, allocations: 5.142 MB / 0.7145 GB, free: 0.7969 MB / 0.4949 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002055/1.456, allocations: 0.6137 MB / 0.7151 GB, free: 164 kB / 0.4949 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007257/1.457, allocations: 24 kB / 0.7151 GB, free: 140 kB / 0.4949 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002231/1.459, allocations: 103.8 kB / 0.7152 GB, free: 36 kB / 0.4949 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2941/1.753, allocations: 76.12 kB / 0.7153 GB, free: 140.3 MB / 0.4949 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003459/1.754, allocations: 40.25 kB / 0.7153 GB, free: 140.3 MB / 0.4949 GB Notification: Performance of sorting global known variables: time 0.007197/1.761, allocations: 2.519 MB / 0.7178 GB, free: 140.1 MB / 0.4949 GB Notification: Performance of sort global known variables: time 1.626e-06/1.761, allocations: 0 / 0.7178 GB, free: 140.1 MB / 0.4949 GB Notification: Performance of remove unused functions: time 0.007187/1.768, allocations: 0.9533 MB / 0.7187 GB, free: 140.1 MB / 0.4949 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (revolute.phi,revolute.w,rotor1D.phi,rotor1D.w) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (117): * Single equations (assignments): 113 * 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 {(1,100.0%) 12} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006644/1.769, allocations: 165.9 kB / 0.7189 GB, free: 140 MB / 0.4949 GB Notification: Performance of simCode: created initialization part: time 0.009069/1.778, allocations: 4.414 MB / 0.7232 GB, free: 139.9 MB / 0.4949 GB Notification: Performance of simCode: created event and clocks part: time 5.689e-06/1.778, allocations: 2.25 kB / 0.7232 GB, free: 139.9 MB / 0.4949 GB Notification: Performance of simCode: created simulation system equations: time 0.002628/1.781, allocations: 1.332 MB / 0.7245 GB, free: 139.8 MB / 0.4949 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002864/1.784, allocations: 392.2 kB / 0.7249 GB, free: 139.7 MB / 0.4949 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0177/1.801, allocations: 7.195 MB / 0.7319 GB, free: 138.3 MB / 0.4949 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.006279/1.808, allocations: 3.32 MB / 0.7352 GB, free: 137.5 MB / 0.4949 GB Notification: Performance of simCode: alias equations: time 0.006585/1.814, allocations: 1.841 MB / 0.7369 GB, free: 137.5 MB / 0.4949 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001149/1.816, allocations: 235 kB / 0.7372 GB, free: 137.5 MB / 0.4949 GB Notification: Performance of SimCode: time 1.758e-06/1.816, allocations: 0 / 0.7372 GB, free: 137.5 MB / 0.4949 GB Notification: Performance of Templates: time 0.09011/1.906, allocations: 32.3 MB / 0.7687 GB, free: 126.3 MB / 0.4949 GB