Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulsem.twomPulse.timerNegative.1..entryTime|pulsem.twomPulse.timerNegative.2..entryTime|pulsem.twomPulse.timerNegative.3..entryTime|pulsem.twomPulse.timerPositive.1..entryTime|pulsem.twomPulse.timerPositive.2..entryTime|pulsem.twomPulse.timerPositive.3..entryTime|rectifier.thyristor.idealThyristor.1..off|rectifier.thyristor.idealThyristor.2..off|rectifier.thyristor.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV") Notification: Performance of loadModel(Modelica): time 1.824/1.824, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.108e-05/3.123e-05, allocations: 4 kB / 255.4 MB, free: 2.672 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.1039, allocations: 44.5 MB / 299.9 MB, free: 6.105 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3361/0.44, allocations: 85.31 MB / 385.2 MB, free: 20.76 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.4403, allocations: 87.25 kB / 385.3 MB, free: 20.76 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09722/0.5376, allocations: 28.44 MB / 413.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.348e-06/0.5376, allocations: 3.938 kB / 413.7 MB, free: 12.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.197e-05/0.5377, allocations: 39.27 kB / 413.8 MB, free: 12.87 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: 330 * Number of variables: 330 Notification: Performance of Generate backend data structure: time 0.003105/0.5408, allocations: 1.54 MB / 415.3 MB, free: 11.85 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.5409, allocations: 7.844 kB / 415.3 MB, free: 11.85 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003574/0.5413, allocations: 164.5 kB / 415.5 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004881/0.5462, allocations: 1.626 MB / 417.1 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/0.5463, allocations: 105.4 kB / 417.2 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002443/0.5466, allocations: 131.5 kB / 417.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007279/0.5538, allocations: 1.673 MB / 419 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.778e-05/0.554, allocations: 0 / 419 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003977/0.5544, allocations: 55.14 kB / 419.1 MB, free: 10.57 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001369/0.5546, allocations: 60.73 kB / 419.1 MB, free: 10.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00608/0.5607, allocations: 1.325 MB / 420.5 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01937/0.5801, allocations: 4.983 MB / 425.4 MB, free: 8.129 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004538/0.5847, allocations: 1.044 MB / 426.5 MB, free: 7.93 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002305/0.5871, allocations: 0.57 MB / 427.1 MB, free: 7.848 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.252e-05/0.5872, allocations: 16.05 kB / 427.1 MB, free: 7.84 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00218/0.5894, allocations: 0.5778 MB / 427.7 MB, free: 7.637 MB / 314.7 MB Notification: Performance of pre-optimization done (n=82): time 8.646e-06/0.5894, allocations: 0 / 427.7 MB, free: 7.637 MB / 314.7 MB Notification: Performance of matching and sorting (n=82): time 0.004572/0.594, allocations: 0.9981 MB / 428.6 MB, free: 7.391 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.5942, allocations: 152.5 kB / 428.8 MB, free: 7.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002796/0.597, allocations: 0.7832 MB / 429.6 MB, free: 7 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002203/0.5973, allocations: 63.16 kB / 429.6 MB, free: 6.961 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009421/0.5982, allocations: 0.5845 MB / 430.2 MB, free: 6.617 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004516/0.5987, allocations: 237.5 kB / 430.5 MB, free: 6.453 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000148/0.5989, allocations: 19.22 kB / 430.5 MB, free: 6.453 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001674/0.5991, allocations: 341.4 kB / 430.8 MB, free: 6.137 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001703/0.6008, allocations: 408.8 kB / 431.2 MB, free: 6.086 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001946/0.6028, allocations: 0.6267 MB / 431.8 MB, free: 5.762 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001768/0.6046, allocations: 432.5 kB / 432.3 MB, free: 5.676 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.328e-05/0.6046, allocations: 3.219 kB / 432.3 MB, free: 5.676 MB / 314.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.005129/0.6098, allocations: 1.203 MB / 433.5 MB, free: 5.387 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008448/0.6107, allocations: 2.523 MB / 436 MB, free: 2.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.868e-05/0.6107, allocations: 15.7 kB / 436 MB, free: 2.723 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001323/0.6121, allocations: 218 kB / 436.2 MB, free: 2.66 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.01792/0.63, allocations: 149.3 kB / 436.4 MB, free: 2.621 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003973/0.6341, allocations: 2.767 MB / 439.1 MB, free: 16.34 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/0.6351, allocations: 159.2 kB / 439.3 MB, free: 16.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.491e-05/0.6353, allocations: 36 kB / 439.3 MB, free: 16.15 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.125e-05/0.6353, allocations: 6.031 kB / 439.3 MB, free: 16.14 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002029/0.6373, allocations: 1.081 MB / 440.4 MB, free: 15.06 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.782e-05/0.6374, allocations: 16.03 kB / 440.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000674/0.6381, allocations: 216.7 kB / 440.6 MB, free: 14.83 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007554/0.6388, allocations: 143.7 kB / 440.8 MB, free: 14.69 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004468/0.6433, allocations: 2.776 MB / 443.6 MB, free: 11.77 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001108/0.6445, allocations: 135.4 kB / 443.7 MB, free: 11.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001199/0.6446, allocations: 39.94 kB / 443.7 MB, free: 11.6 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($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,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0003797/0.645, allocations: 204 kB / 443.9 MB, free: 11.4 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002265/0.6452, allocations: 94.86 kB / 444 MB, free: 11.3 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003508/0.6456, allocations: 117.2 kB / 444.1 MB, free: 11.19 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.135e-05/0.6456, allocations: 12 kB / 444.1 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.873e-06/0.6457, allocations: 4 kB / 444.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.228e-05/0.6457, allocations: 3.984 kB / 444.1 MB, free: 11.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005626/0.6513, allocations: 2.553 MB / 446.7 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.407e-06/0.6514, allocations: 0 / 446.7 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005363/0.6519, allocations: 83.94 kB / 446.8 MB, free: 8.465 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006394/0.6526, allocations: 200.7 kB / 447 MB, free: 8.266 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.031e-05/0.6527, allocations: 15.98 kB / 447 MB, free: 8.25 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004765/0.6575, allocations: 2.728 MB / 449.7 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.658e-06/0.6575, allocations: 0 / 449.7 MB, free: 5.387 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003665/0.6612, allocations: 1.641 MB / 451.4 MB, free: 3.707 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006501/0.6619, allocations: 275.8 kB / 451.6 MB, free: 3.418 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002008/0.6621, allocations: 27.94 kB / 451.7 MB, free: 3.391 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007585/0.6629, allocations: 83.92 kB / 451.7 MB, free: 3.309 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004097/0.6633, allocations: 148.5 kB / 451.9 MB, free: 3.16 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.256e-05/0.6634, allocations: 20 kB / 451.9 MB, free: 3.141 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001221/0.6646, allocations: 0.5928 MB / 452.5 MB, free: 2.547 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.33e-07/0.6646, allocations: 0 / 452.5 MB, free: 2.547 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00213/0.6668, allocations: 0.5799 MB / 453.1 MB, free: 1.965 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].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.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 60 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003231/0.6671, allocations: 164.5 kB / 453.2 MB, free: 1.797 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003921/0.6711, allocations: 1.848 MB / 455.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 5.164e-06/0.6711, allocations: 0 / 455.1 MB, free: 15.93 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001397/0.6725, allocations: 0.6934 MB / 455.8 MB, free: 15.23 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001208/0.6737, allocations: 191.9 kB / 456 MB, free: 15.04 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004798/0.6785, allocations: 1.975 MB / 457.9 MB, free: 13.03 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001537/0.6801, allocations: 1.409 MB / 459.4 MB, free: 11.59 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.001597/0.6817, allocations: 423.1 kB / 459.8 MB, free: 11.17 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002216/0.682, allocations: 55.42 kB / 459.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of SimCode: time 1.707e-06/0.682, allocations: 0 / 459.8 MB, free: 11.12 MB / 346.7 MB Notification: Performance of Templates: time 0.04213/0.7241, allocations: 16.57 MB / 476.4 MB, free: 10.61 MB / 362.7 MB