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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadModel(Modelica): time 2.011/2.011, allocations: 225.8 MB / 239.4 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.131e-05/3.147e-05, allocations: 4 kB / 292.7 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08995/0.09, allocations: 50.41 MB / 343.1 MB, free: 5.902 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3832/0.4732, allocations: 85.99 MB / 429.1 MB, free: 8.273 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004958/0.4738, allocations: 86.12 kB / 429.2 MB, free: 8.227 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06727/0.5411, allocations: 10.32 MB / 439.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of FrontEnd: time 8.192e-06/0.5411, allocations: 3.984 kB / 439.5 MB, free: 15.47 MB / 362.7 MB Notification: Performance of Transformations before backend: time 3.711e-05/0.5412, allocations: 11.94 kB / 439.5 MB, free: 15.46 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.001469/0.5427, allocations: 0.6938 MB / 440.2 MB, free: 14.75 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.5427, allocations: 8.031 kB / 440.2 MB, free: 14.74 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001567/0.5429, allocations: 59.34 kB / 440.3 MB, free: 14.68 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007452/0.5436, allocations: 376.3 kB / 440.6 MB, free: 14.33 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.803e-05/0.5437, allocations: 37.06 kB / 440.7 MB, free: 14.31 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.597e-05/0.5438, allocations: 47.61 kB / 440.7 MB, free: 14.27 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001013/0.5449, allocations: 471.7 kB / 441.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.5449, allocations: 0 / 441.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.109e-05/0.545, allocations: 15.75 kB / 441.2 MB, free: 13.94 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.614e-05/0.545, allocations: 12 kB / 441.2 MB, free: 13.93 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007634/0.5458, allocations: 317 kB / 441.5 MB, free: 13.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.5493, allocations: 1.641 MB / 443.2 MB, free: 12.34 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008059/0.5501, allocations: 283.9 kB / 443.4 MB, free: 12.13 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002361/0.5504, allocations: 107 kB / 443.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.635e-05/0.5504, allocations: 0 / 443.5 MB, free: 12.07 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004928/0.5509, allocations: 241.6 kB / 443.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=31): time 2.903e-06/0.551, allocations: 4 kB / 443.8 MB, free: 11.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=31): time 0.000878/0.5519, allocations: 313.3 kB / 444.1 MB, free: 11.61 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001097/0.552, allocations: 136.5 kB / 444.2 MB, free: 11.45 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006085/0.5526, allocations: 315.7 kB / 444.5 MB, free: 11.2 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.655e-05/0.5527, allocations: 40.56 kB / 444.6 MB, free: 11.16 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002381/0.553, allocations: 244.7 kB / 444.8 MB, free: 10.96 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001151/0.5531, allocations: 96.36 kB / 444.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.422e-05/0.5531, allocations: 3.938 kB / 444.9 MB, free: 10.88 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002816/0.5534, allocations: 356.2 kB / 445.2 MB, free: 10.54 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000465/0.5539, allocations: 110.9 kB / 445.4 MB, free: 10.48 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006684/0.5546, allocations: 264.7 kB / 445.6 MB, free: 10.2 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005799/0.5552, allocations: 137.1 kB / 445.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.991e-06/0.5553, allocations: 0 / 445.7 MB, free: 10.11 MB / 362.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.001646/0.5569, allocations: 413.9 kB / 446.2 MB, free: 9.785 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00121/0.5582, allocations: 1.671 MB / 447.8 MB, free: 8.016 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.309e-05/0.5582, allocations: 4 kB / 447.8 MB, free: 8.012 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004209/0.5586, allocations: 47.97 kB / 447.9 MB, free: 7.969 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007286/0.5594, allocations: 75.39 kB / 447.9 MB, free: 7.898 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.5617, allocations: 1.492 MB / 449.4 MB, free: 6.371 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005874/0.5624, allocations: 78.78 kB / 449.5 MB, free: 6.301 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.759e-05/0.5624, allocations: 18.98 kB / 449.5 MB, free: 6.285 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.5625, allocations: 7.953 kB / 449.5 MB, free: 6.277 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0008565/0.5633, allocations: 351 kB / 449.9 MB, free: 6.027 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5633, allocations: 4 kB / 449.9 MB, free: 6.023 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001921/0.5636, allocations: 43.28 kB / 449.9 MB, free: 5.988 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003266/0.5639, allocations: 66.97 kB / 450 MB, free: 5.926 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001752/0.5657, allocations: 1.492 MB / 451.5 MB, free: 4.398 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004831/0.5662, allocations: 65.34 kB / 451.6 MB, free: 4.34 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.204e-05/0.5662, allocations: 15.19 kB / 451.6 MB, free: 4.328 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.0002266/0.5665, allocations: 150.8 kB / 451.7 MB, free: 4.191 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.5666, allocations: 39.52 kB / 451.8 MB, free: 4.152 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001172/0.5667, allocations: 40.5 kB / 451.8 MB, free: 4.129 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.945e-06/0.5667, allocations: 4 kB / 451.8 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.055e-06/0.5668, allocations: 0 / 451.8 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.079e-06/0.5668, allocations: 0 / 451.8 MB, free: 4.125 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001783/0.5686, allocations: 0.8815 MB / 452.7 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.853e-06/0.5686, allocations: 0 / 452.7 MB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002218/0.5688, allocations: 28.05 kB / 452.7 MB, free: 3.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001958/0.569, allocations: 44.45 kB / 452.7 MB, free: 3.316 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.3e-05/0.5691, allocations: 11.5 kB / 452.8 MB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001674/0.5708, allocations: 1.41 MB / 454.2 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.76e-06/0.5708, allocations: 0 / 454.2 MB, free: 1.863 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001154/0.572, allocations: 0.5378 MB / 454.7 MB, free: 1.43 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002497/0.5722, allocations: 145.1 kB / 454.9 MB, free: 1.285 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.628e-05/0.5723, allocations: 7.125 kB / 454.9 MB, free: 1.281 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003827/0.5727, allocations: 41.5 kB / 454.9 MB, free: 1.246 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001178/0.5729, allocations: 31.06 kB / 454.9 MB, free: 1.219 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.815e-05/0.5729, allocations: 15.17 kB / 454.9 MB, free: 1.207 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004003/0.5733, allocations: 241.2 kB / 455.2 MB, free: 1.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.67e-07/0.5734, allocations: 0 / 455.2 MB, free: 1.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001104/0.5745, allocations: 201.2 kB / 455.4 MB, free: 0.8398 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.0002438/0.5747, allocations: 131.8 kB / 455.5 MB, free: 0.707 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001482/0.5762, allocations: 0.7019 MB / 456.2 MB, free: 136 kB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.099e-06/0.5762, allocations: 0 / 456.2 MB, free: 136 kB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004486/0.5767, allocations: 242 kB / 456.4 MB, free: 15.93 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004792/0.5772, allocations: 53.75 kB / 456.5 MB, free: 15.89 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001736/0.579, allocations: 0.5987 MB / 457.1 MB, free: 15.35 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006563/0.5796, allocations: 0.8649 MB / 458 MB, free: 14.46 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0004729/0.5801, allocations: 91.38 kB / 458 MB, free: 14.38 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.281e-05/0.5802, allocations: 31.38 kB / 458.1 MB, free: 14.35 MB / 378.7 MB Notification: Performance of SimCode: time 1.754e-06/0.5803, allocations: 0 / 458.1 MB, free: 14.35 MB / 378.7 MB Notification: Performance of Templates: time 0.01591/0.5962, allocations: 5.293 MB / 463.4 MB, free: 9.09 MB / 378.7 MB