Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL,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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadModel(Modelica): time 2.008/2.008, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.435e-05/3.436e-05, allocations: 0 / 292.2 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09058/0.09064, allocations: 50.41 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4254/0.5161, allocations: 91.92 MB / 434.5 MB, free: 2.367 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002614/0.5164, allocations: 88.55 kB / 434.6 MB, free: 2.316 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1142/0.6306, allocations: 30.6 MB / 465.2 MB, free: 8 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.912e-06/0.6307, allocations: 8 kB / 465.2 MB, free: 7.992 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001029/0.6308, allocations: 32 kB / 465.2 MB, free: 7.961 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 340 * Number of variables: 340 Notification: Performance of Generate backend data structure: time 0.003531/0.6343, allocations: 1.571 MB / 466.8 MB, free: 6.32 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.6344, allocations: 12.02 kB / 466.8 MB, free: 6.309 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003906/0.6348, allocations: 166 kB / 467 MB, free: 6.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005328/0.6401, allocations: 1.679 MB / 468.6 MB, free: 4.418 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001345/0.6403, allocations: 106.6 kB / 468.7 MB, free: 4.312 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002823/0.6406, allocations: 139.9 kB / 468.9 MB, free: 4.176 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003776/0.6444, allocations: 1.729 MB / 470.6 MB, free: 2.375 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.057e-05/0.6445, allocations: 3.938 kB / 470.6 MB, free: 2.371 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000201/0.6447, allocations: 67.98 kB / 470.7 MB, free: 2.305 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.201e-05/0.6448, allocations: 54.62 kB / 470.7 MB, free: 2.25 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003174/0.648, allocations: 1.38 MB / 472.1 MB, free: 0.8672 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01074/0.6587, allocations: 5.163 MB / 477.3 MB, free: 11.57 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002227/0.661, allocations: 1.034 MB / 478.3 MB, free: 10.52 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001333/0.6623, allocations: 0.6029 MB / 478.9 MB, free: 9.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.928e-05/0.6624, allocations: 8.781 kB / 478.9 MB, free: 9.91 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001293/0.6637, allocations: 0.6214 MB / 479.5 MB, free: 9.27 MB / 394.7 MB Notification: Performance of pre-optimization done (n=87): time 4.831e-06/0.6638, allocations: 0 / 479.5 MB, free: 9.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=87): time 0.002403/0.6662, allocations: 1.019 MB / 480.6 MB, free: 8.238 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001385/0.6663, allocations: 175 kB / 480.7 MB, free: 8.031 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001602/0.668, allocations: 0.8046 MB / 481.5 MB, free: 7.215 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001325/0.6681, allocations: 57.62 kB / 481.6 MB, free: 7.152 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007226/0.6688, allocations: 0.6085 MB / 482.2 MB, free: 6.535 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003378/0.6692, allocations: 260.4 kB / 482.5 MB, free: 6.277 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.227e-05/0.6693, allocations: 20 kB / 482.5 MB, free: 6.258 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002105/0.6695, allocations: 341.9 kB / 482.8 MB, free: 5.918 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009171/0.6704, allocations: 437.8 kB / 483.2 MB, free: 5.488 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00116/0.6716, allocations: 0.664 MB / 483.9 MB, free: 4.727 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009656/0.6726, allocations: 465.8 kB / 484.4 MB, free: 4.273 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.556e-06/0.6726, allocations: 4 kB / 484.4 MB, free: 4.27 MB / 394.7 MB Notification: Performance of matching and sorting (n=124) (initialization): time 0.002767/0.6754, allocations: 1.265 MB / 485.6 MB, free: 2.992 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001403/0.6768, allocations: 2.529 MB / 488.2 MB, free: 272 kB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.132e-05/0.6769, allocations: 8 kB / 488.2 MB, free: 264 kB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007476/0.6776, allocations: 220.6 kB / 488.4 MB, free: 40 kB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008318/0.6785, allocations: 163.7 kB / 488.5 MB, free: 15.88 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00445/0.6829, allocations: 2.764 MB / 491.3 MB, free: 12.98 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.6841, allocations: 159.2 kB / 491.5 MB, free: 12.82 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001072/0.6843, allocations: 36 kB / 491.5 MB, free: 12.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.18e-05/0.6843, allocations: 4 kB / 491.5 MB, free: 12.79 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002482/0.6868, allocations: 1.144 MB / 492.6 MB, free: 11.64 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.687e-05/0.6868, allocations: 12.16 kB / 492.7 MB, free: 11.63 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006711/0.6875, allocations: 228.8 kB / 492.9 MB, free: 11.4 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007289/0.6882, allocations: 155.7 kB / 493 MB, free: 11.25 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004355/0.6926, allocations: 2.768 MB / 495.8 MB, free: 8.344 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001059/0.6937, allocations: 139.3 kB / 495.9 MB, free: 8.207 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001068/0.6938, allocations: 36 kB / 496 MB, free: 8.172 MB / 410.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (112): * Single equations (assignments): 111 * 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.0003733/0.6942, allocations: 204.8 kB / 496.2 MB, free: 7.973 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002245/0.6944, allocations: 98.83 kB / 496.3 MB, free: 7.875 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003235/0.6948, allocations: 117.7 kB / 496.4 MB, free: 7.758 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.246e-05/0.6948, allocations: 8 kB / 496.4 MB, free: 7.75 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.317e-06/0.6948, allocations: 8 kB / 496.4 MB, free: 7.742 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.457e-05/0.6949, allocations: 3.984 kB / 496.4 MB, free: 7.738 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005702/0.7006, allocations: 2.689 MB / 499.1 MB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.596e-06/0.7006, allocations: 0 / 499.1 MB, free: 4.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000557/0.7012, allocations: 103.8 kB / 499.2 MB, free: 4.879 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006207/0.7018, allocations: 192.7 kB / 499.4 MB, free: 4.688 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.938e-05/0.7019, allocations: 19.98 kB / 499.4 MB, free: 4.668 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004345/0.7063, allocations: 2.733 MB / 0.4904 GB, free: 1.797 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.844e-06/0.7063, allocations: 4 kB / 0.4904 GB, free: 1.793 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003554/0.7099, allocations: 1.762 MB / 0.4921 GB, free: 15.99 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006221/0.7105, allocations: 283.8 kB / 0.4924 GB, free: 15.7 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001885/0.7107, allocations: 27.94 kB / 0.4924 GB, free: 15.67 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007668/0.7115, allocations: 87.92 kB / 0.4925 GB, free: 15.59 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004023/0.7119, allocations: 148.5 kB / 0.4926 GB, free: 15.44 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.528e-05/0.712, allocations: 23.98 kB / 0.4926 GB, free: 15.42 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.001193/0.7132, allocations: 0.6045 MB / 0.4932 GB, free: 14.81 MB / 426.7 MB Notification: Performance of sort global known variables: time 8.8e-07/0.7132, allocations: 0 / 0.4932 GB, free: 14.81 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.002129/0.7154, allocations: 0.6031 MB / 0.4938 GB, free: 14.2 MB / 426.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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[2].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (75): * Single equations (assignments): 65 * 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.0003401/0.7157, allocations: 184.2 kB / 0.494 GB, free: 14.02 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.003975/0.7197, allocations: 1.946 MB / 0.4959 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 4.792e-06/0.7198, allocations: 3.938 kB / 0.4959 GB, free: 12.04 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001424/0.7212, allocations: 0.7208 MB / 0.4966 GB, free: 11.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00121/0.7224, allocations: 207.5 kB / 0.4968 GB, free: 11.11 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004976/0.7274, allocations: 2.065 MB / 0.4988 GB, free: 9.008 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001603/0.7291, allocations: 1.437 MB / 0.5002 GB, free: 7.539 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.001728/0.7308, allocations: 467.2 kB / 0.5007 GB, free: 7.078 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002307/0.731, allocations: 59.44 kB / 0.5007 GB, free: 7.02 MB / 426.7 MB Notification: Performance of SimCode: time 1.844e-06/0.7311, allocations: 0 / 0.5007 GB, free: 7.02 MB / 426.7 MB Notification: Performance of Templates: time 0.04439/0.7755, allocations: 17.19 MB / 0.5175 GB, free: 5.984 MB / 442.7 MB