Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.thyristor_n.idealThyristor.1..off|rectifier.thyristor_n.idealThyristor.2..off|rectifier.thyristor_n.idealThyristor.3..off|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL") Notification: Performance of loadModel(Modelica): time 1.739/1.739, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.202e-05/4.236e-05, allocations: 11.98 kB / 255.4 MB, free: 2.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09887/0.09894, allocations: 44.49 MB / 299.9 MB, free: 6.125 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3391/0.4381, allocations: 86.35 MB / 386.2 MB, free: 20.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.4384, allocations: 86.86 kB / 386.3 MB, free: 20.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1231/0.5616, allocations: 35.78 MB / 422.1 MB, free: 8.973 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.14e-06/0.5616, allocations: 0 / 422.1 MB, free: 8.973 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001464/0.5618, allocations: 51.03 kB / 422.2 MB, free: 8.961 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.004687/0.5665, allocations: 1.985 MB / 424.2 MB, free: 7.727 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.007e-05/0.5665, allocations: 7.906 kB / 424.2 MB, free: 7.727 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006842/0.5672, allocations: 227.2 kB / 424.4 MB, free: 7.613 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006084/0.5733, allocations: 1.964 MB / 426.3 MB, free: 6.766 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001391/0.5735, allocations: 135 kB / 426.5 MB, free: 6.758 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004293/0.5739, allocations: 169 kB / 426.6 MB, free: 6.754 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004881/0.5788, allocations: 2.321 MB / 429 MB, free: 6.156 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.575e-05/0.5789, allocations: 11.52 kB / 429 MB, free: 6.148 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002336/0.5792, allocations: 69.03 kB / 429 MB, free: 6.148 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.524e-05/0.5793, allocations: 76.17 kB / 429.1 MB, free: 6.141 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004573/0.5839, allocations: 1.934 MB / 431 MB, free: 5.914 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01356/0.5974, allocations: 7.258 MB / 438.3 MB, free: 1.586 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/0.6004, allocations: 1.608 MB / 439.9 MB, free: 15.96 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001871/0.6024, allocations: 0.9004 MB / 440.8 MB, free: 15.06 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.403e-05/0.6025, allocations: 9 kB / 440.8 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001716/0.6042, allocations: 0.8381 MB / 441.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 4.829e-06/0.6042, allocations: 0 / 441.7 MB, free: 14.2 MB / 330.7 MB Notification: Performance of matching and sorting (n=113): time 0.003443/0.6077, allocations: 1.481 MB / 443.1 MB, free: 12.7 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.6078, allocations: 127.8 kB / 443.3 MB, free: 12.55 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002362/0.6102, allocations: 1.096 MB / 444.4 MB, free: 11.43 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001985/0.6104, allocations: 65.67 kB / 444.4 MB, free: 11.36 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.6114, allocations: 0.773 MB / 445.2 MB, free: 10.58 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004657/0.6119, allocations: 335.3 kB / 445.5 MB, free: 10.25 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.827e-05/0.612, allocations: 28 kB / 445.6 MB, free: 10.22 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002204/0.6123, allocations: 349.9 kB / 445.9 MB, free: 9.871 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00131/0.6136, allocations: 0.596 MB / 446.5 MB, free: 9.273 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001524/0.6151, allocations: 0.781 MB / 447.3 MB, free: 8.418 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001316/0.6165, allocations: 0.6139 MB / 447.9 MB, free: 7.809 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.255e-06/0.6165, allocations: 0 / 447.9 MB, free: 7.809 MB / 330.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.004002/0.6205, allocations: 1.711 MB / 449.6 MB, free: 6.082 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001123/0.6217, allocations: 1.933 MB / 451.5 MB, free: 4.012 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.617e-05/0.6217, allocations: 4 kB / 451.5 MB, free: 4.008 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001376/0.6231, allocations: 427.1 kB / 452 MB, free: 3.59 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001035/0.6241, allocations: 179.7 kB / 452.1 MB, free: 3.414 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008101/0.6323, allocations: 4.392 MB / 456.5 MB, free: 14.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001449/0.6338, allocations: 179.1 kB / 456.7 MB, free: 14.71 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/0.6339, allocations: 36 kB / 456.7 MB, free: 14.67 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.341e-05/0.634, allocations: 8 kB / 456.7 MB, free: 14.66 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00353/0.6375, allocations: 1.571 MB / 458.3 MB, free: 13.09 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.448e-05/0.6376, allocations: 12.09 kB / 458.3 MB, free: 13.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001292/0.6389, allocations: 420.7 kB / 458.7 MB, free: 12.66 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009609/0.6398, allocations: 171.7 kB / 458.9 MB, free: 12.49 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008022/0.6479, allocations: 4.389 MB / 463.3 MB, free: 7.969 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001352/0.6493, allocations: 155.2 kB / 463.4 MB, free: 7.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001484/0.6495, allocations: 43.98 kB / 463.5 MB, free: 7.773 MB / 346.7 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 (121): * Single equations (assignments): 120 * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.0004579/0.6499, allocations: 220.8 kB / 463.7 MB, free: 7.551 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003607/0.6503, allocations: 134.4 kB / 463.8 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004882/0.6508, allocations: 172.7 kB / 464 MB, free: 7.242 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.47e-05/0.6508, allocations: 12 kB / 464 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.802e-06/0.6509, allocations: 0 / 464 MB, free: 7.23 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.751e-05/0.6509, allocations: 7.969 kB / 464 MB, free: 7.223 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008165/0.6591, allocations: 3.567 MB / 467.6 MB, free: 3.602 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.317e-05/0.6591, allocations: 11.95 kB / 467.6 MB, free: 3.59 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007407/0.6599, allocations: 107.8 kB / 467.7 MB, free: 3.484 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001274/0.6612, allocations: 396.8 kB / 468.1 MB, free: 3.094 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/0.6613, allocations: 23.98 kB / 468.1 MB, free: 3.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008039/0.6694, allocations: 4.334 MB / 472.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.357e-06/0.6694, allocations: 0 / 472.5 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005269/0.6747, allocations: 2.462 MB / 474.9 MB, free: 12.12 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001006/0.6757, allocations: 363.3 kB / 475.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002844/0.6761, allocations: 35.92 kB / 475.3 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009628/0.677, allocations: 111.9 kB / 475.4 MB, free: 11.61 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006592/0.6777, allocations: 236.5 kB / 475.6 MB, free: 11.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001213/0.6778, allocations: 31.98 kB / 475.7 MB, free: 11.34 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001732/0.6796, allocations: 0.8367 MB / 476.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.28e-06/0.6796, allocations: 3.938 kB / 476.5 MB, free: 10.49 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002825/0.6825, allocations: 0.8371 MB / 477.4 MB, free: 9.648 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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 (87): * Single equations (assignments): 77 * 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 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003825/0.6829, allocations: 180.5 kB / 477.5 MB, free: 9.465 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006017/0.6889, allocations: 2.728 MB / 480.3 MB, free: 6.719 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.013e-06/0.6889, allocations: 0 / 480.3 MB, free: 6.719 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002121/0.6911, allocations: 0.9615 MB / 481.2 MB, free: 5.75 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001754/0.6929, allocations: 292.4 kB / 481.5 MB, free: 5.461 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007209/0.7001, allocations: 2.848 MB / 484.4 MB, free: 2.582 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002179/0.7023, allocations: 1.746 MB / 486.1 MB, free: 0.7969 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002313/0.7047, allocations: 0.6071 MB / 486.7 MB, free: 192 kB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003008/0.705, allocations: 67.42 kB / 486.8 MB, free: 124 kB / 362.7 MB Notification: Performance of SimCode: time 1.786e-06/0.705, allocations: 0 / 486.8 MB, free: 124 kB / 362.7 MB Notification: Performance of Templates: time 0.07109/0.7761, allocations: 26.45 MB / 0.5012 GB, free: 5.723 MB / 394.7 MB