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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse") Notification: Performance of loadModel(Modelica): time 1.922/1.922, allocations: 194.9 MB / 208 MB, free: 3.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.595e-05/4.626e-05, allocations: 8 kB / 255.4 MB, free: 2.656 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 44.5 MB / 299.9 MB, free: 6.098 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3425/0.4531, allocations: 87.57 MB / 387.5 MB, free: 20.18 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002555/0.4534, allocations: 86.31 kB / 387.6 MB, free: 20.18 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09632/0.5498, allocations: 28.49 MB / 416 MB, free: 11.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.065e-06/0.5498, allocations: 3.906 kB / 416 MB, free: 11.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001466/0.55, allocations: 47.09 kB / 416.1 MB, free: 11.64 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.004419/0.5544, allocations: 1.871 MB / 418 MB, free: 10.46 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.24e-05/0.5545, allocations: 15.59 kB / 418 MB, free: 10.46 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006721/0.5552, allocations: 210.8 kB / 418.2 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006429/0.5616, allocations: 2.02 MB / 420.2 MB, free: 9.484 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/0.5618, allocations: 131.6 kB / 420.3 MB, free: 9.473 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004244/0.5622, allocations: 157.2 kB / 420.5 MB, free: 9.473 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004593/0.5668, allocations: 2.168 MB / 422.7 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.87e-05/0.5669, allocations: 0 / 422.7 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000223/0.5672, allocations: 66.41 kB / 422.7 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-05/0.5673, allocations: 65.36 kB / 422.8 MB, free: 8.883 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003728/0.571, allocations: 1.775 MB / 424.6 MB, free: 8.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01272/0.5838, allocations: 6.502 MB / 431.1 MB, free: 5.895 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00287/0.5867, allocations: 1.548 MB / 432.6 MB, free: 5.633 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002169/0.5889, allocations: 1.095 MB / 433.7 MB, free: 5.484 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.212e-05/0.589, allocations: 10.62 kB / 433.7 MB, free: 5.48 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001444/0.5904, allocations: 0.813 MB / 434.5 MB, free: 5.227 MB / 314.7 MB Notification: Performance of pre-optimization done (n=114): time 5.138e-06/0.5905, allocations: 4 kB / 434.5 MB, free: 5.223 MB / 314.7 MB Notification: Performance of matching and sorting (n=114): time 0.003272/0.5938, allocations: 1.599 MB / 436.1 MB, free: 3.793 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.5939, allocations: 161.4 kB / 436.3 MB, free: 3.602 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001774/0.5956, allocations: 0.9992 MB / 437.3 MB, free: 2.582 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002122/0.5959, allocations: 69.69 kB / 437.4 MB, free: 2.508 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006376/0.5965, allocations: 0.7102 MB / 438.1 MB, free: 1.785 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003656/0.5969, allocations: 347.2 kB / 438.4 MB, free: 1.441 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.873e-05/0.597, allocations: 27.94 kB / 438.4 MB, free: 1.414 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.918e-05/0.5971, allocations: 353.9 kB / 438.8 MB, free: 1.062 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/0.5982, allocations: 0.5804 MB / 439.4 MB, free: 492 kB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001352/0.5995, allocations: 0.8376 MB / 440.2 MB, free: 15.55 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001359/0.6009, allocations: 0.6255 MB / 440.8 MB, free: 14.93 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.067e-05/0.6009, allocations: 7.953 kB / 440.8 MB, free: 14.92 MB / 330.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.003993/0.6049, allocations: 1.785 MB / 442.6 MB, free: 13.11 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001395/0.6064, allocations: 2.451 MB / 445.1 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.006e-05/0.6064, allocations: 12 kB / 445.1 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001748/0.6082, allocations: 0.4924 MB / 445.6 MB, free: 9.969 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009646/0.6092, allocations: 159.7 kB / 445.7 MB, free: 9.812 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01045/0.6197, allocations: 5.399 MB / 451.1 MB, free: 4.277 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00146/0.6212, allocations: 187.1 kB / 451.3 MB, free: 4.094 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.6213, allocations: 44 kB / 451.4 MB, free: 4.051 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.6213, allocations: 4 kB / 451.4 MB, free: 4.047 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003593/0.6249, allocations: 1.648 MB / 453 MB, free: 2.391 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.625, allocations: 8 kB / 453 MB, free: 2.383 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/0.6266, allocations: 0.494 MB / 453.5 MB, free: 1.887 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008228/0.6274, allocations: 155.7 kB / 453.7 MB, free: 1.734 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01026/0.6377, allocations: 5.395 MB / 459.1 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001361/0.6391, allocations: 163.2 kB / 459.2 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000136/0.6393, allocations: 44 kB / 459.3 MB, free: 11.99 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.0004603/0.6398, allocations: 215.8 kB / 459.5 MB, free: 11.78 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003338/0.6401, allocations: 130.5 kB / 459.6 MB, free: 11.65 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004577/0.6406, allocations: 164.1 kB / 459.8 MB, free: 11.49 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.6406, allocations: 12 kB / 459.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.088e-06/0.6406, allocations: 0 / 459.8 MB, free: 11.48 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.688e-05/0.6407, allocations: 7.969 kB / 459.8 MB, free: 11.47 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008163/0.6488, allocations: 3.523 MB / 463.3 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.716e-06/0.6489, allocations: 4 kB / 463.3 MB, free: 7.883 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005456/0.6495, allocations: 79.89 kB / 463.4 MB, free: 7.805 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001564/0.651, allocations: 492.6 kB / 463.9 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001215/0.6512, allocations: 16 kB / 463.9 MB, free: 7.305 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01016/0.6614, allocations: 5.332 MB / 469.2 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.035e-06/0.6614, allocations: 4 kB / 469.2 MB, free: 1.824 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005144/0.6666, allocations: 2.431 MB / 471.6 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009926/0.6676, allocations: 351.3 kB / 472 MB, free: 15.01 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002548/0.6679, allocations: 31.98 kB / 472 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009595/0.6688, allocations: 103.9 kB / 472.1 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005583/0.6694, allocations: 176.7 kB / 472.3 MB, free: 14.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.6696, allocations: 31.98 kB / 472.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001701/0.6713, allocations: 0.7641 MB / 473.1 MB, free: 13.9 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.312e-06/0.6713, allocations: 7.875 kB / 473.1 MB, free: 13.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003388/0.6747, allocations: 0.8099 MB / 473.9 MB, free: 13.08 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.0004079/0.6751, allocations: 180.5 kB / 474.1 MB, free: 12.89 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007431/0.6826, allocations: 2.824 MB / 476.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.109e-05/0.6827, allocations: 4.312 kB / 476.9 MB, free: 10.05 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002263/0.6849, allocations: 0.9856 MB / 477.9 MB, free: 9.055 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00191/0.6869, allocations: 300.2 kB / 478.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006915/0.6938, allocations: 2.642 MB / 480.8 MB, free: 6.082 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002096/0.696, allocations: 1.676 MB / 482.5 MB, free: 4.371 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002212/0.6982, allocations: 0.5368 MB / 483 MB, free: 3.832 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002857/0.6985, allocations: 63.44 kB / 483.1 MB, free: 3.77 MB / 362.7 MB Notification: Performance of SimCode: time 2.061e-06/0.6985, allocations: 3.938 kB / 483.1 MB, free: 3.766 MB / 362.7 MB Notification: Performance of Templates: time 0.07169/0.7702, allocations: 28.5 MB / 0.4996 GB, free: 7.301 MB / 394.7 MB