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.898/1.898, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.32e-05/3.354e-05, allocations: 4 kB / 255.4 MB, free: 3.18 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08091/0.08097, allocations: 44.51 MB / 299.9 MB, free: 6.609 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.341/0.422, allocations: 82.57 MB / 382.4 MB, free: 21.34 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002688/0.4223, allocations: 82.28 kB / 382.5 MB, free: 21.34 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05108/0.4734, allocations: 13.65 MB / 396.2 MB, free: 19.26 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.339e-06/0.4735, allocations: 0 / 396.2 MB, free: 19.26 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.42e-05/0.4736, allocations: 19.61 kB / 396.2 MB, free: 19.26 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: 167 * Number of variables: 167 Notification: Performance of Generate backend data structure: time 0.00192/0.4755, allocations: 0.8977 MB / 397.1 MB, free: 18.69 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.305e-05/0.4755, allocations: 11.72 kB / 397.1 MB, free: 18.69 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002703/0.4758, allocations: 85.88 kB / 397.2 MB, free: 18.65 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00105/0.4769, allocations: 0.4976 MB / 397.7 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.318e-05/0.477, allocations: 58.61 kB / 397.7 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.4771, allocations: 69.19 kB / 397.8 MB, free: 18.36 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001463/0.4786, allocations: 0.7024 MB / 398.5 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.346e-05/0.4787, allocations: 3.875 kB / 398.5 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.225e-05/0.4788, allocations: 27.27 kB / 398.5 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.567e-05/0.4788, allocations: 15.59 kB / 398.5 MB, free: 18.24 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001243/0.4801, allocations: 0.5063 MB / 399.1 MB, free: 18.22 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005112/0.4852, allocations: 2.692 MB / 401.7 MB, free: 17.11 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001374/0.4866, allocations: 0.5875 MB / 402.3 MB, free: 17.06 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009669/0.4876, allocations: 419.5 kB / 402.7 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.698e-05/0.4877, allocations: 12.19 kB / 402.8 MB, free: 17.04 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006663/0.4884, allocations: 355.2 kB / 403.1 MB, free: 16.96 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 4.096e-06/0.4884, allocations: 0 / 403.1 MB, free: 16.96 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.00125/0.4897, allocations: 0.5439 MB / 403.6 MB, free: 16.87 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.305e-05/0.4898, allocations: 114.8 kB / 403.8 MB, free: 16.74 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007213/0.4905, allocations: 426.7 kB / 404.2 MB, free: 16.62 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 8.899e-05/0.4906, allocations: 43.97 kB / 404.2 MB, free: 16.59 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002111/0.4908, allocations: 360.8 kB / 404.6 MB, free: 16.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001508/0.491, allocations: 176.9 kB / 404.7 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.449e-05/0.491, allocations: 18.91 kB / 404.8 MB, free: 16.24 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.319e-05/0.4911, allocations: 333 kB / 405.1 MB, free: 15.93 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004146/0.4916, allocations: 191 kB / 405.3 MB, free: 15.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005206/0.4921, allocations: 351.3 kB / 405.6 MB, free: 15.76 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000472/0.4926, allocations: 200.3 kB / 405.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.646e-06/0.4926, allocations: 7.938 kB / 405.8 MB, free: 15.74 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001493/0.4941, allocations: 0.6578 MB / 406.5 MB, free: 15.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000345/0.4945, allocations: 1.571 MB / 408 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4945, allocations: 3.938 kB / 408.1 MB, free: 13.99 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006723/0.4952, allocations: 170.9 kB / 408.2 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000568/0.4958, allocations: 92.58 kB / 408.3 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004756/0.5006, allocations: 3.594 MB / 411.9 MB, free: 27.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007669/0.5014, allocations: 91.45 kB / 412 MB, free: 27.19 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.324e-05/0.5015, allocations: 29.83 kB / 412 MB, free: 27.19 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.5015, allocations: 3.906 kB / 412 MB, free: 27.19 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001427/0.5029, allocations: 0.6153 MB / 412.6 MB, free: 27.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.083e-05/0.503, allocations: 7.906 kB / 412.7 MB, free: 27.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005704/0.5036, allocations: 162.8 kB / 412.8 MB, free: 27.09 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005014/0.5041, allocations: 87.73 kB / 412.9 MB, free: 27.09 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004715/0.5088, allocations: 3.587 MB / 416.5 MB, free: 24.32 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000568/0.5094, allocations: 69.06 kB / 416.5 MB, free: 24.3 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.1e-05/0.5095, allocations: 23.06 kB / 416.6 MB, free: 24.3 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 (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.0002972/0.5098, allocations: 164.9 kB / 416.7 MB, free: 24.16 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001824/0.51, allocations: 66.2 kB / 416.8 MB, free: 24.13 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002048/0.5103, allocations: 71.33 kB / 416.9 MB, free: 24.11 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.5103, allocations: 7.844 kB / 416.9 MB, free: 24.11 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.624e-06/0.5103, allocations: 0 / 416.9 MB, free: 24.11 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.364e-06/0.5103, allocations: 0 / 416.9 MB, free: 24.11 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002958/0.5133, allocations: 1.41 MB / 418.3 MB, free: 23.5 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.955e-06/0.5133, allocations: 3.906 kB / 418.3 MB, free: 23.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004135/0.5138, allocations: 50.41 kB / 418.3 MB, free: 23.49 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000622/0.5144, allocations: 159.8 kB / 418.5 MB, free: 23.45 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.657e-05/0.5145, allocations: 10.97 kB / 418.5 MB, free: 23.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004639/0.5191, allocations: 3.513 MB / 422 MB, free: 20.64 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.063e-06/0.5192, allocations: 0 / 422 MB, free: 20.64 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002076/0.5213, allocations: 0.9473 MB / 423 MB, free: 20.36 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003949/0.5217, allocations: 185.7 kB / 423.1 MB, free: 20.21 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001176/0.5219, allocations: 18.64 kB / 423.2 MB, free: 20.21 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005156/0.5224, allocations: 41.41 kB / 423.2 MB, free: 20.2 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002176/0.5226, allocations: 75.05 kB / 423.3 MB, free: 20.17 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.078e-05/0.5227, allocations: 23.58 kB / 423.3 MB, free: 20.16 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005323/0.5232, allocations: 325.8 kB / 423.6 MB, free: 20.05 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.49e-07/0.5233, allocations: 0 / 423.6 MB, free: 20.05 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.00159/0.5249, allocations: 349.3 kB / 424 MB, free: 20 MB / 330.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: 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.0002531/0.5251, allocations: 132.2 kB / 424.1 MB, free: 19.9 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002573/0.5277, allocations: 1.376 MB / 425.5 MB, free: 19.3 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.587e-06/0.5278, allocations: 1.406 kB / 425.5 MB, free: 19.3 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009701/0.5288, allocations: 0.5417 MB / 426 MB, free: 19.02 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008167/0.5296, allocations: 97.41 kB / 426.1 MB, free: 19 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002724/0.5324, allocations: 1.021 MB / 427.1 MB, free: 18.5 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007434/0.5331, allocations: 0.9493 MB / 428.1 MB, free: 17.69 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000223/0.5334, allocations: 46.47 kB / 428.1 MB, free: 17.68 MB / 330.7 MB Notification: Performance of SimCode: time 1.953e-06/0.5334, allocations: 0 / 428.1 MB, free: 17.68 MB / 330.7 MB Notification: Performance of Templates: time 0.01978/0.5532, allocations: 13.63 MB / 441.8 MB, free: 10.83 MB / 330.7 MB