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_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV") Notification: Performance of loadModel(Modelica): time 1.916/1.916, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.825e-05/2.822e-05, allocations: 4 kB / 255.4 MB, free: 2.684 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1051/0.1052, allocations: 44.5 MB / 299.9 MB, free: 6.129 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4578/0.563, allocations: 82.58 MB / 382.5 MB, free: 21.28 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000438/0.5635, allocations: 84.61 kB / 382.6 MB, free: 21.28 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.076/0.6395, allocations: 13.66 MB / 396.2 MB, free: 19.2 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.476e-06/0.6396, allocations: 0 / 396.2 MB, free: 19.2 MB / 314.7 MB Notification: Performance of Transformations before backend: time 5.463e-05/0.6396, allocations: 23.67 kB / 396.2 MB, free: 19.19 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.001749/0.6414, allocations: 0.8896 MB / 397.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.948e-05/0.6415, allocations: 7.812 kB / 397.1 MB, free: 18.62 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002013/0.6417, allocations: 90.03 kB / 397.2 MB, free: 18.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009415/0.6426, allocations: 0.505 MB / 397.7 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.246e-05/0.6427, allocations: 50.59 kB / 397.8 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000129/0.6429, allocations: 72.09 kB / 397.9 MB, free: 18.29 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001428/0.6443, allocations: 0.6924 MB / 398.5 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.144e-05/0.6443, allocations: 11.47 kB / 398.6 MB, free: 18.18 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.766e-05/0.6444, allocations: 30.41 kB / 398.6 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.593e-05/0.6445, allocations: 19.22 kB / 398.6 MB, free: 18.17 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001173/0.6457, allocations: 495 kB / 399.1 MB, free: 18.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004723/0.6504, allocations: 2.694 MB / 401.8 MB, free: 17.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001259/0.6517, allocations: 0.5769 MB / 402.4 MB, free: 17.01 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009185/0.6526, allocations: 425.8 kB / 402.8 MB, free: 16.98 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.458e-05/0.6527, allocations: 8.25 kB / 402.8 MB, free: 16.98 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006874/0.6534, allocations: 348.2 kB / 403.1 MB, free: 16.91 MB / 314.7 MB Notification: Performance of pre-optimization done (n=58): time 4.217e-06/0.6534, allocations: 0 / 403.1 MB, free: 16.91 MB / 314.7 MB Notification: Performance of matching and sorting (n=58): time 0.001318/0.6548, allocations: 0.5408 MB / 403.7 MB, free: 16.82 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.661e-05/0.6548, allocations: 114.9 kB / 403.8 MB, free: 16.69 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006258/0.6555, allocations: 428.4 kB / 404.2 MB, free: 16.57 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.515e-05/0.6555, allocations: 44.08 kB / 404.2 MB, free: 16.54 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002232/0.6558, allocations: 322.5 kB / 404.6 MB, free: 16.37 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001444/0.6559, allocations: 181.9 kB / 404.7 MB, free: 16.25 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.684e-05/0.656, allocations: 14.72 kB / 404.7 MB, free: 16.25 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001088/0.6561, allocations: 367.7 kB / 405.1 MB, free: 15.94 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004421/0.6566, allocations: 192.8 kB / 405.3 MB, free: 15.94 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005234/0.6571, allocations: 336.3 kB / 405.6 MB, free: 15.77 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004703/0.6576, allocations: 211.2 kB / 405.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.664e-06/0.6576, allocations: 0 / 405.8 MB, free: 15.75 MB / 314.7 MB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001553/0.6592, allocations: 0.6879 MB / 406.5 MB, free: 15.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0003041/0.6595, allocations: 1.566 MB / 408.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.171e-05/0.6595, allocations: 3.906 kB / 408.1 MB, free: 13.98 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005933/0.6601, allocations: 171.5 kB / 408.3 MB, free: 13.96 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000474/0.6606, allocations: 99.84 kB / 408.4 MB, free: 13.95 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004432/0.6651, allocations: 3.594 MB / 411.9 MB, free: 27.2 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007214/0.6659, allocations: 86.83 kB / 412 MB, free: 27.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.992e-05/0.6659, allocations: 26.84 kB / 412.1 MB, free: 27.18 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.666, allocations: 10.16 kB / 412.1 MB, free: 27.18 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00135/0.6673, allocations: 0.6033 MB / 412.7 MB, free: 27.09 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.27e-06/0.6674, allocations: 7.844 kB / 412.7 MB, free: 27.09 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005921/0.668, allocations: 158.5 kB / 412.8 MB, free: 27.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004804/0.6685, allocations: 88.2 kB / 412.9 MB, free: 27.03 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004425/0.6729, allocations: 3.604 MB / 416.5 MB, free: 24.14 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00068/0.6736, allocations: 73.06 kB / 416.6 MB, free: 24.12 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.001e-05/0.6737, allocations: 23.42 kB / 416.6 MB, free: 24.11 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.0002528/0.674, allocations: 161.9 kB / 416.8 MB, free: 23.99 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001197/0.6741, allocations: 58.77 kB / 416.8 MB, free: 23.96 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001738/0.6743, allocations: 72.77 kB / 416.9 MB, free: 23.94 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.898e-06/0.6743, allocations: 7.891 kB / 416.9 MB, free: 23.93 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.504e-06/0.6743, allocations: 0 / 416.9 MB, free: 23.93 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.059e-06/0.6743, allocations: 3.984 kB / 416.9 MB, free: 23.93 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002559/0.6769, allocations: 1.413 MB / 418.3 MB, free: 23.32 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.84e-06/0.6769, allocations: 7.844 kB / 418.3 MB, free: 23.32 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000372/0.6773, allocations: 50.69 kB / 418.4 MB, free: 23.31 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005782/0.6779, allocations: 154.9 kB / 418.5 MB, free: 23.27 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.678, allocations: 14.77 kB / 418.6 MB, free: 23.26 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004268/0.6823, allocations: 3.502 MB / 422.1 MB, free: 20.47 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.162e-06/0.6823, allocations: 0 / 422.1 MB, free: 20.47 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001912/0.6842, allocations: 0.9513 MB / 423 MB, free: 20.18 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003045/0.6846, allocations: 192.8 kB / 423.2 MB, free: 20.03 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001086/0.6847, allocations: 11.62 kB / 423.2 MB, free: 20.03 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004588/0.6852, allocations: 42.16 kB / 423.2 MB, free: 20.02 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002002/0.6854, allocations: 78.25 kB / 423.3 MB, free: 19.98 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.975e-05/0.6854, allocations: 23.47 kB / 423.3 MB, free: 19.98 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0004944/0.686, allocations: 332.1 kB / 423.7 MB, free: 19.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.56e-07/0.686, allocations: 0 / 423.7 MB, free: 19.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001502/0.6875, allocations: 352.3 kB / 424 MB, free: 19.82 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.0002262/0.6877, allocations: 141.8 kB / 424.2 MB, free: 19.71 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.002333/0.6901, allocations: 1.341 MB / 425.5 MB, free: 19.16 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.078e-06/0.6901, allocations: 0 / 425.5 MB, free: 19.16 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000862/0.691, allocations: 0.5234 MB / 426 MB, free: 18.89 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006915/0.6917, allocations: 97.98 kB / 426.1 MB, free: 18.86 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002321/0.694, allocations: 0.9881 MB / 427.1 MB, free: 18.41 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000705/0.6948, allocations: 0.9539 MB / 428.1 MB, free: 17.6 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0005888/0.6954, allocations: 110.9 kB / 428.2 MB, free: 17.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001127/0.6955, allocations: 34.44 kB / 428.2 MB, free: 17.54 MB / 330.7 MB Notification: Performance of SimCode: time 1.836e-06/0.6955, allocations: 4 kB / 428.2 MB, free: 17.54 MB / 330.7 MB Notification: Performance of Templates: time 0.02471/0.7202, allocations: 10.81 MB / 439 MB, free: 12.24 MB / 330.7 MB