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.988/1.988, allocations: 194.9 MB / 208.4 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.53e-05/2.548e-05, allocations: 4 kB / 255.4 MB, free: 3.168 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0787/0.07875, allocations: 44.5 MB / 299.9 MB, free: 6.602 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3399/0.4187, allocations: 84.75 MB / 384.6 MB, free: 21.06 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002754/0.419, allocations: 91.14 kB / 384.7 MB, free: 21.06 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09791/0.517, allocations: 27.83 MB / 412.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.784e-06/0.517, allocations: 0 / 412.5 MB, free: 13.66 MB / 314.7 MB Notification: Performance of Transformations before backend: time 9.421e-05/0.5171, allocations: 35.31 kB / 412.6 MB, free: 13.66 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.003691/0.5208, allocations: 1.507 MB / 414.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/0.5209, allocations: 7.812 kB / 414.1 MB, free: 12.65 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006008/0.5215, allocations: 159.2 kB / 414.2 MB, free: 12.57 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005156/0.5267, allocations: 1.624 MB / 415.9 MB, free: 11.84 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001044/0.5268, allocations: 105.1 kB / 416 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002444/0.5271, allocations: 119.7 kB / 416.1 MB, free: 11.83 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003471/0.5306, allocations: 1.651 MB / 417.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.446e-05/0.5307, allocations: 0 / 417.7 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001686/0.5308, allocations: 51.56 kB / 417.8 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.036e-05/0.5309, allocations: 53.52 kB / 417.8 MB, free: 11.37 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002804/0.5337, allocations: 1.319 MB / 419.1 MB, free: 11.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009621/0.5434, allocations: 4.857 MB / 424 MB, free: 9 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002033/0.5455, allocations: 1.023 MB / 425 MB, free: 8.812 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001084/0.5466, allocations: 0.5554 MB / 425.6 MB, free: 8.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.495e-05/0.5467, allocations: 16.12 kB / 425.6 MB, free: 8.727 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000978/0.5477, allocations: 0.5809 MB / 426.2 MB, free: 8.512 MB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 4.303e-06/0.5477, allocations: 0 / 426.2 MB, free: 8.512 MB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.002173/0.5499, allocations: 0.9914 MB / 427.2 MB, free: 8.262 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.906e-05/0.55, allocations: 151.1 kB / 427.3 MB, free: 8.094 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001423/0.5514, allocations: 0.77 MB / 428.1 MB, free: 7.875 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001782/0.5516, allocations: 55.19 kB / 428.1 MB, free: 7.84 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004646/0.5521, allocations: 0.581 MB / 428.7 MB, free: 7.453 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002379/0.5523, allocations: 229.3 kB / 428.9 MB, free: 7.293 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.871e-05/0.5524, allocations: 18.47 kB / 429 MB, free: 7.293 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.806e-05/0.5525, allocations: 348.9 kB / 429.3 MB, free: 6.969 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007778/0.5533, allocations: 400.4 kB / 429.7 MB, free: 6.918 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008934/0.5542, allocations: 0.6201 MB / 430.3 MB, free: 6.602 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008137/0.5551, allocations: 439.5 kB / 430.7 MB, free: 6.504 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.118e-06/0.5551, allocations: 0 / 430.7 MB, free: 6.504 MB / 314.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.002161/0.5573, allocations: 1.139 MB / 431.9 MB, free: 6.25 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005126/0.5578, allocations: 2.529 MB / 434.4 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.499e-05/0.5578, allocations: 7.75 kB / 434.4 MB, free: 3.586 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007848/0.5586, allocations: 236.3 kB / 434.7 MB, free: 3.527 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006795/0.5593, allocations: 144.7 kB / 434.8 MB, free: 3.492 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004136/0.5635, allocations: 2.888 MB / 437.7 MB, free: 17.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001155/0.5647, allocations: 157.7 kB / 437.8 MB, free: 17.28 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.173e-05/0.5648, allocations: 35.34 kB / 437.9 MB, free: 17.27 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.5648, allocations: 3.906 kB / 437.9 MB, free: 17.27 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002084/0.5669, allocations: 1.09 MB / 439 MB, free: 16.72 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.567, allocations: 7.562 kB / 439 MB, free: 16.72 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000655/0.5676, allocations: 219.9 kB / 439.2 MB, free: 16.61 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006149/0.5683, allocations: 138.9 kB / 439.3 MB, free: 16.57 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004356/0.5726, allocations: 2.925 MB / 442.2 MB, free: 13.54 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000818/0.5735, allocations: 135.5 kB / 442.4 MB, free: 13.41 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.741e-05/0.5736, allocations: 40 kB / 442.4 MB, free: 13.37 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.0003829/0.574, allocations: 192.8 kB / 442.6 MB, free: 13.18 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003081/0.5743, allocations: 94.91 kB / 442.7 MB, free: 13.09 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003324/0.5747, allocations: 112.9 kB / 442.8 MB, free: 12.97 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.253e-05/0.5747, allocations: 8 kB / 442.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.517e-06/0.5747, allocations: 0 / 442.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.356e-05/0.5747, allocations: 3.984 kB / 442.8 MB, free: 12.96 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006261/0.581, allocations: 2.638 MB / 445.5 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.095e-05/0.5811, allocations: 4 kB / 445.5 MB, free: 10.26 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004675/0.5816, allocations: 67.94 kB / 445.5 MB, free: 10.19 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006843/0.5823, allocations: 212.6 kB / 445.7 MB, free: 9.98 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.195e-05/0.5824, allocations: 16 kB / 445.8 MB, free: 9.965 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004367/0.5867, allocations: 2.648 MB / 448.4 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.839e-06/0.5868, allocations: 0 / 448.4 MB, free: 7.176 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003783/0.5906, allocations: 1.646 MB / 450 MB, free: 5.5 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006792/0.5913, allocations: 259.9 kB / 450.3 MB, free: 5.227 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001856/0.5915, allocations: 23.98 kB / 450.3 MB, free: 5.203 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007442/0.5923, allocations: 91.91 kB / 450.4 MB, free: 5.113 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000469/0.5928, allocations: 140.7 kB / 450.6 MB, free: 4.977 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.532e-05/0.5929, allocations: 20 kB / 450.6 MB, free: 4.957 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001175/0.594, allocations: 0.5811 MB / 451.2 MB, free: 4.379 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.003e-06/0.5941, allocations: 7.938 kB / 451.2 MB, free: 4.371 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002158/0.5962, allocations: 0.5643 MB / 451.7 MB, free: 3.805 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.0003382/0.5966, allocations: 175.8 kB / 451.9 MB, free: 3.625 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.004157/0.6008, allocations: 1.863 MB / 453.8 MB, free: 1.738 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 9.215e-06/0.6008, allocations: 448 / 453.8 MB, free: 1.738 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001474/0.6023, allocations: 0.6665 MB / 454.4 MB, free: 1.062 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00129/0.6036, allocations: 183.3 kB / 454.6 MB, free: 0.8828 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005036/0.6087, allocations: 1.889 MB / 456.5 MB, free: 14.96 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001517/0.6102, allocations: 1.358 MB / 457.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003777/0.6107, allocations: 67.44 kB / 457.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of SimCode: time 1.954e-06/0.6107, allocations: 0 / 457.9 MB, free: 13.5 MB / 346.7 MB Notification: Performance of Templates: time 0.03837/0.649, allocations: 21.28 MB / 479.2 MB, free: 8.238 MB / 362.7 MB