Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.138e-05/3.196e-05, allocations: 4 kB / 292.2 MB, free: 8.328 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0929/0.09295, allocations: 50.41 MB / 342.6 MB, free: 5.891 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3773/0.4703, allocations: 88.92 MB / 431.5 MB, free: 5.352 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004062/0.4708, allocations: 81.95 kB / 431.6 MB, free: 5.309 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05673/0.5276, allocations: 13.71 MB / 445.3 MB, free: 9.699 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.155e-06/0.5276, allocations: 4 kB / 445.3 MB, free: 9.695 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.549e-05/0.5277, allocations: 16 kB / 445.3 MB, free: 9.68 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: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001823/0.5295, allocations: 0.8515 MB / 446.2 MB, free: 8.812 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.5296, allocations: 12.03 kB / 446.2 MB, free: 8.801 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002001/0.5298, allocations: 83.05 kB / 446.2 MB, free: 8.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009486/0.5307, allocations: 488.7 kB / 446.7 MB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.798e-05/0.5308, allocations: 54.61 kB / 446.8 MB, free: 8.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001198/0.531, allocations: 61.56 kB / 446.8 MB, free: 8.211 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001429/0.5324, allocations: 0.6373 MB / 447.5 MB, free: 7.754 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.024e-05/0.5324, allocations: 3.984 kB / 447.5 MB, free: 7.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.252e-05/0.5325, allocations: 28.88 kB / 447.5 MB, free: 7.742 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.81e-05/0.5326, allocations: 16 kB / 447.5 MB, free: 7.727 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.5337, allocations: 449.1 kB / 448 MB, free: 7.445 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00476/0.5384, allocations: 2.377 MB / 450.3 MB, free: 5.469 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009093/0.5394, allocations: 420.7 kB / 450.7 MB, free: 5.207 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006267/0.54, allocations: 254.4 kB / 451 MB, free: 5.031 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.596e-05/0.5401, allocations: 4 kB / 451 MB, free: 5.027 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006406/0.5407, allocations: 304.9 kB / 451.3 MB, free: 4.785 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 3.836e-06/0.5408, allocations: 0 / 451.3 MB, free: 4.785 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001127/0.5419, allocations: 452.5 kB / 451.7 MB, free: 4.445 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001282/0.542, allocations: 166.6 kB / 451.9 MB, free: 4.246 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007137/0.5428, allocations: 416.5 kB / 452.3 MB, free: 3.934 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.161e-05/0.5429, allocations: 42.5 kB / 452.3 MB, free: 3.895 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003039/0.5432, allocations: 320 kB / 452.7 MB, free: 3.664 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000184/0.5434, allocations: 144.4 kB / 452.8 MB, free: 3.543 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.74e-05/0.5434, allocations: 10.88 kB / 452.8 MB, free: 3.539 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000228/0.5437, allocations: 372.1 kB / 453.2 MB, free: 3.191 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003809/0.5441, allocations: 158 kB / 453.3 MB, free: 3.094 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005398/0.5446, allocations: 329.5 kB / 453.7 MB, free: 2.785 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004234/0.5451, allocations: 180 kB / 453.8 MB, free: 2.668 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.215e-06/0.5451, allocations: 4 kB / 453.8 MB, free: 2.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001258/0.5463, allocations: 0.5533 MB / 454.4 MB, free: 2.246 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00092/0.5473, allocations: 1.659 MB / 456 MB, free: 492 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.5473, allocations: 4 kB / 456 MB, free: 488 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003903/0.5477, allocations: 77.7 kB / 456.1 MB, free: 428 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005034/0.5482, allocations: 101.9 kB / 456.2 MB, free: 332 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.5507, allocations: 1.74 MB / 458 MB, free: 14.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007063/0.5514, allocations: 82.83 kB / 458 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.185e-05/0.5515, allocations: 22.56 kB / 458.1 MB, free: 14.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.138e-05/0.5515, allocations: 4 kB / 458.1 MB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00117/0.5527, allocations: 496.3 kB / 458.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.5527, allocations: 8 kB / 458.6 MB, free: 14.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003179/0.553, allocations: 84.89 kB / 458.6 MB, free: 14 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004535/0.5535, allocations: 88.27 kB / 458.7 MB, free: 13.91 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.5559, allocations: 1.741 MB / 460.5 MB, free: 12.04 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005919/0.5565, allocations: 67.66 kB / 460.5 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.867e-05/0.5566, allocations: 20 kB / 460.6 MB, free: 11.95 MB / 378.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: 25 ($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,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,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_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002571/0.5569, allocations: 168.1 kB / 460.7 MB, free: 11.78 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001386/0.557, allocations: 55.34 kB / 460.8 MB, free: 11.73 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001756/0.5572, allocations: 65.17 kB / 460.8 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.431e-06/0.5572, allocations: 4 kB / 460.8 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.734e-06/0.5572, allocations: 4 kB / 460.8 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.32e-06/0.5573, allocations: 0 / 460.8 MB, free: 11.66 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002711/0.56, allocations: 1.307 MB / 462.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.094e-06/0.56, allocations: 0 / 462.2 MB, free: 10.28 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.5604, allocations: 55.91 kB / 462.2 MB, free: 10.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003058/0.5607, allocations: 68.83 kB / 462.3 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.067e-05/0.5608, allocations: 15.98 kB / 462.3 MB, free: 10.14 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002228/0.563, allocations: 1.65 MB / 463.9 MB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.565e-06/0.563, allocations: 0 / 463.9 MB, free: 8.359 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001759/0.5648, allocations: 0.7869 MB / 464.7 MB, free: 7.543 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003274/0.5652, allocations: 176.4 kB / 464.9 MB, free: 7.352 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001082/0.5653, allocations: 12.05 kB / 464.9 MB, free: 7.34 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005379/0.5658, allocations: 47.97 kB / 465 MB, free: 7.293 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003439/0.5662, allocations: 48.36 kB / 465 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000109/0.5664, allocations: 23.92 kB / 465 MB, free: 7.223 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001264/0.5676, allocations: 317.2 kB / 465.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.44e-06/0.5677, allocations: 0 / 465.3 MB, free: 6.914 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003166/0.5709, allocations: 299 kB / 465.6 MB, free: 6.621 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 35 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0005323/0.5714, allocations: 153.4 kB / 465.8 MB, free: 6.465 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.004329/0.5758, allocations: 0.9176 MB / 466.7 MB, free: 5.527 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.825e-06/0.5758, allocations: 0 / 466.7 MB, free: 5.527 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001404/0.5773, allocations: 347.1 kB / 467 MB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001424/0.5787, allocations: 88.94 kB / 467.1 MB, free: 5.098 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004779/0.5835, allocations: 0.8694 MB / 468 MB, free: 4.199 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001487/0.5851, allocations: 0.9348 MB / 468.9 MB, free: 3.234 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.001476/0.5866, allocations: 128.4 kB / 469.1 MB, free: 3.105 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002706/0.5869, allocations: 39.44 kB / 469.1 MB, free: 3.066 MB / 378.7 MB Notification: Performance of SimCode: time 2.489e-06/0.5869, allocations: 0 / 469.1 MB, free: 3.066 MB / 378.7 MB Notification: Performance of Templates: time 0.06193/0.6488, allocations: 8.051 MB / 477.1 MB, free: 11.07 MB / 394.7 MB