Notification: Performance of FrontEnd - loaded program: time 1.708e-05/1.727e-05, allocations: 4 kB / 336.4 MB, free: 7.684 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2501/0.2501, allocations: 44.51 MB / 380.9 MB, free: 77.21 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09511/0.3453, allocations: 78.84 MB / 459.7 MB, free: 7.699 MB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002464/0.3456, allocations: 87.89 kB / 459.8 MB, free: 7.613 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.05566/0.4013, allocations: 11.64 MB / 471.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.4013, allocations: 0 / 471.5 MB, free: 11.9 MB / 334.1 MB Notification: Performance of Transformations before backend: time 8.208e-05/0.4014, allocations: 16 kB / 471.5 MB, free: 11.88 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: 162 * Number of variables: 162 Notification: Performance of Generate backend data structure: time 0.003475/0.4049, allocations: 0.9558 MB / 472.4 MB, free: 10.87 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.768e-05/0.405, allocations: 8.031 kB / 472.5 MB, free: 10.86 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003656/0.4054, allocations: 98.86 kB / 472.5 MB, free: 10.77 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001717/0.4071, allocations: 0.5038 MB / 473.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.268e-05/0.4072, allocations: 33.3 kB / 473.1 MB, free: 10.18 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002145/0.4074, allocations: 43.94 kB / 473.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002135/0.4096, allocations: 442.6 kB / 473.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002373/0.412, allocations: 0.5902 MB / 474.1 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.404e-05/0.4121, allocations: 0 / 474.1 MB, free: 9.094 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001348/0.4122, allocations: 8 kB / 474.2 MB, free: 9.086 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.996e-05/0.4123, allocations: 16 kB / 474.2 MB, free: 9.07 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007683/0.42, allocations: 2.463 MB / 476.6 MB, free: 6.52 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001724/0.4217, allocations: 0.4896 MB / 477.1 MB, free: 6.016 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005778/0.4223, allocations: 254.5 kB / 477.4 MB, free: 5.766 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.707e-05/0.4224, allocations: 8.562 kB / 477.4 MB, free: 5.758 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008791/0.4233, allocations: 380.7 kB / 477.8 MB, free: 5.367 MB / 334.1 MB Notification: Performance of pre-optimization done (n=67): time 3.68e-06/0.4233, allocations: 4 kB / 477.8 MB, free: 5.363 MB / 334.1 MB Notification: Performance of matching and sorting (n=67): time 0.001525/0.4249, allocations: 0.5539 MB / 478.3 MB, free: 4.801 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.302e-05/0.425, allocations: 119.4 kB / 478.4 MB, free: 4.66 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006714/0.4256, allocations: 377.2 kB / 478.8 MB, free: 4.285 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 8.076e-05/0.4257, allocations: 41.62 kB / 478.8 MB, free: 4.238 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000352/0.4261, allocations: 324.3 kB / 479.2 MB, free: 3.914 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002366/0.4264, allocations: 193.2 kB / 479.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.275e-05/0.4264, allocations: 0 / 479.3 MB, free: 3.723 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002207/0.4267, allocations: 374.8 kB / 479.7 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004829/0.4272, allocations: 181.5 kB / 479.9 MB, free: 3.172 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006491/0.4278, allocations: 339.7 kB / 480.2 MB, free: 2.77 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000537/0.4284, allocations: 208.7 kB / 480.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.776e-06/0.4284, allocations: 0 / 480.4 MB, free: 2.57 MB / 334.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001675/0.4301, allocations: 0.6443 MB / 481.1 MB, free: 1.914 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009709/0.4311, allocations: 1.872 MB / 482.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.46e-05/0.4311, allocations: 4 kB / 482.9 MB, free: 15.89 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000683/0.4318, allocations: 144.7 kB / 483.1 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007124/0.4325, allocations: 119.8 kB / 483.2 MB, free: 15.63 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003591/0.4361, allocations: 2.239 MB / 485.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007476/0.4369, allocations: 67.61 kB / 485.5 MB, free: 13.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.151e-05/0.437, allocations: 31.98 kB / 485.5 MB, free: 13.17 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.437, allocations: 4 kB / 485.5 MB, free: 13.16 MB / 350.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001447/0.4385, allocations: 0.5535 MB / 486.1 MB, free: 12.61 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.4385, allocations: 4 kB / 486.1 MB, free: 12.6 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005474/0.4391, allocations: 149.2 kB / 486.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005777/0.4397, allocations: 119.8 kB / 486.4 MB, free: 12.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003421/0.4431, allocations: 2.229 MB / 488.6 MB, free: 9.996 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006443/0.4438, allocations: 59.56 kB / 488.6 MB, free: 9.938 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.684e-05/0.4439, allocations: 28 kB / 488.7 MB, free: 9.91 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * Number of states: 0 () * Number of discrete variables: 30 ($PRE.signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.firstTrigger,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean1.y,$PRE.fundamentalWaveCurrent.mean2.y,fundamentalWaveCurrent.mean2.y,$PRE.fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean1.y,$PRE.fundamentalWaveVoltage.mean2.y,fundamentalWaveVoltage.mean2.y,$whenCondition6,signalPWM.zeroOrderHold.sampleTrigger,signalPWM.zeroOrderHold.ySample,$whenCondition5,inverter.andCondition_p.y,inverter.andCondition_n.y,inverter.fire_n,inverter.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.off,$PRE.signalPWM.zeroOrderHold.ySample,$PRE.signalPWM.sawtooth.T_start,signalPWM.sawtooth.T_start,$PRE.signalPWM.sawtooth.count,signalPWM.sawtooth.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 1 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002625/0.4442, allocations: 146.1 kB / 488.8 MB, free: 9.762 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001416/0.4443, allocations: 63.23 kB / 488.9 MB, free: 9.699 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001533/0.4459, allocations: 0.5959 MB / 489.5 MB, free: 9.094 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.439e-06/0.4459, allocations: 4 kB / 489.5 MB, free: 9.09 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.866e-06/0.4459, allocations: 4 kB / 489.5 MB, free: 9.086 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.233e-05/0.4459, allocations: 7.922 kB / 489.5 MB, free: 9.078 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.4486, allocations: 1.315 MB / 490.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.005e-06/0.4487, allocations: 0 / 490.8 MB, free: 7.707 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005548/0.4492, allocations: 79.88 kB / 490.9 MB, free: 7.629 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005473/0.4498, allocations: 148.9 kB / 491 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.862e-05/0.4499, allocations: 7.984 kB / 491 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003399/0.4533, allocations: 2.213 MB / 493.3 MB, free: 5.141 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.056e-06/0.4533, allocations: 8.031 kB / 493.3 MB, free: 5.133 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0113/0.4646, allocations: 5.803 MB / 499.1 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003592/0.465, allocations: 196.2 kB / 499.3 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001155/0.4651, allocations: 8 kB / 499.3 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000585/0.4657, allocations: 39.95 kB / 499.3 MB, free: 14.82 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/0.466, allocations: 72.45 kB / 499.4 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.022e-05/0.4661, allocations: 23.98 kB / 499.4 MB, free: 14.73 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0004666/0.4665, allocations: 283 kB / 499.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.49e-07/0.4666, allocations: 0 / 499.7 MB, free: 14.45 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.002075/0.4686, allocations: 422.9 kB / 0.4884 GB, free: 14.04 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean2.x,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean2.x) * Number of discrete variables: 22 (signalPWM.zeroOrderHold.sampleTrigger,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,inverter.andCondition_p.y,inverter.andCondition_n.y,inverter.fire_n,inverter.transistor_p.off,inverter.diode_p.off,inverter.transistor_n.off,inverter.diode_n.off,signalPWM.zeroOrderHold.firstTrigger,signalPWM.zeroOrderHold.ySample,signalPWM.sawtooth.T_start,signalPWM.sawtooth.count,fundamentalWaveVoltage.mean1.y,fundamentalWaveVoltage.mean2.y,fundamentalWaveCurrent.mean1.y,fundamentalWaveCurrent.mean2.y) * Number of discrete states: 6 (signalPWM.sawtooth.count,fundamentalWaveVoltage.mean1.x,fundamentalWaveVoltage.mean2.x,fundamentalWaveCurrent.mean1.x,fundamentalWaveCurrent.mean2.x,signalPWM.zeroOrderHold.ySample) * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002414/0.4689, allocations: 133.7 kB / 0.4885 GB, free: 13.9 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.00266/0.4716, allocations: 1.277 MB / 0.4897 GB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.623e-06/0.4716, allocations: 0 / 0.4897 GB, free: 12.58 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009143/0.4725, allocations: 461 kB / 0.4902 GB, free: 12.12 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006762/0.4732, allocations: 90.73 kB / 0.4903 GB, free: 12.03 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003265/0.4765, allocations: 1.458 MB / 0.4917 GB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007888/0.4773, allocations: 0.9674 MB / 0.4926 GB, free: 9.527 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0007419/0.4781, allocations: 112.7 kB / 0.4927 GB, free: 9.414 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000166/0.4783, allocations: 39.42 kB / 0.4928 GB, free: 9.375 MB / 366.1 MB Notification: Performance of SimCode: time 1.403e-06/0.4783, allocations: 0 / 0.4928 GB, free: 9.375 MB / 366.1 MB Notification: Performance of Templates: time 0.189/0.6673, allocations: 11.01 MB / 0.5035 GB, free: 104 MB / 366.1 MB