Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.pre.1..u|rectifier.pre.2..u|rectifier.pre.3..u|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse") Notification: Performance of loadModel(Modelica): time 2.032/2.032, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.449e-05/3.468e-05, allocations: 7.984 kB / 292.2 MB, free: 8.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09308/0.09314, allocations: 50.42 MB / 342.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3749/0.4681, allocations: 93.69 MB / 436.3 MB, free: 0.6328 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002793/0.4684, allocations: 89.44 kB / 436.4 MB, free: 0.582 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1201/0.5886, allocations: 29.95 MB / 466.3 MB, free: 6.828 MB / 378.7 MB Notification: Performance of FrontEnd: time 1.975e-06/0.5886, allocations: 0 / 466.3 MB, free: 6.828 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0001815/0.5888, allocations: 55.92 kB / 466.4 MB, free: 6.773 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.005482/0.5943, allocations: 1.93 MB / 468.3 MB, free: 4.781 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.443e-05/0.5944, allocations: 8.031 kB / 468.3 MB, free: 4.773 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008427/0.5952, allocations: 221.5 kB / 468.5 MB, free: 4.555 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007419/0.6027, allocations: 2.061 MB / 470.6 MB, free: 2.445 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001734/0.6029, allocations: 131.3 kB / 470.7 MB, free: 2.316 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004379/0.6033, allocations: 167.9 kB / 470.9 MB, free: 2.152 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005604/0.6089, allocations: 2.268 MB / 473.1 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.959e-05/0.609, allocations: 0 / 473.1 MB, free: 15.8 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002497/0.6093, allocations: 68 kB / 473.2 MB, free: 15.73 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/0.6094, allocations: 71.27 kB / 473.3 MB, free: 15.66 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004573/0.614, allocations: 1.838 MB / 475.1 MB, free: 13.82 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01529/0.6293, allocations: 6.705 MB / 481.8 MB, free: 6.988 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003901/0.6333, allocations: 1.549 MB / 483.4 MB, free: 5.438 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002686/0.636, allocations: 1.128 MB / 484.5 MB, free: 4.312 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.592e-05/0.6361, allocations: 16.98 kB / 484.5 MB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001773/0.6379, allocations: 0.8585 MB / 485.4 MB, free: 3.414 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 4.982e-06/0.6379, allocations: 0 / 485.4 MB, free: 3.414 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.003928/0.6419, allocations: 1.648 MB / 487 MB, free: 1.754 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001479/0.642, allocations: 179.2 kB / 487.2 MB, free: 1.539 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002247/0.6443, allocations: 1.035 MB / 488.2 MB, free: 496 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002411/0.6446, allocations: 73.67 kB / 488.3 MB, free: 416 kB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009214/0.6455, allocations: 0.7337 MB / 489 MB, free: 15.66 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004709/0.646, allocations: 363 kB / 489.4 MB, free: 15.3 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.74e-05/0.6461, allocations: 24 kB / 489.4 MB, free: 15.28 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002279/0.6463, allocations: 361.9 kB / 489.8 MB, free: 14.92 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001355/0.6477, allocations: 0.6116 MB / 490.4 MB, free: 14.3 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001648/0.6494, allocations: 0.87 MB / 491.3 MB, free: 13.34 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001426/0.6508, allocations: 0.6685 MB / 491.9 MB, free: 12.67 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.255e-05/0.6508, allocations: 4 kB / 491.9 MB, free: 12.66 MB / 410.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004174/0.655, allocations: 1.867 MB / 493.8 MB, free: 10.79 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001397/0.6565, allocations: 2.451 MB / 496.2 MB, free: 8.152 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.876e-05/0.6565, allocations: 4 kB / 496.2 MB, free: 8.148 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00272/0.6592, allocations: 0.5003 MB / 496.7 MB, free: 7.645 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001794/0.6611, allocations: 179.6 kB / 496.9 MB, free: 7.469 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01174/0.6728, allocations: 5.389 MB / 0.4905 GB, free: 1.938 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001459/0.6743, allocations: 187 kB / 0.4907 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003134/0.6747, allocations: 51.98 kB / 0.4908 GB, free: 1.703 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.6747, allocations: 0 / 0.4908 GB, free: 1.703 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003813/0.6785, allocations: 1.73 MB / 0.4925 GB, free: 15.97 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.402e-05/0.6785, allocations: 4 kB / 0.4925 GB, free: 15.96 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001743/0.6803, allocations: 0.4935 MB / 0.4929 GB, free: 15.47 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009208/0.6812, allocations: 163.7 kB / 0.4931 GB, free: 15.31 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01076/0.692, allocations: 5.387 MB / 0.4984 GB, free: 9.781 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001351/0.6934, allocations: 171.1 kB / 0.4985 GB, free: 9.613 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001398/0.6936, allocations: 48 kB / 0.4986 GB, free: 9.566 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[3].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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 {6 32} Notification: Performance of prepare postOptimizeDAE: time 0.000454/0.694, allocations: 224.8 kB / 0.4988 GB, free: 9.34 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002941/0.6943, allocations: 134.4 kB / 0.4989 GB, free: 9.207 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004394/0.6948, allocations: 156.5 kB / 0.4991 GB, free: 9.055 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.565e-05/0.6948, allocations: 12 kB / 0.4991 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.473e-06/0.6948, allocations: 0 / 0.4991 GB, free: 9.043 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.955e-05/0.6949, allocations: 11.97 kB / 0.4991 GB, free: 9.031 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008043/0.7029, allocations: 3.696 MB / 0.5027 GB, free: 5.277 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.037e-06/0.703, allocations: 4 kB / 0.5027 GB, free: 5.273 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006033/0.7036, allocations: 95.88 kB / 0.5028 GB, free: 5.18 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001537/0.7051, allocations: 488.6 kB / 0.5033 GB, free: 4.699 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00012/0.7053, allocations: 27.94 kB / 0.5033 GB, free: 4.672 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01005/0.7153, allocations: 5.325 MB / 0.5085 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.817e-06/0.7154, allocations: 0 / 0.5085 GB, free: 15.2 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005318/0.7207, allocations: 2.56 MB / 0.511 GB, free: 12.62 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009531/0.7217, allocations: 367.2 kB / 0.5113 GB, free: 12.24 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002581/0.722, allocations: 40 kB / 0.5114 GB, free: 12.2 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009668/0.723, allocations: 107.9 kB / 0.5115 GB, free: 12.09 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005255/0.7235, allocations: 180.7 kB / 0.5116 GB, free: 11.92 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001284/0.7237, allocations: 35.98 kB / 0.5117 GB, free: 11.88 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00163/0.7253, allocations: 0.7886 MB / 0.5124 GB, free: 11.08 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.27e-06/0.7253, allocations: 0 / 0.5124 GB, free: 11.08 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002865/0.7282, allocations: 0.841 MB / 0.5133 GB, free: 10.24 MB / 442.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: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[3].y,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 73 * 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 {6 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003824/0.7286, allocations: 189.1 kB / 0.5134 GB, free: 10.05 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.006387/0.735, allocations: 2.931 MB / 0.5163 GB, free: 7.094 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 6.916e-06/0.735, allocations: 0 / 0.5163 GB, free: 7.094 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002221/0.7373, allocations: 1.026 MB / 0.5173 GB, free: 6.062 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00184/0.7391, allocations: 320.2 kB / 0.5176 GB, free: 5.75 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006847/0.746, allocations: 2.761 MB / 0.5203 GB, free: 2.949 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002135/0.7482, allocations: 1.717 MB / 0.522 GB, free: 1.199 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002342/0.7506, allocations: 0.5841 MB / 0.5226 GB, free: 0.6094 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002791/0.7509, allocations: 67.44 kB / 0.5226 GB, free: 0.543 MB / 442.7 MB Notification: Performance of SimCode: time 1.799e-06/0.7509, allocations: 0 / 0.5226 GB, free: 0.543 MB / 442.7 MB Notification: Performance of Templates: time 0.2982/1.049, allocations: 29.21 MB / 0.5512 GB, free: 126.2 MB / 442.7 MB