Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadModel(Modelica): time 1.802/1.802, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.706e-05/2.716e-05, allocations: 4.969 kB / 255.4 MB, free: 3.152 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07628/0.07632, allocations: 44.49 MB / 299.9 MB, free: 6.598 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3442/0.4206, allocations: 84.76 MB / 384.6 MB, free: 21.06 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002607/0.4209, allocations: 88.84 kB / 384.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0962/0.5171, allocations: 27.83 MB / 412.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.115e-06/0.5171, allocations: 0 / 412.6 MB, free: 13.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.000105/0.5173, allocations: 35.41 kB / 412.6 MB, free: 13.65 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.00303/0.5203, allocations: 1.508 MB / 414.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.5204, allocations: 7.844 kB / 414.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004214/0.5208, allocations: 156.4 kB / 414.3 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005173/0.526, allocations: 1.621 MB / 415.9 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000105/0.5261, allocations: 96.06 kB / 416 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002528/0.5264, allocations: 135.9 kB / 416.1 MB, free: 11.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003261/0.5297, allocations: 1.626 MB / 417.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.046e-05/0.5297, allocations: 0 / 417.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001656/0.5299, allocations: 56.88 kB / 417.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.14e-05/0.53, allocations: 53.36 kB / 417.8 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002657/0.5327, allocations: 1.3 MB / 419.1 MB, free: 11.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009003/0.5417, allocations: 4.862 MB / 424 MB, free: 9.008 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002054/0.5438, allocations: 1.016 MB / 425 MB, free: 8.82 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001053/0.5449, allocations: 0.5471 MB / 425.6 MB, free: 8.746 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.384e-05/0.545, allocations: 8.188 kB / 425.6 MB, free: 8.746 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001025/0.546, allocations: 0.5846 MB / 426.2 MB, free: 8.531 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 4.375e-06/0.546, allocations: 0 / 426.2 MB, free: 8.531 MB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.002171/0.5482, allocations: 0.9823 MB / 427.1 MB, free: 8.289 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.647e-05/0.5483, allocations: 156.4 kB / 427.3 MB, free: 8.121 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001316/0.5496, allocations: 0.7668 MB / 428.1 MB, free: 7.902 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001192/0.5498, allocations: 59.25 kB / 428.1 MB, free: 7.863 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004184/0.5502, allocations: 0.5829 MB / 428.7 MB, free: 7.477 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002175/0.5504, allocations: 229.5 kB / 428.9 MB, free: 7.316 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.244e-05/0.5505, allocations: 18.62 kB / 428.9 MB, free: 7.316 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.586e-05/0.5506, allocations: 349.4 kB / 429.3 MB, free: 6.992 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007485/0.5514, allocations: 395.3 kB / 429.7 MB, free: 6.945 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008986/0.5523, allocations: 0.6158 MB / 430.3 MB, free: 6.625 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000809/0.5531, allocations: 434.3 kB / 430.7 MB, free: 6.531 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.297e-06/0.5531, allocations: 4 kB / 430.7 MB, free: 6.527 MB / 314.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002198/0.5553, allocations: 1.127 MB / 431.8 MB, free: 6.281 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0004962/0.5558, allocations: 2.523 MB / 434.4 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.5559, allocations: 3.422 kB / 434.4 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007456/0.5566, allocations: 241.4 kB / 434.6 MB, free: 3.559 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006887/0.5573, allocations: 139.8 kB / 434.7 MB, free: 3.527 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004125/0.5615, allocations: 2.898 MB / 437.6 MB, free: 17.39 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001086/0.5626, allocations: 151.2 kB / 437.8 MB, free: 17.31 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.004e-05/0.5627, allocations: 36.47 kB / 437.8 MB, free: 17.3 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.222e-05/0.5627, allocations: 5.781 kB / 437.8 MB, free: 17.3 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001966/0.5647, allocations: 1.072 MB / 438.9 MB, free: 16.77 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.395e-05/0.5648, allocations: 11.81 kB / 438.9 MB, free: 16.77 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006248/0.5654, allocations: 218.1 kB / 439.1 MB, free: 16.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.566, allocations: 142 kB / 439.3 MB, free: 16.62 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004254/0.5703, allocations: 2.92 MB / 442.2 MB, free: 13.63 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008187/0.5712, allocations: 131.6 kB / 442.3 MB, free: 13.5 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001011/0.5713, allocations: 40 kB / 442.4 MB, free: 13.46 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 (101): * Single equations (assignments): 100 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0003778/0.5717, allocations: 204.7 kB / 442.6 MB, free: 13.26 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002892/0.572, allocations: 94.83 kB / 442.6 MB, free: 13.17 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003266/0.5723, allocations: 112.9 kB / 442.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-05/0.5724, allocations: 8 kB / 442.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.714e-06/0.5724, allocations: 0 / 442.8 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.234e-05/0.5724, allocations: 3.984 kB / 442.8 MB, free: 13.04 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005956/0.5784, allocations: 2.63 MB / 445.4 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.894e-06/0.5784, allocations: 0 / 445.4 MB, free: 10.35 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004769/0.5789, allocations: 75.86 kB / 445.5 MB, free: 10.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000677/0.5796, allocations: 212.7 kB / 445.7 MB, free: 10.06 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.682e-05/0.5797, allocations: 16 kB / 445.7 MB, free: 10.05 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004322/0.584, allocations: 2.637 MB / 448.3 MB, free: 7.277 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.721e-06/0.5841, allocations: 7.875 kB / 448.3 MB, free: 7.27 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003684/0.5878, allocations: 1.649 MB / 450 MB, free: 5.59 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006575/0.5885, allocations: 263.8 kB / 450.2 MB, free: 5.312 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001787/0.5887, allocations: 23.98 kB / 450.3 MB, free: 5.289 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007189/0.5894, allocations: 83.92 kB / 450.4 MB, free: 5.207 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004246/0.5898, allocations: 144.5 kB / 450.5 MB, free: 5.066 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.605e-05/0.5899, allocations: 23.98 kB / 450.5 MB, free: 5.043 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001198/0.5911, allocations: 0.581 MB / 451.1 MB, free: 4.465 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.36e-07/0.5912, allocations: 0 / 451.1 MB, free: 4.465 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00262/0.5938, allocations: 0.5721 MB / 451.7 MB, free: 3.891 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (66): * Single equations (assignments): 56 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003568/0.5942, allocations: 168.3 kB / 451.8 MB, free: 3.715 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004032/0.5982, allocations: 1.816 MB / 453.6 MB, free: 1.879 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.772e-06/0.5983, allocations: 2.125 kB / 453.7 MB, free: 1.879 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001449/0.5998, allocations: 0.6486 MB / 454.3 MB, free: 1.223 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001252/0.601, allocations: 182.9 kB / 454.5 MB, free: 1.039 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004806/0.6059, allocations: 1.872 MB / 456.4 MB, free: 15.13 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001526/0.6074, allocations: 1.37 MB / 457.7 MB, free: 13.73 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003776/0.6078, allocations: 59.44 kB / 457.8 MB, free: 13.67 MB / 346.7 MB Notification: Performance of SimCode: time 2.198e-06/0.6079, allocations: 4 kB / 457.8 MB, free: 13.67 MB / 346.7 MB Notification: Performance of Templates: time 0.03978/0.6476, allocations: 21.16 MB / 478.9 MB, free: 8.516 MB / 362.7 MB