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.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL") Notification: Performance of loadModel(Modelica): time 1.845/1.845, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.795e-05/2.8e-05, allocations: 4 kB / 269.4 MB, free: 6.379 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08176/0.08181, allocations: 47.57 MB / 316.9 MB, free: 6.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3433/0.4252, allocations: 91.97 MB / 408.9 MB, free: 12.21 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.4255, allocations: 95.88 kB / 409 MB, free: 12.16 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1348/0.5603, allocations: 36.31 MB / 445.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.222e-06/0.5603, allocations: 0 / 445.3 MB, free: 13.46 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001501/0.5605, allocations: 51.92 kB / 445.4 MB, free: 13.41 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: 441 * Number of variables: 441 Notification: Performance of Generate backend data structure: time 0.004742/0.5653, allocations: 1.983 MB / 447.4 MB, free: 11.49 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.492e-05/0.5653, allocations: 12.03 kB / 447.4 MB, free: 11.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000624/0.566, allocations: 229.3 kB / 447.6 MB, free: 11.25 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006357/0.5723, allocations: 1.971 MB / 449.6 MB, free: 9.668 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001455/0.5725, allocations: 138 kB / 449.7 MB, free: 9.59 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003656/0.5729, allocations: 175.6 kB / 449.9 MB, free: 9.473 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004955/0.5779, allocations: 2.323 MB / 452.2 MB, free: 7.875 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.121e-05/0.5779, allocations: 4 kB / 452.2 MB, free: 7.871 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002456/0.5782, allocations: 79.39 kB / 452.3 MB, free: 7.84 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000106/0.5783, allocations: 75.39 kB / 452.3 MB, free: 7.766 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004376/0.5827, allocations: 1.943 MB / 454.3 MB, free: 5.82 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01501/0.5977, allocations: 7.261 MB / 461.6 MB, free: 14.35 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003533/0.6013, allocations: 1.607 MB / 463.2 MB, free: 12.73 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001819/0.6032, allocations: 0.9041 MB / 464.1 MB, free: 11.82 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.794e-05/0.6033, allocations: 20.92 kB / 464.1 MB, free: 11.8 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001706/0.605, allocations: 0.8266 MB / 464.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of pre-optimization done (n=113): time 4.781e-06/0.605, allocations: 0 / 464.9 MB, free: 10.96 MB / 378.7 MB Notification: Performance of matching and sorting (n=113): time 0.003372/0.6084, allocations: 1.481 MB / 466.4 MB, free: 9.461 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.6085, allocations: 131.8 kB / 466.5 MB, free: 9.309 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002234/0.6108, allocations: 1.112 MB / 467.6 MB, free: 8.18 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001533/0.6109, allocations: 61.69 kB / 467.7 MB, free: 8.113 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009226/0.6119, allocations: 0.7653 MB / 468.5 MB, free: 7.336 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004285/0.6123, allocations: 335.4 kB / 468.8 MB, free: 7.004 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.795e-05/0.6124, allocations: 28 kB / 468.8 MB, free: 6.977 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002171/0.6127, allocations: 349.9 kB / 469.2 MB, free: 6.629 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001251/0.6139, allocations: 0.5882 MB / 469.7 MB, free: 6.039 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001477/0.6154, allocations: 0.7927 MB / 470.5 MB, free: 5.172 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001277/0.6167, allocations: 0.606 MB / 471.1 MB, free: 4.57 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.361e-06/0.6167, allocations: 0 / 471.1 MB, free: 4.57 MB / 378.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.003721/0.6205, allocations: 1.708 MB / 472.8 MB, free: 2.848 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001062/0.6216, allocations: 1.93 MB / 474.8 MB, free: 0.7812 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.485e-05/0.6216, allocations: 4 kB / 474.8 MB, free: 0.7773 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001349/0.6229, allocations: 431.2 kB / 475.2 MB, free: 364 kB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009215/0.6239, allocations: 175.7 kB / 475.4 MB, free: 188 kB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007864/0.6318, allocations: 4.392 MB / 479.8 MB, free: 11.65 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001356/0.6332, allocations: 179.2 kB / 479.9 MB, free: 11.48 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001361/0.6333, allocations: 39.98 kB / 480 MB, free: 11.44 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.183e-05/0.6333, allocations: 4 kB / 480 MB, free: 11.43 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003414/0.6368, allocations: 1.566 MB / 481.6 MB, free: 9.859 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.451e-05/0.6368, allocations: 11.94 kB / 481.6 MB, free: 9.848 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001258/0.6381, allocations: 421.3 kB / 482 MB, free: 9.434 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008736/0.639, allocations: 179.7 kB / 482.1 MB, free: 9.258 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0078/0.6468, allocations: 4.393 MB / 486.5 MB, free: 4.734 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001263/0.6481, allocations: 159.2 kB / 486.7 MB, free: 4.578 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001416/0.6482, allocations: 44 kB / 486.7 MB, free: 4.535 MB / 394.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.0004314/0.6487, allocations: 224.8 kB / 487 MB, free: 4.309 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003012/0.649, allocations: 130.4 kB / 487.1 MB, free: 4.18 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004597/0.6495, allocations: 164.9 kB / 487.2 MB, free: 4.008 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.566e-05/0.6495, allocations: 15.98 kB / 487.3 MB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.118e-06/0.6495, allocations: 0 / 487.3 MB, free: 3.992 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.6495, allocations: 7.922 kB / 487.3 MB, free: 3.984 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007713/0.6573, allocations: 3.575 MB / 490.8 MB, free: 364 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.806e-06/0.6573, allocations: 0 / 490.8 MB, free: 364 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007136/0.658, allocations: 115.8 kB / 491 MB, free: 248 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001211/0.6593, allocations: 404.8 kB / 491.4 MB, free: 15.84 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.6594, allocations: 31.94 kB / 491.4 MB, free: 15.81 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007674/0.6671, allocations: 4.319 MB / 495.7 MB, free: 11.36 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.345e-06/0.6671, allocations: 7.922 kB / 495.7 MB, free: 11.35 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00518/0.6723, allocations: 2.47 MB / 498.2 MB, free: 8.863 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009961/0.6734, allocations: 363.4 kB / 498.5 MB, free: 8.488 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002612/0.6736, allocations: 31.98 kB / 498.6 MB, free: 8.457 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009453/0.6746, allocations: 103.9 kB / 498.7 MB, free: 8.355 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006531/0.6753, allocations: 228.6 kB / 498.9 MB, free: 8.129 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001123/0.6754, allocations: 31.92 kB / 498.9 MB, free: 8.098 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001707/0.6771, allocations: 0.8487 MB / 499.8 MB, free: 7.238 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.87e-07/0.6771, allocations: 0 / 499.8 MB, free: 7.238 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.002597/0.6797, allocations: 0.846 MB / 0.4889 GB, free: 6.391 MB / 410.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.0003583/0.6801, allocations: 184.3 kB / 0.4891 GB, free: 6.199 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005572/0.6857, allocations: 2.727 MB / 0.4917 GB, free: 3.453 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.07e-06/0.6857, allocations: 0 / 0.4917 GB, free: 3.453 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001952/0.6877, allocations: 0.9583 MB / 0.4927 GB, free: 2.484 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001612/0.6893, allocations: 300.5 kB / 0.4929 GB, free: 2.188 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006723/0.6961, allocations: 2.851 MB / 0.4957 GB, free: 15.3 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002113/0.6982, allocations: 1.749 MB / 0.4974 GB, free: 13.52 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002216/0.7004, allocations: 0.6032 MB / 0.498 GB, free: 12.91 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002841/0.7007, allocations: 71.42 kB / 0.4981 GB, free: 12.84 MB / 426.7 MB Notification: Performance of SimCode: time 2.086e-06/0.7008, allocations: 4 kB / 0.4981 GB, free: 12.84 MB / 426.7 MB Notification: Performance of Templates: time 0.2811/0.9819, allocations: 26.56 MB / 0.524 GB, free: 124.7 MB / 426.7 MB