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_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R") Notification: Performance of loadModel(Modelica): time 1.995/1.995, allocations: 225.8 MB / 239.4 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.106e-05/3.109e-05, allocations: 8 kB / 292.7 MB, free: 8.312 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09943/0.09948, allocations: 50.42 MB / 343.1 MB, free: 5.875 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4045/0.5041, allocations: 89.06 MB / 432.2 MB, free: 5.215 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004539/0.5046, allocations: 90.31 kB / 432.3 MB, free: 5.164 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06086/0.5655, allocations: 14.34 MB / 446.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.935e-06/0.5655, allocations: 0 / 446.6 MB, free: 9.027 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.495e-05/0.5656, allocations: 27.92 kB / 446.6 MB, free: 9 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.001908/0.5675, allocations: 0.8706 MB / 447.5 MB, free: 8.121 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.377e-05/0.5676, allocations: 12.03 kB / 447.5 MB, free: 8.109 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002098/0.5678, allocations: 86.97 kB / 447.6 MB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001016/0.5688, allocations: 0.5 MB / 448.1 MB, free: 7.57 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.996e-05/0.5689, allocations: 52.56 kB / 448.1 MB, free: 7.539 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001434/0.5691, allocations: 68.25 kB / 448.2 MB, free: 7.496 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001533/0.5706, allocations: 0.6924 MB / 448.9 MB, free: 7 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.888e-05/0.5707, allocations: 11.75 kB / 448.9 MB, free: 6.992 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.851e-05/0.5708, allocations: 21.56 kB / 448.9 MB, free: 6.988 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.994e-05/0.5708, allocations: 19.94 kB / 448.9 MB, free: 6.969 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001224/0.572, allocations: 0.4972 MB / 449.4 MB, free: 6.656 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005184/0.5772, allocations: 2.681 MB / 452.1 MB, free: 4.457 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001154/0.5784, allocations: 0.5164 MB / 452.6 MB, free: 4.137 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007525/0.5792, allocations: 330.8 kB / 453 MB, free: 3.914 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.52e-05/0.5793, allocations: 4.438 kB / 453 MB, free: 3.906 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007338/0.58, allocations: 352.8 kB / 453.3 MB, free: 3.641 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 4.38e-06/0.58, allocations: 4 kB / 453.3 MB, free: 3.637 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001313/0.5814, allocations: 0.5281 MB / 453.8 MB, free: 3.254 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001084/0.5815, allocations: 144.7 kB / 454 MB, free: 3.086 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007294/0.5822, allocations: 430.2 kB / 454.4 MB, free: 2.762 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.73e-05/0.5823, allocations: 43.81 kB / 454.4 MB, free: 2.723 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000301/0.5826, allocations: 325.5 kB / 454.8 MB, free: 2.484 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.5828, allocations: 166 kB / 454.9 MB, free: 2.344 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.165e-05/0.5829, allocations: 14.31 kB / 454.9 MB, free: 2.34 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002217/0.5831, allocations: 368.1 kB / 455.3 MB, free: 1.996 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00045/0.5836, allocations: 189.8 kB / 455.5 MB, free: 1.883 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006065/0.5842, allocations: 355.3 kB / 455.8 MB, free: 1.559 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005206/0.5847, allocations: 204.8 kB / 456 MB, free: 1.379 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.204e-06/0.5848, allocations: 0 / 456 MB, free: 1.379 MB / 362.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.001572/0.5864, allocations: 0.6629 MB / 456.7 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008805/0.5873, allocations: 1.575 MB / 458.3 MB, free: 15.01 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.218e-05/0.5873, allocations: 4 kB / 458.3 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006551/0.5879, allocations: 148.8 kB / 458.4 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004775/0.5884, allocations: 91.83 kB / 458.5 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003927/0.5924, allocations: 2.35 MB / 460.9 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006607/0.5931, allocations: 91.5 kB / 461 MB, free: 12.2 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.001e-05/0.5932, allocations: 28.05 kB / 461 MB, free: 12.17 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.109e-05/0.5932, allocations: 4 kB / 461 MB, free: 12.16 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001411/0.5946, allocations: 0.5877 MB / 461.6 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.851e-06/0.5946, allocations: 4 kB / 461.6 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000565/0.5952, allocations: 149.3 kB / 461.7 MB, free: 11.42 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004218/0.5957, allocations: 87.84 kB / 461.8 MB, free: 11.33 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003838/0.5995, allocations: 2.335 MB / 464.1 MB, free: 8.867 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006036/0.6001, allocations: 79.61 kB / 464.2 MB, free: 8.789 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.273e-05/0.6002, allocations: 20 kB / 464.2 MB, free: 8.77 MB / 378.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (63): * Single equations (assignments): 62 * 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.0002663/0.6005, allocations: 168.9 kB / 464.4 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001384/0.6006, allocations: 55.34 kB / 464.5 MB, free: 8.543 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001961/0.6009, allocations: 69.59 kB / 464.5 MB, free: 8.473 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.456e-06/0.6009, allocations: 8 kB / 464.5 MB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.513e-06/0.6009, allocations: 0 / 464.5 MB, free: 8.465 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.169e-05/0.6009, allocations: 3.984 kB / 464.5 MB, free: 8.461 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002962/0.6039, allocations: 1.398 MB / 465.9 MB, free: 7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.251e-06/0.6039, allocations: 0 / 465.9 MB, free: 7 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003213/0.6042, allocations: 47.91 kB / 466 MB, free: 6.953 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000595/0.6049, allocations: 144.7 kB / 466.1 MB, free: 6.809 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.306e-05/0.6049, allocations: 8 kB / 466.1 MB, free: 6.801 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003797/0.6087, allocations: 2.257 MB / 468.4 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.031e-06/0.6088, allocations: 0 / 468.4 MB, free: 4.418 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002097/0.6109, allocations: 0.9145 MB / 469.3 MB, free: 3.477 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003867/0.6113, allocations: 200.1 kB / 469.5 MB, free: 3.262 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000118/0.6114, allocations: 12 kB / 469.5 MB, free: 3.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005179/0.612, allocations: 47.95 kB / 469.6 MB, free: 3.203 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002335/0.6122, allocations: 76.39 kB / 469.6 MB, free: 3.129 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.661e-05/0.6123, allocations: 23.98 kB / 469.7 MB, free: 3.105 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006142/0.6129, allocations: 329.6 kB / 470 MB, free: 2.785 MB / 378.7 MB Notification: Performance of sort global known variables: time 8.56e-07/0.6129, allocations: 0 / 470 MB, free: 2.785 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001415/0.6144, allocations: 339.1 kB / 470.3 MB, free: 2.453 MB / 378.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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 (40): * Single equations (assignments): 34 * 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.0002561/0.6146, allocations: 141.4 kB / 470.4 MB, free: 2.309 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002593/0.6172, allocations: 1.151 MB / 471.6 MB, free: 1.137 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.038e-06/0.6173, allocations: 4.062 kB / 471.6 MB, free: 1.133 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009221/0.6182, allocations: 439.7 kB / 472 MB, free: 0.6953 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007788/0.619, allocations: 114.3 kB / 472.1 MB, free: 0.582 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002565/0.6216, allocations: 0.9299 MB / 473.1 MB, free: 15.62 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000793/0.6224, allocations: 0.9556 MB / 474 MB, free: 14.63 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0006378/0.6231, allocations: 124.8 kB / 474.1 MB, free: 14.51 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.6232, allocations: 35.44 kB / 474.2 MB, free: 14.47 MB / 394.7 MB Notification: Performance of SimCode: time 1.687e-06/0.6232, allocations: 0 / 474.2 MB, free: 14.47 MB / 394.7 MB Notification: Performance of Templates: time 0.02921/0.6524, allocations: 10.92 MB / 485.1 MB, free: 3.652 MB / 394.7 MB