Notification: Performance of FrontEnd - loaded program: time 1.451e-05/1.468e-05, allocations: 0 / 332.6 MB, free: 11.7 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2134/0.2134, allocations: 44.51 MB / 377.1 MB, free: 74.18 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09268/0.3062, allocations: 75.66 MB / 452.8 MB, free: 11.51 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000268/0.3065, allocations: 71.95 kB / 452.9 MB, free: 11.44 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05169/0.3582, allocations: 9.879 MB / 462.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of FrontEnd: time 3.125e-06/0.3582, allocations: 0 / 462.7 MB, free: 1.594 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.823e-05/0.3583, allocations: 12 kB / 462.7 MB, free: 1.582 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 76 * Number of variables: 76 Notification: Performance of Generate backend data structure: time 0.001428/0.3597, allocations: 0.588 MB / 463.3 MB, free: 0.9492 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.3598, allocations: 12.03 kB / 463.3 MB, free: 0.9375 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005224/0.3603, allocations: 132.6 kB / 463.5 MB, free: 0.7891 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005551/0.3609, allocations: 282.6 kB / 463.7 MB, free: 484 kB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001628/0.3611, allocations: 80.17 kB / 463.8 MB, free: 392 kB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001081/0.3612, allocations: 23.91 kB / 463.9 MB, free: 368 kB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001203/0.3625, allocations: 397.3 kB / 464.2 MB, free: 15.97 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001067/0.3635, allocations: 333.3 kB / 464.6 MB, free: 15.63 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/0.3636, allocations: 11.94 kB / 464.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.103e-05/0.3637, allocations: 3.984 kB / 464.6 MB, free: 15.62 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.679e-05/0.3637, allocations: 11.94 kB / 464.6 MB, free: 15.61 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00254/0.3663, allocations: 0.8382 MB / 465.4 MB, free: 14.71 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001105/0.3674, allocations: 327.7 kB / 465.8 MB, free: 14.39 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005927/0.368, allocations: 186.1 kB / 465.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.309e-05/0.3681, allocations: 4.438 kB / 465.9 MB, free: 14.2 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.758e-05/0.3682, allocations: 39 kB / 466 MB, free: 14.15 MB / 334.1 MB Notification: Performance of pre-optimization done (n=49): time 5.841e-06/0.3682, allocations: 0 / 466 MB, free: 14.15 MB / 334.1 MB Notification: Performance of matching and sorting (n=55): time 0.005531/0.3737, allocations: 1.433 MB / 467.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.449e-05/0.3739, allocations: 85.67 kB / 467.5 MB, free: 12.53 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003799/0.3743, allocations: 179.7 kB / 467.7 MB, free: 12.34 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.121e-05/0.3744, allocations: 25.7 kB / 467.7 MB, free: 12.31 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/0.3746, allocations: 145 kB / 467.8 MB, free: 12.16 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002796/0.3749, allocations: 169.4 kB / 468 MB, free: 12 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.687e-05/0.3749, allocations: 0 / 468 MB, free: 12 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.3752, allocations: 346.7 kB / 468.3 MB, free: 11.65 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.3757, allocations: 161 kB / 468.5 MB, free: 11.49 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006053/0.3764, allocations: 199.6 kB / 468.7 MB, free: 11.29 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007148/0.3771, allocations: 154.1 kB / 468.8 MB, free: 11.14 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.048e-06/0.3771, allocations: 8.031 kB / 468.8 MB, free: 11.13 MB / 334.1 MB Notification: Performance of matching and sorting (n=59) (initialization): time 0.002009/0.3792, allocations: 0.5158 MB / 469.4 MB, free: 10.61 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.316e-05/0.3792, allocations: 7.938 kB / 469.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.168e-05/0.3793, allocations: 0 / 469.4 MB, free: 10.6 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001361/0.3806, allocations: 242.7 kB / 469.6 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006218/0.3813, allocations: 63.95 kB / 469.7 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006776/0.3881, allocations: 2.592 MB / 472.3 MB, free: 7.59 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006044/0.3887, allocations: 23.97 kB / 472.3 MB, free: 7.566 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000107/0.3889, allocations: 20 kB / 472.3 MB, free: 7.547 MB / 334.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: gear.flange_a.tau:VARIABLE(flow=true unit = "N.m" ) "Cut torque in the flange" 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: 2 * Number of states: 0 () * Number of discrete variables: 7 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,$PRE.gear.mode,gear.mode,gear.ideal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (33): * Single equations (assignments): 32 * 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 25} Notification: Performance of prepare postOptimizeDAE: time 0.0003009/0.3892, allocations: 126.5 kB / 472.4 MB, free: 7.418 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001662/0.3894, allocations: 35.62 kB / 472.5 MB, free: 7.383 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001563/0.3896, allocations: 39.41 kB / 472.5 MB, free: 7.344 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.22e-05/0.3896, allocations: 4 kB / 472.5 MB, free: 7.34 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.98e-06/0.3896, allocations: 0 / 472.5 MB, free: 7.34 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.387e-05/0.3896, allocations: 3.984 kB / 472.5 MB, free: 7.336 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003711/0.3934, allocations: 1.093 MB / 473.6 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.206e-06/0.3934, allocations: 0 / 473.6 MB, free: 6.195 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006507/0.3941, allocations: 67.89 kB / 473.7 MB, free: 6.129 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001185/0.3953, allocations: 224.7 kB / 473.9 MB, free: 5.906 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.852e-05/0.3954, allocations: 7.984 kB / 473.9 MB, free: 5.898 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006413/0.4018, allocations: 2.517 MB / 476.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.34e-06/0.4019, allocations: 0 / 476.4 MB, free: 3.258 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02001/0.4219, allocations: 6.219 MB / 482.6 MB, free: 12.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003747/0.4223, allocations: 152.7 kB / 482.8 MB, free: 12.59 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001087/0.4224, allocations: 4 kB / 482.8 MB, free: 12.58 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006159/0.4231, allocations: 27.97 kB / 482.8 MB, free: 12.55 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000328/0.4234, allocations: 84.55 kB / 482.9 MB, free: 12.47 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.881e-05/0.4235, allocations: 19.98 kB / 482.9 MB, free: 12.45 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000261/0.4238, allocations: 147.3 kB / 483.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of sort global known variables: time 8.42e-07/0.4238, allocations: 0 / 483.1 MB, free: 12.31 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001813/0.4257, allocations: 207.9 kB / 483.3 MB, free: 12.11 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 2 (Inertia2.phi,Inertia2.w) * Number of discrete variables: 5 (gear.tau_aPos,gear.startForward,gear.startBackward,gear.locked,gear.mode) * Number of discrete states: 1 (gear.mode) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 30 * 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 23} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005201/0.4262, allocations: 175 kB / 483.4 MB, free: 11.93 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001951/0.4282, allocations: 0.5839 MB / 484 MB, free: 11.34 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 7.525e-06/0.4282, allocations: 3.938 kB / 484 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001227/0.4295, allocations: 413.7 kB / 484.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005844/0.4301, allocations: 28.98 kB / 484.5 MB, free: 10.89 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00299/0.4331, allocations: 1.054 MB / 485.5 MB, free: 9.789 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006696/0.4338, allocations: 0.8169 MB / 486.3 MB, free: 8.945 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0006166/0.4344, allocations: 79.23 kB / 486.4 MB, free: 8.867 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/0.4348, allocations: 43.39 kB / 486.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of SimCode: time 1.709e-06/0.4348, allocations: 0 / 486.4 MB, free: 8.824 MB / 350.1 MB Notification: Performance of Templates: time 0.03317/0.468, allocations: 8.681 MB / 495.1 MB, free: 156 kB / 350.1 MB