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 2.006/2.006, allocations: 194.9 MB / 211.2 MB, free: 8.16 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.032e-05/3.034e-05, allocations: 7.906 kB / 258.8 MB, free: 8.488 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.342/0.3421, allocations: 44.49 MB / 303.3 MB, free: 12.79 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL): time 0.01135/0.3535, allocations: 4.005 MB / 307.3 MB, free: 9.621 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.004326/0.3579, allocations: 1.243 MB / 308.6 MB, free: 8.406 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008234/0.3588, allocations: 35.88 kB / 308.6 MB, free: 8.371 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0005846/0.3594, allocations: 107.2 kB / 308.7 MB, free: 8.266 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001177/0.3606, allocations: 235.2 kB / 308.9 MB, free: 8.035 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001064/0.3617, allocations: 215.7 kB / 309.1 MB, free: 7.824 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001459/0.3632, allocations: 476.5 kB / 309.6 MB, free: 7.355 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006105/0.3638, allocations: 257.6 kB / 309.8 MB, free: 7.105 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0005649/0.3644, allocations: 223.3 kB / 310.1 MB, free: 6.887 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000535/0.3649, allocations: 255 kB / 310.3 MB, free: 6.637 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001555/0.3651, allocations: 31.94 kB / 310.3 MB, free: 6.605 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.000148/0.3653, allocations: 24 kB / 310.4 MB, free: 6.582 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001839/0.3655, allocations: 119.4 kB / 310.5 MB, free: 6.465 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001834/0.3657, allocations: 60 kB / 310.5 MB, free: 6.406 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.3669, allocations: 0.7596 MB / 311.3 MB, free: 5.645 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.367, allocations: 0 / 311.3 MB, free: 5.645 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.367, allocations: 0 / 311.3 MB, free: 5.645 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.957e-05/0.367, allocations: 4 kB / 311.3 MB, free: 5.641 MB / 250.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.002543/0.3696, allocations: 0.8818 MB / 312.2 MB, free: 4.707 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.853e-05/0.3696, allocations: 8.031 kB / 312.2 MB, free: 4.699 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000296/0.3699, allocations: 86.97 kB / 312.3 MB, free: 4.613 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001238/0.3712, allocations: 494 kB / 312.8 MB, free: 4.094 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.26e-05/0.3713, allocations: 49.31 kB / 312.8 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001764/0.3715, allocations: 64 kB / 312.9 MB, free: 3.984 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002119/0.3736, allocations: 0.702 MB / 313.6 MB, free: 3.254 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.8e-05/0.3737, allocations: 3.906 kB / 313.6 MB, free: 3.25 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000117/0.3738, allocations: 32 kB / 313.6 MB, free: 3.219 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.197e-05/0.3739, allocations: 16 kB / 313.6 MB, free: 3.203 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.3757, allocations: 0.5126 MB / 314.1 MB, free: 2.688 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006409/0.3821, allocations: 2.604 MB / 316.7 MB, free: 15.96 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001637/0.3838, allocations: 0.5402 MB / 317.3 MB, free: 15.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.535e-05/0.384, allocations: 12.44 kB / 317.3 MB, free: 15.4 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001198/0.3852, allocations: 377.5 kB / 317.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of pre-optimization done (n=59): time 3.777e-06/0.3852, allocations: 4 kB / 317.7 MB, free: 15.01 MB / 266.7 MB Notification: Performance of matching and sorting (n=59): time 0.004566/0.3898, allocations: 1.065 MB / 318.7 MB, free: 13.89 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001071/0.39, allocations: 119.3 kB / 318.9 MB, free: 13.75 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00083/0.3908, allocations: 412.9 kB / 319.3 MB, free: 13.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000147/0.391, allocations: 45.7 kB / 319.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003268/0.3913, allocations: 342.9 kB / 319.6 MB, free: 12.96 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002909/0.3916, allocations: 181.5 kB / 319.8 MB, free: 12.78 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.357e-05/0.3917, allocations: 12 kB / 319.8 MB, free: 12.77 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.000162/0.3919, allocations: 342.8 kB / 320.2 MB, free: 12.42 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007539/0.3926, allocations: 201.2 kB / 320.4 MB, free: 12.23 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000848/0.3935, allocations: 369.5 kB / 320.7 MB, free: 11.8 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007207/0.3942, allocations: 218.1 kB / 320.9 MB, free: 11.59 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.708e-06/0.3943, allocations: 4 kB / 320.9 MB, free: 11.58 MB / 266.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00205/0.3963, allocations: 0.6643 MB / 321.6 MB, free: 10.91 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007998/0.3972, allocations: 1.665 MB / 323.3 MB, free: 9.109 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.76e-05/0.3972, allocations: 4 kB / 323.3 MB, free: 9.105 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008117/0.398, allocations: 153.6 kB / 323.4 MB, free: 8.949 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007291/0.3988, allocations: 99.77 kB / 323.5 MB, free: 8.852 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005488/0.4043, allocations: 3.475 MB / 327 MB, free: 5.109 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007961/0.4051, allocations: 75.38 kB / 327.1 MB, free: 5.035 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.658e-05/0.4053, allocations: 24 kB / 327.1 MB, free: 5.012 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.4053, allocations: 11.92 kB / 327.1 MB, free: 5 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001833/0.4071, allocations: 0.6042 MB / 327.7 MB, free: 4.391 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.4072, allocations: 4.531 kB / 327.7 MB, free: 4.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006463/0.4078, allocations: 149.6 kB / 327.9 MB, free: 4.234 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006584/0.4085, allocations: 91.83 kB / 327.9 MB, free: 4.145 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00519/0.4137, allocations: 3.467 MB / 331.4 MB, free: 416 kB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005832/0.4144, allocations: 63.59 kB / 331.5 MB, free: 352 kB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.503e-05/0.4144, allocations: 24 kB / 331.5 MB, free: 328 kB / 266.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: 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 (68): * Single equations (assignments): 66 * 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 6,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0005985/0.4151, allocations: 241.7 kB / 331.7 MB, free: 76 kB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000179/0.4152, allocations: 59.25 kB / 331.8 MB, free: 16 kB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002279/0.4155, allocations: 73.45 kB / 331.9 MB, free: 15.95 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.877e-06/0.4155, allocations: 7.938 kB / 331.9 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.342e-06/0.4155, allocations: 0 / 331.9 MB, free: 15.94 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.4155, allocations: 4 kB / 331.9 MB, free: 15.93 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003742/0.4193, allocations: 1.423 MB / 333.3 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.148e-05/0.4194, allocations: 0 / 333.3 MB, free: 14.44 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005706/0.4199, allocations: 63.83 kB / 333.4 MB, free: 14.38 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007035/0.4207, allocations: 137.6 kB / 333.5 MB, free: 14.23 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.388e-05/0.4208, allocations: 12 kB / 333.5 MB, free: 14.22 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005227/0.426, allocations: 3.328 MB / 336.8 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.4261, allocations: 0 / 336.8 MB, free: 10.63 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002965/0.429, allocations: 1.002 MB / 337.8 MB, free: 9.59 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004532/0.4295, allocations: 180.4 kB / 338 MB, free: 9.395 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001604/0.4297, allocations: 20 kB / 338 MB, free: 9.375 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000609/0.4303, allocations: 31.97 kB / 338.1 MB, free: 9.344 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000301/0.4307, allocations: 80.39 kB / 338.1 MB, free: 9.262 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.072e-05/0.4307, allocations: 23.92 kB / 338.2 MB, free: 9.238 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0006218/0.4314, allocations: 319.1 kB / 338.5 MB, free: 8.93 MB / 282.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.4314, allocations: 0 / 338.5 MB, free: 8.93 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.001664/0.4331, allocations: 338.9 kB / 338.8 MB, free: 8.598 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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_n2.off,rectifier.thyristor_n1.off,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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 6,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002902/0.4334, allocations: 132.5 kB / 338.9 MB, free: 8.461 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.003674/0.4371, allocations: 1.389 MB / 340.3 MB, free: 7.023 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.039e-05/0.4371, allocations: 4 kB / 340.3 MB, free: 7.02 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.4385, allocations: 0.563 MB / 340.9 MB, free: 6.426 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008832/0.4395, allocations: 101.9 kB / 341 MB, free: 6.328 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004288/0.4438, allocations: 1.591 MB / 342.6 MB, free: 4.695 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008114/0.4446, allocations: 0.9469 MB / 343.5 MB, free: 3.719 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002775/0.4449, allocations: 43.44 kB / 343.6 MB, free: 3.676 MB / 282.7 MB Notification: Performance of SimCode: time 1.323e-06/0.445, allocations: 0 / 343.6 MB, free: 3.676 MB / 282.7 MB Notification: Performance of Templates: time 0.02927/0.4742, allocations: 13.38 MB / 357 MB, free: 6.301 MB / 298.7 MB