Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadModel(Modelica): time 2.015/2.015, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.283e-05/3.286e-05, allocations: 4 kB / 292.2 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09014/0.0902, allocations: 50.41 MB / 342.6 MB, free: 5.895 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3664/0.4567, allocations: 85.99 MB / 428.6 MB, free: 8.309 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002587/0.457, allocations: 82.25 kB / 428.6 MB, free: 8.262 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04073/0.4978, allocations: 10.32 MB / 439 MB, free: 15.51 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.448e-06/0.4978, allocations: 0 / 439 MB, free: 15.51 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.893e-05/0.4979, allocations: 8 kB / 439 MB, free: 15.5 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 102 * Number of variables: 102 Notification: Performance of Generate backend data structure: time 0.001502/0.4994, allocations: 0.704 MB / 439.7 MB, free: 14.78 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.325e-05/0.4994, allocations: 8.031 kB / 439.7 MB, free: 14.77 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001621/0.4996, allocations: 55.34 kB / 439.7 MB, free: 14.72 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007586/0.5004, allocations: 377.7 kB / 440.1 MB, free: 14.37 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.295e-05/0.5005, allocations: 37 kB / 440.1 MB, free: 14.34 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.924e-05/0.5006, allocations: 45.23 kB / 440.2 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00108/0.5017, allocations: 473.1 kB / 440.6 MB, free: 13.98 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.5017, allocations: 3.906 kB / 440.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.483e-05/0.5018, allocations: 17.5 kB / 440.7 MB, free: 13.97 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.746e-05/0.5018, allocations: 15.94 kB / 440.7 MB, free: 13.95 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007701/0.5026, allocations: 311.7 kB / 441 MB, free: 13.76 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003588/0.5062, allocations: 1.647 MB / 442.6 MB, free: 12.36 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007822/0.507, allocations: 286.3 kB / 442.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002366/0.5073, allocations: 103 kB / 443 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.152e-05/0.5073, allocations: 0 / 443 MB, free: 12.09 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005066/0.5079, allocations: 235.5 kB / 443.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 3.125e-06/0.5079, allocations: 4 kB / 443.2 MB, free: 11.89 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.0008719/0.5088, allocations: 312.7 kB / 443.6 MB, free: 11.64 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.5089, allocations: 132.5 kB / 443.7 MB, free: 11.48 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005554/0.5095, allocations: 308 kB / 444 MB, free: 11.24 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.803e-05/0.5096, allocations: 52.44 kB / 444 MB, free: 11.19 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002346/0.5098, allocations: 245.6 kB / 444.3 MB, free: 11 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.5099, allocations: 92.52 kB / 444.4 MB, free: 10.92 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.51, allocations: 11.25 kB / 444.4 MB, free: 10.91 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002038/0.5102, allocations: 353.4 kB / 444.7 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002771/0.5105, allocations: 111.5 kB / 444.8 MB, free: 10.51 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004285/0.5109, allocations: 266.7 kB / 445.1 MB, free: 10.23 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/0.5113, allocations: 136.8 kB / 445.2 MB, free: 10.14 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.391e-06/0.5113, allocations: 0 / 445.2 MB, free: 10.14 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0009773/0.5123, allocations: 408.8 kB / 445.6 MB, free: 9.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009441/0.5132, allocations: 1.666 MB / 447.3 MB, free: 8.055 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.443e-05/0.5133, allocations: 7.938 kB / 447.3 MB, free: 8.047 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002827/0.5136, allocations: 47.78 kB / 447.3 MB, free: 8.008 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004031/0.514, allocations: 75.39 kB / 447.4 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001878/0.5159, allocations: 1.493 MB / 448.9 MB, free: 6.406 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005876/0.5165, allocations: 74.66 kB / 449 MB, free: 6.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.532e-05/0.5166, allocations: 23.86 kB / 449 MB, free: 6.32 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.981e-05/0.5166, allocations: 7.953 kB / 449 MB, free: 6.312 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008565/0.5175, allocations: 352.5 kB / 449.4 MB, free: 6.062 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.173e-05/0.5175, allocations: 4 kB / 449.4 MB, free: 6.059 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002006/0.5177, allocations: 42.97 kB / 449.4 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003247/0.518, allocations: 67.09 kB / 449.5 MB, free: 5.961 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001792/0.5199, allocations: 1.49 MB / 451 MB, free: 4.434 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004977/0.5204, allocations: 67.03 kB / 451 MB, free: 4.375 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.287e-05/0.5204, allocations: 15.75 kB / 451 MB, free: 4.363 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 21 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition2,$whenCondition1,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (48): * Single equations (assignments): 47 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0002281/0.5207, allocations: 149.3 kB / 451.2 MB, free: 4.227 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001022/0.5208, allocations: 35.53 kB / 451.2 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001165/0.5209, allocations: 41.73 kB / 451.3 MB, free: 4.164 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.145e-06/0.5209, allocations: 4 kB / 451.3 MB, free: 4.16 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.846e-06/0.521, allocations: 3.938 kB / 451.3 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.664e-06/0.521, allocations: 0 / 451.3 MB, free: 4.156 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.5228, allocations: 0.8825 MB / 452.2 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.696e-06/0.5228, allocations: 0 / 452.2 MB, free: 3.41 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00023/0.5231, allocations: 27.36 kB / 452.2 MB, free: 3.387 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000195/0.5233, allocations: 43.2 kB / 452.2 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.479e-05/0.5233, allocations: 11.19 kB / 452.2 MB, free: 3.344 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001691/0.525, allocations: 1.413 MB / 453.6 MB, free: 1.895 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.139e-06/0.5251, allocations: 4.062 kB / 453.7 MB, free: 1.891 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001157/0.5262, allocations: 0.5343 MB / 454.2 MB, free: 1.461 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002408/0.5265, allocations: 141.4 kB / 454.3 MB, free: 1.32 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.694e-05/0.5266, allocations: 7.375 kB / 454.3 MB, free: 1.316 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003884/0.527, allocations: 39.78 kB / 454.4 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001159/0.5271, allocations: 30.95 kB / 454.4 MB, free: 1.258 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.673e-05/0.5272, allocations: 11.98 kB / 454.4 MB, free: 1.246 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003963/0.5276, allocations: 236.5 kB / 454.6 MB, free: 1.066 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.78e-07/0.5276, allocations: 0 / 454.6 MB, free: 1.066 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001137/0.5287, allocations: 209.8 kB / 454.8 MB, free: 0.8789 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (27): * Single equations (assignments): 21 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002584/0.529, allocations: 137.8 kB / 455 MB, free: 0.7422 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001466/0.5305, allocations: 0.6948 MB / 455.7 MB, free: 176 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.534e-06/0.5305, allocations: 0 / 455.7 MB, free: 176 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004473/0.531, allocations: 239.4 kB / 455.9 MB, free: 15.97 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000497/0.5315, allocations: 49.5 kB / 456 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.5338, allocations: 0.6067 MB / 456.6 MB, free: 15.39 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006543/0.5345, allocations: 0.8666 MB / 457.4 MB, free: 14.5 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005749/0.5351, allocations: 91.19 kB / 457.5 MB, free: 14.42 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.718e-05/0.5352, allocations: 30.56 kB / 457.6 MB, free: 14.39 MB / 378.7 MB Notification: Performance of SimCode: time 1.817e-06/0.5352, allocations: 3.938 kB / 457.6 MB, free: 14.39 MB / 378.7 MB Notification: Performance of Templates: time 0.01606/0.5513, allocations: 5.294 MB / 462.8 MB, free: 9.129 MB / 378.7 MB