Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_R,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.047/2.047, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.048e-05/3.07e-05, allocations: 4 kB / 269.5 MB, free: 6.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1091/0.1091, allocations: 47.57 MB / 317 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4874/0.5966, allocations: 92.34 MB / 409.4 MB, free: 11.42 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003315/0.597, allocations: 84.38 kB / 409.5 MB, free: 11.37 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1474/0.7444, allocations: 35.89 MB / 445.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.115e-06/0.7444, allocations: 3.938 kB / 445.4 MB, free: 13.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001935/0.7446, allocations: 55.94 kB / 445.4 MB, free: 13.04 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: 437 * Number of variables: 437 Notification: Performance of Generate backend data structure: time 0.006607/0.7513, allocations: 1.927 MB / 447.3 MB, free: 11.16 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.991e-05/0.7513, allocations: 12.03 kB / 447.4 MB, free: 11.15 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007179/0.7521, allocations: 253.8 kB / 447.6 MB, free: 11 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006961/0.7528, allocations: 221.4 kB / 447.8 MB, free: 10.78 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008305/0.7611, allocations: 2.05 MB / 449.9 MB, free: 9.148 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001917/0.7614, allocations: 141.5 kB / 450 MB, free: 9.066 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007344/0.7621, allocations: 167.1 kB / 450.2 MB, free: 8.957 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006514/0.7686, allocations: 2.302 MB / 452.5 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.093e-05/0.7688, allocations: 0 / 452.5 MB, free: 7.375 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002658/0.769, allocations: 73.44 kB / 452.5 MB, free: 7.355 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001261/0.7692, allocations: 75.36 kB / 452.6 MB, free: 7.281 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005935/0.7751, allocations: 1.864 MB / 454.5 MB, free: 5.547 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01924/0.7944, allocations: 6.757 MB / 461.2 MB, free: 14.66 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00493/0.7994, allocations: 1.67 MB / 462.9 MB, free: 12.98 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003226/0.8027, allocations: 1.126 MB / 464 MB, free: 11.86 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001025/0.8028, allocations: 9 kB / 464 MB, free: 11.85 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002072/0.8049, allocations: 0.8469 MB / 464.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of pre-optimization done (n=120): time 4.388e-06/0.8049, allocations: 0 / 464.9 MB, free: 10.98 MB / 378.7 MB Notification: Performance of matching and sorting (n=120): time 0.004602/0.8095, allocations: 1.636 MB / 466.5 MB, free: 9.332 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001211/0.8097, allocations: 157.4 kB / 466.7 MB, free: 9.148 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00255/0.8123, allocations: 1.042 MB / 467.7 MB, free: 8.086 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003601/0.8127, allocations: 77.67 kB / 467.8 MB, free: 8.004 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009795/0.8137, allocations: 0.7337 MB / 468.5 MB, free: 7.258 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006086/0.8143, allocations: 363.1 kB / 468.9 MB, free: 6.898 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001167/0.8144, allocations: 28 kB / 468.9 MB, free: 6.871 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001867/0.8146, allocations: 357.9 kB / 469.3 MB, free: 6.516 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/0.8163, allocations: 0.6273 MB / 469.9 MB, free: 5.891 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.8182, allocations: 0.885 MB / 470.8 MB, free: 4.906 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001651/0.8199, allocations: 0.6802 MB / 471.5 MB, free: 4.23 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.587e-06/0.8199, allocations: 0 / 471.5 MB, free: 4.23 MB / 378.7 MB Notification: Performance of matching and sorting (n=166) (initialization): time 0.005048/0.825, allocations: 1.898 MB / 473.4 MB, free: 2.32 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001198/0.8262, allocations: 2.452 MB / 475.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.081e-05/0.8263, allocations: 4 kB / 475.8 MB, free: 15.68 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002179/0.8285, allocations: 0.5204 MB / 476.3 MB, free: 15.15 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.8298, allocations: 167.7 kB / 476.5 MB, free: 14.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01218/0.842, allocations: 5.5 MB / 482 MB, free: 9.352 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001968/0.844, allocations: 187 kB / 482.2 MB, free: 9.168 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002306/0.8443, allocations: 51.98 kB / 482.2 MB, free: 9.117 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.56e-05/0.8443, allocations: 4 kB / 482.2 MB, free: 9.113 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004568/0.8489, allocations: 1.765 MB / 484 MB, free: 7.344 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.631e-05/0.849, allocations: 4.812 kB / 484 MB, free: 7.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001971/0.851, allocations: 0.5123 MB / 484.5 MB, free: 6.824 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001271/0.8523, allocations: 163.8 kB / 484.7 MB, free: 6.664 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01242/0.8647, allocations: 5.489 MB / 490.2 MB, free: 1.023 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001909/0.8667, allocations: 171.1 kB / 490.3 MB, free: 0.8555 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/0.867, allocations: 48 kB / 490.4 MB, free: 0.8086 MB / 394.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 (129): * Single equations (assignments): 128 * 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 32} Notification: Performance of prepare postOptimizeDAE: time 0.0005436/0.8675, allocations: 237.3 kB / 490.6 MB, free: 0.5625 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004096/0.868, allocations: 126.4 kB / 490.7 MB, free: 448 kB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005545/0.8685, allocations: 164.5 kB / 490.9 MB, free: 284 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-05/0.8686, allocations: 12 kB / 490.9 MB, free: 272 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.648e-06/0.8686, allocations: 3.984 kB / 490.9 MB, free: 268 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.687e-05/0.8686, allocations: 3.984 kB / 490.9 MB, free: 264 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01038/0.879, allocations: 3.654 MB / 494.6 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-05/0.8791, allocations: 4 kB / 494.6 MB, free: 12.54 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008431/0.8799, allocations: 87.83 kB / 494.7 MB, free: 12.45 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002023/0.882, allocations: 496.2 kB / 495.1 MB, free: 11.96 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002058/0.8822, allocations: 23.98 kB / 495.2 MB, free: 11.94 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01229/0.8945, allocations: 5.418 MB / 0.4888 GB, free: 6.383 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.471e-06/0.8946, allocations: 3.953 kB / 0.4888 GB, free: 6.379 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006269/0.9008, allocations: 2.505 MB / 0.4913 GB, free: 3.855 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001243/0.9021, allocations: 363.2 kB / 0.4916 GB, free: 3.48 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000368/0.9025, allocations: 47.97 kB / 0.4917 GB, free: 3.434 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001329/0.9039, allocations: 111.8 kB / 0.4918 GB, free: 3.324 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000813/0.9047, allocations: 240.5 kB / 0.492 GB, free: 3.086 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.9048, allocations: 28 kB / 0.4921 GB, free: 3.059 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001837/0.9067, allocations: 0.7806 MB / 0.4928 GB, free: 2.266 MB / 410.7 MB Notification: Performance of sort global known variables: time 9.02e-07/0.9067, allocations: 0 / 0.4928 GB, free: 2.266 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003297/0.91, allocations: 0.845 MB / 0.4936 GB, free: 1.418 MB / 410.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: 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_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].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 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.006659/0.9167, allocations: 3.157 MB / 0.4967 GB, free: 14.23 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00838/0.9252, allocations: 2.967 MB / 0.4996 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 8.766e-06/0.9252, allocations: 0 / 0.4996 GB, free: 11.25 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002954/0.9282, allocations: 1.017 MB / 0.5006 GB, free: 10.22 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002665/0.9309, allocations: 316.2 kB / 0.5009 GB, free: 9.91 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01035/0.9413, allocations: 3.246 MB / 0.5041 GB, free: 6.609 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002131/0.9435, allocations: 1.729 MB / 0.5058 GB, free: 4.848 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002836/0.9464, allocations: 0.5802 MB / 0.5063 GB, free: 4.262 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001399/0.9478, allocations: 0.589 MB / 0.5069 GB, free: 3.672 MB / 426.7 MB Notification: Performance of SimCode: time 1.863e-06/0.9478, allocations: 0 / 0.5069 GB, free: 3.672 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3827/1.331, allocations: 43.11 MB / 0.549 GB, free: 119.9 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001691/1.331, allocations: 237 kB / 0.5492 GB, free: 119.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.144/5.475, allocations: 3.938 kB / 0.5492 GB, free: 119.5 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_R_res.mat does not exist to compare? outputFormat=mat