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_trunk_ModelicaTest.Electrical.PowerConverters.HalfControlledBridge2mPulse") Notification: Performance of loadModel(ModelicaTest): time 2.659/2.659, allocations: 270 MB / 283.6 MB, free: 1.754 MB / 218.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.483e-05, allocations: 4 kB / 348.4 MB, free: 2.645 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4113, allocations: 61.87 MB / 410.3 MB, free: 10.7 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.5753, allocations: 103.1 MB / 0.5014 GB, free: 3.445 MB / 426.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002148/0.5755, allocations: 71.97 kB / 0.5014 GB, free: 3.375 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4448/1.02, allocations: 33.11 MB / 0.5338 GB, free: 100.8 MB / 442.7 MB Notification: Performance of FrontEnd: time 3.404e-06/1.02, allocations: 0 / 0.5338 GB, free: 100.8 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0002564/1.021, allocations: 49.12 kB / 0.5338 GB, free: 100.8 MB / 442.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 470 * Number of variables: 470 Notification: Performance of Generate backend data structure: time 0.007979/1.029, allocations: 2.14 MB / 0.5359 GB, free: 99.8 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/1.029, allocations: 9.812 kB / 0.5359 GB, free: 99.8 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008536/1.03, allocations: 248.4 kB / 0.5361 GB, free: 99.68 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00681/1.037, allocations: 2.209 MB / 0.5383 GB, free: 98.9 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001272/1.037, allocations: 148.2 kB / 0.5384 GB, free: 98.83 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003711/1.037, allocations: 186.1 kB / 0.5386 GB, free: 98.77 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00499/1.042, allocations: 2.496 MB / 0.5411 GB, free: 97.61 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.39e-05/1.042, allocations: 4 kB / 0.5411 GB, free: 97.61 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000251/1.042, allocations: 83.56 kB / 0.5411 GB, free: 97.55 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.251e-05/1.043, allocations: 73.92 kB / 0.5412 GB, free: 97.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004626/1.047, allocations: 2.064 MB / 0.5432 GB, free: 96.74 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01477/1.062, allocations: 7.39 MB / 0.5504 GB, free: 90.98 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003148/1.065, allocations: 1.73 MB / 0.5521 GB, free: 89.25 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002553/1.068, allocations: 1.306 MB / 0.5534 GB, free: 87.95 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.265e-05/1.068, allocations: 16.91 kB / 0.5534 GB, free: 87.94 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001707/1.07, allocations: 0.9509 MB / 0.5544 GB, free: 86.96 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 5.459e-06/1.07, allocations: 0 / 0.5544 GB, free: 86.96 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.003648/1.073, allocations: 1.808 MB / 0.5561 GB, free: 85.14 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.333e-05/1.073, allocations: 256.6 kB / 0.5564 GB, free: 84.83 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00222/1.076, allocations: 1.19 MB / 0.5575 GB, free: 83.63 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002719/1.076, allocations: 69.67 kB / 0.5576 GB, free: 83.55 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007759/1.077, allocations: 0.821 MB / 0.5584 GB, free: 82.73 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000449/1.077, allocations: 406.3 kB / 0.5588 GB, free: 82.34 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/1.077, allocations: 32 kB / 0.5588 GB, free: 82.31 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001093/1.077, allocations: 365.9 kB / 0.5592 GB, free: 81.95 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001236/1.079, allocations: 0.6833 MB / 0.5598 GB, free: 81.27 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001441/1.08, allocations: 0.9833 MB / 0.5608 GB, free: 80.17 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001378/1.082, allocations: 0.7545 MB / 0.5615 GB, free: 79.42 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.713e-06/1.082, allocations: 4 kB / 0.5615 GB, free: 79.41 MB / 442.7 MB Notification: Performance of matching and sorting (n=175) (initialization): time 0.003885/1.085, allocations: 2.064 MB / 0.5635 GB, free: 77.34 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005046/1.086, allocations: 2.47 MB / 0.566 GB, free: 74.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.763e-05/1.086, allocations: 11.61 kB / 0.566 GB, free: 74.7 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001656/1.088, allocations: 0.5511 MB / 0.5665 GB, free: 74.14 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009904/1.089, allocations: 195.6 kB / 0.5667 GB, free: 73.95 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009445/1.098, allocations: 6.021 MB / 0.5726 GB, free: 67.8 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001598/1.1, allocations: 226.8 kB / 0.5728 GB, free: 67.58 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/1.1, allocations: 48 kB / 0.5728 GB, free: 67.53 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/1.1, allocations: 5.562 kB / 0.5728 GB, free: 67.53 MB / 442.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003454/1.104, allocations: 1.918 MB / 0.5747 GB, free: 65.61 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/1.104, allocations: 4 kB / 0.5747 GB, free: 65.6 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001536/1.105, allocations: 0.5552 MB / 0.5753 GB, free: 65.05 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009159/1.106, allocations: 187.7 kB / 0.5754 GB, free: 64.86 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009159/1.115, allocations: 5.979 MB / 0.5813 GB, free: 58.75 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001518/1.117, allocations: 206.9 kB / 0.5815 GB, free: 58.55 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001659/1.117, allocations: 48 kB / 0.5815 GB, free: 58.5 MB / 442.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (132): * Single equations (assignments): 131 * 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.000407/1.117, allocations: 224.4 kB / 0.5817 GB, free: 58.29 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003375/1.118, allocations: 158.2 kB / 0.5819 GB, free: 58.13 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004649/1.118, allocations: 186.6 kB / 0.5821 GB, free: 57.94 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/1.118, allocations: 12 kB / 0.5821 GB, free: 57.93 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.013e-06/1.118, allocations: 0 / 0.5821 GB, free: 57.93 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.64e-05/1.118, allocations: 8.062 kB / 0.5821 GB, free: 57.92 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008278/1.127, allocations: 4.067 MB / 0.5861 GB, free: 53.82 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.128e-06/1.127, allocations: 0 / 0.5861 GB, free: 53.82 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006592/1.127, allocations: 103.8 kB / 0.5862 GB, free: 53.72 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001718/1.129, allocations: 0.5323 MB / 0.5867 GB, free: 53.18 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001554/1.129, allocations: 23.98 kB / 0.5867 GB, free: 53.16 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009327/1.139, allocations: 5.935 MB / 0.5925 GB, free: 47.1 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.245e-06/1.139, allocations: 0 / 0.5925 GB, free: 47.1 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005098/1.144, allocations: 2.809 MB / 0.5952 GB, free: 44.27 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009978/1.145, allocations: 395 kB / 0.5956 GB, free: 43.86 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000338/1.145, allocations: 35.98 kB / 0.5956 GB, free: 43.83 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/1.146, allocations: 123.9 kB / 0.5958 GB, free: 43.71 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004811/1.147, allocations: 189 kB / 0.5959 GB, free: 43.52 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001117/1.147, allocations: 35.98 kB / 0.596 GB, free: 43.48 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001598/1.148, allocations: 0.9059 MB / 0.5969 GB, free: 42.57 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.95e-07/1.149, allocations: 0 / 0.5969 GB, free: 42.57 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003/1.152, allocations: 0.9617 MB / 0.5978 GB, free: 41.61 MB / 442.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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[2].off,rectifier.thyristor_p.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * 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.0003535/1.152, allocations: 187.9 kB / 0.598 GB, free: 41.42 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.005949/1.158, allocations: 3.239 MB / 0.6011 GB, free: 38.16 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.417e-06/1.158, allocations: 3.938 kB / 0.6011 GB, free: 38.15 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001958/1.16, allocations: 1.113 MB / 0.6022 GB, free: 37.03 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002071/1.162, allocations: 377.4 kB / 0.6026 GB, free: 36.67 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00675/1.169, allocations: 3.099 MB / 0.6056 GB, free: 33.54 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001963/1.171, allocations: 1.843 MB / 0.6074 GB, free: 31.66 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002367/1.173, allocations: 0.6555 MB / 0.6081 GB, free: 31 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002758/1.173, allocations: 83.42 kB / 0.6081 GB, free: 30.92 MB / 442.7 MB Notification: Performance of SimCode: time 1.947e-06/1.173, allocations: 0 / 0.6081 GB, free: 30.92 MB / 442.7 MB Notification: Performance of Templates: time 0.07226/1.246, allocations: 33.18 MB / 0.6405 GB, free: 14.09 MB / 458.7 MB