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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV") Notification: Performance of loadModel(Modelica): time 1.837/1.837, allocations: 194.9 MB / 208.4 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.158e-05/3.175e-05, allocations: 4 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08074/0.0808, allocations: 44.5 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3539/0.4347, allocations: 85.3 MB / 385.2 MB, free: 20.89 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000236/0.435, allocations: 86.41 kB / 385.2 MB, free: 20.89 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1025/0.5375, allocations: 28.45 MB / 413.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.204e-06/0.5375, allocations: 3.938 kB / 413.7 MB, free: 13.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.00011/0.5377, allocations: 31.34 kB / 413.7 MB, free: 13.11 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.003824/0.5415, allocations: 1.536 MB / 415.3 MB, free: 12.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.5416, allocations: 7.781 kB / 415.3 MB, free: 12.09 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005692/0.5421, allocations: 164.6 kB / 415.4 MB, free: 12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00537/0.5475, allocations: 1.636 MB / 417.1 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001168/0.5477, allocations: 101.6 kB / 417.2 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003543/0.548, allocations: 129 kB / 417.3 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003727/0.5518, allocations: 1.689 MB / 419 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.67e-05/0.5519, allocations: 4 kB / 419 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001865/0.5521, allocations: 54.16 kB / 419 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.429e-05/0.5522, allocations: 57.27 kB / 419.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002981/0.5552, allocations: 1.329 MB / 420.4 MB, free: 10.64 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009617/0.5648, allocations: 4.998 MB / 425.4 MB, free: 8.344 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002128/0.567, allocations: 1.059 MB / 426.5 MB, free: 8.141 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001076/0.5681, allocations: 0.5681 MB / 427 MB, free: 8.059 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.279e-05/0.5682, allocations: 11.14 kB / 427.1 MB, free: 8.055 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009866/0.5692, allocations: 0.5893 MB / 427.6 MB, free: 7.848 MB / 314.7 MB Notification: Performance of pre-optimization done (n=82): time 4.376e-06/0.5692, allocations: 0 / 427.6 MB, free: 7.848 MB / 314.7 MB Notification: Performance of matching and sorting (n=82): time 0.002166/0.5714, allocations: 0.992 MB / 428.6 MB, free: 7.602 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.321e-05/0.5714, allocations: 155 kB / 428.8 MB, free: 7.438 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001652/0.5731, allocations: 0.7849 MB / 429.6 MB, free: 7.211 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001156/0.5732, allocations: 56.25 kB / 429.6 MB, free: 7.176 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004309/0.5737, allocations: 0.5968 MB / 430.2 MB, free: 6.781 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002105/0.5739, allocations: 236.4 kB / 430.5 MB, free: 6.617 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.874e-05/0.574, allocations: 18.75 kB / 430.5 MB, free: 6.617 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.833e-05/0.5741, allocations: 349.4 kB / 430.8 MB, free: 6.293 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007752/0.5749, allocations: 400.7 kB / 431.2 MB, free: 6.246 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008934/0.5758, allocations: 0.6331 MB / 431.8 MB, free: 5.926 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008154/0.5766, allocations: 440.2 kB / 432.3 MB, free: 5.828 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.727e-06/0.5766, allocations: 3.875 kB / 432.3 MB, free: 5.828 MB / 314.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.002241/0.5789, allocations: 1.152 MB / 433.4 MB, free: 5.574 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000529/0.5795, allocations: 2.529 MB / 436 MB, free: 2.914 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.68e-05/0.5795, allocations: 10.83 kB / 436 MB, free: 2.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007252/0.5802, allocations: 225.9 kB / 436.2 MB, free: 2.855 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007988/0.581, allocations: 152.2 kB / 436.3 MB, free: 2.82 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00397/0.585, allocations: 2.771 MB / 439.1 MB, free: 16.59 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001239/0.5863, allocations: 161.1 kB / 439.3 MB, free: 16.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.5865, allocations: 35.34 kB / 439.3 MB, free: 16.5 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.5865, allocations: 3.906 kB / 439.3 MB, free: 16.5 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00216/0.5887, allocations: 1.099 MB / 440.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.5887, allocations: 4.844 kB / 440.4 MB, free: 15.55 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005927/0.5893, allocations: 228.6 kB / 440.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007317/0.5901, allocations: 147.7 kB / 440.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004555/0.5947, allocations: 2.795 MB / 443.6 MB, free: 12.25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008669/0.5956, allocations: 127.5 kB / 443.7 MB, free: 12.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001032/0.5957, allocations: 40 kB / 443.7 MB, free: 12.09 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.0003927/0.5961, allocations: 204.9 kB / 443.9 MB, free: 11.88 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002946/0.5964, allocations: 90.88 kB / 444 MB, free: 11.79 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003405/0.5968, allocations: 117.3 kB / 444.1 MB, free: 11.67 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.412e-05/0.5968, allocations: 11.98 kB / 444.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.5968, allocations: 0 / 444.2 MB, free: 11.66 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.412e-05/0.5969, allocations: 11.92 kB / 444.2 MB, free: 11.65 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005917/0.6028, allocations: 2.557 MB / 446.7 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.076e-06/0.6028, allocations: 0 / 446.7 MB, free: 9.023 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005654/0.6034, allocations: 79.83 kB / 446.8 MB, free: 8.945 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006576/0.6041, allocations: 204.8 kB / 447 MB, free: 8.742 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.231e-05/0.6042, allocations: 15.98 kB / 447 MB, free: 8.727 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004532/0.6087, allocations: 2.721 MB / 449.7 MB, free: 5.867 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.515e-06/0.6088, allocations: 7.938 kB / 449.7 MB, free: 5.859 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00356/0.6124, allocations: 1.647 MB / 451.4 MB, free: 4.176 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007172/0.6131, allocations: 263.8 kB / 451.6 MB, free: 3.898 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002192/0.6133, allocations: 27.94 kB / 451.7 MB, free: 3.871 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007622/0.6141, allocations: 87.92 kB / 451.8 MB, free: 3.785 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004205/0.6146, allocations: 152.5 kB / 451.9 MB, free: 3.637 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.087e-05/0.6147, allocations: 27.98 kB / 451.9 MB, free: 3.609 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001209/0.6159, allocations: 0.585 MB / 452.5 MB, free: 3.027 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.97e-07/0.6159, allocations: 0 / 452.5 MB, free: 3.027 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002154/0.6181, allocations: 0.5799 MB / 453.1 MB, free: 2.445 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.0003257/0.6184, allocations: 160.4 kB / 453.3 MB, free: 2.285 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004092/0.6225, allocations: 1.875 MB / 455.1 MB, free: 392 kB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.902e-06/0.6226, allocations: 448 / 455.1 MB, free: 392 kB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001532/0.6241, allocations: 0.6943 MB / 455.8 MB, free: 15.68 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001313/0.6255, allocations: 195.4 kB / 456 MB, free: 15.48 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00521/0.6307, allocations: 1.979 MB / 458 MB, free: 13.46 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001565/0.6323, allocations: 1.382 MB / 459.4 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003862/0.6327, allocations: 67.44 kB / 459.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of SimCode: time 1.995e-06/0.6327, allocations: 0 / 459.4 MB, free: 11.98 MB / 346.7 MB Notification: Performance of Templates: time 0.03876/0.6715, allocations: 21.71 MB / 481.2 MB, free: 6.277 MB / 362.7 MB