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_cpp_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse") Notification: Performance of loadModel(ModelicaTest): time 2.188/2.188, allocations: 235 MB / 247.6 MB, free: 14.61 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.86e-05/2.875e-05, allocations: 0 / 304.9 MB, free: 5.879 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3216/0.3216, allocations: 54.85 MB / 359.8 MB, free: 2.578 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.469, allocations: 96.35 MB / 456.1 MB, free: 0.6641 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002302/0.4693, allocations: 71.91 kB / 456.2 MB, free: 0.5938 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1193/0.5886, allocations: 31.58 MB / 487.8 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.447e-06/0.5886, allocations: 0 / 487.8 MB, free: 0.8164 MB / 410.7 MB Notification: Performance of Transformations before backend: time 0.0001811/0.5888, allocations: 47.94 kB / 487.8 MB, free: 0.7695 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.005909/0.5948, allocations: 2.079 MB / 489.9 MB, free: 14.64 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.5948, allocations: 8.031 kB / 489.9 MB, free: 14.63 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008842/0.5957, allocations: 237.3 kB / 490.1 MB, free: 14.39 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007707/0.6034, allocations: 2.172 MB / 492.3 MB, free: 12.16 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002006/0.6037, allocations: 139.5 kB / 492.4 MB, free: 12.03 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005695/0.6043, allocations: 180 kB / 492.6 MB, free: 11.85 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005878/0.6102, allocations: 2.414 MB / 495 MB, free: 9.355 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.303e-05/0.6103, allocations: 3.984 kB / 495 MB, free: 9.352 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002995/0.6106, allocations: 79.95 kB / 495.1 MB, free: 9.273 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001086/0.6107, allocations: 71.5 kB / 495.2 MB, free: 9.203 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004971/0.6157, allocations: 1.979 MB / 497.2 MB, free: 7.223 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01645/0.6322, allocations: 7.19 MB / 0.4925 GB, free: 15.91 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003847/0.6361, allocations: 1.748 MB / 0.4942 GB, free: 14.15 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002809/0.6389, allocations: 1.271 MB / 0.4955 GB, free: 12.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.885e-05/0.639, allocations: 12.98 kB / 0.4955 GB, free: 12.87 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0019/0.6409, allocations: 0.9157 MB / 0.4964 GB, free: 11.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=126): time 5.195e-06/0.641, allocations: 0 / 0.4964 GB, free: 11.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=126): time 0.004404/0.6454, allocations: 1.773 MB / 0.4981 GB, free: 10.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000171/0.6456, allocations: 230.6 kB / 0.4983 GB, free: 9.863 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002517/0.6481, allocations: 1.156 MB / 0.4995 GB, free: 8.695 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002839/0.6484, allocations: 73.67 kB / 0.4995 GB, free: 8.617 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009246/0.6494, allocations: 0.7711 MB / 0.5003 GB, free: 7.836 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005724/0.65, allocations: 378.7 kB / 0.5006 GB, free: 7.461 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001194/0.6501, allocations: 32 kB / 0.5007 GB, free: 7.43 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0002325/0.6503, allocations: 362.8 kB / 0.501 GB, free: 7.066 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001463/0.6518, allocations: 0.6598 MB / 0.5017 GB, free: 6.406 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001814/0.6536, allocations: 0.9445 MB / 0.5026 GB, free: 5.355 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00157/0.6552, allocations: 0.7231 MB / 0.5033 GB, free: 4.633 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.388e-05/0.6553, allocations: 11.95 kB / 0.5033 GB, free: 4.621 MB / 442.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.004288/0.6596, allocations: 1.907 MB / 0.5052 GB, free: 2.703 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001406/0.661, allocations: 2.446 MB / 0.5076 GB, free: 68 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.179e-05/0.6611, allocations: 8 kB / 0.5076 GB, free: 60 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002006/0.6631, allocations: 0.5473 MB / 0.5081 GB, free: 15.51 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001074/0.6642, allocations: 183.6 kB / 0.5083 GB, free: 15.33 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0118/0.676, allocations: 6.006 MB / 0.5141 GB, free: 9.176 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001684/0.6778, allocations: 210.9 kB / 0.5143 GB, free: 8.969 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001961/0.678, allocations: 48 kB / 0.5144 GB, free: 8.922 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.655e-05/0.678, allocations: 4 kB / 0.5144 GB, free: 8.918 MB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004145/0.6822, allocations: 1.856 MB / 0.5162 GB, free: 7.059 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.301e-05/0.6823, allocations: 12 kB / 0.5162 GB, free: 7.047 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001657/0.6839, allocations: 0.544 MB / 0.5167 GB, free: 6.5 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000975/0.6849, allocations: 171.7 kB / 0.5169 GB, free: 6.332 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.6964, allocations: 6.026 MB / 0.5228 GB, free: 172 kB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.2946/0.9911, allocations: 186.1 kB / 0.523 GB, free: 123.8 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003172/0.9914, allocations: 44.98 kB / 0.523 GB, free: 123.8 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.0004551/0.9919, allocations: 224.6 kB / 0.5232 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004519/0.9924, allocations: 138.3 kB / 0.5234 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004932/0.9929, allocations: 178.5 kB / 0.5235 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.969e-05/0.9929, allocations: 13.75 kB / 0.5235 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.103e-06/0.9929, allocations: 6.172 kB / 0.5235 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.993e-05/0.993, allocations: 5.953 kB / 0.5236 GB, free: 123.7 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008703/1.002, allocations: 3.898 MB / 0.5274 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.836e-06/1.002, allocations: 0 / 0.5274 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000599/1.002, allocations: 97.67 kB / 0.5275 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001683/1.004, allocations: 0.527 MB / 0.528 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001068/1.004, allocations: 23.42 kB / 0.528 GB, free: 123.4 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01025/1.014, allocations: 5.924 MB / 0.5338 GB, free: 122 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.371e-06/1.014, allocations: 1.406 kB / 0.5338 GB, free: 122 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005272/1.02, allocations: 2.672 MB / 0.5364 GB, free: 121.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001022/1.021, allocations: 383.8 kB / 0.5368 GB, free: 121.6 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00032/1.021, allocations: 36.02 kB / 0.5368 GB, free: 121.6 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001104/1.022, allocations: 125.3 kB / 0.5369 GB, free: 121.6 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005529/1.023, allocations: 192.2 kB / 0.5371 GB, free: 121.6 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001152/1.023, allocations: 33.17 kB / 0.5371 GB, free: 121.6 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.001746/1.025, allocations: 0.8761 MB / 0.538 GB, free: 121.5 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.82e-07/1.025, allocations: 0 / 0.538 GB, free: 121.5 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.003271/1.028, allocations: 0.918 MB / 0.5389 GB, free: 121.4 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.0003474/1.028, allocations: 182.9 kB / 0.539 GB, free: 121.4 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.006537/1.035, allocations: 3.074 MB / 0.5421 GB, free: 120.2 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.215e-05/1.035, allocations: 1.422 kB / 0.5421 GB, free: 120.2 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002322/1.037, allocations: 1.081 MB / 0.5431 GB, free: 119.7 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002122/1.04, allocations: 358.3 kB / 0.5434 GB, free: 119.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006972/1.047, allocations: 2.961 MB / 0.5463 GB, free: 118.5 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00169/1.048, allocations: 1.77 MB / 0.5481 GB, free: 117.6 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005008/1.049, allocations: 91.78 kB / 0.5482 GB, free: 117.5 MB / 458.7 MB Notification: Performance of SimCode: time 2.224e-06/1.049, allocations: 0 / 0.5482 GB, free: 117.5 MB / 458.7 MB Notification: Performance of Templates: time 0.04583/1.095, allocations: 32.89 MB / 0.5803 GB, free: 107.2 MB / 458.7 MB