Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.997/1.997, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.352e-05/3.365e-05, allocations: 8 kB / 292.3 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.106, allocations: 50.4 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5179/0.6239, allocations: 89.08 MB / 431.7 MB, free: 4.84 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003049/0.6243, allocations: 92.44 kB / 431.8 MB, free: 4.785 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06067/0.685, allocations: 14.34 MB / 446.2 MB, free: 8.648 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.734e-06/0.685, allocations: 0 / 446.2 MB, free: 8.648 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.49e-05/0.6851, allocations: 19.94 kB / 446.2 MB, free: 8.629 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.0024/0.6875, allocations: 0.8858 MB / 447.1 MB, free: 7.738 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/0.6876, allocations: 8.031 kB / 447.1 MB, free: 7.73 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002147/0.6878, allocations: 105.9 kB / 447.2 MB, free: 7.656 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000233/0.688, allocations: 86.97 kB / 447.3 MB, free: 7.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001149/0.6892, allocations: 0.5023 MB / 447.8 MB, free: 7.117 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.877e-05/0.6893, allocations: 50.56 kB / 447.8 MB, free: 7.086 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.6895, allocations: 73.88 kB / 447.9 MB, free: 7.035 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001752/0.6912, allocations: 0.6992 MB / 448.6 MB, free: 6.535 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.383e-05/0.6913, allocations: 3.938 kB / 448.6 MB, free: 6.531 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001002/0.6914, allocations: 33.69 kB / 448.6 MB, free: 6.52 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.207e-05/0.6914, allocations: 16 kB / 448.6 MB, free: 6.504 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001412/0.6929, allocations: 0.5061 MB / 449.2 MB, free: 6.18 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006003/0.6989, allocations: 2.675 MB / 451.8 MB, free: 3.988 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00136/0.7003, allocations: 0.5125 MB / 452.3 MB, free: 3.672 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009053/0.7012, allocations: 328.5 kB / 452.7 MB, free: 3.457 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.446e-05/0.7013, allocations: 4.438 kB / 452.7 MB, free: 3.449 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008161/0.7021, allocations: 354.5 kB / 453 MB, free: 3.18 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 3.346e-06/0.7021, allocations: 0 / 453 MB, free: 3.18 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001525/0.7037, allocations: 0.527 MB / 453.5 MB, free: 2.797 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.547e-05/0.7038, allocations: 148.8 kB / 453.7 MB, free: 2.625 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008133/0.7046, allocations: 430.2 kB / 454.1 MB, free: 2.297 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.794e-05/0.7047, allocations: 42.45 kB / 454.1 MB, free: 2.258 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003136/0.7051, allocations: 327.2 kB / 454.5 MB, free: 2.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002025/0.7053, allocations: 170.2 kB / 454.6 MB, free: 1.875 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.846e-05/0.7053, allocations: 13.19 kB / 454.6 MB, free: 1.871 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001783/0.7055, allocations: 365.2 kB / 455 MB, free: 1.531 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005196/0.706, allocations: 195 kB / 455.2 MB, free: 1.41 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006526/0.7067, allocations: 348.5 kB / 455.5 MB, free: 1.102 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005805/0.7073, allocations: 205.9 kB / 455.7 MB, free: 0.9688 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.819e-06/0.7073, allocations: 7.984 kB / 455.7 MB, free: 0.9609 MB / 362.7 MB Notification: Performance of matching and sorting (n=80) (initialization): time 0.00184/0.7092, allocations: 0.6598 MB / 456.4 MB, free: 404 kB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008244/0.71, allocations: 1.575 MB / 458 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.721e-05/0.7101, allocations: 4 kB / 458 MB, free: 14.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008469/0.711, allocations: 156.4 kB / 458.1 MB, free: 14.54 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007359/0.7117, allocations: 87.89 kB / 458.2 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004414/0.7161, allocations: 2.351 MB / 460.6 MB, free: 11.97 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009588/0.7171, allocations: 95.42 kB / 460.7 MB, free: 11.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.626e-05/0.7172, allocations: 23.98 kB / 460.7 MB, free: 11.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.7172, allocations: 4 kB / 460.7 MB, free: 11.85 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001709/0.719, allocations: 0.5802 MB / 461.3 MB, free: 11.27 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.75e-05/0.719, allocations: 4 kB / 461.3 MB, free: 11.26 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007778/0.7198, allocations: 148.9 kB / 461.4 MB, free: 11.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006459/0.7205, allocations: 79.84 kB / 461.5 MB, free: 11.04 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00416/0.7247, allocations: 2.351 MB / 463.8 MB, free: 8.555 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008348/0.7255, allocations: 75.61 kB / 463.9 MB, free: 8.48 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.209e-05/0.7256, allocations: 27.95 kB / 463.9 MB, free: 8.453 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 62 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002997/0.7259, allocations: 160.8 kB / 464.1 MB, free: 8.289 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001369/0.7261, allocations: 55.34 kB / 464.2 MB, free: 8.234 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002101/0.7263, allocations: 65.53 kB / 464.2 MB, free: 8.168 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.025e-05/0.7263, allocations: 7.984 kB / 464.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.087e-06/0.7263, allocations: 8 kB / 464.2 MB, free: 8.152 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.175e-06/0.7263, allocations: 4.094 kB / 464.2 MB, free: 8.148 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003185/0.7295, allocations: 1.398 MB / 465.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5e-06/0.7296, allocations: 0 / 465.6 MB, free: 6.691 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004221/0.73, allocations: 51.88 kB / 465.7 MB, free: 6.641 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006601/0.7307, allocations: 140.8 kB / 465.8 MB, free: 6.5 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.943e-05/0.7308, allocations: 15.98 kB / 465.8 MB, free: 6.484 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004011/0.7348, allocations: 2.24 MB / 468.1 MB, free: 4.117 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.512e-06/0.7348, allocations: 7.984 kB / 468.1 MB, free: 4.109 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002271/0.7371, allocations: 0.9162 MB / 469 MB, free: 3.16 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003778/0.7375, allocations: 196.2 kB / 469.2 MB, free: 2.949 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001417/0.7377, allocations: 15.98 kB / 469.2 MB, free: 2.934 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006548/0.7383, allocations: 43.97 kB / 469.3 MB, free: 2.891 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002763/0.7386, allocations: 76.45 kB / 469.3 MB, free: 2.816 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.669e-05/0.7387, allocations: 19.98 kB / 469.4 MB, free: 2.797 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006421/0.7393, allocations: 325.6 kB / 469.7 MB, free: 2.484 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.51e-07/0.7394, allocations: 0 / 469.7 MB, free: 2.484 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001511/0.7409, allocations: 347.1 kB / 470 MB, free: 2.145 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 20 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n1.off,rectifier.thyristor_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.002679/0.7436, allocations: 1.575 MB / 471.6 MB, free: 0.5352 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002938/0.7465, allocations: 1.15 MB / 472.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.19e-06/0.7466, allocations: 3.938 kB / 472.7 MB, free: 15.36 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001046/0.7476, allocations: 440.7 kB / 473.2 MB, free: 14.92 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009571/0.7486, allocations: 114.4 kB / 473.3 MB, free: 14.8 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003521/0.7521, allocations: 1.063 MB / 474.3 MB, free: 13.7 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006777/0.7529, allocations: 0.9595 MB / 475.3 MB, free: 12.71 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007596/0.7536, allocations: 120.8 kB / 475.4 MB, free: 12.59 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004265/0.7541, allocations: 227.4 kB / 475.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7541, allocations: 0 / 475.6 MB, free: 12.36 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05587/0.81, allocations: 16.2 MB / 491.8 MB, free: 12.43 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003199/0.8104, allocations: 227.6 kB / 492.1 MB, free: 12.14 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.041/3.852, allocations: 0 / 492.1 MB, free: 12.14 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_R_res.mat does not exist to compare? outputFormat=mat