Notification: Performance of FrontEnd - loaded program: time 1.471e-05/1.488e-05, allocations: 0 / 332.3 MB, free: 11.91 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2448/0.2448, allocations: 44.51 MB / 376.8 MB, free: 73.96 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1031/0.348, allocations: 75.3 MB / 452.1 MB, free: 11.89 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.3483, allocations: 73.97 kB / 452.2 MB, free: 11.82 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.02617/0.3745, allocations: 6.523 MB / 458.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of FrontEnd: time 2.473e-06/0.3745, allocations: 0 / 458.7 MB, free: 5.336 MB / 318.1 MB Notification: Performance of Transformations before backend: time 2.429e-05/0.3746, allocations: 8 kB / 458.7 MB, free: 5.328 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: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.001311/0.3759, allocations: 0.6621 MB / 459.3 MB, free: 4.621 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.879e-05/0.376, allocations: 8.031 kB / 459.4 MB, free: 4.613 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001109/0.3761, allocations: 39.53 kB / 459.4 MB, free: 4.574 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003786/0.3765, allocations: 297.4 kB / 459.7 MB, free: 4.246 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.552e-05/0.3765, allocations: 16.78 kB / 459.7 MB, free: 4.23 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.464e-05/0.3766, allocations: 20 kB / 459.7 MB, free: 4.211 MB / 318.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007761/0.3774, allocations: 353.4 kB / 460.1 MB, free: 3.863 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000699/0.3781, allocations: 342 kB / 460.4 MB, free: 3.523 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.535e-05/0.3782, allocations: 4 kB / 460.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.296e-05/0.3782, allocations: 0 / 460.4 MB, free: 3.52 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.117e-05/0.3782, allocations: 16.66 kB / 460.4 MB, free: 3.504 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00275/0.381, allocations: 1.217 MB / 461.6 MB, free: 2.223 MB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006952/0.3817, allocations: 336.4 kB / 462 MB, free: 1.883 MB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003656/0.3821, allocations: 202.1 kB / 462.2 MB, free: 1.684 MB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.919e-05/0.3822, allocations: 4.438 kB / 462.2 MB, free: 1.68 MB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.688e-05/0.3822, allocations: 39 kB / 462.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of pre-optimization done (n=47): time 3.173e-06/0.3822, allocations: 2.234 kB / 462.2 MB, free: 1.633 MB / 318.1 MB Notification: Performance of matching and sorting (n=51): time 0.004225/0.3865, allocations: 1.599 MB / 463.8 MB, free: 15.92 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.316e-05/0.3865, allocations: 55.84 kB / 463.9 MB, free: 15.85 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002362/0.3868, allocations: 180.5 kB / 464 MB, free: 15.67 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 7.552e-05/0.3869, allocations: 37.69 kB / 464.1 MB, free: 15.62 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001342/0.387, allocations: 160.7 kB / 464.2 MB, free: 15.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001895/0.3872, allocations: 170.2 kB / 464.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.11e-05/0.3873, allocations: 0 / 464.4 MB, free: 15.3 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001771/0.3875, allocations: 342.8 kB / 464.7 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004373/0.3879, allocations: 181.1 kB / 464.9 MB, free: 14.77 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005561/0.3885, allocations: 242.1 kB / 465.1 MB, free: 14.52 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005509/0.3891, allocations: 150.1 kB / 465.3 MB, free: 14.37 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.278e-06/0.3891, allocations: 0 / 465.3 MB, free: 14.37 MB / 334.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002245/0.3913, allocations: 0.6609 MB / 466 MB, free: 13.7 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.571e-05/0.3914, allocations: 7.938 kB / 466 MB, free: 13.69 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.441e-05/0.3914, allocations: 11.92 kB / 466 MB, free: 13.68 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00128/0.3927, allocations: 434.4 kB / 466.4 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/0.3931, allocations: 75.89 kB / 466.5 MB, free: 13.17 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004114/0.3972, allocations: 3.348 MB / 469.8 MB, free: 9.562 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006782/0.398, allocations: 88.06 kB / 469.9 MB, free: 9.477 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.664e-05/0.3981, allocations: 27.98 kB / 469.9 MB, free: 9.449 MB / 334.1 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: clutch.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real brake.sa:VARIABLE(unit = "1" ) "Path parameter of friction characteristic tau = f(a_relfric)" type: Real Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 16 (clutch.free,$PRE.clutch.startForward,clutch.startForward,$PRE.clutch.startBackward,clutch.startBackward,clutch.locked,$PRE.clutch.mode,clutch.mode,brake.free,$PRE.brake.startForward,brake.startForward,$PRE.brake.startBackward,brake.startBackward,brake.locked,$PRE.brake.mode,brake.mode) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {2 16} Notification: Performance of prepare postOptimizeDAE: time 0.0002573/0.3984, allocations: 128.6 kB / 470.1 MB, free: 9.316 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.3985, allocations: 35.58 kB / 470.1 MB, free: 9.281 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002058/0.4005, allocations: 0.6676 MB / 470.8 MB, free: 8.598 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.4006, allocations: 8 kB / 470.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.923e-06/0.4006, allocations: 0 / 470.8 MB, free: 8.59 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.4006, allocations: 7.953 kB / 470.8 MB, free: 8.582 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00253/0.4032, allocations: 1.058 MB / 471.8 MB, free: 7.465 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.4032, allocations: 7.984 kB / 471.8 MB, free: 7.457 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004182/0.4036, allocations: 63.97 kB / 471.9 MB, free: 7.395 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001198/0.4048, allocations: 422.1 kB / 472.3 MB, free: 6.973 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.195e-05/0.4049, allocations: 11.98 kB / 472.3 MB, free: 6.961 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003735/0.4087, allocations: 3.314 MB / 475.6 MB, free: 3.391 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.743e-06/0.4087, allocations: 3.984 kB / 475.6 MB, free: 3.387 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0206/0.4293, allocations: 8.694 MB / 484.3 MB, free: 10.27 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002721/0.4296, allocations: 156.7 kB / 484.5 MB, free: 10.1 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.83e-05/0.4297, allocations: 8 kB / 484.5 MB, free: 10.09 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007039/0.4305, allocations: 87.97 kB / 484.6 MB, free: 10 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002864/0.4308, allocations: 112.2 kB / 484.7 MB, free: 9.895 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.716e-05/0.4309, allocations: 24.08 kB / 484.7 MB, free: 9.871 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001925/0.4311, allocations: 161.9 kB / 484.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.3e-07/0.4311, allocations: 0 / 484.9 MB, free: 9.711 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.001033/0.4321, allocations: 183.9 kB / 485.1 MB, free: 9.531 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (load.w,quadraticSpeedDependentTorque.phi,clutch.phi_rel,clutch.w_rel) * Number of discrete variables: 10 (clutch.free,clutch.startForward,clutch.startBackward,clutch.locked,clutch.mode,brake.free,brake.startForward,brake.startBackward,brake.locked,brake.mode) * Number of discrete states: 6 (brake.mode,brake.startBackward,brake.startForward,clutch.mode,clutch.startBackward,clutch.startForward) * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 28 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(1,100.0%) 1,(1,100.0%) 1} * Non-linear torn systems: 1 {2 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003708/0.4325, allocations: 163.1 kB / 485.2 MB, free: 9.359 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.001716/0.4342, allocations: 0.7393 MB / 486 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.039e-06/0.4343, allocations: 0 / 486 MB, free: 8.59 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001065/0.4353, allocations: 483.3 kB / 486.4 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000544/0.4359, allocations: 44.52 kB / 486.5 MB, free: 8.059 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003214/0.4391, allocations: 1.327 MB / 487.8 MB, free: 6.676 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005222/0.4397, allocations: 0.8316 MB / 488.6 MB, free: 5.816 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.0002309/0.4399, allocations: 27.3 kB / 488.7 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001326/0.4401, allocations: 35.41 kB / 488.7 MB, free: 5.754 MB / 350.1 MB Notification: Performance of SimCode: time 4.096e-06/0.4401, allocations: 4 kB / 488.7 MB, free: 5.75 MB / 350.1 MB Notification: Performance of Templates: time 0.02969/0.4698, allocations: 10.53 MB / 499.2 MB, free: 11.23 MB / 366.1 MB