Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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.3_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadModel(Modelica): time 1.914/1.914, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.029e-05/3.04e-05, allocations: 4 kB / 269.4 MB, free: 6.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08184/0.08189, allocations: 47.57 MB / 316.9 MB, free: 6.723 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3335/0.4154, allocations: 84.62 MB / 401.6 MB, free: 3.52 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00027/0.4157, allocations: 88.38 kB / 401.6 MB, free: 3.469 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03805/0.4538, allocations: 9.693 MB / 411.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.13e-06/0.4539, allocations: 4 kB / 411.3 MB, free: 11.23 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.542e-05/0.4539, allocations: 12 kB / 411.4 MB, free: 11.21 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: 97 * Number of variables: 97 Notification: Performance of Generate backend data structure: time 0.001466/0.4554, allocations: 0.6976 MB / 412.1 MB, free: 10.51 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.4554, allocations: 8.031 kB / 412.1 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001465/0.4556, allocations: 63.27 kB / 412.1 MB, free: 10.44 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007101/0.4563, allocations: 385.1 kB / 412.5 MB, free: 10.07 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.791e-05/0.4564, allocations: 30.78 kB / 412.5 MB, free: 10.06 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.071e-05/0.4565, allocations: 40.81 kB / 412.6 MB, free: 10.03 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009545/0.4575, allocations: 429.6 kB / 413 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.157e-05/0.4575, allocations: 3.562 kB / 413 MB, free: 9.73 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.202e-05/0.4576, allocations: 18.61 kB / 413 MB, free: 9.723 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.006e-05/0.4576, allocations: 12 kB / 413 MB, free: 9.711 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007269/0.4583, allocations: 295.9 kB / 413.3 MB, free: 9.523 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003223/0.4616, allocations: 1.582 MB / 414.9 MB, free: 8.16 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009986/0.4626, allocations: 348.7 kB / 415.2 MB, free: 7.902 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002392/0.4629, allocations: 99.81 kB / 415.3 MB, free: 7.84 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.395e-05/0.4629, allocations: 4.234 kB / 415.3 MB, free: 7.836 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004908/0.4634, allocations: 241.3 kB / 415.6 MB, free: 7.633 MB / 330.7 MB Notification: Performance of pre-optimization done (n=32): time 4.119e-06/0.4634, allocations: 0 / 415.6 MB, free: 7.633 MB / 330.7 MB Notification: Performance of matching and sorting (n=32): time 0.0008253/0.4643, allocations: 314.8 kB / 415.9 MB, free: 7.387 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.026e-05/0.4644, allocations: 106.8 kB / 416 MB, free: 7.258 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004194/0.4648, allocations: 287.8 kB / 416.3 MB, free: 7.023 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 6.381e-05/0.4649, allocations: 35.64 kB / 416.3 MB, free: 6.988 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002052/0.4651, allocations: 240.7 kB / 416.5 MB, free: 6.801 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001067/0.4652, allocations: 91.98 kB / 416.6 MB, free: 6.723 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.994e-05/0.4653, allocations: 10.69 kB / 416.6 MB, free: 6.719 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001916/0.4655, allocations: 350.6 kB / 417 MB, free: 6.383 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002584/0.4658, allocations: 102.5 kB / 417.1 MB, free: 6.32 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003939/0.4662, allocations: 246.6 kB / 417.3 MB, free: 6.059 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000297/0.4665, allocations: 124.4 kB / 417.4 MB, free: 5.973 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.773e-06/0.4665, allocations: 4 kB / 417.4 MB, free: 5.969 MB / 330.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0008895/0.4674, allocations: 400.9 kB / 417.8 MB, free: 5.656 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009046/0.4683, allocations: 1.66 MB / 419.5 MB, free: 3.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.456e-05/0.4684, allocations: 4 kB / 419.5 MB, free: 3.891 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002488/0.4686, allocations: 46.95 kB / 419.5 MB, free: 3.852 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003799/0.469, allocations: 75.33 kB / 419.6 MB, free: 3.781 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001788/0.4708, allocations: 1.494 MB / 421.1 MB, free: 2.246 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000456/0.4713, allocations: 71.41 kB / 421.2 MB, free: 2.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.672e-05/0.4714, allocations: 19.94 kB / 421.2 MB, free: 2.164 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.234e-05/0.4714, allocations: 7.953 kB / 421.2 MB, free: 2.156 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0007631/0.4722, allocations: 339.2 kB / 421.5 MB, free: 1.914 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.4722, allocations: 11.92 kB / 421.6 MB, free: 1.902 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001756/0.4724, allocations: 44.34 kB / 421.6 MB, free: 1.863 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000333/0.4727, allocations: 80.17 kB / 421.7 MB, free: 1.789 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001652/0.4744, allocations: 1.483 MB / 423.2 MB, free: 280 kB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004021/0.4748, allocations: 63.53 kB / 423.2 MB, free: 224 kB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.274e-05/0.4749, allocations: 19.31 kB / 423.2 MB, free: 208 kB / 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 (47): * Single equations (assignments): 46 * 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.0001934/0.4751, allocations: 146.7 kB / 423.4 MB, free: 64 kB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.78e-05/0.4752, allocations: 31.62 kB / 423.4 MB, free: 32 kB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001038/0.4753, allocations: 47.2 kB / 423.5 MB, free: 0 / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-05/0.4753, allocations: 4.047 kB / 423.5 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.596e-06/0.4754, allocations: 0 / 423.5 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.595e-06/0.4754, allocations: 3.938 kB / 423.5 MB, free: 15.99 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001605/0.477, allocations: 0.8426 MB / 424.3 MB, free: 15.28 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.86e-06/0.477, allocations: 4 kB / 424.3 MB, free: 15.27 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002864/0.4773, allocations: 47.47 kB / 424.4 MB, free: 15.23 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001847/0.4775, allocations: 43.77 kB / 424.4 MB, free: 15.2 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.4776, allocations: 7.938 kB / 424.4 MB, free: 15.19 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001599/0.4792, allocations: 1.411 MB / 425.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.058e-06/0.4792, allocations: 0 / 425.8 MB, free: 13.75 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001031/0.4803, allocations: 0.5338 MB / 426.4 MB, free: 13.32 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002168/0.4805, allocations: 147.5 kB / 426.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.032e-05/0.4806, allocations: 3.438 kB / 426.5 MB, free: 13.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003975/0.481, allocations: 43.34 kB / 426.5 MB, free: 13.14 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.4811, allocations: 34.81 kB / 426.6 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.758e-05/0.4812, allocations: 15.31 kB / 426.6 MB, free: 13.1 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003088/0.4815, allocations: 216.9 kB / 426.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.26e-07/0.4815, allocations: 0 / 426.8 MB, free: 12.93 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001014/0.4825, allocations: 203.1 kB / 427 MB, free: 12.75 MB / 346.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 (28): * Single equations (assignments): 22 * 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.0002201/0.4828, allocations: 133.8 kB / 427.1 MB, free: 12.61 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001319/0.4841, allocations: 0.6816 MB / 427.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.676e-06/0.4841, allocations: 0 / 427.8 MB, free: 12.04 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.4846, allocations: 249.1 kB / 428.1 MB, free: 11.84 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004274/0.485, allocations: 55.38 kB / 428.1 MB, free: 11.8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001557/0.4866, allocations: 0.5824 MB / 428.7 MB, free: 11.27 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006092/0.4872, allocations: 0.8477 MB / 429.5 MB, free: 10.4 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.000412/0.4877, allocations: 78.91 kB / 429.6 MB, free: 10.32 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001023/0.4878, allocations: 23.44 kB / 429.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of SimCode: time 1.551e-06/0.4878, allocations: 3.938 kB / 429.6 MB, free: 10.3 MB / 346.7 MB Notification: Performance of Templates: time 0.01524/0.503, allocations: 5.222 MB / 434.9 MB, free: 5.102 MB / 346.7 MB