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_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.Rectifier1Pulse.Thyristor1Pulse_R") Notification: Performance of loadModel(Modelica): time 1.799/1.799, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 5.091e-05/5.111e-05, allocations: 5.875 kB / 255.4 MB, free: 3.184 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.11, allocations: 44.5 MB / 299.9 MB, free: 6.617 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3263/0.4363, allocations: 79.33 MB / 379.2 MB, free: 21.74 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002576/0.4366, allocations: 83.12 kB / 379.3 MB, free: 21.74 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03334/0.47, allocations: 9.108 MB / 388.4 MB, free: 20.37 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.512e-06/0.47, allocations: 4 kB / 388.4 MB, free: 20.37 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.108e-05/0.4701, allocations: 11.73 kB / 388.4 MB, free: 20.36 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.001106/0.4712, allocations: 0.6725 MB / 389.1 MB, free: 19.89 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.76e-05/0.4712, allocations: 11.69 kB / 389.1 MB, free: 19.89 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000115/0.4714, allocations: 50.56 kB / 389.1 MB, free: 19.87 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005472/0.4719, allocations: 371.8 kB / 389.5 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.309e-05/0.472, allocations: 34.47 kB / 389.5 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.1e-05/0.4721, allocations: 41.44 kB / 389.6 MB, free: 19.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000828/0.4729, allocations: 423.7 kB / 390 MB, free: 19.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.391e-05/0.473, allocations: 11.02 kB / 390 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.652e-05/0.473, allocations: 18.34 kB / 390 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.176e-05/0.4731, allocations: 11.81 kB / 390 MB, free: 19.54 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006116/0.4737, allocations: 284.4 kB / 390.3 MB, free: 19.53 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002743/0.4764, allocations: 1.555 MB / 391.9 MB, free: 18.86 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000493/0.477, allocations: 225.2 kB / 392.1 MB, free: 18.84 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001803/0.4772, allocations: 90.56 kB / 392.2 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.4772, allocations: 4 kB / 392.2 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003968/0.4776, allocations: 225.9 kB / 392.4 MB, free: 18.75 MB / 314.7 MB Notification: Performance of pre-optimization done (n=29): time 3.256e-06/0.4776, allocations: 0 / 392.4 MB, free: 18.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=29): time 0.0007464/0.4784, allocations: 298 kB / 392.7 MB, free: 18.68 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.572e-05/0.4785, allocations: 111.1 kB / 392.8 MB, free: 18.55 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/0.4789, allocations: 297.1 kB / 393.1 MB, free: 18.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 4.59e-05/0.4789, allocations: 41.16 kB / 393.1 MB, free: 18.42 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.4791, allocations: 286.8 kB / 393.4 MB, free: 18.2 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.003e-05/0.4792, allocations: 84.88 kB / 393.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.436e-05/0.4792, allocations: 7.812 kB / 393.5 MB, free: 18.15 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 6.341e-05/0.4793, allocations: 329.6 kB / 393.8 MB, free: 17.84 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002318/0.4795, allocations: 109.5 kB / 393.9 MB, free: 17.83 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003055/0.4798, allocations: 251 kB / 394.2 MB, free: 17.64 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002593/0.4801, allocations: 122 kB / 394.3 MB, free: 17.63 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.43e-06/0.4801, allocations: 0 / 394.3 MB, free: 17.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=50) (initialization): time 0.0007526/0.4809, allocations: 389.9 kB / 394.7 MB, free: 17.55 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003235/0.4812, allocations: 1.657 MB / 396.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.834e-06/0.4813, allocations: 3.906 kB / 396.3 MB, free: 15.81 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002265/0.4815, allocations: 43.59 kB / 396.4 MB, free: 15.8 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.4818, allocations: 70.41 kB / 396.4 MB, free: 15.79 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001277/0.4831, allocations: 1.504 MB / 397.9 MB, free: 14.43 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004914/0.4836, allocations: 73.67 kB / 398 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.542e-05/0.4837, allocations: 15.66 kB / 398 MB, free: 14.42 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 8.484e-06/0.4837, allocations: 5.844 kB / 398 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0006754/0.4844, allocations: 342 kB / 398.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.594e-06/0.4844, allocations: 8.344 kB / 398.4 MB, free: 14.38 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000159/0.4846, allocations: 43.94 kB / 398.4 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002611/0.4849, allocations: 57.52 kB / 398.5 MB, free: 14.36 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001803/0.4867, allocations: 1.495 MB / 400 MB, free: 29 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003336/0.487, allocations: 56.36 kB / 400 MB, free: 28.99 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.193e-05/0.4871, allocations: 18.97 kB / 400 MB, free: 28.99 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.0001858/0.4873, allocations: 145.6 kB / 400.2 MB, free: 28.86 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-05/0.4874, allocations: 46.48 kB / 400.2 MB, free: 28.84 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.279e-05/0.4875, allocations: 34.03 kB / 400.3 MB, free: 28.83 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.343e-06/0.4875, allocations: 3.906 kB / 400.3 MB, free: 28.83 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.573e-06/0.4875, allocations: 0 / 400.3 MB, free: 28.83 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.285e-06/0.4875, allocations: 0 / 400.3 MB, free: 28.83 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001376/0.4889, allocations: 0.82 MB / 401.1 MB, free: 28.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.678e-06/0.4889, allocations: 3.953 kB / 401.1 MB, free: 28.49 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001915/0.4892, allocations: 26.2 kB / 401.1 MB, free: 28.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001691/0.4893, allocations: 37.89 kB / 401.2 MB, free: 28.48 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.228e-05/0.4894, allocations: 10.11 kB / 401.2 MB, free: 28.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001418/0.4908, allocations: 1.406 MB / 402.6 MB, free: 27.21 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.394e-06/0.4908, allocations: 0 / 402.6 MB, free: 27.21 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008879/0.4917, allocations: 0.4978 MB / 403.1 MB, free: 27.04 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001743/0.4919, allocations: 136.1 kB / 403.2 MB, free: 26.92 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.87e-05/0.492, allocations: 14.12 kB / 403.2 MB, free: 26.92 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003264/0.4924, allocations: 29.72 kB / 403.2 MB, free: 26.92 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.657e-05/0.4925, allocations: 27.2 kB / 403.3 MB, free: 26.92 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.4925, allocations: 18.25 kB / 403.3 MB, free: 26.92 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003085/0.4928, allocations: 230.7 kB / 403.5 MB, free: 26.83 MB / 330.7 MB Notification: Performance of sort global known variables: time 7.4e-07/0.4928, allocations: 0 / 403.5 MB, free: 26.83 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009603/0.4938, allocations: 182.1 kB / 403.7 MB, free: 26.8 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.0001822/0.494, allocations: 144.4 kB / 403.8 MB, free: 26.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001135/0.4952, allocations: 0.6724 MB / 404.5 MB, free: 26.43 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.184e-06/0.4952, allocations: 3.875 kB / 404.5 MB, free: 26.43 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003767/0.4956, allocations: 247.4 kB / 404.7 MB, free: 26.3 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000377/0.496, allocations: 55.33 kB / 404.8 MB, free: 26.3 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001324/0.4973, allocations: 0.5789 MB / 405.4 MB, free: 26.05 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005161/0.4979, allocations: 0.8402 MB / 406.2 MB, free: 25.35 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001082/0.498, allocations: 34.19 kB / 406.3 MB, free: 25.34 MB / 330.7 MB Notification: Performance of SimCode: time 1.685e-06/0.498, allocations: 0 / 406.3 MB, free: 25.34 MB / 330.7 MB Notification: Performance of Templates: time 0.009488/0.5075, allocations: 6.505 MB / 412.8 MB, free: 24.33 MB / 330.7 MB