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.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV_Characteristic") Notification: Performance of loadModel(Modelica): time 2.017/2.017, allocations: 205.8 MB / 218.9 MB, free: 9.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.392e-05, allocations: 7.984 kB / 269.4 MB, free: 6.383 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09976/0.09981, allocations: 47.57 MB / 316.9 MB, free: 6.727 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3513/0.4512, allocations: 88.54 MB / 405.5 MB, free: 15.65 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002735/0.4515, allocations: 84.45 kB / 405.6 MB, free: 15.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05654/0.508, allocations: 14.38 MB / 419.9 MB, free: 3.43 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.066e-06/0.5081, allocations: 0 / 419.9 MB, free: 3.43 MB / 330.7 MB Notification: Performance of Transformations before backend: time 5.695e-05/0.5082, allocations: 16 kB / 420 MB, free: 3.414 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: 170 * Number of variables: 170 Notification: Performance of Generate backend data structure: time 0.002047/0.5102, allocations: 0.9319 MB / 420.9 MB, free: 2.477 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.5103, allocations: 8.031 kB / 420.9 MB, free: 2.469 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002345/0.5105, allocations: 86.97 kB / 421 MB, free: 2.383 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00109/0.5116, allocations: 0.5086 MB / 421.5 MB, free: 1.922 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.959e-05/0.5117, allocations: 56.31 kB / 421.6 MB, free: 1.891 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001404/0.5119, allocations: 74.42 kB / 421.6 MB, free: 1.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00161/0.5135, allocations: 0.7022 MB / 422.3 MB, free: 1.34 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.344e-05/0.5135, allocations: 3.984 kB / 422.3 MB, free: 1.336 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.414e-05/0.5136, allocations: 35.75 kB / 422.4 MB, free: 1.324 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.222e-05/0.5137, allocations: 20 kB / 422.4 MB, free: 1.305 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.5149, allocations: 0.4923 MB / 422.9 MB, free: 0.9922 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005428/0.5204, allocations: 2.695 MB / 425.6 MB, free: 14.77 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001573/0.522, allocations: 0.6321 MB / 426.2 MB, free: 14.35 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001051/0.5231, allocations: 428 kB / 426.6 MB, free: 14.04 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.282e-05/0.5232, allocations: 12.44 kB / 426.6 MB, free: 14.03 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007967/0.524, allocations: 369.6 kB / 427 MB, free: 13.75 MB / 346.7 MB Notification: Performance of pre-optimization done (n=61): time 4.606e-06/0.524, allocations: 0 / 427 MB, free: 13.75 MB / 346.7 MB Notification: Performance of matching and sorting (n=61): time 0.00146/0.5255, allocations: 0.5587 MB / 427.6 MB, free: 13.34 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.721e-05/0.5256, allocations: 122.6 kB / 427.7 MB, free: 13.2 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007387/0.5263, allocations: 413.9 kB / 428.1 MB, free: 12.87 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.846e-05/0.5264, allocations: 42.95 kB / 428.1 MB, free: 12.84 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000324/0.5268, allocations: 325.8 kB / 428.4 MB, free: 12.6 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002336/0.527, allocations: 189.5 kB / 428.6 MB, free: 12.44 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-05/0.5271, allocations: 21.62 kB / 428.6 MB, free: 12.43 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002287/0.5273, allocations: 371.8 kB / 429 MB, free: 12.08 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004676/0.5278, allocations: 193.4 kB / 429.2 MB, free: 11.96 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006295/0.5285, allocations: 346.8 kB / 429.5 MB, free: 11.66 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005076/0.529, allocations: 210.1 kB / 429.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.289e-06/0.529, allocations: 0 / 429.7 MB, free: 11.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.001676/0.5307, allocations: 0.6871 MB / 430.4 MB, free: 11.02 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008918/0.5316, allocations: 1.579 MB / 432 MB, free: 9.34 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.304e-05/0.5316, allocations: 4 kB / 432 MB, free: 9.336 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006668/0.5323, allocations: 156.4 kB / 432.2 MB, free: 9.223 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000555/0.5329, allocations: 107.8 kB / 432.3 MB, free: 9.121 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00506/0.538, allocations: 3.591 MB / 435.9 MB, free: 5.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007232/0.5387, allocations: 85.97 kB / 435.9 MB, free: 5.664 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.049e-05/0.5388, allocations: 30.5 kB / 436 MB, free: 5.641 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.5388, allocations: 4 kB / 436 MB, free: 5.637 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001477/0.5403, allocations: 0.6054 MB / 436.6 MB, free: 5.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.373e-05/0.5404, allocations: 7.953 kB / 436.6 MB, free: 5.215 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005928/0.541, allocations: 172.2 kB / 436.8 MB, free: 5.086 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004872/0.5415, allocations: 99.5 kB / 436.9 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004877/0.5464, allocations: 3.59 MB / 440.4 MB, free: 1.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006772/0.5471, allocations: 77.69 kB / 440.5 MB, free: 1.543 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.144e-05/0.5472, allocations: 30.98 kB / 440.6 MB, free: 1.52 MB / 346.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 (67): * Single equations (assignments): 65 * 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.0002741/0.5475, allocations: 147 kB / 440.7 MB, free: 1.387 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001572/0.5476, allocations: 66.94 kB / 440.8 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001846/0.5478, allocations: 71.39 kB / 440.8 MB, free: 1.293 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.861e-06/0.5479, allocations: 4 kB / 440.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.133e-05/0.5479, allocations: 11.94 kB / 440.8 MB, free: 1.277 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.341e-05/0.5479, allocations: 3.984 kB / 440.8 MB, free: 1.273 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002933/0.5508, allocations: 1.438 MB / 442.3 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.434e-06/0.5509, allocations: 0 / 442.3 MB, free: 184 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004696/0.5514, allocations: 71.84 kB / 442.4 MB, free: 112 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005798/0.552, allocations: 151.8 kB / 442.5 MB, free: 0 / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.585e-05/0.5521, allocations: 14.39 kB / 442.5 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004912/0.557, allocations: 3.517 MB / 446 MB, free: 12.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.181e-06/0.5571, allocations: 7.969 kB / 446 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002106/0.5592, allocations: 0.9592 MB / 447 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000385/0.5596, allocations: 197.1 kB / 447.2 MB, free: 11.8 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001178/0.5597, allocations: 13.62 kB / 447.2 MB, free: 11.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005663/0.5603, allocations: 53.33 kB / 447.3 MB, free: 11.75 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002465/0.5606, allocations: 83.14 kB / 447.3 MB, free: 11.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.021e-05/0.5606, allocations: 19.31 kB / 447.4 MB, free: 11.66 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00056/0.5612, allocations: 319.4 kB / 447.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.86e-07/0.5612, allocations: 0 / 447.7 MB, free: 11.36 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001627/0.5629, allocations: 355 kB / 448 MB, free: 11.01 MB / 362.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 (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 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002727/0.5632, allocations: 137.4 kB / 448.2 MB, free: 10.87 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002908/0.5661, allocations: 1.349 MB / 449.5 MB, free: 9.48 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 7.302e-06/0.5661, allocations: 3.938 kB / 449.5 MB, free: 9.477 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001091/0.5672, allocations: 0.5374 MB / 450 MB, free: 8.922 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008469/0.5681, allocations: 126.3 kB / 450.2 MB, free: 8.805 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002953/0.5711, allocations: 1.019 MB / 451.2 MB, free: 7.758 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008257/0.5719, allocations: 0.9632 MB / 452.1 MB, free: 6.766 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0006931/0.5726, allocations: 112.8 kB / 452.3 MB, free: 6.656 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001398/0.5728, allocations: 43.36 kB / 452.3 MB, free: 6.613 MB / 362.7 MB Notification: Performance of SimCode: time 1.855e-06/0.5728, allocations: 0 / 452.3 MB, free: 6.613 MB / 362.7 MB Notification: Performance of Templates: time 0.0308/0.6036, allocations: 11.09 MB / 463.4 MB, free: 11.57 MB / 378.7 MB