Running command: translateModel(PlanarMechanics.GearComponents.Examples.PlanetaryGear,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="PlanarMechanics_PlanarMechanics.GearComponents.Examples.PlanetaryGear") Notification: Performance of loadModel(PlanarMechanics): time 2.234/2.234, allocations: 234.8 MB / 247 MB, free: 2.082 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.449e-05/3.489e-05, allocations: 10.48 kB / 302.2 MB, free: 14.58 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09664/0.0967, allocations: 52.37 MB / 354.6 MB, free: 10.15 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3961/0.4929, allocations: 108.7 MB / 463.3 MB, free: 4.285 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.4932, allocations: 95.95 kB / 463.4 MB, free: 4.191 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.7999/1.293, allocations: 152.8 MB / 0.6018 GB, free: 77.65 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.363e-06/1.293, allocations: 0 / 0.6018 GB, free: 77.65 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0003109/1.294, allocations: 116 kB / 0.6019 GB, free: 77.54 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: 2448 * Number of variables: 2448 Notification: Performance of Generate backend data structure: time 0.04133/1.335, allocations: 7.435 MB / 0.6091 GB, free: 70.02 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.268e-05/1.335, allocations: 8.031 kB / 0.6091 GB, free: 70.02 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02175/1.357, allocations: 3.931 MB / 0.613 GB, free: 66.07 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01644/1.373, allocations: 5.655 MB / 0.6185 GB, free: 60.35 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005971/1.374, allocations: 476.2 kB / 0.6189 GB, free: 59.88 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.003298/1.377, allocations: 0.6091 MB / 0.6195 GB, free: 59.27 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.04379/1.421, allocations: 17.48 MB / 0.6366 GB, free: 40.29 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0003873/1.421, allocations: 87.12 kB / 0.6367 GB, free: 40.21 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.003044/1.424, allocations: 307.8 kB / 0.637 GB, free: 39.91 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.003681/1.428, allocations: 1.97 MB / 0.6389 GB, free: 37.93 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.03899/1.467, allocations: 14.98 MB / 0.6535 GB, free: 22.93 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.4159/1.883, allocations: 80.47 MB / 0.7321 GB, free: 35.71 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.03074/1.914, allocations: 7.196 MB / 0.7392 GB, free: 34.43 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006659/1.921, allocations: 3.121 MB / 0.7422 GB, free: 34.37 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03525/1.956, allocations: 14.52 MB / 0.7564 GB, free: 30.93 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.911e-05/1.956, allocations: 73.33 kB / 0.7565 GB, free: 30.89 MB / 458.7 MB Notification: Performance of pre-optimization done (n=369): time 8.275e-06/1.956, allocations: 0 / 0.7565 GB, free: 30.89 MB / 458.7 MB Notification: Performance of matching and sorting (n=425): time 0.1014/2.057, allocations: 24.56 MB / 0.7804 GB, free: 23.87 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.42e-05/2.058, allocations: 203.7 kB / 0.7806 GB, free: 23.68 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01284/2.07, allocations: 5.801 MB / 0.7863 GB, free: 21.49 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0006636/2.071, allocations: 80.95 kB / 0.7864 GB, free: 21.42 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.003814/2.075, allocations: 4.808 MB / 0.7911 GB, free: 17.71 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001863/2.077, allocations: 1.556 MB / 0.7926 GB, free: 16.56 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001032/2.078, allocations: 213.7 kB / 0.7928 GB, free: 16.4 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0007772/2.079, allocations: 0.7561 MB / 0.7935 GB, free: 15.9 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00954/2.088, allocations: 4.063 MB / 0.7975 GB, free: 14.38 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.01188/2.1, allocations: 9.484 MB / 0.8068 GB, free: 5.098 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.01213/2.112, allocations: 5.958 MB / 0.8126 GB, free: 2.996 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 0.0001868/2.113, allocations: 60.09 kB / 0.8126 GB, free: 2.996 MB / 458.7 MB Notification: Performance of matching and sorting (n=1391) (initialization): time 0.03701/2.15, allocations: 13.14 MB / 0.8255 GB, free: 11.59 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0001981/2.15, allocations: 100.1 kB / 0.8256 GB, free: 11.5 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 0.0003563/2.15, allocations: 216 kB / 0.8258 GB, free: 11.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003575/2.154, allocations: 1.049 MB / 0.8268 GB, free: 10.36 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01184/2.166, allocations: 2.403 MB / 0.8291 GB, free: 8.277 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02001/2.186, allocations: 9.008 MB / 0.8379 GB, free: 15.77 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0107/2.196, allocations: 0.49 MB / 0.8384 GB, free: 15.32 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.002515/2.199, allocations: 0.6292 MB / 0.839 GB, free: 14.72 MB / 490.7 MB Warning: Assuming fixed start value for the following 4 variables: heatCapacitor.T:VARIABLE(min = max(0.0, max(0.0, max(0.0, max(0.0, max(0.0, 0.0))))) start = 293.15 unit = "K" nominal = 300.0 ) "Temperature of element" type: Real ringTorque.phi:VARIABLE(start = 0.0 unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real sunSpeed.phi:VARIABLE(start = 0.0 unit = "rad" ) "Angle of flange with respect to support (= flange.phi - support.phi)" type: Real planetary.carrier.w:VARIABLE(start = 0.0 unit = "rad/s" ) "Absolute angular velocity of component (= der(phi))" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 960 * Number of states: 0 () * Number of discrete variables: 42 (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],fixed.color[3],fixed.color[2],fixed.color[1],fixedRotation.color[3],fixedRotation.color[2],fixedRotation.color[1],planetary.body3D.sphereColor[3],planetary.body3D.sphereColor[2],planetary.body3D.sphereColor[1],planetary.bearing_Ring.cylinderColor[3],planetary.bearing_Ring.cylinderColor[2],planetary.bearing_Ring.cylinderColor[1],planetary.bearing_Carrier.cylinderColor[3],planetary.bearing_Carrier.cylinderColor[2],planetary.bearing_Carrier.cylinderColor[1],planetary.bearing_Sun.cylinderColor[3],planetary.bearing_Sun.cylinderColor[2],planetary.bearing_Sun.cylinderColor[1],planetary.bearing_Planet.cylinderColor[3],planetary.bearing_Planet.cylinderColor[2],planetary.bearing_Planet.cylinderColor[1],planetary.carrierAngle.color[3],planetary.carrierAngle.color[2],planetary.carrierAngle.color[1],planetary.carrierPart.color[3],planetary.carrierPart.color[2],planetary.carrierPart.color[1],planetary.planet.sphereColor[3],planetary.planet.sphereColor[2],planetary.planet.sphereColor[1]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1293): * Single equations (assignments): 1285 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(2,100.0%) 34} * Non-linear torn systems: 1 {1 15} Notification: Performance of prepare postOptimizeDAE: time 0.003275/2.202, allocations: 0.9106 MB / 0.8399 GB, free: 13.82 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00163/2.204, allocations: 0.5745 MB / 0.8405 GB, free: 13.23 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01722/2.221, allocations: 5.682 MB / 0.846 GB, free: 8.332 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001356/2.221, allocations: 67.33 kB / 0.8461 GB, free: 8.27 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.828e-05/2.221, allocations: 8 kB / 0.8461 GB, free: 8.262 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.702e-05/2.222, allocations: 21.94 kB / 0.8461 GB, free: 8.262 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.05805/2.28, allocations: 22.55 MB / 0.8681 GB, free: 5.48 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.933e-05/2.28, allocations: 24 kB / 0.8682 GB, free: 5.457 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.007037/2.287, allocations: 0.6776 MB / 0.8688 GB, free: 4.879 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003439/2.29, allocations: 0.7036 MB / 0.8695 GB, free: 4.297 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.001176/2.292, allocations: 106.7 kB / 0.8696 GB, free: 4.199 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.3266/2.618, allocations: 7.909 MB / 0.8773 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.034e-05/2.618, allocations: 38.03 kB / 0.8774 GB, free: 120.6 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02566/2.644, allocations: 15.75 MB / 0.8928 GB, free: 113.2 MB / 0.4948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002511/2.646, allocations: 0.7305 MB / 0.8935 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.002133/2.649, allocations: 102 kB / 0.8936 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004853/2.654, allocations: 168.6 kB / 0.8937 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001162/2.655, allocations: 330.9 kB / 0.894 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0004688/2.655, allocations: 141.1 kB / 0.8942 GB, free: 113.1 MB / 0.4948 GB Notification: Performance of sorting global known variables: time 0.01113/2.666, allocations: 4.251 MB / 0.8983 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of sort global known variables: time 1.374e-06/2.666, allocations: 3.969 kB / 0.8983 GB, free: 112.8 MB / 0.4948 GB Notification: Performance of remove unused functions: time 0.01272/2.679, allocations: 1.686 MB / 0.9 GB, free: 112.8 MB / 0.4948 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 117 * Number of states: 6 (heatCapacitor.T,planetary.planetRing.frame_a.phi,planetary.bearing_Carrier.phi,planetary.carrier.w,sunSpeed.phi,ringTorque.phi) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (370): * Single equations (assignments): 361 * Array equations: 6 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(3,100.0%) 24,(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001218/2.68, allocations: 286 kB / 0.9002 GB, free: 112.7 MB / 0.4948 GB Notification: Performance of simCode: created initialization part: time 0.01782/2.698, allocations: 8.584 MB / 0.9086 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of simCode: created event and clocks part: time 2.152e-05/2.698, allocations: 3.594 kB / 0.9086 GB, free: 112.4 MB / 0.4948 GB Notification: Performance of simCode: created simulation system equations: time 0.006261/2.705, allocations: 3.116 MB / 0.9117 GB, free: 112.1 MB / 0.4948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005806/2.71, allocations: 0.7778 MB / 0.9124 GB, free: 112 MB / 0.4948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03169/2.742, allocations: 13.33 MB / 0.9255 GB, free: 107.5 MB / 0.4948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.01106/2.753, allocations: 5.073 MB / 0.9304 GB, free: 105.7 MB / 0.4948 GB Notification: Performance of simCode: alias equations: time 0.0127/2.766, allocations: 3.234 MB / 0.9336 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002399/2.768, allocations: 458.7 kB / 0.934 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of SimCode: time 1.892e-06/2.768, allocations: 4 kB / 0.934 GB, free: 105.5 MB / 0.4948 GB Notification: Performance of Templates: time 0.1694/2.938, allocations: 66.1 MB / 0.9986 GB, free: 65.2 MB / 0.4948 GB