Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_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_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadModel(Modelica): time 2.013/2.013, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.438e-05/4.455e-05, allocations: 3.984 kB / 292.2 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09363/0.0937, allocations: 50.41 MB / 342.6 MB, free: 5.883 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4077/0.5014, allocations: 89.39 MB / 432 MB, free: 4.898 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000457/0.5019, allocations: 89.92 kB / 432.1 MB, free: 4.848 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08204/0.584, allocations: 14.68 MB / 446.7 MB, free: 8.418 MB / 362.7 MB Notification: Performance of FrontEnd: time 7.443e-06/0.5841, allocations: 4 kB / 446.7 MB, free: 8.414 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.534e-05/0.5841, allocations: 15.94 kB / 446.8 MB, free: 8.398 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.001979/0.5861, allocations: 0.9035 MB / 447.7 MB, free: 7.488 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.5862, allocations: 8.031 kB / 447.7 MB, free: 7.48 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.5864, allocations: 86.97 kB / 447.8 MB, free: 7.395 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001045/0.5875, allocations: 0.5045 MB / 448.3 MB, free: 6.941 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.352e-05/0.5876, allocations: 50.56 kB / 448.3 MB, free: 6.91 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001473/0.5877, allocations: 81.3 kB / 448.4 MB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001638/0.5894, allocations: 0.7263 MB / 449.1 MB, free: 6.332 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.975e-05/0.5894, allocations: 0 / 449.1 MB, free: 6.332 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-05/0.5895, allocations: 25.56 kB / 449.1 MB, free: 6.324 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.5896, allocations: 16 kB / 449.2 MB, free: 6.309 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001269/0.5908, allocations: 0.5055 MB / 449.7 MB, free: 5.996 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005406/0.5963, allocations: 2.735 MB / 452.4 MB, free: 3.754 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001131/0.5974, allocations: 0.5348 MB / 452.9 MB, free: 3.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009839/0.5984, allocations: 403.4 kB / 453.3 MB, free: 3.141 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.158e-05/0.5985, allocations: 12.44 kB / 453.3 MB, free: 3.129 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007706/0.5993, allocations: 356.7 kB / 453.7 MB, free: 2.859 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 4.469e-06/0.5993, allocations: 0 / 453.7 MB, free: 2.859 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.001421/0.6008, allocations: 0.5623 MB / 454.2 MB, free: 2.449 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001093/0.6009, allocations: 137.1 kB / 454.4 MB, free: 2.285 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007715/0.6017, allocations: 437.9 kB / 454.8 MB, free: 1.949 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 8.226e-05/0.6018, allocations: 51.39 kB / 454.9 MB, free: 1.906 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000302/0.6021, allocations: 331.7 kB / 455.2 MB, free: 1.668 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002/0.6023, allocations: 174.6 kB / 455.4 MB, free: 1.52 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.538e-05/0.6024, allocations: 14.06 kB / 455.4 MB, free: 1.516 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002257/0.6026, allocations: 368 kB / 455.7 MB, free: 1.172 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004866/0.6031, allocations: 207.2 kB / 455.9 MB, free: 1.02 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006627/0.6038, allocations: 353.4 kB / 456.3 MB, free: 0.6055 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005448/0.6043, allocations: 215.2 kB / 456.5 MB, free: 404 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.236e-06/0.6044, allocations: 4 kB / 456.5 MB, free: 400 kB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001821/0.6062, allocations: 0.7066 MB / 457.2 MB, free: 15.67 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008715/0.6071, allocations: 1.571 MB / 458.8 MB, free: 13.98 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.6071, allocations: 4 kB / 458.8 MB, free: 13.97 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006925/0.6078, allocations: 173.5 kB / 458.9 MB, free: 13.8 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005362/0.6084, allocations: 95.83 kB / 459 MB, free: 13.7 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005156/0.6135, allocations: 3.591 MB / 462.6 MB, free: 9.848 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006955/0.6143, allocations: 95.55 kB / 462.7 MB, free: 9.754 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.089e-05/0.6143, allocations: 24.12 kB / 462.7 MB, free: 9.73 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.162e-05/0.6144, allocations: 4 kB / 462.7 MB, free: 9.727 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001597/0.616, allocations: 0.6198 MB / 463.4 MB, free: 9.098 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/0.616, allocations: 4.5 kB / 463.4 MB, free: 9.094 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006196/0.6166, allocations: 165.7 kB / 463.5 MB, free: 8.926 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004896/0.6171, allocations: 91.83 kB / 463.6 MB, free: 8.836 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005217/0.6224, allocations: 3.602 MB / 467.2 MB, free: 4.965 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000678/0.6231, allocations: 71.66 kB / 467.3 MB, free: 4.895 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.106e-05/0.6232, allocations: 27.94 kB / 467.3 MB, free: 4.867 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002985/0.6235, allocations: 168.9 kB / 467.5 MB, free: 4.695 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001663/0.6237, allocations: 67.23 kB / 467.5 MB, free: 4.629 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000201/0.6239, allocations: 65.59 kB / 467.6 MB, free: 4.566 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.782e-06/0.6239, allocations: 4 kB / 467.6 MB, free: 4.562 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.155e-05/0.6239, allocations: 4 kB / 467.6 MB, free: 4.559 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.051e-05/0.624, allocations: 7.922 kB / 467.6 MB, free: 4.551 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003253/0.6272, allocations: 1.454 MB / 469.1 MB, free: 3.035 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.883e-06/0.6273, allocations: 4 kB / 469.1 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003985/0.6277, allocations: 47.91 kB / 469.1 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006184/0.6283, allocations: 157.6 kB / 469.3 MB, free: 2.824 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.372e-05/0.6284, allocations: 8 kB / 469.3 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005139/0.6335, allocations: 3.518 MB / 472.8 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.044e-06/0.6336, allocations: 3.953 kB / 472.8 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.6359, allocations: 0.9757 MB / 473.8 MB, free: 14.02 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003803/0.6363, allocations: 188.2 kB / 474 MB, free: 13.81 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001236/0.6365, allocations: 16 kB / 474 MB, free: 13.8 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005317/0.637, allocations: 44.25 kB / 474 MB, free: 13.75 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000249/0.6373, allocations: 88.33 kB / 474.1 MB, free: 13.67 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.749e-05/0.6373, allocations: 16 kB / 474.1 MB, free: 13.65 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006102/0.638, allocations: 337.5 kB / 474.5 MB, free: 13.32 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.638, allocations: 0 / 474.5 MB, free: 13.32 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001729/0.6397, allocations: 351 kB / 474.8 MB, free: 12.98 MB / 394.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: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.000297/0.64, allocations: 156.2 kB / 475 MB, free: 12.82 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002888/0.643, allocations: 1.357 MB / 476.3 MB, free: 11.42 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.709e-06/0.643, allocations: 3.938 kB / 476.3 MB, free: 11.42 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001056/0.6441, allocations: 0.5372 MB / 476.9 MB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008186/0.6449, allocations: 102.5 kB / 477 MB, free: 10.77 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002764/0.6477, allocations: 1.004 MB / 478 MB, free: 9.723 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008311/0.6485, allocations: 0.9671 MB / 478.9 MB, free: 8.727 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.000698/0.6493, allocations: 120.8 kB / 479 MB, free: 8.605 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001337/0.6494, allocations: 39.38 kB / 479.1 MB, free: 8.566 MB / 394.7 MB Notification: Performance of SimCode: time 1.68e-06/0.6494, allocations: 0 / 479.1 MB, free: 8.566 MB / 394.7 MB Notification: Performance of Templates: time 0.03024/0.6797, allocations: 11.12 MB / 490.2 MB, free: 13.54 MB / 410.7 MB