Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_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.pre_n.1..u|rectifier.pre_n.2..u|rectifier.pre_n.3..u|rectifier.pre_p.1..u|rectifier.pre_p.2..u|rectifier.pre_p.3..u|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.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL") Notification: Performance of loadModel(Modelica): time 1.855/1.855, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.826e-05/2.834e-05, allocations: 4 kB / 269.4 MB, free: 6.375 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08253/0.08258, allocations: 47.58 MB / 317 MB, free: 6.711 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3518/0.4344, allocations: 92.8 MB / 409.8 MB, free: 11.38 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002681/0.4347, allocations: 86.88 kB / 409.8 MB, free: 11.33 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1749/0.6096, allocations: 47.4 MB / 457.2 MB, free: 2.984 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.6097, allocations: 4 kB / 457.2 MB, free: 2.98 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001576/0.6098, allocations: 51.94 kB / 457.3 MB, free: 2.93 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 443 * Number of variables: 443 Notification: Performance of Generate backend data structure: time 0.004747/0.6146, allocations: 1.945 MB / 459.2 MB, free: 0.9219 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.6147, allocations: 11.97 kB / 459.3 MB, free: 0.9102 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005863/0.6152, allocations: 229.3 kB / 459.5 MB, free: 0.6836 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006869/0.6221, allocations: 2.054 MB / 461.5 MB, free: 14.58 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001671/0.6223, allocations: 143.3 kB / 461.7 MB, free: 14.44 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003839/0.6227, allocations: 176 kB / 461.8 MB, free: 14.27 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005337/0.6281, allocations: 2.316 MB / 464.2 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.388e-05/0.6282, allocations: 3.906 kB / 464.2 MB, free: 11.87 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002599/0.6285, allocations: 79.95 kB / 464.2 MB, free: 11.79 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001157/0.6286, allocations: 79.34 kB / 464.3 MB, free: 11.71 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004452/0.6331, allocations: 1.869 MB / 466.2 MB, free: 9.84 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.015/0.6481, allocations: 6.808 MB / 473 MB, free: 2.902 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003671/0.6518, allocations: 1.666 MB / 474.7 MB, free: 1.223 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001881/0.6537, allocations: 0.9186 MB / 475.6 MB, free: 312 kB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.913e-05/0.6538, allocations: 13 kB / 475.6 MB, free: 300 kB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001815/0.6556, allocations: 0.8685 MB / 476.5 MB, free: 15.4 MB / 394.7 MB Notification: Performance of pre-optimization done (n=122): time 7.893e-06/0.6557, allocations: 0 / 476.5 MB, free: 15.4 MB / 394.7 MB Notification: Performance of matching and sorting (n=122): time 0.003853/0.6595, allocations: 1.626 MB / 478.1 MB, free: 13.76 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001268/0.6597, allocations: 149.5 kB / 478.2 MB, free: 13.59 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002237/0.6619, allocations: 1.043 MB / 479.3 MB, free: 12.52 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000209/0.6622, allocations: 73.67 kB / 479.3 MB, free: 12.45 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009466/0.6631, allocations: 0.7493 MB / 480.1 MB, free: 11.69 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004768/0.6636, allocations: 363 kB / 480.4 MB, free: 11.33 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000108/0.6638, allocations: 24 kB / 480.5 MB, free: 11.3 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002329/0.664, allocations: 365.9 kB / 480.8 MB, free: 10.94 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00139/0.6654, allocations: 0.6442 MB / 481.5 MB, free: 10.3 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001653/0.6671, allocations: 0.8979 MB / 482.4 MB, free: 9.305 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.6686, allocations: 0.6959 MB / 483.1 MB, free: 8.609 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.085e-05/0.6686, allocations: 11.94 kB / 483.1 MB, free: 8.598 MB / 394.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004208/0.6728, allocations: 1.911 MB / 485 MB, free: 6.676 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001402/0.6742, allocations: 2.449 MB / 487.4 MB, free: 4.035 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.806e-05/0.6743, allocations: 7.938 kB / 487.4 MB, free: 4.027 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0016/0.6759, allocations: 497.9 kB / 487.9 MB, free: 3.539 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009085/0.6768, allocations: 179.7 kB / 488.1 MB, free: 3.363 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009702/0.6865, allocations: 5.224 MB / 493.3 MB, free: 13.99 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.688, allocations: 187.1 kB / 493.5 MB, free: 13.81 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001523/0.6882, allocations: 48 kB / 493.6 MB, free: 13.76 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.296e-05/0.6882, allocations: 4 kB / 493.6 MB, free: 13.76 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003809/0.692, allocations: 1.773 MB / 495.3 MB, free: 11.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.393e-05/0.692, allocations: 8.125 kB / 495.3 MB, free: 11.97 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001495/0.6936, allocations: 0.4901 MB / 495.8 MB, free: 11.48 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008028/0.6944, allocations: 167.7 kB / 496 MB, free: 11.32 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009496/0.7039, allocations: 5.213 MB / 0.4895 GB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001307/0.7052, allocations: 163.2 kB / 0.4896 GB, free: 5.809 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001527/0.7054, allocations: 48 kB / 0.4897 GB, free: 5.762 MB / 410.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: 69 ($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,$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,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[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 (136): * Single equations (assignments): 135 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0004814/0.7059, allocations: 241.3 kB / 0.4899 GB, free: 5.512 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003032/0.7062, allocations: 126.4 kB / 0.49 GB, free: 5.387 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004595/0.7067, allocations: 172.5 kB / 0.4902 GB, free: 5.211 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.7067, allocations: 12 kB / 0.4902 GB, free: 5.199 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.778e-06/0.7067, allocations: 4 kB / 0.4902 GB, free: 5.195 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.473e-05/0.7068, allocations: 7.984 kB / 0.4902 GB, free: 5.188 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007451/0.7142, allocations: 3.548 MB / 0.4937 GB, free: 1.582 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.758e-06/0.7143, allocations: 4 kB / 0.4937 GB, free: 1.578 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006327/0.7149, allocations: 103.8 kB / 0.4938 GB, free: 1.477 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001443/0.7164, allocations: 464.7 kB / 0.4942 GB, free: 1.02 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000107/0.7165, allocations: 28 kB / 0.4942 GB, free: 0.9922 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009476/0.726, allocations: 5.158 MB / 0.4993 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.726, allocations: 4 kB / 0.4993 GB, free: 11.7 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005334/0.7314, allocations: 2.572 MB / 0.5018 GB, free: 9.105 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009574/0.7324, allocations: 367.2 kB / 0.5021 GB, free: 8.727 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002791/0.7327, allocations: 43.97 kB / 0.5022 GB, free: 8.684 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009439/0.7336, allocations: 107.9 kB / 0.5023 GB, free: 8.578 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006293/0.7343, allocations: 224.7 kB / 0.5025 GB, free: 8.355 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.7344, allocations: 31.98 kB / 0.5025 GB, free: 8.324 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001605/0.736, allocations: 0.7925 MB / 0.5033 GB, free: 7.52 MB / 426.7 MB Notification: Performance of sort global known variables: time 9.7e-07/0.7361, allocations: 0 / 0.5033 GB, free: 7.52 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002782/0.7388, allocations: 0.845 MB / 0.5041 GB, free: 6.672 MB / 426.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: 48 (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.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004054/0.7393, allocations: 209.5 kB / 0.5043 GB, free: 6.465 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.006316/0.7456, allocations: 2.975 MB / 0.5072 GB, free: 3.473 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.202e-06/0.7456, allocations: 4.562 kB / 0.5072 GB, free: 3.469 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002182/0.7478, allocations: 1.025 MB / 0.5082 GB, free: 2.434 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001799/0.7497, allocations: 312.3 kB / 0.5085 GB, free: 2.129 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2212/0.9709, allocations: 2.822 MB / 0.5113 GB, free: 127.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001894/0.9728, allocations: 1.723 MB / 0.513 GB, free: 126.6 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.00261/0.9755, allocations: 0.6016 MB / 0.5136 GB, free: 126.6 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002891/0.9758, allocations: 72.41 kB / 0.5136 GB, free: 126.6 MB / 426.7 MB Notification: Performance of SimCode: time 1.759e-06/0.9758, allocations: 0 / 0.5136 GB, free: 126.6 MB / 426.7 MB Notification: Performance of Templates: time 0.06167/1.037, allocations: 28.51 MB / 0.5415 GB, free: 124.9 MB / 426.7 MB