Running command: translateModel(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|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_R") Notification: Performance of loadModel(Modelica): time 1.799/1.799, allocations: 194.9 MB / 208 MB, free: 3.191 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.709e-05/2.723e-05, allocations: 0 / 255.4 MB, free: 2.703 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08359/0.08364, allocations: 44.51 MB / 299.9 MB, free: 6.141 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3884/0.4721, allocations: 82.03 MB / 381.9 MB, free: 21.54 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002752/0.4725, allocations: 86.47 kB / 382 MB, free: 21.54 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04896/0.5214, allocations: 13.04 MB / 395.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.471e-06/0.5215, allocations: 0 / 395.1 MB, free: 19.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.384e-05/0.5216, allocations: 15.62 kB / 395.1 MB, free: 19.56 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 155 * Number of variables: 155 Notification: Performance of Generate backend data structure: time 0.001536/0.5231, allocations: 0.8583 MB / 395.9 MB, free: 19 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.866e-05/0.5232, allocations: 7.812 kB / 395.9 MB, free: 19 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001631/0.5233, allocations: 86.17 kB / 396 MB, free: 18.96 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008063/0.5242, allocations: 494 kB / 396.5 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.491e-05/0.5242, allocations: 51.69 kB / 396.6 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001282/0.5244, allocations: 73.14 kB / 396.6 MB, free: 18.68 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001351/0.5257, allocations: 0.6543 MB / 397.3 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.932e-05/0.5258, allocations: 0 / 397.3 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.171e-05/0.5259, allocations: 26.72 kB / 397.3 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.406e-05/0.5259, allocations: 11.81 kB / 397.3 MB, free: 18.56 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001071/0.527, allocations: 477.6 kB / 397.8 MB, free: 18.55 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004488/0.5315, allocations: 2.598 MB / 400.4 MB, free: 17.46 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001223/0.5328, allocations: 0.5613 MB / 401 MB, free: 17.41 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006594/0.5334, allocations: 311 kB / 401.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.322e-05/0.5335, allocations: 4.344 kB / 401.3 MB, free: 17.39 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000621/0.5341, allocations: 340.4 kB / 401.6 MB, free: 17.32 MB / 314.7 MB Notification: Performance of pre-optimization done (n=55): time 4.045e-06/0.5342, allocations: 3.938 kB / 401.6 MB, free: 17.31 MB / 314.7 MB Notification: Performance of matching and sorting (n=55): time 0.001142/0.5353, allocations: 0.5069 MB / 402.1 MB, free: 17.22 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.689e-05/0.5354, allocations: 118.5 kB / 402.2 MB, free: 17.1 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001008/0.5364, allocations: 413.6 kB / 402.6 MB, free: 16.99 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001118/0.5366, allocations: 43.89 kB / 402.7 MB, free: 16.96 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003246/0.5369, allocations: 311 kB / 403 MB, free: 16.79 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001962/0.5371, allocations: 165.9 kB / 403.1 MB, free: 16.69 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.232e-05/0.5372, allocations: 11.22 kB / 403.1 MB, free: 16.69 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.5373, allocations: 367.3 kB / 403.5 MB, free: 16.38 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004145/0.5378, allocations: 186.2 kB / 403.7 MB, free: 16.37 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005036/0.5383, allocations: 330.3 kB / 404 MB, free: 16.2 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00044/0.5387, allocations: 193.7 kB / 404.2 MB, free: 16.18 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.628e-06/0.5387, allocations: 3.812 kB / 404.2 MB, free: 16.18 MB / 314.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001376/0.5401, allocations: 0.6395 MB / 404.8 MB, free: 16.07 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003198/0.5405, allocations: 1.569 MB / 406.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.189e-05/0.5405, allocations: 3.812 kB / 406.4 MB, free: 14.42 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006082/0.5411, allocations: 151.4 kB / 406.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004405/0.5416, allocations: 84.39 kB / 406.6 MB, free: 14.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003118/0.5447, allocations: 2.353 MB / 409 MB, free: 12.99 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006621/0.5454, allocations: 85.33 kB / 409.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.86e-05/0.5455, allocations: 26.78 kB / 409.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.095e-05/0.5455, allocations: 3.906 kB / 409.1 MB, free: 12.96 MB / 314.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001216/0.5467, allocations: 0.5601 MB / 409.7 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.056e-06/0.5468, allocations: 3.906 kB / 409.7 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005263/0.5473, allocations: 149.4 kB / 409.8 MB, free: 12.91 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003836/0.5477, allocations: 80.3 kB / 409.9 MB, free: 12.9 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00361/0.5513, allocations: 2.343 MB / 412.2 MB, free: 27.49 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006026/0.552, allocations: 70.12 kB / 412.3 MB, free: 27.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.003e-05/0.552, allocations: 22.41 kB / 412.3 MB, free: 27.47 MB / 330.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 (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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002652/0.5523, allocations: 162.9 kB / 412.5 MB, free: 27.35 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/0.5525, allocations: 63.58 kB / 412.6 MB, free: 27.31 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001638/0.5526, allocations: 63.03 kB / 412.6 MB, free: 27.3 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.987e-06/0.5527, allocations: 7.812 kB / 412.6 MB, free: 27.3 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5527, allocations: 4 kB / 412.6 MB, free: 27.3 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.667e-06/0.5527, allocations: 6.938 kB / 412.6 MB, free: 27.3 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002569/0.5553, allocations: 1.335 MB / 414 MB, free: 26.93 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.897e-06/0.5553, allocations: 0 / 414 MB, free: 26.93 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000275/0.5556, allocations: 53.62 kB / 414 MB, free: 26.91 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005243/0.5562, allocations: 147.3 kB / 414.2 MB, free: 26.88 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.191e-05/0.5562, allocations: 11.52 kB / 414.2 MB, free: 26.88 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003748/0.56, allocations: 2.249 MB / 416.4 MB, free: 25.42 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.15e-06/0.56, allocations: 0 / 416.4 MB, free: 25.42 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003163/0.5632, allocations: 0.882 MB / 417.3 MB, free: 25.15 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005881/0.5639, allocations: 188.6 kB / 417.5 MB, free: 25 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000181/0.5641, allocations: 18.14 kB / 417.5 MB, free: 25 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007781/0.5649, allocations: 42.67 kB / 417.5 MB, free: 24.99 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003051/0.5652, allocations: 70.3 kB / 417.6 MB, free: 24.96 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.58e-05/0.5653, allocations: 19.64 kB / 417.6 MB, free: 24.96 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007564/0.5661, allocations: 323.2 kB / 418 MB, free: 24.84 MB / 330.7 MB Notification: Performance of sort global known variables: time 1.335e-06/0.5661, allocations: 3.906 kB / 418 MB, free: 24.84 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002411/0.5685, allocations: 321.6 kB / 418.3 MB, free: 24.8 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (38): * Single equations (assignments): 32 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003447/0.5689, allocations: 139.2 kB / 418.4 MB, free: 24.7 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003554/0.5725, allocations: 1.119 MB / 419.5 MB, free: 24.34 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.734e-06/0.5725, allocations: 7.969 kB / 419.5 MB, free: 24.34 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.5739, allocations: 431.3 kB / 420 MB, free: 24.18 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007285/0.5746, allocations: 97.66 kB / 420 MB, free: 24.15 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002121/0.5768, allocations: 0.8828 MB / 420.9 MB, free: 23.77 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006525/0.5774, allocations: 0.9395 MB / 421.9 MB, free: 22.96 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005802/0.578, allocations: 107 kB / 422 MB, free: 22.91 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.5782, allocations: 34.5 kB / 422 MB, free: 22.9 MB / 330.7 MB Notification: Performance of SimCode: time 1.815e-06/0.5782, allocations: 0 / 422 MB, free: 22.9 MB / 330.7 MB Notification: Performance of Templates: time 0.0235/0.6017, allocations: 10.54 MB / 432.5 MB, free: 17.74 MB / 330.7 MB