Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Characteristic") Notification: Performance of loadModel(Modelica): time 2.128/2.128, allocations: 225.8 MB / 239.4 MB, free: 1.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.078e-05/3.084e-05, allocations: 4 kB / 292.7 MB, free: 11.49 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0919/0.09195, allocations: 50.42 MB / 343.1 MB, free: 9.074 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4087/0.5007, allocations: 85.94 MB / 429 MB, free: 7.66 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.501, allocations: 83.61 kB / 429.1 MB, free: 7.648 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03749/0.5385, allocations: 10.46 MB / 439.6 MB, free: 3.445 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.58e-06/0.5386, allocations: 0 / 439.6 MB, free: 3.445 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.357e-05/0.5386, allocations: 11.5 kB / 439.6 MB, free: 3.445 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.00129/0.5399, allocations: 0.7118 MB / 440.3 MB, free: 2.887 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.825e-05/0.54, allocations: 11.47 kB / 440.3 MB, free: 2.887 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001272/0.5401, allocations: 62.58 kB / 440.4 MB, free: 2.852 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005953/0.5407, allocations: 389.5 kB / 440.7 MB, free: 2.566 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.036e-05/0.5408, allocations: 36.98 kB / 440.8 MB, free: 2.559 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.555e-05/0.5409, allocations: 47.25 kB / 440.8 MB, free: 2.559 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009019/0.5418, allocations: 476.6 kB / 441.3 MB, free: 2.414 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.396e-05/0.5418, allocations: 3.984 kB / 441.3 MB, free: 2.41 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.5419, allocations: 20.06 kB / 441.3 MB, free: 2.41 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.082e-05/0.542, allocations: 7.688 kB / 441.3 MB, free: 2.41 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006868/0.5426, allocations: 317 kB / 441.6 MB, free: 2.387 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003097/0.5458, allocations: 1.672 MB / 443.3 MB, free: 1.422 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.5469, allocations: 381.9 kB / 443.7 MB, free: 1.344 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002427/0.5471, allocations: 125.6 kB / 443.8 MB, free: 1.324 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.342e-05/0.5472, allocations: 3.812 kB / 443.8 MB, free: 1.324 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004759/0.5477, allocations: 253 kB / 444.1 MB, free: 1.203 MB / 330.7 MB Notification: Performance of pre-optimization done (n=34): time 3.814e-06/0.5477, allocations: 0 / 444.1 MB, free: 1.203 MB / 330.7 MB Notification: Performance of matching and sorting (n=34): time 0.0007888/0.5485, allocations: 344.1 kB / 444.4 MB, free: 1.098 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.919e-05/0.5485, allocations: 132.4 kB / 444.5 MB, free: 0.9414 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003593/0.5489, allocations: 288.1 kB / 444.8 MB, free: 0.8125 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 5.07e-05/0.549, allocations: 35.8 kB / 444.8 MB, free: 0.7812 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.5492, allocations: 250.4 kB / 445.1 MB, free: 0.6172 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.225e-05/0.5493, allocations: 102.5 kB / 445.2 MB, free: 0.5469 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.944e-05/0.5493, allocations: 12.12 kB / 445.2 MB, free: 0.543 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 9.249e-05/0.5494, allocations: 353.9 kB / 445.5 MB, free: 220 kB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002603/0.5497, allocations: 109.7 kB / 445.6 MB, free: 216 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003508/0.5501, allocations: 261.7 kB / 445.9 MB, free: 16 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003215/0.5504, allocations: 145 kB / 446 MB, free: 15.98 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.342e-06/0.5504, allocations: 0 / 446 MB, free: 15.98 MB / 346.7 MB Notification: Performance of matching and sorting (n=53) (initialization): time 0.00088/0.5513, allocations: 420.7 kB / 446.4 MB, free: 15.86 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009253/0.5522, allocations: 1.665 MB / 448.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.155e-05/0.5523, allocations: 7.844 kB / 448.1 MB, free: 14.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002664/0.5526, allocations: 45.06 kB / 448.2 MB, free: 14.1 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004049/0.553, allocations: 80.86 kB / 448.2 MB, free: 14.08 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001796/0.5548, allocations: 1.494 MB / 449.7 MB, free: 12.69 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005282/0.5553, allocations: 80.02 kB / 449.8 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4e-05/0.5554, allocations: 14.66 kB / 449.8 MB, free: 12.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.5554, allocations: 7.797 kB / 449.8 MB, free: 12.65 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007621/0.5562, allocations: 366.1 kB / 450.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.03e-06/0.5562, allocations: 3.844 kB / 450.2 MB, free: 12.57 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001763/0.5564, allocations: 47.16 kB / 450.2 MB, free: 12.56 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003409/0.5568, allocations: 80.3 kB / 450.3 MB, free: 12.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001689/0.5585, allocations: 1.488 MB / 451.8 MB, free: 11.15 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004995/0.559, allocations: 65.56 kB / 451.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.881e-05/0.5591, allocations: 15.47 kB / 451.9 MB, free: 11.12 MB / 346.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 (49): * Single equations (assignments): 48 * 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.0002335/0.5593, allocations: 150.6 kB / 452 MB, free: 11 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.115e-05/0.5594, allocations: 38.88 kB / 452.1 MB, free: 10.98 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000122/0.5596, allocations: 42.61 kB / 452.1 MB, free: 10.97 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.209e-06/0.5596, allocations: 7.844 kB / 452.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.159e-06/0.5596, allocations: 0 / 452.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.251e-06/0.5596, allocations: 0 / 452.1 MB, free: 10.96 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001705/0.5613, allocations: 0.9078 MB / 453 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.405e-06/0.5614, allocations: 3.781 kB / 453 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003173/0.5617, allocations: 42.84 kB / 453.1 MB, free: 10.49 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001894/0.5619, allocations: 43.83 kB / 453.1 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.501e-05/0.5619, allocations: 7.469 kB / 453.1 MB, free: 10.47 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001598/0.5636, allocations: 1.416 MB / 454.5 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.358e-06/0.5636, allocations: 0 / 454.5 MB, free: 9.152 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.5647, allocations: 0.5672 MB / 455.1 MB, free: 8.945 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000227/0.5649, allocations: 147.1 kB / 455.3 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/0.565, allocations: 7.531 kB / 455.3 MB, free: 8.816 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003955/0.5654, allocations: 54.11 kB / 455.3 MB, free: 8.801 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001195/0.5655, allocations: 34.97 kB / 455.4 MB, free: 8.781 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.432e-05/0.5656, allocations: 11.62 kB / 455.4 MB, free: 8.781 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000313/0.5659, allocations: 224.5 kB / 455.6 MB, free: 8.684 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.59e-07/0.5659, allocations: 3.938 kB / 455.6 MB, free: 8.68 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001024/0.567, allocations: 209.5 kB / 455.8 MB, free: 8.641 MB / 346.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 (30): * Single equations (assignments): 24 * 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.0002148/0.5672, allocations: 131.7 kB / 455.9 MB, free: 8.547 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001294/0.5685, allocations: 0.7068 MB / 456.6 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.547e-06/0.5685, allocations: 3.969 kB / 456.6 MB, free: 8.27 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004817/0.569, allocations: 264.9 kB / 456.9 MB, free: 8.141 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000449/0.5695, allocations: 58.44 kB / 456.9 MB, free: 8.125 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001643/0.5712, allocations: 0.6282 MB / 457.6 MB, free: 7.836 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006283/0.5718, allocations: 0.8685 MB / 458.4 MB, free: 7.055 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0004558/0.5723, allocations: 89.28 kB / 458.5 MB, free: 7.016 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.587e-05/0.5724, allocations: 29.72 kB / 458.6 MB, free: 7.004 MB / 346.7 MB Notification: Performance of SimCode: time 1.463e-06/0.5724, allocations: 0 / 458.6 MB, free: 7.004 MB / 346.7 MB Notification: Performance of Templates: time 0.01567/0.5881, allocations: 5.461 MB / 464 MB, free: 2.059 MB / 346.7 MB