Notification: Performance of FrontEnd - loaded program: time 2.708e-05/2.729e-05, allocations: 0 / 334 MB, free: 10.17 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.202/0.2021, allocations: 44.51 MB / 378.5 MB, free: 75.13 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09294/0.2951, allocations: 77.05 MB / 455.6 MB, free: 9.77 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001996/0.2953, allocations: 73.41 kB / 455.6 MB, free: 9.699 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.04396/0.3393, allocations: 11.49 MB / 467.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.75e-06/0.3393, allocations: 0 / 467.1 MB, free: 14.19 MB / 334.1 MB Notification: Performance of Transformations before backend: time 2.894e-05/0.3394, allocations: 12 kB / 467.1 MB, free: 14.18 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 98 * Number of variables: 98 Notification: Performance of Generate backend data structure: time 0.001542/0.3409, allocations: 0.7 MB / 467.8 MB, free: 13.44 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.168e-05/0.341, allocations: 12.03 kB / 467.8 MB, free: 13.43 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004567/0.3415, allocations: 140.5 kB / 468 MB, free: 13.27 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005907/0.3421, allocations: 329.4 kB / 468.3 MB, free: 12.91 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001583/0.3422, allocations: 84.11 kB / 468.4 MB, free: 12.82 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001049/0.3424, allocations: 24 kB / 468.4 MB, free: 12.79 MB / 334.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001257/0.3436, allocations: 0.5247 MB / 468.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001046/0.3447, allocations: 465.2 kB / 469.4 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.3448, allocations: 7.906 kB / 469.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.509e-05/0.3448, allocations: 3.984 kB / 469.4 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.576e-05/0.3449, allocations: 12 kB / 469.4 MB, free: 11.78 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002605/0.3475, allocations: 1.074 MB / 470.5 MB, free: 10.66 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001007/0.3485, allocations: 444.3 kB / 470.9 MB, free: 10.2 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005769/0.3491, allocations: 268.9 kB / 471.2 MB, free: 9.941 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 6.389e-05/0.3492, allocations: 8.562 kB / 471.2 MB, free: 9.934 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.171e-05/0.3492, allocations: 39.12 kB / 471.2 MB, free: 9.887 MB / 334.1 MB Notification: Performance of pre-optimization done (n=63): time 3.589e-06/0.3492, allocations: 0 / 471.2 MB, free: 9.887 MB / 334.1 MB Notification: Performance of matching and sorting (n=71): time 0.005323/0.3546, allocations: 1.871 MB / 473.1 MB, free: 7.93 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.96e-05/0.3547, allocations: 85.89 kB / 473.2 MB, free: 7.828 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003269/0.355, allocations: 220.4 kB / 473.4 MB, free: 7.605 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.163e-05/0.3551, allocations: 37.69 kB / 473.4 MB, free: 7.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001386/0.3553, allocations: 149.6 kB / 473.6 MB, free: 7.41 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002526/0.3555, allocations: 228.7 kB / 473.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.842e-05/0.3556, allocations: 0 / 473.8 MB, free: 7.184 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001735/0.3558, allocations: 350.8 kB / 474.1 MB, free: 6.832 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005371/0.3563, allocations: 229.5 kB / 474.4 MB, free: 6.605 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005987/0.3569, allocations: 286.3 kB / 474.6 MB, free: 6.32 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000709/0.3577, allocations: 212.5 kB / 474.9 MB, free: 6.113 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.3577, allocations: 0 / 474.9 MB, free: 6.113 MB / 334.1 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002094/0.3598, allocations: 0.7514 MB / 475.6 MB, free: 5.352 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.098e-05/0.3598, allocations: 4 kB / 475.6 MB, free: 5.348 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.305e-05/0.3598, allocations: 11.89 kB / 475.6 MB, free: 5.336 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001339/0.3612, allocations: 414.7 kB / 476 MB, free: 4.93 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.3617, allocations: 91.88 kB / 476.1 MB, free: 4.84 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001799/0.3635, allocations: 1.056 MB / 477.2 MB, free: 3.762 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006156/0.3642, allocations: 72.03 kB / 477.2 MB, free: 3.691 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000103/0.3643, allocations: 27.98 kB / 477.3 MB, free: 3.664 MB / 334.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: bearingFriction.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real gear.sa:VARIABLE(unit = "1" ) "Path parameter for acceleration and torque loss" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 15 (bearingFriction.free,gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,$PRE.gear.mode,gear.mode,$PRE.bearingFriction.startForward,bearingFriction.startForward,$PRE.bearingFriction.startBackward,bearingFriction.startBackward,bearingFriction.locked,$PRE.bearingFriction.mode,bearingFriction.mode,gear.ideal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 44 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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: 0 * Non-linear torn systems: 1 {2 32} Notification: Performance of prepare postOptimizeDAE: time 0.0002546/0.3646, allocations: 124.8 kB / 477.4 MB, free: 3.535 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000136/0.3647, allocations: 43.53 kB / 477.4 MB, free: 3.492 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002093/0.3668, allocations: 0.7628 MB / 478.2 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.482e-05/0.3668, allocations: 12 kB / 478.2 MB, free: 2.703 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.278e-06/0.3669, allocations: 4 kB / 478.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.232e-05/0.3669, allocations: 3.984 kB / 478.2 MB, free: 2.695 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003916/0.3708, allocations: 1.541 MB / 479.8 MB, free: 1.094 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.589e-06/0.3708, allocations: 4.062 kB / 479.8 MB, free: 1.09 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005173/0.3714, allocations: 83.88 kB / 479.8 MB, free: 1.008 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001205/0.3726, allocations: 396.5 kB / 480.2 MB, free: 0.6172 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.003e-05/0.3727, allocations: 11.98 kB / 480.2 MB, free: 0.6055 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001702/0.3744, allocations: 1.017 MB / 481.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.505e-06/0.3744, allocations: 3.953 kB / 481.3 MB, free: 15.56 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02141/0.3959, allocations: 8.432 MB / 489.7 MB, free: 6.805 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003459/0.3962, allocations: 184.6 kB / 489.9 MB, free: 6.605 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001078/0.3964, allocations: 4 kB / 489.9 MB, free: 6.602 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005874/0.397, allocations: 60.06 kB / 489.9 MB, free: 6.543 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002769/0.3973, allocations: 100.4 kB / 490 MB, free: 6.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.964e-05/0.3974, allocations: 31.97 kB / 490.1 MB, free: 6.414 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0002424/0.3976, allocations: 180.5 kB / 490.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.27e-07/0.3976, allocations: 0 / 490.2 MB, free: 6.242 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001103/0.3987, allocations: 212 kB / 490.5 MB, free: 6.035 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 9 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode,bearingFriction.startForward,bearingFriction.startBackward,bearingFriction.locked,bearingFriction.mode) * Number of discrete states: 4 (bearingFriction.mode,bearingFriction.startBackward,bearingFriction.startForward,gear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 39 * Array equations: 0 * 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: 0 * Non-linear torn systems: 1 {2 29} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003954/0.3992, allocations: 175.1 kB / 490.6 MB, free: 5.855 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001524/0.4007, allocations: 0.6052 MB / 491.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.521e-06/0.4007, allocations: 0 / 491.2 MB, free: 5.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0008891/0.4016, allocations: 329.9 kB / 491.5 MB, free: 4.922 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004536/0.4021, allocations: 40.52 kB / 491.6 MB, free: 4.883 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003662/0.4058, allocations: 1.48 MB / 493.1 MB, free: 3.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005521/0.4064, allocations: 0.8449 MB / 493.9 MB, free: 2.48 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0004521/0.4068, allocations: 75.25 kB / 494 MB, free: 2.406 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000278/0.4071, allocations: 55.39 kB / 494 MB, free: 2.352 MB / 350.1 MB Notification: Performance of SimCode: time 1.522e-06/0.4071, allocations: 0 / 494 MB, free: 2.352 MB / 350.1 MB Notification: Performance of Templates: time 0.02909/0.4362, allocations: 10.98 MB / 0.4932 GB, free: 7.375 MB / 366.1 MB