Running command: translateModel(ModelicaTest.Electrical.PowerConverters.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="ModelicaTest_4.0.0_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse") Notification: Performance of loadModel(ModelicaTest): time 2.485/2.485, allocations: 270 MB / 283.6 MB, free: 3.027 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 3.776e-05/3.791e-05, allocations: 5.375 kB / 348.4 MB, free: 10.79 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1107/0.1107, allocations: 61.87 MB / 410.3 MB, free: 12.99 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4499/0.5607, allocations: 103.1 MB / 0.5013 GB, free: 1 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002139/0.5609, allocations: 73.12 kB / 0.5014 GB, free: 0.9297 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1499/0.7108, allocations: 33.12 MB / 0.5337 GB, free: 15.56 MB / 458.7 MB Notification: Performance of FrontEnd: time 2.213e-06/0.7109, allocations: 0 / 0.5337 GB, free: 15.56 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001954/0.7111, allocations: 55.94 kB / 0.5338 GB, free: 15.5 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.006028/0.7171, allocations: 2.134 MB / 0.5359 GB, free: 13.31 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.804e-05/0.7172, allocations: 16.02 kB / 0.5359 GB, free: 13.29 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008996/0.7181, allocations: 237.2 kB / 0.5361 GB, free: 13.06 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007885/0.726, allocations: 2.216 MB / 0.5383 GB, free: 10.79 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001975/0.7262, allocations: 147.6 kB / 0.5384 GB, free: 10.64 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005175/0.7268, allocations: 184 kB / 0.5386 GB, free: 10.46 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006416/0.7332, allocations: 2.496 MB / 0.541 GB, free: 7.879 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.454e-05/0.7333, allocations: 0 / 0.541 GB, free: 7.879 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003008/0.7336, allocations: 79.98 kB / 0.5411 GB, free: 7.801 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001169/0.7338, allocations: 79.62 kB / 0.5412 GB, free: 7.723 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005489/0.7393, allocations: 2.053 MB / 0.5432 GB, free: 5.668 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01884/0.7581, allocations: 7.409 MB / 0.5504 GB, free: 14.14 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004053/0.7622, allocations: 1.736 MB / 0.5521 GB, free: 12.39 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003041/0.7653, allocations: 1.297 MB / 0.5534 GB, free: 11.1 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.22e-05/0.7655, allocations: 13 kB / 0.5534 GB, free: 11.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003474/0.7689, allocations: 0.9587 MB / 0.5543 GB, free: 10.09 MB / 474.7 MB Notification: Performance of pre-optimization done (n=132): time 9.448e-06/0.769, allocations: 0 / 0.5543 GB, free: 10.09 MB / 474.7 MB Notification: Performance of matching and sorting (n=132): time 0.007403/0.7764, allocations: 1.804 MB / 0.5561 GB, free: 8.277 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000268/0.7767, allocations: 260.6 kB / 0.5564 GB, free: 7.969 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004386/0.7812, allocations: 1.19 MB / 0.5575 GB, free: 6.766 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003282/0.7815, allocations: 73.67 kB / 0.5576 GB, free: 6.688 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001096/0.7826, allocations: 0.82 MB / 0.5584 GB, free: 5.855 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006196/0.7833, allocations: 402.4 kB / 0.5588 GB, free: 5.457 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.7834, allocations: 31.94 kB / 0.5588 GB, free: 5.426 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0002363/0.7837, allocations: 361.9 kB / 0.5592 GB, free: 5.066 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001574/0.7853, allocations: 0.6872 MB / 0.5598 GB, free: 4.379 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001913/0.7872, allocations: 0.9755 MB / 0.5608 GB, free: 3.289 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001676/0.7889, allocations: 0.766 MB / 0.5615 GB, free: 2.527 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.104e-06/0.7889, allocations: 0 / 0.5615 GB, free: 2.527 MB / 474.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.004756/0.7937, allocations: 2.069 MB / 0.5635 GB, free: 456 kB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001426/0.7951, allocations: 2.473 MB / 0.566 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.785e-05/0.7952, allocations: 4 kB / 0.566 GB, free: 13.8 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002011/0.7972, allocations: 0.5512 MB / 0.5665 GB, free: 13.24 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.7984, allocations: 195.6 kB / 0.5667 GB, free: 13.05 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/0.8104, allocations: 6.018 MB / 0.5726 GB, free: 6.891 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001858/0.8123, allocations: 218.9 kB / 0.5728 GB, free: 6.676 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00024/0.8126, allocations: 47.98 kB / 0.5728 GB, free: 6.629 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.8126, allocations: 11.89 kB / 0.5728 GB, free: 6.617 MB / 490.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004331/0.8169, allocations: 1.913 MB / 0.5747 GB, free: 4.699 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.807e-05/0.817, allocations: 11.98 kB / 0.5747 GB, free: 4.688 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001807/0.8188, allocations: 0.5406 MB / 0.5752 GB, free: 4.145 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001108/0.8199, allocations: 187.7 kB / 0.5754 GB, free: 3.961 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01184/0.8318, allocations: 5.993 MB / 0.5813 GB, free: 13.82 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001713/0.8336, allocations: 203 kB / 0.5815 GB, free: 13.62 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.8338, allocations: 44 kB / 0.5815 GB, free: 13.58 MB / 0.4948 GB 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 (132): * Single equations (assignments): 131 * 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 38} Notification: Performance of prepare postOptimizeDAE: time 0.000506/0.8343, allocations: 228.7 kB / 0.5817 GB, free: 13.36 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000405/0.8347, allocations: 150.2 kB / 0.5819 GB, free: 13.21 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005015/0.8352, allocations: 182.7 kB / 0.582 GB, free: 13.02 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.723e-05/0.8352, allocations: 12 kB / 0.5821 GB, free: 13.01 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.269e-06/0.8353, allocations: 8 kB / 0.5821 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.028e-05/0.8353, allocations: 7.938 kB / 0.5821 GB, free: 13 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009554/0.8449, allocations: 4.068 MB / 0.586 GB, free: 8.875 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.521e-06/0.8449, allocations: 4 kB / 0.586 GB, free: 8.871 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007128/0.8456, allocations: 103.8 kB / 0.5861 GB, free: 8.77 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001799/0.8475, allocations: 0.5242 MB / 0.5867 GB, free: 8.242 MB / 0.4948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001271/0.8476, allocations: 24 kB / 0.5867 GB, free: 8.219 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01154/0.8592, allocations: 5.932 MB / 0.5925 GB, free: 2.148 MB / 0.4948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.733e-06/0.8592, allocations: 3.938 kB / 0.5925 GB, free: 2.145 MB / 0.4948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006031/0.8652, allocations: 2.806 MB / 0.5952 GB, free: 15.32 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001141/0.8664, allocations: 410.9 kB / 0.5956 GB, free: 14.9 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003816/0.8668, allocations: 39.98 kB / 0.5956 GB, free: 14.86 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001382/0.8682, allocations: 123.9 kB / 0.5958 GB, free: 14.74 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006125/0.8689, allocations: 193 kB / 0.5959 GB, free: 14.55 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001293/0.869, allocations: 35.98 kB / 0.596 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.002011/0.871, allocations: 0.8981 MB / 0.5969 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.13e-07/0.8711, allocations: 0 / 0.5969 GB, free: 13.61 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0035/0.8746, allocations: 0.9579 MB / 0.5978 GB, free: 12.65 MB / 0.5105 GB 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 (89): * Single equations (assignments): 79 * 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 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0004023/0.875, allocations: 188.5 kB / 0.598 GB, free: 12.45 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.007439/0.8825, allocations: 3.231 MB / 0.6011 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 8.232e-06/0.8825, allocations: 0 / 0.6011 GB, free: 9.203 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002619/0.8852, allocations: 1.114 MB / 0.6022 GB, free: 8.082 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002533/0.8877, allocations: 364.5 kB / 0.6026 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008654/0.8964, allocations: 3.107 MB / 0.6056 GB, free: 4.582 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002371/0.8988, allocations: 1.843 MB / 0.6074 GB, free: 2.707 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.003771/0.9026, allocations: 0.6595 MB / 0.608 GB, free: 2.043 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006092/0.9033, allocations: 71.42 kB / 0.6081 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of SimCode: time 2.445e-06/0.9033, allocations: 0 / 0.6081 GB, free: 1.973 MB / 0.5105 GB Notification: Performance of Templates: time 0.378/1.281, allocations: 33.22 MB / 0.6405 GB, free: 146.5 MB / 0.5105 GB