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_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RL") Notification: Performance of loadModel(Modelica): time 1.885/1.885, allocations: 194.9 MB / 208.4 MB, free: 3.172 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.35e-05/3.384e-05, allocations: 0 / 255.4 MB, free: 3.168 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07873/0.07879, allocations: 44.5 MB / 299.9 MB, free: 6.602 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3699/0.4487, allocations: 85.06 MB / 384.9 MB, free: 20.95 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.449, allocations: 88.47 kB / 385 MB, free: 20.95 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09843/0.5475, allocations: 28.17 MB / 413.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.294e-06/0.5475, allocations: 3.938 kB / 413.2 MB, free: 13.35 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001071/0.5476, allocations: 39.22 kB / 413.2 MB, free: 13.34 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: 324 * Number of variables: 324 Notification: Performance of Generate backend data structure: time 0.003636/0.5513, allocations: 1.504 MB / 414.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.5513, allocations: 15.69 kB / 414.7 MB, free: 12.34 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000551/0.5519, allocations: 155.9 kB / 414.9 MB, free: 12.26 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005104/0.557, allocations: 1.632 MB / 416.5 MB, free: 11.52 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001156/0.5572, allocations: 101.8 kB / 416.6 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003311/0.5575, allocations: 133.8 kB / 416.8 MB, free: 11.51 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003483/0.561, allocations: 1.671 MB / 418.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.945e-05/0.5611, allocations: 7.781 kB / 418.4 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001789/0.5613, allocations: 52.12 kB / 418.5 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.14e-05/0.5614, allocations: 56.91 kB / 418.5 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002686/0.5641, allocations: 1.321 MB / 419.9 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009159/0.5733, allocations: 4.947 MB / 424.8 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002152/0.5755, allocations: 1.053 MB / 425.9 MB, free: 8.402 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001175/0.5767, allocations: 0.5503 MB / 426.4 MB, free: 8.332 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.752e-05/0.5768, allocations: 12.53 kB / 426.4 MB, free: 8.328 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001077/0.5779, allocations: 0.583 MB / 427 MB, free: 8.125 MB / 314.7 MB Notification: Performance of pre-optimization done (n=81): time 5.03e-06/0.578, allocations: 0 / 427 MB, free: 8.125 MB / 314.7 MB Notification: Performance of matching and sorting (n=81): time 0.002242/0.5802, allocations: 0.9896 MB / 428 MB, free: 7.875 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.088e-05/0.5803, allocations: 147.2 kB / 428.1 MB, free: 7.715 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001402/0.5817, allocations: 0.7666 MB / 428.9 MB, free: 7.496 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000188/0.582, allocations: 56.12 kB / 429 MB, free: 7.461 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004712/0.5824, allocations: 0.5891 MB / 429.5 MB, free: 7.07 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002813/0.5827, allocations: 240.3 kB / 429.8 MB, free: 6.902 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.793e-05/0.5828, allocations: 22.72 kB / 429.8 MB, free: 6.898 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.003e-05/0.5829, allocations: 357 kB / 430.2 MB, free: 6.566 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007602/0.5837, allocations: 402.5 kB / 430.5 MB, free: 6.516 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008774/0.5846, allocations: 0.6277 MB / 431.2 MB, free: 6.199 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008052/0.5854, allocations: 438.8 kB / 431.6 MB, free: 6.102 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.958e-06/0.5854, allocations: 3.156 kB / 431.6 MB, free: 6.102 MB / 314.7 MB Notification: Performance of matching and sorting (n=118) (initialization): time 0.00223/0.5877, allocations: 1.146 MB / 432.8 MB, free: 5.848 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005221/0.5882, allocations: 2.528 MB / 435.3 MB, free: 3.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.592e-05/0.5883, allocations: 7.625 kB / 435.3 MB, free: 3.191 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007008/0.589, allocations: 221.8 kB / 435.5 MB, free: 3.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007789/0.5898, allocations: 152.1 kB / 435.7 MB, free: 3.105 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00387/0.5937, allocations: 2.769 MB / 438.4 MB, free: 16.95 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001137/0.5949, allocations: 157.2 kB / 438.6 MB, free: 16.86 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.908e-05/0.595, allocations: 39.25 kB / 438.6 MB, free: 16.86 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/0.595, allocations: 3.906 kB / 438.6 MB, free: 16.86 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002089/0.5971, allocations: 1.091 MB / 439.7 MB, free: 16.23 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.5972, allocations: 4 kB / 439.7 MB, free: 16.23 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005723/0.5978, allocations: 221.7 kB / 439.9 MB, free: 16.01 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007257/0.5985, allocations: 147.7 kB / 440.1 MB, free: 15.86 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004367/0.6029, allocations: 2.799 MB / 442.9 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008916/0.6038, allocations: 131.4 kB / 443 MB, free: 12.8 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001198/0.604, allocations: 39.98 kB / 443 MB, free: 12.76 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 (106): * Single equations (assignments): 105 * 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.0004276/0.6044, allocations: 200.8 kB / 443.2 MB, free: 12.56 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002976/0.6048, allocations: 94.86 kB / 443.3 MB, free: 12.46 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003504/0.6051, allocations: 113 kB / 443.4 MB, free: 12.35 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.288e-05/0.6051, allocations: 8 kB / 443.4 MB, free: 12.34 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.221e-05/0.6052, allocations: 8 kB / 443.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.69e-05/0.6052, allocations: 4.172 kB / 443.5 MB, free: 12.33 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0062/0.6114, allocations: 2.54 MB / 446 MB, free: 9.719 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-06/0.6115, allocations: 3.938 kB / 446 MB, free: 9.715 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005699/0.612, allocations: 79.83 kB / 446.1 MB, free: 9.637 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006673/0.6127, allocations: 200.9 kB / 446.3 MB, free: 9.438 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001199/0.6129, allocations: 15.98 kB / 446.3 MB, free: 9.422 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004573/0.6175, allocations: 2.733 MB / 449 MB, free: 6.555 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.197e-06/0.6175, allocations: 4 kB / 449 MB, free: 6.551 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003544/0.6211, allocations: 1.633 MB / 450.7 MB, free: 4.875 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00072/0.6218, allocations: 259.9 kB / 450.9 MB, free: 4.602 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/0.622, allocations: 23.98 kB / 450.9 MB, free: 4.578 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007776/0.6228, allocations: 91.86 kB / 451 MB, free: 4.488 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000433/0.6233, allocations: 144.5 kB / 451.2 MB, free: 4.348 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.257e-05/0.6234, allocations: 28 kB / 451.2 MB, free: 4.32 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001195/0.6246, allocations: 0.5811 MB / 451.8 MB, free: 3.742 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.51e-07/0.6246, allocations: 0 / 451.8 MB, free: 3.742 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002296/0.6269, allocations: 0.5799 MB / 452.4 MB, free: 3.16 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[2].off,rectifier.thyristor.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (69): * Single equations (assignments): 59 * 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.0003429/0.6273, allocations: 166.5 kB / 452.5 MB, free: 2.992 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004055/0.6314, allocations: 1.858 MB / 454.4 MB, free: 1.109 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.122e-06/0.6314, allocations: 448 / 454.4 MB, free: 1.109 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001484/0.6329, allocations: 0.6881 MB / 455.1 MB, free: 416 kB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001258/0.6342, allocations: 187.3 kB / 455.3 MB, free: 224 kB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005152/0.6394, allocations: 1.972 MB / 457.2 MB, free: 14.21 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001547/0.641, allocations: 1.374 MB / 458.6 MB, free: 12.8 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003841/0.6414, allocations: 67.42 kB / 458.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of SimCode: time 2.191e-06/0.6414, allocations: 0 / 458.7 MB, free: 12.73 MB / 346.7 MB Notification: Performance of Templates: time 0.04067/0.682, allocations: 21.51 MB / 480.2 MB, free: 7.238 MB / 362.7 MB