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_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 2.038/2.038, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.147e-05/3.165e-05, allocations: 2.812 kB / 292.2 MB, free: 8.297 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08881/0.08887, allocations: 50.41 MB / 342.6 MB, free: 5.867 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3673/0.4562, allocations: 90.13 MB / 432.7 MB, free: 4.129 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.4565, allocations: 89.64 kB / 432.8 MB, free: 4.082 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0588/0.5153, allocations: 15.21 MB / 448 MB, free: 7.199 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.175e-06/0.5154, allocations: 0 / 448 MB, free: 7.199 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.032e-05/0.5154, allocations: 16 kB / 448 MB, free: 7.184 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.002237/0.5177, allocations: 0.9407 MB / 449 MB, free: 6.238 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.368e-05/0.5178, allocations: 8.031 kB / 449 MB, free: 6.23 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002547/0.518, allocations: 94.88 kB / 449.1 MB, free: 6.137 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001088/0.5191, allocations: 0.5172 MB / 449.6 MB, free: 5.672 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.453e-05/0.5192, allocations: 59.03 kB / 449.6 MB, free: 5.637 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001578/0.5194, allocations: 80.08 kB / 449.7 MB, free: 5.582 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001643/0.5211, allocations: 0.746 MB / 450.5 MB, free: 5.047 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.981e-05/0.5211, allocations: 0 / 450.5 MB, free: 5.047 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.644e-05/0.5212, allocations: 30.44 kB / 450.5 MB, free: 5.039 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.16e-05/0.5213, allocations: 23.98 kB / 450.5 MB, free: 5.016 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001302/0.5226, allocations: 0.5233 MB / 451 MB, free: 4.684 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005418/0.528, allocations: 2.768 MB / 453.8 MB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001595/0.5296, allocations: 0.6563 MB / 454.5 MB, free: 1.98 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001091/0.5308, allocations: 449.9 kB / 454.9 MB, free: 1.652 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.046e-05/0.5308, allocations: 4.562 kB / 454.9 MB, free: 1.648 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008284/0.5317, allocations: 383.7 kB / 455.3 MB, free: 1.363 MB / 362.7 MB Notification: Performance of pre-optimization done (n=63): time 4.359e-06/0.5317, allocations: 4 kB / 455.3 MB, free: 1.359 MB / 362.7 MB Notification: Performance of matching and sorting (n=63): time 0.001529/0.5332, allocations: 0.5853 MB / 455.9 MB, free: 0.9336 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001104/0.5334, allocations: 137.1 kB / 456 MB, free: 0.7695 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007551/0.5341, allocations: 425 kB / 456.4 MB, free: 448 kB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001197/0.5343, allocations: 49.06 kB / 456.5 MB, free: 404 kB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003364/0.5346, allocations: 332.3 kB / 456.8 MB, free: 144 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002572/0.5349, allocations: 189.5 kB / 457 MB, free: 15.95 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.016e-05/0.535, allocations: 12 kB / 457 MB, free: 15.94 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002434/0.5352, allocations: 378.5 kB / 457.4 MB, free: 15.56 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005221/0.5358, allocations: 205.5 kB / 457.6 MB, free: 15.36 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000684/0.5365, allocations: 369.3 kB / 457.9 MB, free: 14.93 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005999/0.5371, allocations: 215.2 kB / 458.1 MB, free: 14.72 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.423e-06/0.5371, allocations: 4 kB / 458.1 MB, free: 14.72 MB / 378.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.001804/0.5389, allocations: 0.715 MB / 458.9 MB, free: 13.99 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008708/0.5398, allocations: 1.574 MB / 460.4 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.699e-05/0.5398, allocations: 4 kB / 460.4 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006606/0.5405, allocations: 165.6 kB / 460.6 MB, free: 12.12 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005963/0.5411, allocations: 107.8 kB / 460.7 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005275/0.5464, allocations: 3.608 MB / 464.3 MB, free: 8.141 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007759/0.5472, allocations: 83.5 kB / 464.4 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.147e-05/0.5473, allocations: 20 kB / 464.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.094e-05/0.5474, allocations: 4 kB / 464.4 MB, free: 8.035 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001613/0.549, allocations: 0.6359 MB / 465 MB, free: 7.395 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.549, allocations: 8 kB / 465.1 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006036/0.5496, allocations: 157.6 kB / 465.2 MB, free: 7.227 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005298/0.5502, allocations: 107.8 kB / 465.3 MB, free: 7.121 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005127/0.5553, allocations: 3.598 MB / 468.9 MB, free: 3.254 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007024/0.5561, allocations: 71.52 kB / 469 MB, free: 3.184 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.632e-05/0.5562, allocations: 31.98 kB / 469 MB, free: 3.152 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.0002927/0.5565, allocations: 165.5 kB / 469.2 MB, free: 2.984 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001487/0.5566, allocations: 59.25 kB / 469.2 MB, free: 2.926 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002292/0.5569, allocations: 77.62 kB / 469.3 MB, free: 2.848 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.878e-06/0.5569, allocations: 4 kB / 469.3 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.5569, allocations: 0 / 469.3 MB, free: 2.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.312e-05/0.5569, allocations: 8.344 kB / 469.3 MB, free: 2.836 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003182/0.5601, allocations: 1.489 MB / 470.8 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.219e-06/0.5602, allocations: 0 / 470.8 MB, free: 1.277 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000478/0.5607, allocations: 71.89 kB / 470.9 MB, free: 1.207 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005907/0.5613, allocations: 157.6 kB / 471 MB, free: 1.047 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.43e-05/0.5614, allocations: 19.94 kB / 471.1 MB, free: 1.027 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004982/0.5664, allocations: 3.518 MB / 474.6 MB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.048e-06/0.5664, allocations: 0 / 474.6 MB, free: 13.24 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002272/0.5687, allocations: 1.011 MB / 475.6 MB, free: 12.2 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003876/0.5691, allocations: 196.2 kB / 475.8 MB, free: 11.99 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001217/0.5692, allocations: 12 kB / 475.8 MB, free: 11.98 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005407/0.5698, allocations: 55.95 kB / 475.8 MB, free: 11.92 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002459/0.5701, allocations: 80.44 kB / 475.9 MB, free: 11.84 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.012e-05/0.5701, allocations: 16 kB / 475.9 MB, free: 11.82 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005731/0.5707, allocations: 325.6 kB / 476.2 MB, free: 11.51 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-07/0.5707, allocations: 0 / 476.2 MB, free: 11.51 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001605/0.5723, allocations: 371 kB / 476.6 MB, free: 11.14 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.0002756/0.5726, allocations: 159.8 kB / 476.8 MB, free: 10.98 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.002791/0.5754, allocations: 1.389 MB / 478.2 MB, free: 9.555 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 4.263e-06/0.5755, allocations: 0 / 478.2 MB, free: 9.555 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001033/0.5765, allocations: 0.5563 MB / 478.7 MB, free: 8.98 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007483/0.5773, allocations: 110.4 kB / 478.8 MB, free: 8.875 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002833/0.5801, allocations: 1.062 MB / 479.9 MB, free: 7.785 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008384/0.581, allocations: 0.975 MB / 480.9 MB, free: 6.781 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006911/0.5817, allocations: 124.9 kB / 481 MB, free: 6.66 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001454/0.5819, allocations: 43.42 kB / 481 MB, free: 6.617 MB / 394.7 MB Notification: Performance of SimCode: time 1.608e-06/0.5819, allocations: 0 / 481 MB, free: 6.617 MB / 394.7 MB Notification: Performance of Templates: time 0.03144/0.6133, allocations: 11.38 MB / 492.4 MB, free: 11.34 MB / 410.7 MB