Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_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_n.off|rectifier.thyristor_p.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadModel(Modelica): time 1.931/1.931, allocations: 225.8 MB / 239.4 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.776e-05/2.786e-05, allocations: 4 kB / 292.7 MB, free: 8.348 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08998/0.09003, allocations: 50.42 MB / 343.1 MB, free: 5.914 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4461/0.5362, allocations: 88.92 MB / 432 MB, free: 5.383 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002761/0.5365, allocations: 82.14 kB / 432.1 MB, free: 5.336 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05362/0.5902, allocations: 13.71 MB / 445.8 MB, free: 9.73 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.486e-06/0.5902, allocations: 3.938 kB / 445.8 MB, free: 9.727 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.472e-05/0.5903, allocations: 19.98 kB / 445.8 MB, free: 9.707 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 152 * Number of variables: 152 Notification: Performance of Generate backend data structure: time 0.001874/0.5922, allocations: 0.8563 MB / 446.7 MB, free: 8.836 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.161e-05/0.5922, allocations: 8.031 kB / 446.7 MB, free: 8.828 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001958/0.5924, allocations: 79.06 kB / 446.8 MB, free: 8.75 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.5935, allocations: 499 kB / 447.3 MB, free: 8.305 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.431e-05/0.5935, allocations: 45.06 kB / 447.3 MB, free: 8.281 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/0.5937, allocations: 62.81 kB / 447.4 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.5951, allocations: 0.6348 MB / 448 MB, free: 7.785 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.719e-05/0.5952, allocations: 0 / 448 MB, free: 7.785 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.704e-05/0.5953, allocations: 36.92 kB / 448 MB, free: 7.77 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.164e-05/0.5953, allocations: 12 kB / 448 MB, free: 7.758 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001088/0.5964, allocations: 449.2 kB / 448.5 MB, free: 7.477 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004795/0.6012, allocations: 2.382 MB / 450.9 MB, free: 5.496 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008946/0.6022, allocations: 409.8 kB / 451.3 MB, free: 5.242 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006175/0.6028, allocations: 254.8 kB / 451.5 MB, free: 5.066 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.131e-05/0.6029, allocations: 8.547 kB / 451.5 MB, free: 5.059 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006633/0.6035, allocations: 312.8 kB / 451.8 MB, free: 4.809 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 4.113e-06/0.6036, allocations: 4 kB / 451.8 MB, free: 4.805 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001112/0.6047, allocations: 445.5 kB / 452.3 MB, free: 4.469 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001258/0.6048, allocations: 166.2 kB / 452.4 MB, free: 4.273 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007136/0.6056, allocations: 414.1 kB / 452.8 MB, free: 3.957 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.581e-05/0.6056, allocations: 43.95 kB / 452.9 MB, free: 3.918 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.6059, allocations: 314 kB / 453.2 MB, free: 3.691 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000168/0.6061, allocations: 145.6 kB / 453.3 MB, free: 3.57 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.43e-05/0.6062, allocations: 8.688 kB / 453.3 MB, free: 3.57 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.000224/0.6064, allocations: 374.9 kB / 453.7 MB, free: 3.219 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003761/0.6068, allocations: 158.5 kB / 453.9 MB, free: 3.121 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005356/0.6074, allocations: 324 kB / 454.2 MB, free: 2.816 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004261/0.6078, allocations: 183.8 kB / 454.3 MB, free: 2.695 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.433e-06/0.6078, allocations: 0 / 454.3 MB, free: 2.695 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001273/0.6091, allocations: 0.556 MB / 454.9 MB, free: 2.273 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008995/0.61, allocations: 1.66 MB / 456.6 MB, free: 0.5078 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.412e-05/0.6101, allocations: 4 kB / 456.6 MB, free: 0.5039 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003996/0.6105, allocations: 86.69 kB / 456.7 MB, free: 448 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00053/0.611, allocations: 91.2 kB / 456.7 MB, free: 360 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002413/0.6134, allocations: 1.744 MB / 458.5 MB, free: 14.68 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000675/0.6141, allocations: 81.22 kB / 458.6 MB, free: 14.61 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.557e-05/0.6142, allocations: 29.42 kB / 458.6 MB, free: 14.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.161e-05/0.6143, allocations: 4 kB / 458.6 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001154/0.6154, allocations: 493.9 kB / 459.1 MB, free: 14.12 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.073e-05/0.6154, allocations: 4 kB / 459.1 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003223/0.6158, allocations: 76.83 kB / 459.2 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00048/0.6163, allocations: 96.36 kB / 459.3 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002369/0.6187, allocations: 1.733 MB / 461 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005965/0.6193, allocations: 79.58 kB / 461.1 MB, free: 11.99 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.725e-05/0.6194, allocations: 20 kB / 461.1 MB, free: 11.97 MB / 378.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (63): * Single equations (assignments): 62 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002437/0.6196, allocations: 152 kB / 461.2 MB, free: 11.82 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001329/0.6198, allocations: 59.34 kB / 461.3 MB, free: 11.76 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001764/0.62, allocations: 65.17 kB / 461.4 MB, free: 11.7 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.443e-06/0.62, allocations: 8 kB / 461.4 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.836e-06/0.62, allocations: 0 / 461.4 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.004e-05/0.62, allocations: 3.984 kB / 461.4 MB, free: 11.68 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002726/0.6228, allocations: 1.315 MB / 462.7 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.646e-06/0.6228, allocations: 0 / 462.7 MB, free: 10.3 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003734/0.6232, allocations: 51.91 kB / 462.7 MB, free: 10.25 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003052/0.6235, allocations: 72.81 kB / 462.8 MB, free: 10.18 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.453e-05/0.6236, allocations: 12.03 kB / 462.8 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002258/0.6258, allocations: 1.654 MB / 464.5 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.807e-06/0.6259, allocations: 0 / 464.5 MB, free: 8.379 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/0.6276, allocations: 0.7909 MB / 465.3 MB, free: 7.559 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003212/0.6279, allocations: 172.4 kB / 465.4 MB, free: 7.371 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001061/0.628, allocations: 16 kB / 465.4 MB, free: 7.355 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004716/0.6285, allocations: 43.97 kB / 465.5 MB, free: 7.312 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001632/0.6287, allocations: 52.36 kB / 465.5 MB, free: 7.262 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.276e-05/0.6288, allocations: 15.98 kB / 465.6 MB, free: 7.246 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005678/0.6294, allocations: 321.1 kB / 465.9 MB, free: 6.934 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-07/0.6294, allocations: 4 kB / 465.9 MB, free: 6.93 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001295/0.6307, allocations: 299.1 kB / 466.2 MB, free: 6.637 MB / 378.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: 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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (41): * Single equations (assignments): 35 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002572/0.631, allocations: 141.3 kB / 466.3 MB, free: 6.492 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001982/0.633, allocations: 0.9208 MB / 467.2 MB, free: 5.551 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.454e-06/0.633, allocations: 0 / 467.2 MB, free: 5.551 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006622/0.6336, allocations: 345 kB / 467.6 MB, free: 5.207 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006503/0.6343, allocations: 90.33 kB / 467.6 MB, free: 5.121 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002304/0.6366, allocations: 0.8731 MB / 468.5 MB, free: 4.219 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007758/0.6374, allocations: 0.9348 MB / 469.5 MB, free: 3.254 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006727/0.6381, allocations: 128.5 kB / 469.6 MB, free: 3.125 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.6383, allocations: 35.38 kB / 469.6 MB, free: 3.09 MB / 378.7 MB Notification: Performance of SimCode: time 1.595e-06/0.6383, allocations: 0 / 469.6 MB, free: 3.09 MB / 378.7 MB Notification: Performance of Templates: time 0.02266/0.661, allocations: 8.052 MB / 477.7 MB, free: 11.09 MB / 394.7 MB