Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic,tolerance=1e-06,outputFormat="mat",numberOfIntervals=100000,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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 1.906/1.906, allocations: 194.9 MB / 210.6 MB, free: 8.156 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.07e-05, allocations: 4 kB / 258.8 MB, free: 7.852 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3528/0.3529, allocations: 44.49 MB / 303.3 MB, free: 12.98 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic): time 0.01096/0.3639, allocations: 4.141 MB / 307.5 MB, free: 9.453 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.005303/0.3692, allocations: 1.279 MB / 308.8 MB, free: 8.164 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009807/0.3703, allocations: 31.94 kB / 308.8 MB, free: 8.133 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006806/0.371, allocations: 115.1 kB / 308.9 MB, free: 8.02 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001302/0.3723, allocations: 247.1 kB / 309.1 MB, free: 7.777 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.001295/0.3737, allocations: 223.6 kB / 309.4 MB, free: 7.559 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.001877/0.3756, allocations: 488.5 kB / 309.8 MB, free: 7.078 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008256/0.3764, allocations: 269.8 kB / 310.1 MB, free: 6.812 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0006808/0.3771, allocations: 235.2 kB / 310.3 MB, free: 6.582 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000697/0.3779, allocations: 274.9 kB / 310.6 MB, free: 6.312 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001831/0.3781, allocations: 28 kB / 310.6 MB, free: 6.285 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001483/0.3782, allocations: 28 kB / 310.6 MB, free: 6.258 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002403/0.3785, allocations: 123.4 kB / 310.8 MB, free: 6.137 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002398/0.3787, allocations: 60 kB / 310.8 MB, free: 6.078 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.3803, allocations: 0.7908 MB / 311.6 MB, free: 5.285 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.809e-06/0.3803, allocations: 4 kB / 311.6 MB, free: 5.281 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.3804, allocations: 0 / 311.6 MB, free: 5.281 MB / 250.7 MB Notification: Performance of Transformations before backend: time 2.614e-05/0.3804, allocations: 0 / 311.6 MB, free: 5.281 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: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.003656/0.3841, allocations: 0.9301 MB / 312.6 MB, free: 4.301 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.769e-05/0.3842, allocations: 8.031 kB / 312.6 MB, free: 4.293 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003905/0.3846, allocations: 86.97 kB / 312.6 MB, free: 4.207 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001662/0.3863, allocations: 0.4907 MB / 313.1 MB, free: 3.676 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001115/0.3864, allocations: 53.98 kB / 313.2 MB, free: 3.621 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002522/0.3867, allocations: 72 kB / 313.3 MB, free: 3.551 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003272/0.39, allocations: 0.7459 MB / 314 MB, free: 2.777 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.894e-05/0.3901, allocations: 4 kB / 314 MB, free: 2.773 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001585/0.3903, allocations: 32 kB / 314 MB, free: 2.742 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.784e-05/0.3903, allocations: 20 kB / 314.1 MB, free: 2.723 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003152/0.3935, allocations: 0.5711 MB / 314.6 MB, free: 2.148 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008996/0.4025, allocations: 2.651 MB / 317.3 MB, free: 15.38 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003224/0.4058, allocations: 0.6443 MB / 317.9 MB, free: 14.73 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.499e-05/0.406, allocations: 8.547 kB / 317.9 MB, free: 14.72 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001671/0.4077, allocations: 393.7 kB / 318.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of pre-optimization done (n=61): time 5.26e-06/0.4077, allocations: 0 / 318.3 MB, free: 14.31 MB / 266.7 MB Notification: Performance of matching and sorting (n=61): time 0.006816/0.4145, allocations: 1.136 MB / 319.5 MB, free: 13.12 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001175/0.4147, allocations: 115.4 kB / 319.6 MB, free: 12.99 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001158/0.4159, allocations: 421 kB / 320 MB, free: 12.57 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001776/0.4161, allocations: 45.69 kB / 320 MB, free: 12.52 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000462/0.4166, allocations: 320.3 kB / 320.3 MB, free: 12.2 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003341/0.4169, allocations: 193.3 kB / 320.5 MB, free: 12.01 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.841e-05/0.417, allocations: 16 kB / 320.5 MB, free: 11.99 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002503/0.4173, allocations: 366.8 kB / 320.9 MB, free: 11.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001252/0.4186, allocations: 221.9 kB / 321.1 MB, free: 11.41 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001487/0.4201, allocations: 389 kB / 321.5 MB, free: 10.96 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001293/0.4214, allocations: 242.1 kB / 321.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.047e-06/0.4215, allocations: 0 / 321.7 MB, free: 10.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.003601/0.4251, allocations: 0.7461 MB / 322.5 MB, free: 9.969 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009185/0.426, allocations: 1.661 MB / 324.1 MB, free: 8.176 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/0.4261, allocations: 7.984 kB / 324.1 MB, free: 8.168 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00116/0.4273, allocations: 153.6 kB / 324.3 MB, free: 8.012 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001206/0.4285, allocations: 107.8 kB / 324.4 MB, free: 7.906 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007977/0.4365, allocations: 3.475 MB / 327.9 MB, free: 4.164 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001346/0.4379, allocations: 83.47 kB / 328 MB, free: 4.082 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001196/0.4381, allocations: 28 kB / 328 MB, free: 4.055 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.731e-05/0.4381, allocations: 4 kB / 328 MB, free: 4.051 MB / 266.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00328/0.4414, allocations: 0.6514 MB / 328.6 MB, free: 3.395 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.066e-05/0.4415, allocations: 8.031 kB / 328.6 MB, free: 3.387 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001037/0.4425, allocations: 146 kB / 328.8 MB, free: 3.238 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001136/0.4437, allocations: 103.8 kB / 328.9 MB, free: 3.137 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007512/0.4512, allocations: 3.487 MB / 332.4 MB, free: 15.38 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.4525, allocations: 79.56 kB / 332.5 MB, free: 15.3 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001092/0.4527, allocations: 24 kB / 332.5 MB, free: 15.28 MB / 282.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 (70): * Single equations (assignments): 68 * 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.0008584/0.4535, allocations: 245.5 kB / 332.7 MB, free: 15.04 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002426/0.4538, allocations: 67.23 kB / 332.8 MB, free: 14.97 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002903/0.4541, allocations: 65.59 kB / 332.8 MB, free: 14.91 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.4542, allocations: 8 kB / 332.9 MB, free: 14.9 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.168e-05/0.4542, allocations: 4 kB / 332.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.625e-05/0.4542, allocations: 3.984 kB / 332.9 MB, free: 14.89 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00555/0.4598, allocations: 1.449 MB / 334.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.145e-06/0.4598, allocations: 0 / 334.3 MB, free: 13.38 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009529/0.4608, allocations: 75.89 kB / 334.4 MB, free: 13.3 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009866/0.4618, allocations: 137.6 kB / 334.5 MB, free: 13.16 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.035e-05/0.4619, allocations: 11.98 kB / 334.5 MB, free: 13.15 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007449/0.4694, allocations: 3.32 MB / 337.9 MB, free: 9.559 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.666e-06/0.4695, allocations: 4.031 kB / 337.9 MB, free: 9.555 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004797/0.4743, allocations: 1.02 MB / 338.9 MB, free: 8.512 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006041/0.4749, allocations: 188.2 kB / 339.1 MB, free: 8.309 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002422/0.4752, allocations: 16 kB / 339.1 MB, free: 8.293 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000986/0.4762, allocations: 43.97 kB / 339.1 MB, free: 8.25 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004256/0.4767, allocations: 84.36 kB / 339.2 MB, free: 8.168 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.53e-05/0.4768, allocations: 19.98 kB / 339.2 MB, free: 8.148 MB / 282.7 MB Notification: Performance of sorting global known variables: time 0.0008876/0.4777, allocations: 322.9 kB / 339.5 MB, free: 7.836 MB / 282.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.4777, allocations: 3.938 kB / 339.5 MB, free: 7.832 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.002683/0.4804, allocations: 350.9 kB / 339.9 MB, free: 7.488 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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_n1.off,rectifier.thyristor_n2.off,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (47): * Single equations (assignments): 40 * 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.000357/0.4808, allocations: 129.4 kB / 340 MB, free: 7.352 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.006178/0.487, allocations: 1.481 MB / 341.5 MB, free: 5.816 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 9.968e-06/0.4871, allocations: 0 / 341.5 MB, free: 5.816 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002111/0.4892, allocations: 0.5677 MB / 342.1 MB, free: 5.227 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001337/0.4906, allocations: 102.1 kB / 342.2 MB, free: 5.129 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006017/0.4967, allocations: 1.611 MB / 343.8 MB, free: 3.484 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001032/0.4978, allocations: 0.9634 MB / 344.7 MB, free: 2.492 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 0.001274/0.4991, allocations: 112.9 kB / 344.8 MB, free: 2.383 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002416/0.4993, allocations: 39.42 kB / 344.9 MB, free: 2.344 MB / 282.7 MB Notification: Performance of SimCode: time 1.372e-06/0.4994, allocations: 0 / 344.9 MB, free: 2.344 MB / 282.7 MB Notification: Performance of Templates: time 0.04825/0.5476, allocations: 10.76 MB / 355.6 MB, free: 7.613 MB / 298.7 MB