Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|inductor.i|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_n1.off|rectifier.thyristor_n2.off|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL") Notification: Performance of loadModel(Modelica): time 1.813/1.813, allocations: 194.9 MB / 208.4 MB, free: 3.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.169e-05, allocations: 2.844 kB / 255.4 MB, free: 3.156 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08113/0.08119, allocations: 44.5 MB / 299.9 MB, free: 6.602 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.422/0.5032, allocations: 82.33 MB / 382.2 MB, free: 21.43 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002831/0.5036, allocations: 84.98 kB / 382.3 MB, free: 21.43 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0484/0.552, allocations: 13.37 MB / 395.6 MB, free: 19.4 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.892e-06/0.552, allocations: 3.938 kB / 395.6 MB, free: 19.4 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.057e-05/0.5521, allocations: 15.75 kB / 395.7 MB, free: 19.39 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001658/0.5538, allocations: 0.8851 MB / 396.5 MB, free: 18.83 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.062e-05/0.5538, allocations: 11.75 kB / 396.6 MB, free: 18.83 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002197/0.5541, allocations: 89.55 kB / 396.6 MB, free: 18.78 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009184/0.555, allocations: 0.4939 MB / 397.1 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.759e-05/0.5551, allocations: 47.69 kB / 397.2 MB, free: 18.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001247/0.5552, allocations: 73.17 kB / 397.3 MB, free: 18.49 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001356/0.5566, allocations: 0.6727 MB / 397.9 MB, free: 18.39 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.059e-05/0.5566, allocations: 11.64 kB / 397.9 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.449e-05/0.5567, allocations: 26.78 kB / 398 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.58e-05/0.5568, allocations: 19.78 kB / 398 MB, free: 18.38 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001087/0.5579, allocations: 0.4892 MB / 398.5 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004731/0.5626, allocations: 2.643 MB / 401.1 MB, free: 17.26 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001218/0.5639, allocations: 0.573 MB / 401.7 MB, free: 17.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008526/0.5647, allocations: 393 kB / 402.1 MB, free: 17.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.942e-05/0.5648, allocations: 12.25 kB / 402.1 MB, free: 17.19 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006491/0.5655, allocations: 340.2 kB / 402.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=57): time 3.682e-06/0.5655, allocations: 0 / 402.4 MB, free: 17.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=57): time 0.001244/0.5668, allocations: 0.5402 MB / 403 MB, free: 17.02 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.5668, allocations: 114.6 kB / 403.1 MB, free: 16.9 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006464/0.5675, allocations: 425.8 kB / 403.5 MB, free: 16.78 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.582e-05/0.5676, allocations: 44.08 kB / 403.5 MB, free: 16.75 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002016/0.5678, allocations: 351.1 kB / 403.9 MB, free: 16.52 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001471/0.568, allocations: 174.8 kB / 404 MB, free: 16.4 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.233e-05/0.568, allocations: 14.97 kB / 404.1 MB, free: 16.4 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.478e-05/0.5681, allocations: 340.2 kB / 404.4 MB, free: 16.09 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004484/0.5686, allocations: 192.8 kB / 404.6 MB, free: 16.08 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000528/0.5691, allocations: 347.3 kB / 404.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004818/0.5696, allocations: 205.8 kB / 405.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.079e-06/0.5696, allocations: 3.906 kB / 405.1 MB, free: 15.89 MB / 314.7 MB Notification: Performance of matching and sorting (n=81) (initialization): time 0.00152/0.5712, allocations: 0.6464 MB / 405.8 MB, free: 15.79 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003243/0.5715, allocations: 1.581 MB / 407.3 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.14e-05/0.5715, allocations: 3.938 kB / 407.4 MB, free: 14.14 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006298/0.5722, allocations: 156.8 kB / 407.5 MB, free: 14.12 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005035/0.5727, allocations: 96.98 kB / 407.6 MB, free: 14.11 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004683/0.5774, allocations: 3.596 MB / 411.2 MB, free: 27.36 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00072/0.5782, allocations: 96.2 kB / 411.3 MB, free: 27.33 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.631e-05/0.5782, allocations: 23.47 kB / 411.3 MB, free: 27.33 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.231e-05/0.5783, allocations: 3.906 kB / 411.3 MB, free: 27.33 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001319/0.5796, allocations: 0.6024 MB / 411.9 MB, free: 27.27 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/0.5796, allocations: 7.859 kB / 411.9 MB, free: 27.27 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000518/0.5802, allocations: 165.5 kB / 412.1 MB, free: 27.24 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004366/0.5806, allocations: 85.19 kB / 412.2 MB, free: 27.23 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004576/0.5852, allocations: 3.574 MB / 415.7 MB, free: 24.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005166/0.5858, allocations: 75.27 kB / 415.8 MB, free: 24.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.504e-05/0.5858, allocations: 27.88 kB / 415.8 MB, free: 24.48 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (65): * Single equations (assignments): 63 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002635/0.5861, allocations: 154.3 kB / 416 MB, free: 24.36 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001729/0.5863, allocations: 56.53 kB / 416.1 MB, free: 24.33 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001766/0.5865, allocations: 71.11 kB / 416.1 MB, free: 24.32 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.559e-06/0.5865, allocations: 7.812 kB / 416.1 MB, free: 24.32 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.5865, allocations: 3.953 kB / 416.1 MB, free: 24.32 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.768e-06/0.5866, allocations: 2.953 kB / 416.1 MB, free: 24.32 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002667/0.5892, allocations: 1.406 MB / 417.5 MB, free: 23.85 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.642e-06/0.5893, allocations: 0 / 417.5 MB, free: 23.85 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003414/0.5896, allocations: 54.94 kB / 417.6 MB, free: 23.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005381/0.5902, allocations: 149.4 kB / 417.7 MB, free: 23.8 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.9e-05/0.5903, allocations: 11.41 kB / 417.8 MB, free: 23.8 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004429/0.5947, allocations: 3.515 MB / 421.3 MB, free: 20.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.5947, allocations: 96 / 421.3 MB, free: 20.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.5966, allocations: 0.9394 MB / 422.2 MB, free: 20.7 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003427/0.597, allocations: 187.3 kB / 422.4 MB, free: 20.56 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001113/0.5971, allocations: 15.39 kB / 422.4 MB, free: 20.55 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004619/0.5976, allocations: 38.59 kB / 422.4 MB, free: 20.55 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000218/0.5978, allocations: 77.8 kB / 422.5 MB, free: 20.51 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.63e-05/0.5979, allocations: 19.64 kB / 422.5 MB, free: 20.51 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005122/0.5984, allocations: 321.2 kB / 422.9 MB, free: 20.4 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.84e-07/0.5984, allocations: 192 / 422.9 MB, free: 20.4 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001587/0.6, allocations: 331.1 kB / 423.2 MB, free: 20.36 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.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: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (41): * Single equations (assignments): 34 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002725/0.6003, allocations: 150.1 kB / 423.3 MB, free: 20.25 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.6029, allocations: 1.365 MB / 424.7 MB, free: 19.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.668e-06/0.6029, allocations: 0 / 424.7 MB, free: 19.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009031/0.6038, allocations: 0.5409 MB / 425.2 MB, free: 19.37 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007415/0.6046, allocations: 102.1 kB / 425.3 MB, free: 19.34 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002332/0.6069, allocations: 1.001 MB / 426.3 MB, free: 18.86 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006797/0.6077, allocations: 0.9422 MB / 427.3 MB, free: 18.04 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.6079, allocations: 38.69 kB / 427.3 MB, free: 18.04 MB / 330.7 MB Notification: Performance of SimCode: time 1.866e-06/0.6079, allocations: 0 / 427.3 MB, free: 18.04 MB / 330.7 MB Notification: Performance of Templates: time 0.01794/0.6258, allocations: 13.36 MB / 440.7 MB, free: 11.33 MB / 330.7 MB