Running command: translateModel(ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|meanCurrent.x|meanVoltage.x|rootMeanSquareVoltage.mean.x|meanCurrent.y|meanVoltage.y|pulse2m.twomPulse.timerNegative.1..entryTime|pulse2m.twomPulse.timerNegative.2..entryTime|pulse2m.twomPulse.timerNegative.3..entryTime|pulse2m.twomPulse.timerPositive.1..entryTime|pulse2m.twomPulse.timerPositive.2..entryTime|pulse2m.twomPulse.timerPositive.3..entryTime|rectifier.pre.1..u|rectifier.pre.2..u|rectifier.pre.3..u|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse") Notification: Performance of loadModel(ModelicaTest): time 2.404/2.404, allocations: 235 MB / 247.2 MB, free: 14.34 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.621e-05/2.641e-05, allocations: 0 / 304.9 MB, free: 5.16 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3656/0.3656, allocations: 54.85 MB / 359.8 MB, free: 3.133 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1493/0.515, allocations: 96.34 MB / 456.1 MB, free: 0.5586 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002304/0.5153, allocations: 71.97 kB / 456.2 MB, free: 500 kB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1623/0.6776, allocations: 31.59 MB / 487.8 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of FrontEnd: time 3.544e-06/0.6776, allocations: 0 / 487.8 MB, free: 0.7148 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0003193/0.678, allocations: 51.94 kB / 487.8 MB, free: 0.6641 MB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 454 * Number of variables: 454 Notification: Performance of Generate backend data structure: time 0.009913/0.6879, allocations: 2.075 MB / 489.9 MB, free: 14.54 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.972e-05/0.688, allocations: 8.031 kB / 489.9 MB, free: 14.53 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001422/0.6894, allocations: 241.3 kB / 490.2 MB, free: 14.29 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01324/0.7027, allocations: 2.164 MB / 492.3 MB, free: 12.07 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003943/0.7032, allocations: 143.5 kB / 492.5 MB, free: 11.93 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009298/0.7041, allocations: 176 kB / 492.6 MB, free: 11.75 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01147/0.7156, allocations: 2.414 MB / 495 MB, free: 9.258 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.048e-05/0.7158, allocations: 0 / 495 MB, free: 9.258 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004615/0.7163, allocations: 79.95 kB / 495.1 MB, free: 9.18 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001889/0.7165, allocations: 75.5 kB / 495.2 MB, free: 9.105 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009129/0.7256, allocations: 1.982 MB / 497.2 MB, free: 7.121 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03286/0.7586, allocations: 7.194 MB / 0.4926 GB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.007175/0.7658, allocations: 1.752 MB / 0.4943 GB, free: 14.04 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005095/0.771, allocations: 1.267 MB / 0.4955 GB, free: 12.78 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001349/0.7711, allocations: 13 kB / 0.4955 GB, free: 12.77 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003343/0.7745, allocations: 0.908 MB / 0.4964 GB, free: 11.83 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 9.003e-06/0.7745, allocations: 0 / 0.4964 GB, free: 11.83 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.005407/0.78, allocations: 1.769 MB / 0.4981 GB, free: 10.04 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000181/0.7802, allocations: 234.6 kB / 0.4984 GB, free: 9.766 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002586/0.7828, allocations: 1.164 MB / 0.4995 GB, free: 8.59 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000337/0.7832, allocations: 69.69 kB / 0.4996 GB, free: 8.516 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001058/0.7843, allocations: 0.7964 MB / 0.5003 GB, free: 7.707 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006325/0.7849, allocations: 378.8 kB / 0.5007 GB, free: 7.332 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001147/0.785, allocations: 24 kB / 0.5007 GB, free: 7.309 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.000232/0.7853, allocations: 357.9 kB / 0.5011 GB, free: 6.953 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001487/0.7868, allocations: 0.6598 MB / 0.5017 GB, free: 6.293 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001819/0.7886, allocations: 0.9445 MB / 0.5026 GB, free: 5.242 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001646/0.7903, allocations: 0.7309 MB / 0.5033 GB, free: 4.512 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.168e-05/0.7903, allocations: 4 kB / 0.5033 GB, free: 4.508 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005989/0.7963, allocations: 1.992 MB / 0.5053 GB, free: 2.504 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001447/0.7978, allocations: 2.463 MB / 0.5077 GB, free: 15.87 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.495e-05/0.7979, allocations: 11.94 kB / 0.5077 GB, free: 15.86 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002015/0.7999, allocations: 0.5473 MB / 0.5082 GB, free: 15.3 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/0.801, allocations: 179.7 kB / 0.5084 GB, free: 15.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01185/0.8129, allocations: 6.006 MB / 0.5143 GB, free: 8.977 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001634/0.8146, allocations: 211 kB / 0.5145 GB, free: 8.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/0.8147, allocations: 48 kB / 0.5145 GB, free: 8.723 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.368e-05/0.8148, allocations: 4 kB / 0.5145 GB, free: 8.719 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004027/0.8188, allocations: 1.855 MB / 0.5163 GB, free: 6.859 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.596e-05/0.8189, allocations: 4 kB / 0.5163 GB, free: 6.855 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001728/0.8206, allocations: 0.5558 MB / 0.5169 GB, free: 6.297 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009433/0.8216, allocations: 167.7 kB / 0.517 GB, free: 6.133 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01153/0.8331, allocations: 5.976 MB / 0.5229 GB, free: 16 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2583/1.091, allocations: 182.8 kB / 0.5231 GB, free: 124.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001604/1.092, allocations: 47.7 kB / 0.5231 GB, free: 124.7 MB / 458.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[3].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (126): * Single equations (assignments): 125 * 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 {6 38} Notification: Performance of prepare postOptimizeDAE: time 0.000445/1.092, allocations: 225.7 kB / 0.5233 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003459/1.092, allocations: 142.9 kB / 0.5235 GB, free: 124.6 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004812/1.093, allocations: 183.7 kB / 0.5236 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-05/1.093, allocations: 11.91 kB / 0.5236 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.118e-06/1.093, allocations: 4.031 kB / 0.5236 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.967e-05/1.093, allocations: 6.094 kB / 0.5236 GB, free: 124.5 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008932/1.102, allocations: 3.89 MB / 0.5274 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.003e-05/1.102, allocations: 4.094 kB / 0.5275 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006281/1.103, allocations: 98.33 kB / 0.5275 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00174/1.104, allocations: 0.5299 MB / 0.5281 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001883/1.105, allocations: 27.34 kB / 0.5281 GB, free: 124.2 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01065/1.115, allocations: 5.918 MB / 0.5339 GB, free: 122.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.644e-06/1.115, allocations: 1.375 kB / 0.5339 GB, free: 122.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005474/1.121, allocations: 2.677 MB / 0.5365 GB, free: 122.6 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001061/1.122, allocations: 382.8 kB / 0.5368 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003679/1.122, allocations: 33.58 kB / 0.5369 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001154/1.124, allocations: 126.3 kB / 0.537 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005821/1.124, allocations: 184.1 kB / 0.5372 GB, free: 122.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001222/1.124, allocations: 35.17 kB / 0.5372 GB, free: 122.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001833/1.126, allocations: 0.8766 MB / 0.5381 GB, free: 122.3 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.021e-06/1.126, allocations: 0 / 0.5381 GB, free: 122.3 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003537/1.13, allocations: 0.9318 MB / 0.539 GB, free: 122.1 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[3].y,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {6 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003679/1.13, allocations: 180.6 kB / 0.5391 GB, free: 122 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006967/1.137, allocations: 3.121 MB / 0.5422 GB, free: 120.7 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.08e-06/1.137, allocations: 1.344 kB / 0.5422 GB, free: 120.7 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0024/1.14, allocations: 1.084 MB / 0.5433 GB, free: 120.2 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002374/1.142, allocations: 349.5 kB / 0.5436 GB, free: 120.2 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007457/1.149, allocations: 2.995 MB / 0.5465 GB, free: 119 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001801/1.151, allocations: 1.805 MB / 0.5483 GB, free: 118.1 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.002371/1.154, allocations: 0.6201 MB / 0.5489 GB, free: 118.1 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002923/1.154, allocations: 68.72 kB / 0.5489 GB, free: 118.1 MB / 458.7 MB Notification: Performance of SimCode: time 1.703e-06/1.154, allocations: 0 / 0.5489 GB, free: 118.1 MB / 458.7 MB Notification: Performance of Templates: time 0.06986/1.224, allocations: 32.46 MB / 0.5807 GB, free: 107.2 MB / 458.7 MB