Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,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_RLV") Notification: Performance of loadModel(Modelica): time 1.866/1.866, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.791e-05/2.802e-05, allocations: 4 kB / 249.6 MB, free: 15.27 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2572/0.2573, allocations: 44.5 MB / 294.1 MB, free: 14.29 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1307/0.388, allocations: 81.92 MB / 376 MB, free: 48 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003217/0.3884, allocations: 87.95 kB / 376.1 MB, free: 15.96 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05474/0.4431, allocations: 13.51 MB / 389.6 MB, free: 2.363 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.716e-06/0.4432, allocations: 0 / 389.6 MB, free: 2.363 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.892e-05/0.4433, allocations: 19.94 kB / 389.7 MB, free: 2.344 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.002281/0.4455, allocations: 0.8933 MB / 390.6 MB, free: 1.395 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.907e-05/0.4456, allocations: 8.031 kB / 390.6 MB, free: 1.387 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003604/0.446, allocations: 94.95 kB / 390.7 MB, free: 1.293 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001215/0.4472, allocations: 0.489 MB / 391.1 MB, free: 0.7656 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.716e-05/0.4473, allocations: 28 kB / 391.2 MB, free: 0.7383 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000136/0.4475, allocations: 44 kB / 391.2 MB, free: 0.6953 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001353/0.4488, allocations: 467.8 kB / 391.7 MB, free: 244 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001637/0.4505, allocations: 0.6171 MB / 392.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.524e-05/0.4506, allocations: 3.953 kB / 392.3 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.324e-05/0.4507, allocations: 4 kB / 392.3 MB, free: 15.58 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.788e-05/0.4507, allocations: 19.94 kB / 392.3 MB, free: 15.56 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005895/0.4566, allocations: 2.553 MB / 394.9 MB, free: 12.91 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001455/0.4581, allocations: 0.5516 MB / 395.4 MB, free: 12.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009164/0.4591, allocations: 366.5 kB / 395.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.941e-05/0.4592, allocations: 8.422 kB / 395.8 MB, free: 11.98 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007904/0.46, allocations: 328.7 kB / 396.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of pre-optimization done (n=58): time 3.931e-06/0.46, allocations: 0 / 396.1 MB, free: 11.64 MB / 346.7 MB Notification: Performance of matching and sorting (n=58): time 0.001387/0.4614, allocations: 0.5078 MB / 396.6 MB, free: 11.11 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.638e-05/0.4615, allocations: 115.4 kB / 396.7 MB, free: 10.98 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007043/0.4622, allocations: 369 kB / 397.1 MB, free: 10.61 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 9.272e-05/0.4623, allocations: 33.69 kB / 397.1 MB, free: 10.57 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003515/0.4627, allocations: 366.5 kB / 397.5 MB, free: 10.21 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002166/0.4629, allocations: 165.6 kB / 397.6 MB, free: 10.05 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.946e-05/0.463, allocations: 4 kB / 397.6 MB, free: 10.04 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001933/0.4632, allocations: 342.7 kB / 398 MB, free: 9.699 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004551/0.4637, allocations: 178.7 kB / 398.2 MB, free: 9.527 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006132/0.4643, allocations: 331.9 kB / 398.5 MB, free: 9.141 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005083/0.4648, allocations: 190.1 kB / 398.7 MB, free: 8.953 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.799e-06/0.4648, allocations: 0 / 398.7 MB, free: 8.953 MB / 346.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001581/0.4664, allocations: 0.6093 MB / 399.3 MB, free: 8.332 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009077/0.4674, allocations: 1.575 MB / 400.9 MB, free: 6.633 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.767e-05/0.4674, allocations: 4 kB / 400.9 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007265/0.4681, allocations: 169.6 kB / 401 MB, free: 6.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005798/0.4687, allocations: 95.83 kB / 401.1 MB, free: 6.363 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005503/0.4743, allocations: 3.485 MB / 404.6 MB, free: 2.648 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007356/0.4751, allocations: 79.55 kB / 404.7 MB, free: 2.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.542e-05/0.4752, allocations: 20 kB / 404.7 MB, free: 2.551 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.352e-05/0.4752, allocations: 6.031 kB / 404.7 MB, free: 2.547 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001453/0.4766, allocations: 0.5417 MB / 405.2 MB, free: 2 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.2e-05/0.4767, allocations: 4 kB / 405.2 MB, free: 1.996 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005927/0.4773, allocations: 166.2 kB / 405.4 MB, free: 1.828 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004695/0.4778, allocations: 91.83 kB / 405.5 MB, free: 1.738 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00512/0.4829, allocations: 3.472 MB / 409 MB, free: 14.03 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005408/0.4835, allocations: 63.56 kB / 409 MB, free: 13.97 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.971e-05/0.4836, allocations: 24 kB / 409.1 MB, free: 13.95 MB / 362.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: 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 (66): * Single equations (assignments): 64 * 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 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002925/0.4839, allocations: 134.6 kB / 409.2 MB, free: 13.81 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001888/0.4841, allocations: 59.34 kB / 409.2 MB, free: 13.75 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001914/0.4843, allocations: 61.58 kB / 409.3 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.064e-05/0.4843, allocations: 4.125 kB / 409.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.032e-06/0.4844, allocations: 4 kB / 409.3 MB, free: 13.68 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.41e-05/0.4844, allocations: 11.94 kB / 409.3 MB, free: 13.67 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003102/0.4875, allocations: 1.277 MB / 410.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.291e-06/0.4876, allocations: 0 / 410.6 MB, free: 12.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003714/0.4879, allocations: 55.91 kB / 410.7 MB, free: 12.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006129/0.4886, allocations: 145.6 kB / 410.8 MB, free: 12.14 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-05/0.4887, allocations: 8 kB / 410.8 MB, free: 12.13 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005077/0.4938, allocations: 3.391 MB / 414.2 MB, free: 8.508 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.579e-06/0.4938, allocations: 7.969 kB / 414.2 MB, free: 8.5 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.4959, allocations: 0.879 MB / 415.1 MB, free: 7.602 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004188/0.4964, allocations: 180.4 kB / 415.3 MB, free: 7.406 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.4965, allocations: 11.98 kB / 415.3 MB, free: 7.395 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004736/0.497, allocations: 27.97 kB / 415.3 MB, free: 7.367 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002472/0.4973, allocations: 80.41 kB / 415.4 MB, free: 7.289 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.309e-05/0.4973, allocations: 23.98 kB / 415.4 MB, free: 7.266 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004804/0.4978, allocations: 271 kB / 415.7 MB, free: 7 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.62e-07/0.4979, allocations: 0 / 415.7 MB, free: 7 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001733/0.4996, allocations: 318.9 kB / 416 MB, free: 6.688 MB / 362.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_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * 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: 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 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002865/0.4999, allocations: 125.4 kB / 416.1 MB, free: 6.551 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002778/0.5027, allocations: 1.285 MB / 417.4 MB, free: 5.227 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.234e-05/0.5028, allocations: 8.062 kB / 417.4 MB, free: 5.219 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001031/0.5038, allocations: 0.5089 MB / 417.9 MB, free: 4.688 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008377/0.5047, allocations: 82.25 kB / 418 MB, free: 4.609 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002955/0.5077, allocations: 0.9512 MB / 418.9 MB, free: 3.625 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008459/0.5086, allocations: 0.9586 MB / 419.9 MB, free: 2.641 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002334/0.5089, allocations: 39.44 kB / 419.9 MB, free: 2.602 MB / 362.7 MB Notification: Performance of SimCode: time 2.034e-06/0.5089, allocations: 3.938 kB / 419.9 MB, free: 2.598 MB / 362.7 MB Notification: Performance of Templates: time 0.2296/0.7385, allocations: 13.29 MB / 433.2 MB, free: 103.7 MB / 362.7 MB