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.2_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R_Characteristic") Notification: Performance of loadModel(Modelica): time 1.896/1.896, allocations: 194.9 MB / 208 MB, free: 3.164 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.363e-05/2.376e-05, allocations: 3.984 kB / 255.4 MB, free: 2.68 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07804/0.07808, allocations: 44.5 MB / 299.9 MB, free: 6.109 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3825/0.4606, allocations: 79.53 MB / 379.4 MB, free: 22.01 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002625/0.4609, allocations: 84.28 kB / 379.5 MB, free: 22.01 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03522/0.4962, allocations: 9.224 MB / 388.7 MB, free: 20.61 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.237e-06/0.4962, allocations: 0 / 388.7 MB, free: 20.61 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.08e-05/0.4963, allocations: 8.953 kB / 388.8 MB, free: 20.61 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: 96 * Number of variables: 96 Notification: Performance of Generate backend data structure: time 0.001214/0.4975, allocations: 0.7003 MB / 389.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.4975, allocations: 15.66 kB / 389.5 MB, free: 20.13 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001218/0.4977, allocations: 46.97 kB / 389.5 MB, free: 20.11 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005542/0.4982, allocations: 373.3 kB / 389.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.71e-05/0.4983, allocations: 34.41 kB / 389.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.336e-05/0.4984, allocations: 38.09 kB / 389.9 MB, free: 19.86 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000849/0.4993, allocations: 427.9 kB / 390.4 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.25e-05/0.4993, allocations: 7.875 kB / 390.4 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.889e-05/0.4994, allocations: 22.17 kB / 390.4 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.852e-06/0.4994, allocations: 7.844 kB / 390.4 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000634/0.5, allocations: 284.5 kB / 390.7 MB, free: 19.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002924/0.503, allocations: 1.578 MB / 392.3 MB, free: 19.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009373/0.5039, allocations: 338.1 kB / 392.6 MB, free: 19.08 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002279/0.5042, allocations: 106.4 kB / 392.7 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.373e-05/0.5042, allocations: 4.141 kB / 392.7 MB, free: 19.07 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004182/0.5047, allocations: 244.6 kB / 392.9 MB, free: 18.99 MB / 314.7 MB Notification: Performance of pre-optimization done (n=32): time 2.886e-06/0.5047, allocations: 0 / 392.9 MB, free: 18.99 MB / 314.7 MB Notification: Performance of matching and sorting (n=32): time 0.0007587/0.5055, allocations: 313.3 kB / 393.2 MB, free: 18.92 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.54e-05/0.5055, allocations: 113.7 kB / 393.4 MB, free: 18.8 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003482/0.5059, allocations: 277.6 kB / 393.6 MB, free: 18.69 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.823e-05/0.5059, allocations: 36.73 kB / 393.7 MB, free: 18.66 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001495/0.5061, allocations: 240.5 kB / 393.9 MB, free: 18.51 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.189e-05/0.5062, allocations: 99.3 kB / 394 MB, free: 18.45 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.524e-05/0.5062, allocations: 10.94 kB / 394 MB, free: 18.45 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.03e-05/0.5063, allocations: 346.6 kB / 394.3 MB, free: 18.13 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002458/0.5066, allocations: 101.6 kB / 394.4 MB, free: 18.13 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003167/0.5069, allocations: 251.5 kB / 394.7 MB, free: 17.95 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.5072, allocations: 128.3 kB / 394.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.855e-06/0.5072, allocations: 0 / 394.8 MB, free: 17.94 MB / 314.7 MB Notification: Performance of matching and sorting (n=51) (initialization): time 0.0007972/0.508, allocations: 407.7 kB / 395.2 MB, free: 17.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003145/0.5084, allocations: 1.666 MB / 396.9 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.009e-05/0.5084, allocations: 3.938 kB / 396.9 MB, free: 16.1 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002291/0.5086, allocations: 49.97 kB / 396.9 MB, free: 16.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000362/0.509, allocations: 77.11 kB / 397 MB, free: 16.08 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001238/0.5103, allocations: 1.491 MB / 398.5 MB, free: 14.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004851/0.5108, allocations: 73.48 kB / 398.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.94e-05/0.5108, allocations: 15.62 kB / 398.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.769e-06/0.5109, allocations: 5.938 kB / 398.6 MB, free: 14.71 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.000689/0.5116, allocations: 338.3 kB / 398.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.642e-06/0.5116, allocations: 3.875 kB / 398.9 MB, free: 14.68 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001676/0.5118, allocations: 46.19 kB / 399 MB, free: 14.67 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003288/0.5121, allocations: 69.42 kB / 399 MB, free: 14.66 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001727/0.5138, allocations: 1.497 MB / 400.5 MB, free: 29.31 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004383/0.5143, allocations: 64.92 kB / 400.6 MB, free: 29.29 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.858e-05/0.5144, allocations: 19.48 kB / 400.6 MB, free: 29.29 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 (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.0001919/0.5146, allocations: 144.7 kB / 400.8 MB, free: 29.17 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.612e-05/0.5147, allocations: 34.7 kB / 400.8 MB, free: 29.15 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.958e-05/0.5148, allocations: 37.27 kB / 400.8 MB, free: 29.14 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.163e-06/0.5148, allocations: 3.906 kB / 400.8 MB, free: 29.14 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.5148, allocations: 0 / 400.8 MB, free: 29.14 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.047e-06/0.5148, allocations: 4 kB / 400.8 MB, free: 29.14 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001411/0.5162, allocations: 0.8499 MB / 401.7 MB, free: 28.8 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.726e-06/0.5163, allocations: 0 / 401.7 MB, free: 28.8 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002697/0.5165, allocations: 48.23 kB / 401.7 MB, free: 28.8 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001658/0.5167, allocations: 39.31 kB / 401.8 MB, free: 28.79 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.378e-05/0.5168, allocations: 10.33 kB / 401.8 MB, free: 28.79 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001494/0.5183, allocations: 1.411 MB / 403.2 MB, free: 27.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.92e-06/0.5183, allocations: 0 / 403.2 MB, free: 27.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009416/0.5193, allocations: 0.5209 MB / 403.7 MB, free: 27.34 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001879/0.5195, allocations: 143.7 kB / 403.8 MB, free: 27.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.976e-05/0.5195, allocations: 7.562 kB / 403.9 MB, free: 27.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003646/0.5199, allocations: 45.52 kB / 403.9 MB, free: 27.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001106/0.5201, allocations: 44.3 kB / 403.9 MB, free: 27.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.415e-05/0.5201, allocations: 14.8 kB / 404 MB, free: 27.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002821/0.5204, allocations: 206.8 kB / 404.2 MB, free: 27.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.76e-07/0.5204, allocations: 0 / 404.2 MB, free: 27.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009963/0.5214, allocations: 202 kB / 404.4 MB, free: 27.1 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 (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.0001962/0.5216, allocations: 124.8 kB / 404.5 MB, free: 27 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001166/0.5228, allocations: 0.6741 MB / 405.2 MB, free: 26.76 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.367e-06/0.5228, allocations: 0 / 405.2 MB, free: 26.76 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004055/0.5233, allocations: 252.1 kB / 405.4 MB, free: 26.64 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003968/0.5237, allocations: 50.11 kB / 405.4 MB, free: 26.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.5251, allocations: 0.588 MB / 406 MB, free: 26.42 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005364/0.5256, allocations: 0.8494 MB / 406.9 MB, free: 25.72 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004035/0.526, allocations: 82.59 kB / 407 MB, free: 25.7 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.363e-05/0.5261, allocations: 23.06 kB / 407 MB, free: 25.7 MB / 330.7 MB Notification: Performance of SimCode: time 1.642e-06/0.5262, allocations: 0 / 407 MB, free: 25.7 MB / 330.7 MB Notification: Performance of Templates: time 0.01348/0.5396, allocations: 5.119 MB / 412.1 MB, free: 25.15 MB / 330.7 MB