Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R") Notification: Performance of loadModel(Modelica): time 1.911/1.911, allocations: 194.9 MB / 208 MB, free: 3.238 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.676e-05/2.699e-05, allocations: 4 kB / 255.4 MB, free: 2.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0782/0.07826, allocations: 44.5 MB / 299.9 MB, free: 6.117 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4155/0.4938, allocations: 81.55 MB / 381.5 MB, free: 21.56 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000266/0.4942, allocations: 83.53 kB / 381.5 MB, free: 21.56 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04399/0.5382, allocations: 12.04 MB / 393.6 MB, free: 19.74 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.004e-06/0.5382, allocations: 0 / 393.6 MB, free: 19.74 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.235e-05/0.5383, allocations: 15.62 kB / 393.6 MB, free: 19.74 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: 138 * Number of variables: 138 Notification: Performance of Generate backend data structure: time 0.001396/0.5397, allocations: 0.8066 MB / 394.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.5397, allocations: 11.66 kB / 394.4 MB, free: 19.21 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001757/0.5399, allocations: 74.2 kB / 394.5 MB, free: 19.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008793/0.5408, allocations: 473.5 kB / 394.9 MB, free: 18.9 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.694e-05/0.5409, allocations: 46.53 kB / 395 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001084/0.541, allocations: 64.52 kB / 395.1 MB, free: 18.89 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001246/0.5423, allocations: 0.5701 MB / 395.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.842e-05/0.5423, allocations: 3.906 kB / 395.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.382e-05/0.5424, allocations: 18.47 kB / 395.6 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.5424, allocations: 15.62 kB / 395.7 MB, free: 18.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009249/0.5434, allocations: 410.6 kB / 396.1 MB, free: 18.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004284/0.5477, allocations: 2.203 MB / 398.3 MB, free: 17.87 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001038/0.5488, allocations: 443.3 kB / 398.7 MB, free: 17.83 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005625/0.5494, allocations: 234 kB / 398.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.78e-05/0.5494, allocations: 4.625 kB / 398.9 MB, free: 17.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005609/0.55, allocations: 301 kB / 399.2 MB, free: 17.73 MB / 314.7 MB Notification: Performance of pre-optimization done (n=44): time 4.084e-06/0.55, allocations: 0 / 399.2 MB, free: 17.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=44): time 0.0009482/0.551, allocations: 413.6 kB / 399.6 MB, free: 17.65 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.796e-05/0.551, allocations: 140.1 kB / 399.8 MB, free: 17.49 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005803/0.5516, allocations: 408.4 kB / 400.2 MB, free: 17.37 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.925e-05/0.5517, allocations: 41.17 kB / 400.2 MB, free: 17.34 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001985/0.5519, allocations: 298 kB / 400.5 MB, free: 17.18 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001085/0.5521, allocations: 129.3 kB / 400.6 MB, free: 17.1 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.416e-05/0.5521, allocations: 14.81 kB / 400.6 MB, free: 17.09 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.5522, allocations: 364.4 kB / 401 MB, free: 16.78 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003421/0.5526, allocations: 146.8 kB / 401.1 MB, free: 16.78 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004216/0.553, allocations: 297.5 kB / 401.4 MB, free: 16.6 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003713/0.5534, allocations: 161 kB / 401.6 MB, free: 16.59 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.646e-06/0.5534, allocations: 0 / 401.6 MB, free: 16.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.001107/0.5545, allocations: 0.5235 MB / 402.1 MB, free: 16.48 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003185/0.5549, allocations: 1.655 MB / 403.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.192e-05/0.5549, allocations: 3.906 kB / 403.8 MB, free: 14.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000418/0.5553, allocations: 94.03 kB / 403.9 MB, free: 14.74 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000393/0.5557, allocations: 88.34 kB / 403.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002057/0.5578, allocations: 1.84 MB / 405.8 MB, free: 13.36 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006227/0.5585, allocations: 92.52 kB / 405.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.464e-05/0.5586, allocations: 19.16 kB / 405.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.5586, allocations: 3.906 kB / 405.9 MB, free: 13.33 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001059/0.5597, allocations: 461.2 kB / 406.3 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.927e-06/0.5597, allocations: 3.906 kB / 406.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003308/0.56, allocations: 99.27 kB / 406.4 MB, free: 13.27 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003706/0.5604, allocations: 75.83 kB / 406.5 MB, free: 13.26 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002602/0.563, allocations: 1.842 MB / 408.4 MB, free: 27.89 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005552/0.5636, allocations: 72.47 kB / 408.4 MB, free: 27.87 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.949e-05/0.5637, allocations: 22.94 kB / 408.5 MB, free: 27.87 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: 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 (56): * Single equations (assignments): 55 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002308/0.5639, allocations: 149.9 kB / 408.6 MB, free: 27.75 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001085/0.5641, allocations: 46.81 kB / 408.7 MB, free: 27.73 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001478/0.5642, allocations: 59.25 kB / 408.7 MB, free: 27.71 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.822e-06/0.5642, allocations: 7.812 kB / 408.7 MB, free: 27.71 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.041e-06/0.5643, allocations: 0 / 408.7 MB, free: 27.71 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.979e-06/0.5643, allocations: 3.047 kB / 408.7 MB, free: 27.71 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002113/0.5664, allocations: 1.217 MB / 409.9 MB, free: 27.29 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.637e-06/0.5664, allocations: 3.938 kB / 409.9 MB, free: 27.28 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002593/0.5667, allocations: 38.45 kB / 410 MB, free: 27.28 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003227/0.567, allocations: 92.92 kB / 410.1 MB, free: 27.26 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.065e-05/0.5671, allocations: 11.75 kB / 410.1 MB, free: 27.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002224/0.5693, allocations: 1.756 MB / 411.8 MB, free: 25.96 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.866e-06/0.5694, allocations: 0 / 411.8 MB, free: 25.96 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001406/0.5708, allocations: 0.7274 MB / 412.6 MB, free: 25.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000281/0.5711, allocations: 174 kB / 412.7 MB, free: 25.62 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.749e-05/0.5712, allocations: 10.78 kB / 412.7 MB, free: 25.62 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004373/0.5717, allocations: 41.56 kB / 412.8 MB, free: 25.62 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001536/0.5718, allocations: 50.52 kB / 412.8 MB, free: 25.62 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.28e-05/0.5719, allocations: 22.22 kB / 412.9 MB, free: 25.61 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004744/0.5724, allocations: 299.6 kB / 413.1 MB, free: 25.53 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.46e-07/0.5724, allocations: 0 / 413.1 MB, free: 25.53 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001187/0.5736, allocations: 280.3 kB / 413.4 MB, free: 25.48 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (35): * Single equations (assignments): 29 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002246/0.5738, allocations: 131.2 kB / 413.5 MB, free: 25.39 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001851/0.5757, allocations: 0.8857 MB / 414.4 MB, free: 25.13 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.348e-06/0.5757, allocations: 0 / 414.4 MB, free: 25.13 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000628/0.5764, allocations: 345.5 kB / 414.8 MB, free: 25 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006507/0.5771, allocations: 77.45 kB / 414.8 MB, free: 25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00188/0.579, allocations: 0.7494 MB / 415.6 MB, free: 24.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006255/0.5796, allocations: 0.9119 MB / 416.5 MB, free: 24.02 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.000542/0.5802, allocations: 110.5 kB / 416.6 MB, free: 24 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001027/0.5803, allocations: 34.81 kB / 416.7 MB, free: 23.99 MB / 330.7 MB Notification: Performance of SimCode: time 1.941e-06/0.5803, allocations: 0 / 416.7 MB, free: 23.99 MB / 330.7 MB Notification: Performance of Templates: time 0.02301/0.6033, allocations: 7.834 MB / 424.5 MB, free: 20.33 MB / 330.7 MB