Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2.twoPulse.timerNegative.1..entryTime|pulse2.twoPulse.timerPositive.1..entryTime|rectifier.thyristor_p1.off|rectifier.thyristor_p2.off|rootMeanSquareVoltage.mean.y",fileNamePrefix="Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse") Notification: Performance of loadModel(Modelica): time 1.993/1.993, allocations: 225.8 MB / 238.9 MB, free: 11.15 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.26e-05/3.266e-05, allocations: 7.938 kB / 292.2 MB, free: 8.32 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09001/0.09006, allocations: 50.4 MB / 342.6 MB, free: 5.887 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3724/0.4625, allocations: 89.15 MB / 431.7 MB, free: 5.141 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002693/0.4628, allocations: 90.06 kB / 431.8 MB, free: 5.09 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04856/0.5114, allocations: 11.35 MB / 443.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.206e-06/0.5114, allocations: 0 / 443.2 MB, free: 11.48 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.033e-05/0.5115, allocations: 16 kB / 443.2 MB, free: 11.47 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.001897/0.5134, allocations: 0.8828 MB / 444.1 MB, free: 10.58 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.004e-05/0.5134, allocations: 11.97 kB / 444.1 MB, free: 10.57 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002152/0.5137, allocations: 86.97 kB / 444.2 MB, free: 10.48 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001005/0.5147, allocations: 0.4886 MB / 444.6 MB, free: 10.04 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.932e-05/0.5148, allocations: 52.69 kB / 444.7 MB, free: 10.01 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001317/0.5149, allocations: 64.38 kB / 444.8 MB, free: 9.965 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001504/0.5164, allocations: 0.6882 MB / 445.4 MB, free: 9.473 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.427e-05/0.5165, allocations: 11.86 kB / 445.5 MB, free: 9.461 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.559e-05/0.5166, allocations: 24.94 kB / 445.5 MB, free: 9.457 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.473e-05/0.5166, allocations: 19.98 kB / 445.5 MB, free: 9.438 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001242/0.5179, allocations: 0.493 MB / 446 MB, free: 9.125 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005187/0.5231, allocations: 2.673 MB / 448.7 MB, free: 6.93 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001157/0.5243, allocations: 0.5171 MB / 449.2 MB, free: 6.609 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007428/0.525, allocations: 327.4 kB / 449.5 MB, free: 6.391 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.402e-05/0.5251, allocations: 8.438 kB / 449.5 MB, free: 6.383 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007585/0.5259, allocations: 342 kB / 449.8 MB, free: 6.125 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 4.04e-06/0.5259, allocations: 0 / 449.8 MB, free: 6.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001313/0.5272, allocations: 0.5303 MB / 450.4 MB, free: 5.738 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001179/0.5274, allocations: 140.8 kB / 450.5 MB, free: 5.57 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007504/0.5281, allocations: 438.8 kB / 450.9 MB, free: 5.234 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.502e-05/0.5282, allocations: 44.08 kB / 451 MB, free: 5.195 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000317/0.5285, allocations: 324.4 kB / 451.3 MB, free: 4.957 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001931/0.5288, allocations: 172.4 kB / 451.5 MB, free: 4.809 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.928e-05/0.5288, allocations: 13.69 kB / 451.5 MB, free: 4.805 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002273/0.5291, allocations: 369.6 kB / 451.8 MB, free: 4.461 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004419/0.5295, allocations: 178.3 kB / 452 MB, free: 4.355 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005948/0.5301, allocations: 342.8 kB / 452.4 MB, free: 4.047 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000484/0.5306, allocations: 206.9 kB / 452.6 MB, free: 3.914 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.872e-06/0.5306, allocations: 4 kB / 452.6 MB, free: 3.91 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001495/0.5321, allocations: 0.6397 MB / 453.2 MB, free: 3.438 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00088/0.533, allocations: 1.576 MB / 454.8 MB, free: 1.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.252e-05/0.5331, allocations: 4 kB / 454.8 MB, free: 1.766 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006533/0.5337, allocations: 157.5 kB / 454.9 MB, free: 1.652 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004656/0.5342, allocations: 91.64 kB / 455 MB, free: 1.566 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003815/0.5381, allocations: 2.314 MB / 457.3 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000715/0.5388, allocations: 95.53 kB / 457.4 MB, free: 15.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.944e-05/0.5389, allocations: 24 kB / 457.5 MB, free: 15.21 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.5389, allocations: 7.938 kB / 457.5 MB, free: 15.2 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001391/0.5403, allocations: 0.5609 MB / 458 MB, free: 14.63 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.43e-05/0.5404, allocations: 16.02 kB / 458 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000563/0.5409, allocations: 144.7 kB / 458.2 MB, free: 14.47 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004201/0.5414, allocations: 79.84 kB / 458.3 MB, free: 14.39 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003776/0.5452, allocations: 2.318 MB / 460.6 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006397/0.5458, allocations: 67.61 kB / 460.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.005e-05/0.5459, allocations: 31.98 kB / 460.7 MB, free: 11.85 MB / 378.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: 27 ($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_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,rectifier.diode_n1.off,rectifier.diode_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 (61): * Single equations (assignments): 60 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.000264/0.5462, allocations: 159.9 kB / 460.8 MB, free: 11.69 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001431/0.5464, allocations: 59.25 kB / 460.9 MB, free: 11.63 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001908/0.5466, allocations: 69.58 kB / 461 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.432e-06/0.5466, allocations: 4 kB / 461 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.305e-06/0.5466, allocations: 4 kB / 461 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.5466, allocations: 3.984 kB / 461 MB, free: 11.54 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002939/0.5496, allocations: 1.379 MB / 462.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.394e-06/0.5496, allocations: 0 / 462.3 MB, free: 10.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003181/0.5499, allocations: 47.91 kB / 462.4 MB, free: 10.06 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005616/0.5505, allocations: 148.7 kB / 462.5 MB, free: 9.91 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.376e-05/0.5506, allocations: 16.05 kB / 462.5 MB, free: 9.895 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003831/0.5544, allocations: 2.3 MB / 464.8 MB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.5545, allocations: 0 / 464.8 MB, free: 7.465 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002109/0.5566, allocations: 0.9262 MB / 465.8 MB, free: 6.508 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003791/0.557, allocations: 188.2 kB / 466 MB, free: 6.305 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001186/0.5571, allocations: 15.95 kB / 466 MB, free: 6.289 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005043/0.5577, allocations: 55.89 kB / 466 MB, free: 6.234 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001933/0.5579, allocations: 56.48 kB / 466.1 MB, free: 6.18 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.766e-05/0.5579, allocations: 19.98 kB / 466.1 MB, free: 6.16 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006007/0.5586, allocations: 329.6 kB / 466.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.29e-07/0.5586, allocations: 0 / 466.4 MB, free: 5.844 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001476/0.5601, allocations: 347.1 kB / 466.8 MB, free: 5.504 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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.diode_n1.off,rectifier.diode_n2.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_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002663/0.5603, allocations: 133.4 kB / 466.9 MB, free: 5.367 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002522/0.5629, allocations: 1.143 MB / 468 MB, free: 4.203 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.756e-06/0.5629, allocations: 0 / 468 MB, free: 4.203 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009219/0.5638, allocations: 443.9 kB / 468.5 MB, free: 3.758 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008129/0.5647, allocations: 110 kB / 468.6 MB, free: 3.648 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002513/0.5672, allocations: 0.9205 MB / 469.5 MB, free: 2.699 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007966/0.568, allocations: 0.9517 MB / 470.5 MB, free: 1.723 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.000679/0.5687, allocations: 120.8 kB / 470.6 MB, free: 1.602 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001211/0.5689, allocations: 31.44 kB / 470.6 MB, free: 1.57 MB / 378.7 MB Notification: Performance of SimCode: time 1.865e-06/0.5689, allocations: 7.938 kB / 470.6 MB, free: 1.562 MB / 378.7 MB Notification: Performance of Templates: time 0.0292/0.5981, allocations: 10.73 MB / 481.3 MB, free: 6.922 MB / 394.7 MB