Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 2.042/2.042, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.674e-05/2.686e-05, allocations: 6.031 kB / 292.7 MB, free: 8.332 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09098/0.09102, allocations: 50.42 MB / 343.1 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4093/0.5004, allocations: 90.13 MB / 433.2 MB, free: 4.188 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002711/0.5007, allocations: 87.94 kB / 433.3 MB, free: 4.137 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05924/0.56, allocations: 15.21 MB / 448.5 MB, free: 7.254 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.216e-06/0.56, allocations: 4 kB / 448.5 MB, free: 7.25 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.009e-05/0.5601, allocations: 16 kB / 448.5 MB, free: 7.234 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.002177/0.5623, allocations: 0.9393 MB / 449.5 MB, free: 6.293 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.315e-05/0.5623, allocations: 8.031 kB / 449.5 MB, free: 6.285 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002472/0.5626, allocations: 98.86 kB / 449.6 MB, free: 6.188 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001111/0.5637, allocations: 0.5169 MB / 450.1 MB, free: 5.723 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.421e-05/0.5638, allocations: 58.72 kB / 450.2 MB, free: 5.688 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001538/0.564, allocations: 74.08 kB / 450.2 MB, free: 5.637 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001667/0.5657, allocations: 0.7412 MB / 451 MB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.036e-05/0.5657, allocations: 3.688 kB / 451 MB, free: 5.105 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.864e-05/0.5658, allocations: 37.48 kB / 451 MB, free: 5.09 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.195e-05/0.5659, allocations: 19.94 kB / 451 MB, free: 5.07 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001357/0.5672, allocations: 0.5231 MB / 451.6 MB, free: 4.738 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005588/0.5728, allocations: 2.764 MB / 454.3 MB, free: 2.461 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001635/0.5745, allocations: 0.663 MB / 455 MB, free: 2.031 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001117/0.5757, allocations: 446.9 kB / 455.4 MB, free: 1.707 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.559e-05/0.5758, allocations: 4.562 kB / 455.4 MB, free: 1.703 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008733/0.5766, allocations: 384.8 kB / 455.8 MB, free: 1.418 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 4.402e-06/0.5767, allocations: 0 / 455.8 MB, free: 1.418 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.001548/0.5782, allocations: 0.5822 MB / 456.4 MB, free: 0.9922 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00012/0.5784, allocations: 148.2 kB / 456.5 MB, free: 0.8203 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000754/0.5791, allocations: 415.6 kB / 456.9 MB, free: 0.4961 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.225e-05/0.5792, allocations: 51.12 kB / 457 MB, free: 464 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000335/0.5796, allocations: 333.5 kB / 457.3 MB, free: 196 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000258/0.5799, allocations: 193.3 kB / 457.5 MB, free: 0 / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.268e-05/0.58, allocations: 20.05 kB / 457.5 MB, free: 15.98 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002382/0.5802, allocations: 366.7 kB / 457.9 MB, free: 15.61 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005307/0.5808, allocations: 205.5 kB / 458.1 MB, free: 15.41 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007008/0.5815, allocations: 369.3 kB / 458.4 MB, free: 14.98 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005723/0.5821, allocations: 223.2 kB / 458.7 MB, free: 14.76 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.563e-06/0.5821, allocations: 4 kB / 458.7 MB, free: 14.76 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001859/0.584, allocations: 0.7072 MB / 459.4 MB, free: 14.04 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009205/0.5849, allocations: 1.574 MB / 460.9 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.5849, allocations: 4 kB / 460.9 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007054/0.5856, allocations: 161.6 kB / 461.1 MB, free: 12.17 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006338/0.5863, allocations: 111.8 kB / 461.2 MB, free: 12.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005247/0.5916, allocations: 3.608 MB / 464.8 MB, free: 8.191 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007427/0.5923, allocations: 83.5 kB / 464.9 MB, free: 8.109 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.906e-05/0.5924, allocations: 27.98 kB / 464.9 MB, free: 8.082 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.245e-05/0.5925, allocations: 8.062 kB / 464.9 MB, free: 8.074 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001624/0.5941, allocations: 0.6281 MB / 465.6 MB, free: 7.441 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.084e-05/0.5941, allocations: 4 kB / 465.6 MB, free: 7.438 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006109/0.5948, allocations: 153.6 kB / 465.7 MB, free: 7.281 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005518/0.5953, allocations: 103.8 kB / 465.8 MB, free: 7.18 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00521/0.6006, allocations: 3.601 MB / 469.4 MB, free: 3.309 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000697/0.6013, allocations: 79.55 kB / 469.5 MB, free: 3.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.056e-05/0.6014, allocations: 31.95 kB / 469.5 MB, free: 3.199 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 (69): * Single equations (assignments): 67 * 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.0002953/0.6017, allocations: 164.8 kB / 469.7 MB, free: 3.031 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001581/0.6019, allocations: 59.25 kB / 469.8 MB, free: 2.973 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00021/0.6021, allocations: 73.62 kB / 469.8 MB, free: 2.898 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.319e-05/0.6021, allocations: 4 kB / 469.8 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.366e-06/0.6021, allocations: 0 / 469.8 MB, free: 2.895 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.025e-05/0.6022, allocations: 7.984 kB / 469.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003285/0.6054, allocations: 1.489 MB / 471.3 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.8e-06/0.6055, allocations: 0 / 471.3 MB, free: 1.328 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005202/0.606, allocations: 75.92 kB / 471.4 MB, free: 1.254 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006058/0.6067, allocations: 149.9 kB / 471.5 MB, free: 1.102 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.743e-05/0.6067, allocations: 19.92 kB / 471.6 MB, free: 1.082 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005181/0.6119, allocations: 3.522 MB / 475.1 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.739e-06/0.612, allocations: 4.062 kB / 475.1 MB, free: 13.29 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002327/0.6143, allocations: 1.003 MB / 476.1 MB, free: 12.25 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004599/0.6148, allocations: 196.2 kB / 476.3 MB, free: 12.04 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001523/0.615, allocations: 16 kB / 476.3 MB, free: 12.03 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005569/0.6156, allocations: 55.95 kB / 476.4 MB, free: 11.97 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002581/0.6158, allocations: 80.44 kB / 476.4 MB, free: 11.89 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-05/0.6159, allocations: 19.98 kB / 476.5 MB, free: 11.87 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005878/0.6165, allocations: 325.6 kB / 476.8 MB, free: 11.56 MB / 394.7 MB Notification: Performance of sort global known variables: time 8.21e-07/0.6165, allocations: 0 / 476.8 MB, free: 11.56 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001634/0.6182, allocations: 367 kB / 477.1 MB, free: 11.2 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 (47): * Single equations (assignments): 40 * 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.0002807/0.6185, allocations: 145.3 kB / 477.3 MB, free: 11.05 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.00292/0.6214, allocations: 1.396 MB / 478.7 MB, free: 9.613 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.231e-06/0.6214, allocations: 0.75 kB / 478.7 MB, free: 9.613 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001084/0.6225, allocations: 0.5557 MB / 479.2 MB, free: 9.039 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007902/0.6234, allocations: 115 kB / 479.3 MB, free: 8.93 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003114/0.6265, allocations: 1.062 MB / 480.4 MB, free: 7.84 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008599/0.6274, allocations: 0.9828 MB / 481.4 MB, free: 6.828 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007781/0.6282, allocations: 124.9 kB / 481.5 MB, free: 6.707 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001525/0.6284, allocations: 39.42 kB / 481.5 MB, free: 6.668 MB / 394.7 MB Notification: Performance of SimCode: time 2.417e-06/0.6284, allocations: 0 / 481.5 MB, free: 6.668 MB / 394.7 MB Notification: Performance of Templates: time 0.03229/0.6607, allocations: 11.38 MB / 492.9 MB, free: 11.39 MB / 410.7 MB