Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,tolerance=1e-06,outputFormat="empty",numberOfIntervals=1000,variableFilter="",fileNamePrefix="Modelica_trunk_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.001e-05/3.011e-05, allocations: 4 kB / 292.1 MB, free: 8.82 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09563/0.09568, allocations: 50.41 MB / 342.6 MB, free: 6.387 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3731/0.4689, allocations: 88.98 MB / 431.5 MB, free: 5.242 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000265/0.4692, allocations: 85.81 kB / 431.6 MB, free: 5.195 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05274/0.5219, allocations: 13.71 MB / 445.3 MB, free: 9.574 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.522, allocations: 0 / 445.3 MB, free: 9.574 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.253e-05/0.522, allocations: 16 kB / 445.4 MB, free: 9.559 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.001862/0.5239, allocations: 0.8447 MB / 446.2 MB, free: 8.699 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.264e-05/0.524, allocations: 12.03 kB / 446.2 MB, free: 8.688 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001948/0.5242, allocations: 87.05 kB / 446.3 MB, free: 8.602 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009732/0.5252, allocations: 490.9 kB / 446.8 MB, free: 8.164 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.471e-05/0.5253, allocations: 47.25 kB / 446.8 MB, free: 8.137 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001296/0.5254, allocations: 64.92 kB / 446.9 MB, free: 8.094 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001385/0.5268, allocations: 0.6348 MB / 447.5 MB, free: 7.641 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.524e-05/0.5268, allocations: 4 kB / 447.5 MB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.292e-05/0.5269, allocations: 29.19 kB / 447.6 MB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.924e-05/0.527, allocations: 12 kB / 447.6 MB, free: 7.617 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001106/0.5281, allocations: 449.3 kB / 448 MB, free: 7.336 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004695/0.5328, allocations: 2.38 MB / 450.4 MB, free: 5.355 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008894/0.5337, allocations: 416.5 kB / 450.8 MB, free: 5.094 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006191/0.5344, allocations: 252 kB / 451 MB, free: 4.922 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.144e-05/0.5344, allocations: 4 kB / 451 MB, free: 4.918 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006462/0.5351, allocations: 309.3 kB / 451.3 MB, free: 4.672 MB / 362.7 MB Notification: Performance of pre-optimization done (n=48): time 4.263e-06/0.5351, allocations: 0 / 451.3 MB, free: 4.672 MB / 362.7 MB Notification: Performance of matching and sorting (n=48): time 0.001118/0.5362, allocations: 449.2 kB / 451.8 MB, free: 4.336 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001273/0.5364, allocations: 166.6 kB / 451.9 MB, free: 4.137 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007099/0.5371, allocations: 420.8 kB / 452.4 MB, free: 3.816 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.988e-05/0.5372, allocations: 40.58 kB / 452.4 MB, free: 3.777 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002895/0.5375, allocations: 351.4 kB / 452.7 MB, free: 3.508 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001703/0.5377, allocations: 147.4 kB / 452.9 MB, free: 3.383 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.822e-05/0.5377, allocations: 11 kB / 452.9 MB, free: 3.379 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001815/0.5379, allocations: 336.8 kB / 453.2 MB, free: 3.051 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003842/0.5383, allocations: 160.3 kB / 453.4 MB, free: 2.953 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005393/0.5389, allocations: 323.7 kB / 453.7 MB, free: 2.648 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004353/0.5393, allocations: 182.2 kB / 453.9 MB, free: 2.527 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-05/0.5393, allocations: 4 kB / 453.9 MB, free: 2.523 MB / 362.7 MB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001227/0.5406, allocations: 0.5266 MB / 454.4 MB, free: 2.133 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009157/0.5415, allocations: 1.663 MB / 456.1 MB, free: 372 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.5415, allocations: 4 kB / 456.1 MB, free: 368 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000397/0.542, allocations: 81.91 kB / 456.2 MB, free: 308 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004995/0.5425, allocations: 99.64 kB / 456.3 MB, free: 212 kB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002434/0.5449, allocations: 1.735 MB / 458 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006667/0.5456, allocations: 91.17 kB / 458.1 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.023e-05/0.5457, allocations: 19.38 kB / 458.1 MB, free: 14.45 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.5457, allocations: 4 kB / 458.1 MB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001136/0.5469, allocations: 492.6 kB / 458.6 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.342e-05/0.5469, allocations: 4 kB / 458.6 MB, free: 14.11 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003119/0.5472, allocations: 86.2 kB / 458.7 MB, free: 14.04 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004413/0.5477, allocations: 87.7 kB / 458.8 MB, free: 13.96 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002265/0.55, allocations: 1.73 MB / 460.5 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004452/0.5504, allocations: 73.88 kB / 460.6 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-05/0.5505, allocations: 19.31 kB / 460.6 MB, free: 12.22 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.0002411/0.5508, allocations: 157.5 kB / 460.7 MB, free: 12.07 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001677/0.5509, allocations: 51.44 kB / 460.8 MB, free: 12.02 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000172/0.5511, allocations: 65.19 kB / 460.8 MB, free: 11.96 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.35e-05/0.5512, allocations: 8 kB / 460.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.907e-06/0.5512, allocations: 0 / 460.8 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.138e-05/0.5512, allocations: 3.984 kB / 460.9 MB, free: 11.95 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002715/0.5539, allocations: 1.315 MB / 462.2 MB, free: 10.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.838e-06/0.5539, allocations: 3.984 kB / 462.2 MB, free: 10.56 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003467/0.5543, allocations: 47.91 kB / 462.2 MB, free: 10.52 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003076/0.5546, allocations: 76.81 kB / 462.3 MB, free: 10.44 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.566e-05/0.5547, allocations: 8 kB / 462.3 MB, free: 10.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002271/0.557, allocations: 1.641 MB / 463.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.568e-06/0.557, allocations: 0 / 463.9 MB, free: 8.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001768/0.5588, allocations: 0.8007 MB / 464.7 MB, free: 7.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003197/0.5591, allocations: 176.3 kB / 464.9 MB, free: 7.637 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.5593, allocations: 12 kB / 464.9 MB, free: 7.625 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004746/0.5597, allocations: 47.95 kB / 465 MB, free: 7.578 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000178/0.5599, allocations: 56.36 kB / 465 MB, free: 7.523 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.993e-05/0.56, allocations: 15.94 kB / 465 MB, free: 7.508 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005705/0.5606, allocations: 313.2 kB / 465.4 MB, free: 7.203 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.52e-07/0.5606, allocations: 0 / 465.4 MB, free: 7.203 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001279/0.5619, allocations: 295.1 kB / 465.6 MB, free: 6.914 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.0002611/0.5622, allocations: 145.3 kB / 465.8 MB, free: 6.766 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00192/0.5641, allocations: 0.9157 MB / 466.7 MB, free: 5.832 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.446e-06/0.5641, allocations: 4.188 kB / 466.7 MB, free: 5.828 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006563/0.5648, allocations: 343.3 kB / 467 MB, free: 5.484 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006063/0.5654, allocations: 78.05 kB / 467.1 MB, free: 5.41 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.5677, allocations: 0.8985 MB / 468 MB, free: 4.477 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007449/0.5685, allocations: 0.9262 MB / 468.9 MB, free: 3.52 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001894/0.5687, allocations: 51.36 kB / 469 MB, free: 3.469 MB / 378.7 MB Notification: Performance of SimCode: time 1.624e-06/0.5687, allocations: 0 / 469 MB, free: 3.469 MB / 378.7 MB Notification: Performance of Templates: time 0.01783/0.5865, allocations: 9.965 MB / 479 MB, free: 9.523 MB / 394.7 MB