Notification: Performance of FrontEnd - loaded program: time 2.035e-05/2.047e-05, allocations: 4 kB / 343.4 MB, free: 496 kB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2416/0.2416, allocations: 44.52 MB / 387.9 MB, free: 80.63 MB / 318.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09835/0.34, allocations: 85.39 MB / 473.3 MB, free: 20 kB / 318.1 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002969/0.3404, allocations: 92.02 kB / 473.4 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 0.1579/0.4983, allocations: 35.11 MB / 0.4966 GB, free: 12.56 MB / 366.1 MB Notification: Performance of FrontEnd: time 2.207e-06/0.4983, allocations: 0 / 0.4966 GB, free: 12.56 MB / 366.1 MB Notification: Performance of Transformations before backend: time 0.0001528/0.4985, allocations: 51.94 kB / 0.4966 GB, free: 12.51 MB / 366.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.004731/0.5033, allocations: 1.961 MB / 0.4986 GB, free: 10.49 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.172e-05/0.5033, allocations: 8.031 kB / 0.4986 GB, free: 10.48 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007093/0.504, allocations: 229.3 kB / 0.4988 GB, free: 10.25 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006415/0.5105, allocations: 1.949 MB / 0.5007 GB, free: 8.246 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001342/0.5106, allocations: 87.3 kB / 0.5008 GB, free: 8.16 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003597/0.511, allocations: 103.9 kB / 0.5009 GB, free: 8.059 MB / 366.1 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.004618/0.5156, allocations: 1.85 MB / 0.5027 GB, free: 6.207 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004704/0.5204, allocations: 2.078 MB / 0.5047 GB, free: 4.051 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.15e-05/0.5205, allocations: 7.938 kB / 0.5047 GB, free: 4.043 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001961/0.5207, allocations: 4 kB / 0.5047 GB, free: 4.039 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001044/0.5208, allocations: 71.34 kB / 0.5048 GB, free: 3.969 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1668/0.6876, allocations: 6.831 MB / 0.5114 GB, free: 94.16 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005419/0.693, allocations: 1.549 MB / 0.513 GB, free: 94.12 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002447/0.6955, allocations: 0.8673 MB / 0.5138 GB, free: 94.1 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.62e-05/0.6957, allocations: 16.95 kB / 0.5138 GB, free: 94.1 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002229/0.6979, allocations: 0.7925 MB / 0.5146 GB, free: 94.02 MB / 366.1 MB Notification: Performance of pre-optimization done (n=111): time 8.366e-06/0.698, allocations: 3.875 kB / 0.5146 GB, free: 94.02 MB / 366.1 MB Notification: Performance of matching and sorting (n=111): time 0.004541/0.7025, allocations: 1.397 MB / 0.516 GB, free: 93.95 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.023e-05/0.7026, allocations: 129.1 kB / 0.5161 GB, free: 93.82 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002702/0.7054, allocations: 0.9611 MB / 0.517 GB, free: 93.68 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002748/0.7057, allocations: 53.67 kB / 0.5171 GB, free: 93.65 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.001102/0.7068, allocations: 0.764 MB / 0.5178 GB, free: 93.39 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005443/0.7074, allocations: 311 kB / 0.5181 GB, free: 93.23 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001246/0.7075, allocations: 0 / 0.5181 GB, free: 93.23 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001476/0.7077, allocations: 352.6 kB / 0.5185 GB, free: 92.92 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001891/0.7096, allocations: 0.5685 MB / 0.519 GB, free: 92.92 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002072/0.7117, allocations: 0.7613 MB / 0.5198 GB, free: 92.72 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001864/0.7136, allocations: 0.5796 MB / 0.5203 GB, free: 92.71 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.512e-05/0.7136, allocations: 6.406 kB / 0.5203 GB, free: 92.71 MB / 366.1 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.005015/0.7186, allocations: 1.598 MB / 0.5219 GB, free: 92.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004097/0.7191, allocations: 1.92 MB / 0.5238 GB, free: 90.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.7191, allocations: 4.688 kB / 0.5238 GB, free: 90.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001365/0.7205, allocations: 428.2 kB / 0.5242 GB, free: 90.58 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009909/0.7215, allocations: 171.3 kB / 0.5243 GB, free: 90.58 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006689/0.7282, allocations: 4.294 MB / 0.5285 GB, free: 88.12 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001391/0.7297, allocations: 146.7 kB / 0.5287 GB, free: 88.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001236/0.7298, allocations: 45.16 kB / 0.5287 GB, free: 88.09 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.274e-05/0.7298, allocations: 11.19 kB / 0.5287 GB, free: 88.09 MB / 366.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002819/0.7327, allocations: 1.455 MB / 0.5301 GB, free: 87.59 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.399e-05/0.7327, allocations: 3.75 kB / 0.5302 GB, free: 87.59 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001222/0.7339, allocations: 422.1 kB / 0.5306 GB, free: 87.46 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009017/0.7349, allocations: 163.8 kB / 0.5307 GB, free: 87.45 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006442/0.7413, allocations: 4.282 MB / 0.5349 GB, free: 84.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001303/0.7427, allocations: 134.9 kB / 0.535 GB, free: 84.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001141/0.7428, allocations: 42.75 kB / 0.5351 GB, free: 84.88 MB / 366.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (117): * Single equations (assignments): 116 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0003784/0.7432, allocations: 179.6 kB / 0.5352 GB, free: 84.75 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002416/0.7435, allocations: 119.6 kB / 0.5353 GB, free: 84.69 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003759/0.7438, allocations: 148.9 kB / 0.5355 GB, free: 84.59 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.7439, allocations: 9.469 kB / 0.5355 GB, free: 84.59 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.724e-06/0.7439, allocations: 0 / 0.5355 GB, free: 84.59 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.7439, allocations: 19.2 kB / 0.5355 GB, free: 84.59 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006314/0.7502, allocations: 3.215 MB / 0.5387 GB, free: 83.29 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.752e-06/0.7503, allocations: 0 / 0.5387 GB, free: 83.29 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007196/0.751, allocations: 122.6 kB / 0.5388 GB, free: 83.29 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001143/0.7522, allocations: 391.2 kB / 0.5391 GB, free: 83.16 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.412e-05/0.7523, allocations: 11.2 kB / 0.5392 GB, free: 83.16 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006018/0.7583, allocations: 4.024 MB / 0.5431 GB, free: 80.77 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.725e-06/0.7584, allocations: 3.562 kB / 0.5431 GB, free: 80.77 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02073/0.7791, allocations: 11.96 MB / 0.5548 GB, free: 74.39 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006926/0.7798, allocations: 353 kB / 0.5551 GB, free: 74.15 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002338/0.7801, allocations: 19.69 kB / 0.5551 GB, free: 74.14 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009493/0.7811, allocations: 94.84 kB / 0.5552 GB, free: 74.14 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005485/0.7816, allocations: 227.6 kB / 0.5554 GB, free: 74.1 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.639e-05/0.7817, allocations: 31.53 kB / 0.5555 GB, free: 74.09 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.001148/0.7829, allocations: 0.7189 MB / 0.5562 GB, free: 73.52 MB / 366.1 MB Notification: Performance of sort global known variables: time 6.81e-07/0.7829, allocations: 0 / 0.5562 GB, free: 73.52 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.003349/0.7863, allocations: 0.9966 MB / 0.5571 GB, free: 72.52 MB / 366.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 74 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003062/0.7866, allocations: 172.2 kB / 0.5573 GB, free: 72.38 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.004502/0.7911, allocations: 2.656 MB / 0.5599 GB, free: 70.04 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 5.158e-06/0.7912, allocations: 0 / 0.5599 GB, free: 70.04 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001611/0.7928, allocations: 0.9565 MB / 0.5608 GB, free: 69.21 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001446/0.7943, allocations: 247.5 kB / 0.5611 GB, free: 69.02 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008176/0.8024, allocations: 3.876 MB / 0.5649 GB, free: 65.58 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001672/0.8042, allocations: 1.772 MB / 0.5666 GB, free: 64.12 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.002047/0.8062, allocations: 0.5694 MB / 0.5671 GB, free: 63.77 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002687/0.8065, allocations: 75.88 kB / 0.5672 GB, free: 63.7 MB / 366.1 MB Notification: Performance of SimCode: time 1.34e-06/0.8065, allocations: 0 / 0.5672 GB, free: 63.7 MB / 366.1 MB Notification: Performance of Templates: time 0.05513/0.8617, allocations: 25.7 MB / 0.5923 GB, free: 39.65 MB / 366.1 MB