Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.012/2.012, allocations: 205.8 MB / 218.9 MB, free: 9.355 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.24e-05, allocations: 7.984 kB / 269.5 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.101/0.1011, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4296/0.5307, allocations: 93.44 MB / 410.5 MB, free: 10.3 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003488/0.5311, allocations: 86.19 kB / 410.6 MB, free: 10.25 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1523/0.6835, allocations: 36.96 MB / 447.5 MB, free: 11.07 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6835, allocations: 4 kB / 447.5 MB, free: 11.06 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002671/0.6838, allocations: 47.94 kB / 447.6 MB, free: 11.02 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: 451 * Number of variables: 451 Notification: Performance of Generate backend data structure: time 0.007821/0.6916, allocations: 1.994 MB / 449.6 MB, free: 9.086 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.826e-05/0.6917, allocations: 12.03 kB / 449.6 MB, free: 9.074 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001136/0.6929, allocations: 259.8 kB / 449.8 MB, free: 8.918 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008794/0.6938, allocations: 232.5 kB / 450.1 MB, free: 8.691 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008249/0.7021, allocations: 2.071 MB / 452.1 MB, free: 7.031 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001949/0.7023, allocations: 140.7 kB / 452.3 MB, free: 6.953 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007594/0.7031, allocations: 179.3 kB / 452.4 MB, free: 6.832 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006952/0.7101, allocations: 2.35 MB / 454.8 MB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.064e-05/0.7102, allocations: 0 / 454.8 MB, free: 5.219 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002892/0.7105, allocations: 83.8 kB / 454.9 MB, free: 5.172 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001338/0.7106, allocations: 71.48 kB / 454.9 MB, free: 5.102 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006242/0.7169, allocations: 1.885 MB / 456.8 MB, free: 3.215 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01899/0.7359, allocations: 6.879 MB / 463.7 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004363/0.7404, allocations: 1.6 MB / 465.3 MB, free: 10.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002569/0.743, allocations: 0.9699 MB / 466.3 MB, free: 9.629 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001216/0.7431, allocations: 13 kB / 466.3 MB, free: 9.617 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002221/0.7454, allocations: 0.882 MB / 467.2 MB, free: 8.711 MB / 378.7 MB Notification: Performance of pre-optimization done (n=126): time 4.308e-06/0.7454, allocations: 0 / 467.2 MB, free: 8.711 MB / 378.7 MB Notification: Performance of matching and sorting (n=126): time 0.004647/0.7501, allocations: 1.653 MB / 468.8 MB, free: 7.047 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001188/0.7502, allocations: 153.5 kB / 469 MB, free: 6.867 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00247/0.7527, allocations: 1.023 MB / 470 MB, free: 5.824 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003584/0.7531, allocations: 77.67 kB / 470.1 MB, free: 5.742 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001008/0.7541, allocations: 0.7611 MB / 470.8 MB, free: 4.969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006714/0.7548, allocations: 371 kB / 471.2 MB, free: 4.602 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.755, allocations: 24 kB / 471.2 MB, free: 4.578 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001923/0.7552, allocations: 365.9 kB / 471.6 MB, free: 4.215 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001903/0.7571, allocations: 0.6521 MB / 472.2 MB, free: 3.562 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002374/0.7595, allocations: 0.9019 MB / 473.1 MB, free: 2.562 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.7616, allocations: 0.6958 MB / 473.8 MB, free: 1.863 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.558e-05/0.7617, allocations: 4 kB / 473.8 MB, free: 1.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.007093/0.7688, allocations: 1.934 MB / 475.8 MB, free: 15.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.002013/0.7709, allocations: 2.446 MB / 478.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.703e-05/0.771, allocations: 4 kB / 478.2 MB, free: 13.28 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003561/0.7746, allocations: 494 kB / 478.7 MB, free: 12.79 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002305/0.7769, allocations: 191.6 kB / 478.9 MB, free: 12.61 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01282/0.7898, allocations: 5.232 MB / 484.1 MB, free: 7.23 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001985/0.7918, allocations: 187 kB / 484.3 MB, free: 7.047 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002495/0.7921, allocations: 44 kB / 484.3 MB, free: 7.004 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.615e-05/0.7922, allocations: 4 kB / 484.3 MB, free: 7 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004803/0.797, allocations: 1.792 MB / 486.1 MB, free: 5.203 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.144e-05/0.7971, allocations: 12.81 kB / 486.1 MB, free: 5.191 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001823/0.7989, allocations: 497 kB / 486.6 MB, free: 4.703 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001437/0.8004, allocations: 175.7 kB / 486.8 MB, free: 4.531 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01152/0.8119, allocations: 5.217 MB / 492 MB, free: 15.18 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.8138, allocations: 171.2 kB / 492.2 MB, free: 15.01 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001914/0.814, allocations: 55.94 kB / 492.2 MB, free: 14.95 MB / 410.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: 69 ($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,$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 (138): * Single equations (assignments): 137 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0005341/0.8146, allocations: 229.3 kB / 492.5 MB, free: 14.71 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004575/0.815, allocations: 138.3 kB / 492.6 MB, free: 14.58 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005686/0.8156, allocations: 169.3 kB / 492.8 MB, free: 14.41 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.8156, allocations: 16 kB / 492.8 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-05/0.8157, allocations: 7.953 kB / 492.8 MB, free: 14.39 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/0.8157, allocations: 7.969 kB / 492.8 MB, free: 14.38 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009519/0.8252, allocations: 3.587 MB / 496.4 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/0.8253, allocations: 0 / 496.4 MB, free: 10.73 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001214/0.8265, allocations: 123.8 kB / 496.5 MB, free: 10.61 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001835/0.8284, allocations: 460.7 kB / 497 MB, free: 10.16 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002162/0.8286, allocations: 31.98 kB / 497 MB, free: 10.13 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01135/0.84, allocations: 5.162 MB / 0.4904 GB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.219e-06/0.84, allocations: 0 / 0.4904 GB, free: 4.828 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006887/0.8469, allocations: 2.624 MB / 0.4929 GB, free: 2.184 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001283/0.8483, allocations: 371.2 kB / 0.4933 GB, free: 1.801 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004684/0.8488, allocations: 47.97 kB / 0.4933 GB, free: 1.754 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/0.8504, allocations: 115.9 kB / 0.4935 GB, free: 1.641 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009116/0.8513, allocations: 224.6 kB / 0.4937 GB, free: 1.422 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00015/0.8515, allocations: 39.98 kB / 0.4937 GB, free: 1.383 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001873/0.8534, allocations: 0.7691 MB / 0.4945 GB, free: 0.6016 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.81e-07/0.8534, allocations: 4 kB / 0.4945 GB, free: 0.5977 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003708/0.8571, allocations: 0.8722 MB / 0.4953 GB, free: 15.72 MB / 426.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 48 (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.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,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: 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_p.idealThyristor[3].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_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 83 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.00749/0.8647, allocations: 3.295 MB / 0.4985 GB, free: 12.4 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.008454/0.8732, allocations: 3.011 MB / 0.5015 GB, free: 9.363 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.955e-06/0.8732, allocations: 0 / 0.5015 GB, free: 9.363 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003016/0.8763, allocations: 1.045 MB / 0.5025 GB, free: 8.312 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002652/0.879, allocations: 329 kB / 0.5028 GB, free: 7.992 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01096/0.89, allocations: 3.392 MB / 0.5061 GB, free: 4.547 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002257/0.8923, allocations: 1.736 MB / 0.5078 GB, free: 2.777 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003195/0.8955, allocations: 0.6036 MB / 0.5084 GB, free: 2.168 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001579/0.8971, allocations: 0.6125 MB / 0.509 GB, free: 1.555 MB / 426.7 MB Notification: Performance of SimCode: time 1.723e-06/0.8972, allocations: 0 / 0.509 GB, free: 1.555 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4259/1.323, allocations: 42.79 MB / 0.5508 GB, free: 118.1 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002747/1.323, allocations: 255.5 kB / 0.551 GB, free: 117.7 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.307/5.631, allocations: 0 / 0.551 GB, free: 117.7 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat