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_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL") Notification: Performance of loadModel(Modelica): time 1.901/1.901, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 1.981e-05/1.988e-05, allocations: 4 kB / 249.6 MB, free: 15.27 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2543/0.2544, allocations: 44.5 MB / 294.1 MB, free: 14.32 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.124/0.3784, allocations: 81.19 MB / 375.3 MB, free: 0.7812 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002824/0.3788, allocations: 91.75 kB / 375.4 MB, free: 0.6953 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04793/0.4267, allocations: 12.24 MB / 387.7 MB, free: 4.395 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.1e-06/0.4268, allocations: 0 / 387.7 MB, free: 4.395 MB / 330.7 MB Notification: Performance of Transformations before backend: time 4.906e-05/0.4268, allocations: 12 kB / 387.7 MB, free: 4.383 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 144 * Number of variables: 144 Notification: Performance of Generate backend data structure: time 0.001805/0.4286, allocations: 0.83 MB / 388.5 MB, free: 3.5 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.4287, allocations: 8.031 kB / 388.5 MB, free: 3.492 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002205/0.4289, allocations: 87.05 kB / 388.6 MB, free: 3.406 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001039/0.43, allocations: 476.2 kB / 389.1 MB, free: 2.902 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.091e-05/0.4301, allocations: 20 kB / 389.1 MB, free: 2.883 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001087/0.4302, allocations: 35.98 kB / 389.1 MB, free: 2.848 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001075/0.4313, allocations: 390.5 kB / 389.5 MB, free: 2.465 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00127/0.4325, allocations: 0.526 MB / 390 MB, free: 1.914 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.007e-05/0.4326, allocations: 4 kB / 390 MB, free: 1.91 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.794e-05/0.4327, allocations: 3.938 kB / 390 MB, free: 1.906 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.4327, allocations: 16 kB / 390 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004824/0.4375, allocations: 2.161 MB / 392.2 MB, free: 15.63 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001182/0.4388, allocations: 438.8 kB / 392.6 MB, free: 15.19 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006099/0.4394, allocations: 229.6 kB / 392.9 MB, free: 14.96 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-05/0.4395, allocations: 8 kB / 392.9 MB, free: 14.95 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006601/0.4402, allocations: 289 kB / 393.1 MB, free: 14.65 MB / 346.7 MB Notification: Performance of pre-optimization done (n=46): time 6.708e-06/0.4402, allocations: 3.984 kB / 393.1 MB, free: 14.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=46): time 0.001129/0.4413, allocations: 390 kB / 393.5 MB, free: 14.25 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001123/0.4415, allocations: 136.5 kB / 393.7 MB, free: 14.09 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006847/0.4422, allocations: 353.2 kB / 394 MB, free: 13.74 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.183e-05/0.4423, allocations: 29.7 kB / 394 MB, free: 13.7 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003194/0.4426, allocations: 350.7 kB / 394.4 MB, free: 13.36 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001701/0.4428, allocations: 138 kB / 394.5 MB, free: 13.22 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.918e-05/0.4428, allocations: 4.031 kB / 394.5 MB, free: 13.22 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002015/0.443, allocations: 338.8 kB / 394.8 MB, free: 12.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003546/0.4434, allocations: 137.1 kB / 395 MB, free: 12.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004925/0.4439, allocations: 288.2 kB / 395.3 MB, free: 12.4 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003987/0.4443, allocations: 163.8 kB / 395.4 MB, free: 12.24 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.763e-06/0.4444, allocations: 4 kB / 395.4 MB, free: 12.23 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.001144/0.4455, allocations: 469.3 kB / 395.9 MB, free: 11.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009382/0.4465, allocations: 1.656 MB / 397.5 MB, free: 9.98 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.42e-05/0.4465, allocations: 8 kB / 397.6 MB, free: 9.973 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004181/0.4469, allocations: 80.72 kB / 397.6 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004989/0.4474, allocations: 107.8 kB / 397.7 MB, free: 9.785 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002395/0.4499, allocations: 1.686 MB / 399.4 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006761/0.4506, allocations: 71.7 kB / 399.5 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.706e-05/0.4507, allocations: 20 kB / 399.5 MB, free: 7.895 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.4507, allocations: 6.031 kB / 399.5 MB, free: 7.891 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001048/0.4517, allocations: 423.9 kB / 399.9 MB, free: 7.473 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.099e-05/0.4518, allocations: 4 kB / 399.9 MB, free: 7.469 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003122/0.4521, allocations: 80.89 kB / 400 MB, free: 7.387 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003974/0.4525, allocations: 87.83 kB / 400.1 MB, free: 7.301 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00229/0.4548, allocations: 1.678 MB / 401.8 MB, free: 5.508 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004914/0.4553, allocations: 63.75 kB / 401.8 MB, free: 5.445 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.707e-05/0.4554, allocations: 24 kB / 401.9 MB, free: 5.422 MB / 346.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,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_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 (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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002459/0.4557, allocations: 132 kB / 402 MB, free: 5.285 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001617/0.4558, allocations: 47.44 kB / 402 MB, free: 5.238 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001626/0.456, allocations: 56.92 kB / 402.1 MB, free: 5.18 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.526e-06/0.456, allocations: 4 kB / 402.1 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.021e-06/0.4561, allocations: 3.984 kB / 402.1 MB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.436e-06/0.4561, allocations: 0 / 402.1 MB, free: 5.172 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002386/0.4585, allocations: 1.12 MB / 403.2 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.347e-06/0.4585, allocations: 0 / 403.2 MB, free: 4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003344/0.4589, allocations: 47.91 kB / 403.3 MB, free: 3.953 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003298/0.4592, allocations: 72.8 kB / 403.3 MB, free: 3.879 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.153e-05/0.4593, allocations: 8 kB / 403.3 MB, free: 3.871 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002202/0.4615, allocations: 1.592 MB / 404.9 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.945e-06/0.4615, allocations: 0 / 404.9 MB, free: 2.164 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001616/0.4631, allocations: 0.7026 MB / 405.6 MB, free: 1.43 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003316/0.4635, allocations: 164.5 kB / 405.8 MB, free: 1.25 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.653e-05/0.4636, allocations: 7.953 kB / 405.8 MB, free: 1.242 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004483/0.4641, allocations: 39.97 kB / 405.8 MB, free: 1.203 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001716/0.4643, allocations: 51.92 kB / 405.9 MB, free: 1.152 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.523e-05/0.4643, allocations: 15.98 kB / 405.9 MB, free: 1.137 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0004508/0.4648, allocations: 263 kB / 406.2 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of sort global known variables: time 8.37e-07/0.4648, allocations: 0 / 406.2 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001289/0.4661, allocations: 247.1 kB / 406.4 MB, free: 0.6406 MB / 346.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,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: 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 (39): * Single equations (assignments): 33 * 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.0002642/0.4664, allocations: 141.2 kB / 406.6 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00184/0.4682, allocations: 0.8522 MB / 407.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.512e-06/0.4683, allocations: 4.125 kB / 407.4 MB, free: 15.62 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006225/0.4689, allocations: 321.5 kB / 407.7 MB, free: 15.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000601/0.4695, allocations: 53.84 kB / 407.8 MB, free: 15.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002275/0.4718, allocations: 0.8322 MB / 408.6 MB, free: 14.37 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007386/0.4726, allocations: 0.9101 MB / 409.5 MB, free: 13.43 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001948/0.4728, allocations: 43.44 kB / 409.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of SimCode: time 1.749e-06/0.4728, allocations: 0 / 409.6 MB, free: 13.39 MB / 362.7 MB Notification: Performance of Templates: time 0.01755/0.4904, allocations: 9.242 MB / 418.8 MB, free: 4.156 MB / 362.7 MB