Running command: translateModel(ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R,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_n.1..u|rectifier.pre_n.2..u|rectifier.pre_n.3..u|rectifier.pre_p.1..u|rectifier.pre_p.2..u|rectifier.pre_p.3..u|rectifier.thyristor_n.idealThyristor.1..off|rectifier.thyristor_n.idealThyristor.2..off|rectifier.thyristor_n.idealThyristor.3..off|rectifier.thyristor_p.idealThyristor.1..off|rectifier.thyristor_p.idealThyristor.2..off|rectifier.thyristor_p.idealThyristor.3..off|rootMeanSquareVoltage.mean.y",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R") Notification: Performance of loadModel(ModelicaTest): time 2.357/2.357, allocations: 270 MB / 283.6 MB, free: 3.137 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 4.498e-05/4.504e-05, allocations: 4 kB / 348.4 MB, free: 10.83 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1327/0.1328, allocations: 61.88 MB / 410.3 MB, free: 13.02 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4619/0.5948, allocations: 103.1 MB / 0.5013 GB, free: 1.078 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.5951, allocations: 77.17 kB / 0.5014 GB, free: 1.004 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1649/0.76, allocations: 41.14 MB / 0.5416 GB, free: 7.566 MB / 458.7 MB Notification: Performance of FrontEnd: time 6.038e-06/0.7601, allocations: 0 / 0.5416 GB, free: 7.566 MB / 458.7 MB Notification: Performance of Transformations before backend: time 0.0001692/0.7603, allocations: 51.94 kB / 0.5416 GB, free: 7.516 MB / 458.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 497 * Number of variables: 497 Notification: Performance of Generate backend data structure: time 0.005846/0.7661, allocations: 2.193 MB / 0.5437 GB, free: 5.234 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.529e-05/0.7662, allocations: 12.03 kB / 0.5438 GB, free: 5.223 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007774/0.767, allocations: 257 kB / 0.544 GB, free: 4.969 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00742/0.7744, allocations: 2.235 MB / 0.5462 GB, free: 2.676 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.7747, allocations: 151.8 kB / 0.5463 GB, free: 2.527 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005185/0.7752, allocations: 200 kB / 0.5465 GB, free: 2.332 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007261/0.7825, allocations: 2.62 MB / 0.5491 GB, free: 15.63 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.819e-05/0.7826, allocations: 7.938 kB / 0.5491 GB, free: 15.62 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005209/0.7832, allocations: 76 kB / 0.5492 GB, free: 15.55 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001922/0.7834, allocations: 83.83 kB / 0.5492 GB, free: 15.46 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009943/0.7934, allocations: 2.151 MB / 0.5513 GB, free: 13.31 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03174/0.8252, allocations: 7.646 MB / 0.5588 GB, free: 5.547 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006375/0.8316, allocations: 1.748 MB / 0.5605 GB, free: 3.797 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.005328/0.837, allocations: 1.329 MB / 0.5618 GB, free: 2.473 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001737/0.8372, allocations: 17.31 kB / 0.5618 GB, free: 2.457 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003823/0.8411, allocations: 0.9942 MB / 0.5628 GB, free: 1.43 MB / 474.7 MB Notification: Performance of pre-optimization done (n=138): time 1.656e-05/0.8411, allocations: 0 / 0.5628 GB, free: 1.43 MB / 474.7 MB Notification: Performance of matching and sorting (n=138): time 0.006279/0.8474, allocations: 1.858 MB / 0.5646 GB, free: 15.56 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0002541/0.8477, allocations: 256.6 kB / 0.5649 GB, free: 15.25 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0044/0.8522, allocations: 1.218 MB / 0.566 GB, free: 14.02 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004817/0.8527, allocations: 81.67 kB / 0.5661 GB, free: 13.94 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001685/0.8544, allocations: 0.8475 MB / 0.567 GB, free: 13.08 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009749/0.8554, allocations: 422.2 kB / 0.5674 GB, free: 12.66 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002076/0.8557, allocations: 28 kB / 0.5674 GB, free: 12.63 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0003379/0.856, allocations: 365.9 kB / 0.5677 GB, free: 12.27 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00288/0.8589, allocations: 0.7301 MB / 0.5684 GB, free: 11.54 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003588/0.8625, allocations: 1.038 MB / 0.5695 GB, free: 10.39 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003207/0.8658, allocations: 0.7973 MB / 0.5702 GB, free: 9.594 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-05/0.8659, allocations: 3.938 kB / 0.5702 GB, free: 9.59 MB / 490.7 MB Notification: Performance of matching and sorting (n=187) (initialization): time 0.008157/0.8741, allocations: 2.179 MB / 0.5724 GB, free: 7.398 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001467/0.8756, allocations: 2.468 MB / 0.5748 GB, free: 4.766 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.715e-05/0.8756, allocations: 8 kB / 0.5748 GB, free: 4.758 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00333/0.879, allocations: 0.5707 MB / 0.5753 GB, free: 4.184 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001806/0.8808, allocations: 195.7 kB / 0.5755 GB, free: 3.992 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02304/0.9039, allocations: 6.139 MB / 0.5815 GB, free: 13.71 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.02771/0.9317, allocations: 226.8 kB / 0.5817 GB, free: 13.49 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003635/0.9321, allocations: 52 kB / 0.5818 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 2.446e-05/0.9322, allocations: 4 kB / 0.5818 GB, free: 13.44 MB / 0.4948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02755/0.9598, allocations: 2.019 MB / 0.5838 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-05/0.9599, allocations: 8 kB / 0.5838 GB, free: 11.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003375/0.9633, allocations: 0.5715 MB / 0.5843 GB, free: 10.83 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002031/0.9654, allocations: 183.7 kB / 0.5845 GB, free: 10.65 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02093/0.9863, allocations: 6.106 MB / 0.5905 GB, free: 4.402 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002735/0.9891, allocations: 195.1 kB / 0.5907 GB, free: 4.211 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002887/0.9894, allocations: 52 kB / 0.5907 GB, free: 4.16 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 69 ($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,$PRE.rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,$PRE.rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[2].off,$PRE.rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[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 (144): * Single equations (assignments): 143 * 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.0008297/0.9903, allocations: 249.5 kB / 0.5909 GB, free: 3.902 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006821/0.991, allocations: 150.2 kB / 0.5911 GB, free: 3.754 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007979/0.9918, allocations: 194.9 kB / 0.5913 GB, free: 3.559 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.839e-05/0.9919, allocations: 12 kB / 0.5913 GB, free: 3.547 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.9919, allocations: 4 kB / 0.5913 GB, free: 3.543 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.169e-05/0.992, allocations: 7.969 kB / 0.5913 GB, free: 3.535 MB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01615/1.008, allocations: 4.2 MB / 0.5954 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.735e-06/1.008, allocations: 0 / 0.5954 GB, free: 15.28 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007251/1.009, allocations: 115.8 kB / 0.5955 GB, free: 15.16 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001798/1.011, allocations: 0.5277 MB / 0.596 GB, free: 14.63 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001538/1.011, allocations: 24 kB / 0.596 GB, free: 14.61 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01159/1.023, allocations: 6.042 MB / 0.6019 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.631e-06/1.023, allocations: 0 / 0.6019 GB, free: 8.418 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005893/1.028, allocations: 2.884 MB / 0.6048 GB, free: 5.516 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001092/1.03, allocations: 407 kB / 0.6052 GB, free: 5.098 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003095/1.03, allocations: 51.97 kB / 0.6052 GB, free: 5.047 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001138/1.031, allocations: 123.9 kB / 0.6053 GB, free: 4.926 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006673/1.032, allocations: 236.9 kB / 0.6055 GB, free: 4.691 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001295/1.032, allocations: 39.98 kB / 0.6056 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.001863/1.034, allocations: 0.9221 MB / 0.6065 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of sort global known variables: time 9.22e-07/1.034, allocations: 0 / 0.6065 GB, free: 3.723 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.003143/1.037, allocations: 0.9891 MB / 0.6074 GB, free: 2.73 MB / 0.5105 GB 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: 48 (pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].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.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (95): * Single equations (assignments): 85 * 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.0004162/1.037, allocations: 213.4 kB / 0.6077 GB, free: 2.52 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.3053/1.343, allocations: 3.36 MB / 0.6109 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 9.23e-06/1.343, allocations: 0.875 kB / 0.6109 GB, free: 149.3 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.002574/1.345, allocations: 1.152 MB / 0.6121 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00212/1.347, allocations: 363.8 kB / 0.6124 GB, free: 149.1 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007492/1.355, allocations: 3.169 MB / 0.6155 GB, free: 148.5 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002234/1.357, allocations: 1.877 MB / 0.6173 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.002904/1.36, allocations: 0.6956 MB / 0.618 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003466/1.361, allocations: 81.16 kB / 0.6181 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of SimCode: time 2.051e-06/1.361, allocations: 0 / 0.6181 GB, free: 147.7 MB / 0.5105 GB Notification: Performance of Templates: time 0.1223/1.483, allocations: 34.22 MB / 0.6515 GB, free: 144.5 MB / 0.5105 GB