Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|idealthyristor.off|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadModel(Modelica): time 1.867/1.867, allocations: 194.9 MB / 208 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.979e-05/2.996e-05, allocations: 11.98 kB / 255.4 MB, free: 2.676 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0813/0.08135, allocations: 44.5 MB / 299.9 MB, free: 6.113 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3877/0.4691, allocations: 79.34 MB / 379.2 MB, free: 22.01 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002323/0.4694, allocations: 81.98 kB / 379.3 MB, free: 22.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03341/0.5028, allocations: 9.113 MB / 388.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.821e-06/0.5028, allocations: 0 / 388.4 MB, free: 20.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.988e-05/0.5029, allocations: 8.781 kB / 388.4 MB, free: 20.64 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001107/0.504, allocations: 0.6749 MB / 389.1 MB, free: 20.16 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.711e-05/0.5041, allocations: 11.72 kB / 389.1 MB, free: 20.16 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001164/0.5042, allocations: 50.78 kB / 389.2 MB, free: 20.14 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005638/0.5048, allocations: 374.5 kB / 389.6 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.377e-05/0.5048, allocations: 33.95 kB / 389.6 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.031e-05/0.5049, allocations: 38.16 kB / 389.6 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000829/0.5058, allocations: 424.5 kB / 390 MB, free: 19.82 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.23e-05/0.5058, allocations: 3.906 kB / 390 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.551e-05/0.5059, allocations: 17.67 kB / 390.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.025e-05/0.5059, allocations: 7.812 kB / 390.1 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000604/0.5065, allocations: 282 kB / 390.3 MB, free: 19.81 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002802/0.5093, allocations: 1.554 MB / 391.9 MB, free: 19.14 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005204/0.5099, allocations: 229.1 kB / 392.1 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001799/0.5101, allocations: 92.84 kB / 392.2 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.5101, allocations: 0 / 392.2 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003819/0.5105, allocations: 217.9 kB / 392.4 MB, free: 19.04 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 2.758e-06/0.5105, allocations: 0 / 392.4 MB, free: 19.04 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.000687/0.5112, allocations: 299.1 kB / 392.7 MB, free: 18.96 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.105e-05/0.5113, allocations: 122 kB / 392.8 MB, free: 18.82 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003929/0.5117, allocations: 297.8 kB / 393.1 MB, free: 18.72 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.516e-05/0.5118, allocations: 36.92 kB / 393.2 MB, free: 18.69 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001493/0.5119, allocations: 236.3 kB / 393.4 MB, free: 18.54 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.49e-05/0.512, allocations: 83.83 kB / 393.5 MB, free: 18.49 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.5121, allocations: 14.97 kB / 393.5 MB, free: 18.48 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.885e-05/0.5122, allocations: 347.9 kB / 393.8 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002336/0.5124, allocations: 104.9 kB / 393.9 MB, free: 18.17 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003048/0.5127, allocations: 244.4 kB / 394.2 MB, free: 17.98 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002614/0.513, allocations: 129 kB / 394.3 MB, free: 17.96 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.914e-06/0.513, allocations: 0 / 394.3 MB, free: 17.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.000769/0.5138, allocations: 399.5 kB / 394.7 MB, free: 17.88 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003092/0.5141, allocations: 1.654 MB / 396.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.333e-06/0.5141, allocations: 3.938 kB / 396.3 MB, free: 16.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002284/0.5144, allocations: 53.69 kB / 396.4 MB, free: 16.13 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003034/0.5147, allocations: 61.66 kB / 396.5 MB, free: 16.12 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001242/0.516, allocations: 1.491 MB / 397.9 MB, free: 14.78 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005019/0.5165, allocations: 75.08 kB / 398 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.999e-05/0.5165, allocations: 21.66 kB / 398 MB, free: 14.76 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.791e-06/0.5166, allocations: 3.781 kB / 398 MB, free: 14.76 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006665/0.5172, allocations: 333.3 kB / 398.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.417e-06/0.5173, allocations: 3.938 kB / 398.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001644/0.5174, allocations: 42.41 kB / 398.4 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002823/0.5177, allocations: 61.77 kB / 398.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.5194, allocations: 1.492 MB / 400 MB, free: 29.35 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004184/0.5199, allocations: 56.31 kB / 400 MB, free: 29.34 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.631e-05/0.5199, allocations: 19.5 kB / 400 MB, free: 29.33 MB / 330.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: 21 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,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_n,$PRE.idealthyristor.off,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * 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 {1 4} Notification: Performance of prepare postOptimizeDAE: time 0.0001935/0.5201, allocations: 150.8 kB / 400.2 MB, free: 29.21 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.512e-05/0.5202, allocations: 31.25 kB / 400.2 MB, free: 29.2 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.789e-05/0.5203, allocations: 37.42 kB / 400.3 MB, free: 29.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.187e-06/0.5204, allocations: 7.328 kB / 400.3 MB, free: 29.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.315e-06/0.5204, allocations: 4.125 kB / 400.3 MB, free: 29.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.383e-06/0.5204, allocations: 0 / 400.3 MB, free: 29.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001398/0.5218, allocations: 0.8268 MB / 401.1 MB, free: 28.84 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.899e-06/0.5218, allocations: 3.953 kB / 401.1 MB, free: 28.84 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.522, allocations: 23.58 kB / 401.1 MB, free: 28.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001668/0.5222, allocations: 39.06 kB / 401.2 MB, free: 28.83 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.5222, allocations: 10.69 kB / 401.2 MB, free: 28.83 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00141/0.5237, allocations: 1.4 MB / 402.6 MB, free: 27.55 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.325e-06/0.5237, allocations: 3.938 kB / 402.6 MB, free: 27.55 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001259/0.525, allocations: 0.4887 MB / 403.1 MB, free: 27.39 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003048/0.5253, allocations: 141.8 kB / 403.2 MB, free: 27.27 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00012/0.5254, allocations: 19.47 kB / 403.2 MB, free: 27.26 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006128/0.5261, allocations: 34.25 kB / 403.3 MB, free: 27.25 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001429/0.5262, allocations: 28.88 kB / 403.3 MB, free: 27.25 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.869e-05/0.5263, allocations: 14.48 kB / 403.3 MB, free: 27.25 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005323/0.5269, allocations: 232.9 kB / 403.5 MB, free: 27.17 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.058e-06/0.5269, allocations: 0 / 403.5 MB, free: 27.17 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001937/0.5288, allocations: 189.6 kB / 403.7 MB, free: 27.14 MB / 330.7 MB 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: 15 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_n,idealthyristor.off,idealthyristor.fire) * Number of discrete states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,idealthyristor.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (25): * Single equations (assignments): 19 * 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 {1 4} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002917/0.5292, allocations: 132.5 kB / 403.8 MB, free: 27.04 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001981/0.5312, allocations: 0.6533 MB / 404.5 MB, free: 26.8 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.312e-06/0.5312, allocations: 0 / 404.5 MB, free: 26.8 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005742/0.5318, allocations: 240 kB / 404.7 MB, free: 26.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007131/0.5325, allocations: 49.17 kB / 404.8 MB, free: 26.68 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002256/0.5348, allocations: 0.5632 MB / 405.3 MB, free: 26.46 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007877/0.5356, allocations: 0.8469 MB / 406.2 MB, free: 25.75 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000725/0.5364, allocations: 79.23 kB / 406.3 MB, free: 25.74 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001271/0.5365, allocations: 22.88 kB / 406.3 MB, free: 25.73 MB / 330.7 MB Notification: Performance of SimCode: time 2.23e-06/0.5366, allocations: 0 / 406.3 MB, free: 25.73 MB / 330.7 MB Notification: Performance of Templates: time 0.02008/0.5567, allocations: 4.899 MB / 411.2 MB, free: 25.35 MB / 330.7 MB