Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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.pre.1..u|rectifier.pre.2..u|rectifier.pre.3..u|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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse") Notification: Performance of loadModel(Modelica): time 1.985/1.985, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.837e-05/2.869e-05, allocations: 4 kB / 255.4 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07877/0.07882, allocations: 44.5 MB / 299.9 MB, free: 6.613 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3434/0.4223, allocations: 87.56 MB / 387.4 MB, free: 20.32 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002716/0.4226, allocations: 90.88 kB / 387.5 MB, free: 20.32 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1008/0.5235, allocations: 28.48 MB / 416 MB, free: 11.9 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.766e-06/0.5236, allocations: 0 / 416 MB, free: 11.9 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.00021/0.5238, allocations: 47.12 kB / 416 MB, free: 11.89 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: 409 * Number of variables: 409 Notification: Performance of Generate backend data structure: time 0.00508/0.5289, allocations: 1.875 MB / 417.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.5289, allocations: 7.812 kB / 417.9 MB, free: 10.7 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008301/0.5298, allocations: 207.3 kB / 418.1 MB, free: 10.6 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006711/0.5365, allocations: 2.027 MB / 420.2 MB, free: 9.723 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001458/0.5367, allocations: 130.7 kB / 420.3 MB, free: 9.715 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005125/0.5372, allocations: 162.6 kB / 420.4 MB, free: 9.711 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005014/0.5423, allocations: 2.186 MB / 422.6 MB, free: 9.121 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.476e-05/0.5424, allocations: 0 / 422.6 MB, free: 9.121 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002358/0.5426, allocations: 68.98 kB / 422.7 MB, free: 9.117 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.826e-05/0.5427, allocations: 69.39 kB / 422.8 MB, free: 9.109 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004354/0.5471, allocations: 1.787 MB / 424.5 MB, free: 8.902 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01366/0.5608, allocations: 6.496 MB / 431 MB, free: 6.125 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003252/0.5641, allocations: 1.564 MB / 432.6 MB, free: 5.852 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002285/0.5664, allocations: 1.101 MB / 433.7 MB, free: 5.699 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.225e-05/0.5666, allocations: 16.7 kB / 433.7 MB, free: 5.695 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001505/0.5681, allocations: 0.817 MB / 434.5 MB, free: 5.441 MB / 314.7 MB Notification: Performance of pre-optimization done (n=114): time 5.728e-06/0.5681, allocations: 0 / 434.5 MB, free: 5.441 MB / 314.7 MB Notification: Performance of matching and sorting (n=114): time 0.003442/0.5716, allocations: 1.609 MB / 436.2 MB, free: 4.277 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.5717, allocations: 153.5 kB / 436.3 MB, free: 4.098 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001813/0.5735, allocations: 0.9914 MB / 437.3 MB, free: 3.086 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002584/0.5738, allocations: 69.67 kB / 437.4 MB, free: 3.012 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000592/0.5744, allocations: 0.7009 MB / 438.1 MB, free: 2.301 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004674/0.5749, allocations: 351.2 kB / 438.4 MB, free: 1.953 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.818e-05/0.575, allocations: 20 kB / 438.4 MB, free: 1.934 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001057/0.5751, allocations: 362.8 kB / 438.8 MB, free: 1.57 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001076/0.5762, allocations: 0.5843 MB / 439.4 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001337/0.5776, allocations: 0.8441 MB / 440.2 MB, free: 48 kB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001598/0.5792, allocations: 0.6294 MB / 440.8 MB, free: 15.41 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.988e-05/0.5793, allocations: 7.953 kB / 440.8 MB, free: 15.4 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.0042/0.5835, allocations: 1.72 MB / 442.6 MB, free: 13.67 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001465/0.585, allocations: 2.459 MB / 445 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.122e-05/0.585, allocations: 4 kB / 445 MB, free: 11.02 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00187/0.5869, allocations: 0.4924 MB / 445.5 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/0.588, allocations: 163.7 kB / 445.7 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01109/0.5991, allocations: 5.395 MB / 451.1 MB, free: 4.828 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001552/0.6007, allocations: 187.1 kB / 451.3 MB, free: 4.645 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000245/0.601, allocations: 44 kB / 451.3 MB, free: 4.602 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.62e-05/0.601, allocations: 4 kB / 451.3 MB, free: 4.598 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003972/0.605, allocations: 1.66 MB / 453 MB, free: 2.938 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.145e-05/0.6051, allocations: 11.98 kB / 453 MB, free: 2.926 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001557/0.6066, allocations: 0.4899 MB / 453.5 MB, free: 2.434 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009667/0.6077, allocations: 159.7 kB / 453.6 MB, free: 2.277 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01089/0.6186, allocations: 5.446 MB / 459.1 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001113/0.6198, allocations: 163.3 kB / 459.2 MB, free: 12.53 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/0.62, allocations: 40 kB / 459.3 MB, free: 12.49 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * 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,$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,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[3].y,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 32} Notification: Performance of prepare postOptimizeDAE: time 0.0005106/0.6205, allocations: 220.7 kB / 459.5 MB, free: 12.27 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004238/0.621, allocations: 126.5 kB / 459.6 MB, free: 12.14 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005189/0.6215, allocations: 160.2 kB / 459.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.6215, allocations: 12 kB / 459.8 MB, free: 11.97 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.64e-06/0.6215, allocations: 7.938 kB / 459.8 MB, free: 11.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.175e-05/0.6216, allocations: 11.95 kB / 459.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009129/0.6307, allocations: 3.527 MB / 463.3 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.055e-05/0.6308, allocations: 0 / 463.3 MB, free: 8.367 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006431/0.6314, allocations: 87.83 kB / 463.4 MB, free: 8.281 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001657/0.6331, allocations: 476.2 kB / 463.9 MB, free: 7.812 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000203/0.6334, allocations: 24 kB / 463.9 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01173/0.6451, allocations: 5.32 MB / 469.2 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.19e-06/0.6451, allocations: 0 / 469.2 MB, free: 2.328 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005423/0.6506, allocations: 2.435 MB / 471.6 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001095/0.6517, allocations: 355.3 kB / 472 MB, free: 15.51 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000374/0.6521, allocations: 27.98 kB / 472 MB, free: 15.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00113/0.6533, allocations: 107.9 kB / 472.1 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005929/0.6539, allocations: 176.7 kB / 472.3 MB, free: 15.2 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001264/0.6541, allocations: 35.98 kB / 472.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001862/0.6559, allocations: 0.7602 MB / 473.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.333e-06/0.656, allocations: 0 / 473.1 MB, free: 14.39 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003737/0.6597, allocations: 0.8059 MB / 473.9 MB, free: 13.58 MB / 362.7 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[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[3].y,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.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (77): * Single equations (assignments): 67 * 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 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004623/0.6602, allocations: 176.5 kB / 474.1 MB, free: 13.4 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006998/0.6673, allocations: 2.851 MB / 476.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.196e-05/0.6673, allocations: 0.5625 kB / 476.9 MB, free: 10.53 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002548/0.6699, allocations: 1.009 MB / 477.9 MB, free: 9.508 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/0.6722, allocations: 308.8 kB / 478.2 MB, free: 9.203 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007819/0.6801, allocations: 2.634 MB / 480.9 MB, free: 6.523 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002237/0.6823, allocations: 1.651 MB / 482.5 MB, free: 4.844 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004797/0.6829, allocations: 79.44 kB / 482.6 MB, free: 4.766 MB / 362.7 MB Notification: Performance of SimCode: time 4.308e-06/0.6829, allocations: 0 / 482.6 MB, free: 4.766 MB / 362.7 MB Notification: Performance of Templates: time 0.05491/0.7378, allocations: 29.44 MB / 0.5 GB, free: 7.34 MB / 394.7 MB