Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 1.913/1.913, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.615e-05, allocations: 4 kB / 269.4 MB, free: 6.371 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08248/0.08253, allocations: 47.57 MB / 316.9 MB, free: 6.719 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3385/0.4211, allocations: 87.61 MB / 404.6 MB, free: 0.582 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002703/0.4214, allocations: 87.5 kB / 404.6 MB, free: 0.5312 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05059/0.472, allocations: 13.2 MB / 417.8 MB, free: 5.359 MB / 330.7 MB Notification: Performance of FrontEnd: time 2e-06/0.4721, allocations: 0 / 417.8 MB, free: 5.359 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.904e-05/0.4721, allocations: 12 kB / 417.9 MB, free: 5.348 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.001856/0.474, allocations: 0.8549 MB / 418.7 MB, free: 4.484 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.025e-05/0.4741, allocations: 8.031 kB / 418.7 MB, free: 4.477 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000194/0.4743, allocations: 91.34 kB / 418.8 MB, free: 4.387 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009558/0.4752, allocations: 483.9 kB / 419.3 MB, free: 3.953 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.824e-05/0.4753, allocations: 46.19 kB / 419.3 MB, free: 3.926 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001277/0.4755, allocations: 64.31 kB / 419.4 MB, free: 3.883 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001362/0.4768, allocations: 0.6113 MB / 420 MB, free: 3.453 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.01e-05/0.4769, allocations: 3.984 kB / 420 MB, free: 3.449 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.927e-05/0.477, allocations: 28 kB / 420 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.176e-05/0.477, allocations: 16 kB / 420 MB, free: 3.426 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001053/0.4781, allocations: 430.4 kB / 420.5 MB, free: 3.16 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004671/0.4828, allocations: 2.343 MB / 422.8 MB, free: 1.191 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001166/0.484, allocations: 464.2 kB / 423.3 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005964/0.4846, allocations: 243.6 kB / 423.5 MB, free: 0.7031 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.611e-05/0.4846, allocations: 4 kB / 423.5 MB, free: 0.6992 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006268/0.4853, allocations: 298.7 kB / 423.8 MB, free: 464 kB / 330.7 MB Notification: Performance of pre-optimization done (n=47): time 4.067e-06/0.4853, allocations: 4 kB / 423.8 MB, free: 460 kB / 330.7 MB Notification: Performance of matching and sorting (n=47): time 0.001186/0.4865, allocations: 424.2 kB / 424.2 MB, free: 136 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.4867, allocations: 143.8 kB / 424.4 MB, free: 15.96 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007179/0.4874, allocations: 429 kB / 424.8 MB, free: 15.63 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.798e-05/0.4875, allocations: 36.64 kB / 424.8 MB, free: 15.6 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002841/0.4878, allocations: 323.6 kB / 425.1 MB, free: 15.37 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001588/0.488, allocations: 138.8 kB / 425.3 MB, free: 15.25 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.63e-05/0.488, allocations: 11.12 kB / 425.3 MB, free: 15.25 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002145/0.4882, allocations: 370.6 kB / 425.6 MB, free: 14.9 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003666/0.4886, allocations: 150.5 kB / 425.8 MB, free: 14.81 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005031/0.4891, allocations: 314.2 kB / 426.1 MB, free: 14.52 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004101/0.4896, allocations: 170.8 kB / 426.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.941e-06/0.4896, allocations: 0 / 426.3 MB, free: 14.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001216/0.4908, allocations: 0.5438 MB / 426.8 MB, free: 13.99 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00094/0.4918, allocations: 1.659 MB / 428.5 MB, free: 12.23 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.47e-05/0.4918, allocations: 8 kB / 428.5 MB, free: 12.22 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003984/0.4922, allocations: 80.59 kB / 428.5 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000475/0.4927, allocations: 94.89 kB / 428.6 MB, free: 12.07 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.4951, allocations: 1.735 MB / 430.4 MB, free: 10.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006805/0.4958, allocations: 94.17 kB / 430.5 MB, free: 10.33 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.714e-05/0.4959, allocations: 19.81 kB / 430.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.073e-05/0.4959, allocations: 4 kB / 430.5 MB, free: 10.31 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001086/0.497, allocations: 470.7 kB / 430.9 MB, free: 9.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.024e-05/0.497, allocations: 7.938 kB / 431 MB, free: 9.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003111/0.4973, allocations: 83 kB / 431 MB, free: 9.914 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000409/0.4978, allocations: 82.91 kB / 431.1 MB, free: 9.836 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002266/0.5001, allocations: 1.742 MB / 432.9 MB, free: 8.168 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005605/0.5006, allocations: 75.19 kB / 432.9 MB, free: 8.102 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.524e-05/0.5007, allocations: 19.19 kB / 432.9 MB, free: 8.086 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.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 (62): * Single equations (assignments): 61 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002314/0.501, allocations: 158.9 kB / 433.1 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001354/0.5011, allocations: 59.3 kB / 433.2 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001574/0.5013, allocations: 58.73 kB / 433.2 MB, free: 7.855 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.97e-06/0.5013, allocations: 4 kB / 433.2 MB, free: 7.852 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.207e-06/0.5013, allocations: 3.984 kB / 433.2 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.673e-06/0.5013, allocations: 0 / 433.2 MB, free: 7.848 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002439/0.5038, allocations: 1.26 MB / 434.5 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.853e-06/0.5038, allocations: 4.031 kB / 434.5 MB, free: 6.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003345/0.5042, allocations: 54.97 kB / 434.5 MB, free: 6.777 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003001/0.5045, allocations: 72.12 kB / 434.6 MB, free: 6.727 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.228e-05/0.5045, allocations: 7.625 kB / 434.6 MB, free: 6.723 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002203/0.5068, allocations: 1.643 MB / 436.3 MB, free: 5.145 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.112e-06/0.5068, allocations: 7.969 kB / 436.3 MB, free: 5.137 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001542/0.5083, allocations: 0.7495 MB / 437 MB, free: 4.562 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003081/0.5087, allocations: 176.4 kB / 437.2 MB, free: 4.395 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/0.5088, allocations: 15.7 kB / 437.2 MB, free: 4.387 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004535/0.5093, allocations: 42.16 kB / 437.3 MB, free: 4.352 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001609/0.5094, allocations: 49.92 kB / 437.3 MB, free: 4.312 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.164e-05/0.5095, allocations: 19.86 kB / 437.3 MB, free: 4.297 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005462/0.5101, allocations: 324.5 kB / 437.6 MB, free: 4.059 MB / 346.7 MB Notification: Performance of sort global known variables: time 7.94e-07/0.5101, allocations: 0 / 437.6 MB, free: 4.059 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001268/0.5113, allocations: 284.4 kB / 437.9 MB, free: 3.805 MB / 346.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: 18 (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_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002326/0.5116, allocations: 139.5 kB / 438 MB, free: 3.672 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001757/0.5134, allocations: 0.895 MB / 438.9 MB, free: 2.977 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 4.092e-06/0.5134, allocations: 8.688 kB / 439 MB, free: 2.969 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000614/0.514, allocations: 336.6 kB / 439.3 MB, free: 2.703 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005776/0.5146, allocations: 82.77 kB / 439.4 MB, free: 2.652 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002156/0.5168, allocations: 0.8541 MB / 440.2 MB, free: 1.879 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007474/0.5176, allocations: 0.9301 MB / 441.1 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.0005902/0.5182, allocations: 112.5 kB / 441.3 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000122/0.5183, allocations: 31.44 kB / 441.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of SimCode: time 1.944e-06/0.5183, allocations: 0 / 441.3 MB, free: 0.7812 MB / 346.7 MB Notification: Performance of Templates: time 0.02213/0.5405, allocations: 7.881 MB / 449.2 MB, free: 8.957 MB / 362.7 MB