Notification: Performance of FrontEnd - loaded program: time 1.428e-05/1.447e-05, allocations: 0 / 355.7 MB, free: 4.059 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.216, allocations: 44.51 MB / 400.2 MB, free: 83.87 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1382/0.3543, allocations: 97.02 MB / 497.2 MB, free: 2.699 MB / 334.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002836/0.3546, allocations: 87.95 kB / 497.3 MB, free: 2.613 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.3001/0.6548, allocations: 40.74 MB / 0.5255 GB, free: 89.3 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.774e-06/0.6548, allocations: 0 / 0.5255 GB, free: 89.3 MB / 350.1 MB Notification: Performance of Transformations before backend: time 0.0001132/0.6549, allocations: 40 kB / 0.5255 GB, free: 89.26 MB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.003062/0.658, allocations: 1.81 MB / 0.5273 GB, free: 87.39 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.71e-05/0.658, allocations: 8.031 kB / 0.5273 GB, free: 87.38 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007745/0.6588, allocations: 346.7 kB / 0.5276 GB, free: 87.02 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002475/0.6613, allocations: 1.185 MB / 0.5288 GB, free: 85.8 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.096e-05/0.6614, allocations: 71.12 kB / 0.5288 GB, free: 85.73 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002497/0.6617, allocations: 104 kB / 0.5289 GB, free: 85.63 MB / 350.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002602/0.6643, allocations: 1.072 MB / 0.53 GB, free: 84.56 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002992/0.6673, allocations: 1.413 MB / 0.5314 GB, free: 83.06 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.748e-05/0.6674, allocations: 7.938 kB / 0.5314 GB, free: 83.05 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001622/0.6676, allocations: 7.984 kB / 0.5314 GB, free: 83.05 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.236e-05/0.6676, allocations: 40 kB / 0.5314 GB, free: 83.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009647/0.6773, allocations: 6.612 MB / 0.5379 GB, free: 76.21 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001731/0.679, allocations: 0.9565 MB / 0.5388 GB, free: 75.24 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.6802, allocations: 0.6106 MB / 0.5394 GB, free: 74.63 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 7.597e-05/0.6803, allocations: 17.31 kB / 0.5394 GB, free: 74.62 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001181/0.6815, allocations: 0.6742 MB / 0.5401 GB, free: 73.91 MB / 350.1 MB Notification: Performance of pre-optimization done (n=122): time 4.214e-06/0.6815, allocations: 0 / 0.5401 GB, free: 73.91 MB / 350.1 MB Notification: Performance of matching and sorting (n=125): time 0.005535/0.687, allocations: 2.52 MB / 0.5425 GB, free: 71.33 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.91e-05/0.6871, allocations: 209.2 kB / 0.5427 GB, free: 71.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001538/0.6887, allocations: 0.9214 MB / 0.5436 GB, free: 70.16 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 9.134e-05/0.6888, allocations: 33.7 kB / 0.5437 GB, free: 70.12 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006606/0.6895, allocations: 0.7878 MB / 0.5444 GB, free: 69.32 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003166/0.6898, allocations: 370.5 kB / 0.5448 GB, free: 68.96 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.729e-05/0.6899, allocations: 0 / 0.5448 GB, free: 68.96 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001409/0.6901, allocations: 361.9 kB / 0.5451 GB, free: 68.6 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008646/0.6909, allocations: 396 kB / 0.5455 GB, free: 68.21 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00106/0.692, allocations: 0.7863 MB / 0.5463 GB, free: 67.25 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.6931, allocations: 494 kB / 0.5467 GB, free: 66.77 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.878e-06/0.6931, allocations: 7.938 kB / 0.5468 GB, free: 66.76 MB / 350.1 MB Notification: Performance of matching and sorting (n=184) (initialization): time 0.003153/0.6963, allocations: 1.448 MB / 0.5482 GB, free: 65.3 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009634/0.6972, allocations: 4.909 MB / 0.553 GB, free: 60.02 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.289e-05/0.6973, allocations: 23.97 kB / 0.553 GB, free: 59.99 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001172/0.6985, allocations: 326.4 kB / 0.5533 GB, free: 59.66 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000919/0.6994, allocations: 227.6 kB / 0.5535 GB, free: 59.44 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006672/0.7061, allocations: 5.909 MB / 0.5593 GB, free: 53.19 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00135/0.7075, allocations: 63.83 kB / 0.5593 GB, free: 53.12 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001427/0.7077, allocations: 64 kB / 0.5594 GB, free: 53.06 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.013e-05/0.7077, allocations: 4 kB / 0.5594 GB, free: 53.06 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002996/0.7107, allocations: 1.31 MB / 0.5607 GB, free: 51.74 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.7107, allocations: 12 kB / 0.5607 GB, free: 51.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0011/0.7118, allocations: 343.2 kB / 0.561 GB, free: 51.39 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008302/0.7127, allocations: 215.7 kB / 0.5612 GB, free: 51.18 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00686/0.7196, allocations: 5.917 MB / 0.567 GB, free: 44.91 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001331/0.7209, allocations: 43.94 kB / 0.5671 GB, free: 44.87 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001728/0.7211, allocations: 64 kB / 0.5671 GB, free: 44.8 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 55 * Number of states: 0 () * Number of discrete variables: 46 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$PRE.meanCurrent.y,meanCurrent.y,$PRE.meanVoltage.y,meanVoltage.y,$whenCondition4,$whenCondition3,$whenCondition6,signalPWM.zeroOrderHold.sampleTrigger,$whenCondition2,signalPWM.zeroOrderHold.ySample,dutyCycleTable.a,dutyCycleTable.b,dutyCycleTable.last,$PRE.dutyCycleTable.nextEvent,dutyCycleTable.nextEvent,dutyCycleTable.nextEventScaled,$whenCondition5,$whenCondition1,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count,torqueTable.a,torqueTable.b,torqueTable.last,$PRE.torqueTable.nextEvent,torqueTable.nextEvent,torqueTable.nextEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (138): * Single equations (assignments): 132 * Array equations: 0 * Algorithm blocks: 3 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 2 {4 11,4 11} Notification: Performance of prepare postOptimizeDAE: time 0.0003972/0.7215, allocations: 229.2 kB / 0.5673 GB, free: 44.56 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002605/0.7218, allocations: 154.2 kB / 0.5675 GB, free: 44.41 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002886/0.7247, allocations: 1.244 MB / 0.5687 GB, free: 43.15 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.122e-05/0.7247, allocations: 8 kB / 0.5687 GB, free: 43.14 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.261e-06/0.7248, allocations: 4 kB / 0.5687 GB, free: 43.14 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.427e-05/0.7248, allocations: 3.984 kB / 0.5687 GB, free: 43.13 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005356/0.7302, allocations: 2.744 MB / 0.5714 GB, free: 40.34 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.485e-06/0.7302, allocations: 224 / 0.5714 GB, free: 40.34 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006217/0.7308, allocations: 123.9 kB / 0.5715 GB, free: 40.22 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001061/0.7319, allocations: 327.3 kB / 0.5718 GB, free: 39.9 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.42e-05/0.732, allocations: 19.98 kB / 0.5718 GB, free: 39.88 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006739/0.7388, allocations: 5.886 MB / 0.5776 GB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.276e-06/0.7388, allocations: 8.109 kB / 0.5776 GB, free: 33.64 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02346/0.7623, allocations: 13.95 MB / 0.5912 GB, free: 19.11 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006809/0.763, allocations: 351.1 kB / 0.5916 GB, free: 18.75 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002466/0.7633, allocations: 8 kB / 0.5916 GB, free: 18.74 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008347/0.7641, allocations: 40.03 kB / 0.5916 GB, free: 18.7 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002926/0.7644, allocations: 109.2 kB / 0.5917 GB, free: 18.59 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/0.7645, allocations: 43.98 kB / 0.5917 GB, free: 18.55 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.00117/0.7657, allocations: 0.6716 MB / 0.5924 GB, free: 17.87 MB / 350.1 MB Notification: Performance of sort global known variables: time 6.66e-07/0.7657, allocations: 0 / 0.5924 GB, free: 17.87 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.004144/0.7699, allocations: 0.996 MB / 0.5934 GB, free: 16.88 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 5 (meanCurrent.x,meanVoltage.x,dcpm.inertiaRotor.phi,dcpm.inertiaRotor.w,inductor.i) * Number of discrete variables: 38 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,hbridge.andCondition_p.y,hbridge.andCondition_n.y,hbridge.fire_n,hbridge.inverter_p.andCondition_p.y,hbridge.inverter_p.andCondition_n.y,hbridge.inverter_p.transistor_p.off,hbridge.inverter_p.diode_p.off,hbridge.inverter_p.transistor_n.off,hbridge.inverter_p.diode_n.off,hbridge.inverter_n.andCondition_p.y,hbridge.inverter_n.andCondition_n.y,hbridge.inverter_n.transistor_p.off,hbridge.inverter_n.diode_p.off,hbridge.inverter_n.transistor_n.off,hbridge.inverter_n.diode_n.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,meanCurrent.y,meanVoltage.y,torqueTable.a,torqueTable.b,torqueTable.last,torqueTable.nextEvent,torqueTable.nextEventScaled,dutyCycleTable.a,dutyCycleTable.b,dutyCycleTable.last,dutyCycleTable.nextEvent,dutyCycleTable.nextEventScaled) * Number of discrete states: 16 (signalPWM.sawtooth.count,meanCurrent.x,meanVoltage.x,dutyCycleTable.nextEvent,dutyCycleTable.last,dutyCycleTable.nextEventScaled,dutyCycleTable.b,dutyCycleTable.a,$whenCondition2,torqueTable.nextEvent,torqueTable.last,torqueTable.nextEventScaled,torqueTable.b,torqueTable.a,$whenCondition1,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (80): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 6 * 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: 1 {(1,100.0%) 5} * Non-linear torn systems: 2 {4 11,4 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.000701/0.7706, allocations: 403.3 kB / 0.5938 GB, free: 16.5 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.004761/0.7754, allocations: 3.124 MB / 0.5968 GB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 5.318e-06/0.7754, allocations: 0 / 0.5968 GB, free: 13.25 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001847/0.7773, allocations: 1.208 MB / 0.598 GB, free: 11.98 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001586/0.7789, allocations: 252.9 kB / 0.5982 GB, free: 11.73 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00665/0.7856, allocations: 3.583 MB / 0.6017 GB, free: 8.043 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/0.7867, allocations: 1.389 MB / 0.6031 GB, free: 6.621 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 0.001555/0.7883, allocations: 238.8 kB / 0.6033 GB, free: 6.383 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000188/0.7885, allocations: 67.44 kB / 0.6034 GB, free: 6.316 MB / 350.1 MB Notification: Performance of SimCode: time 1.243e-06/0.7885, allocations: 0 / 0.6034 GB, free: 6.316 MB / 350.1 MB Notification: Performance of Templates: time 0.06666/0.8552, allocations: 27.03 MB / 0.6298 GB, free: 11.24 MB / 382.1 MB