Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.006/2.006, allocations: 205.8 MB / 218.9 MB, free: 9.348 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.23e-05/3.247e-05, allocations: 8 kB / 269.5 MB, free: 6.301 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1058/0.1058, allocations: 47.57 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4453/0.5511, allocations: 92.89 MB / 409.9 MB, free: 10.86 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000331/0.5515, allocations: 88.81 kB / 410 MB, free: 10.81 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1541/0.7057, allocations: 36.49 MB / 446.5 MB, free: 12.04 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.324e-06/0.7057, allocations: 4 kB / 446.5 MB, free: 12.03 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002096/0.706, allocations: 51.92 kB / 446.6 MB, free: 11.98 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: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.007204/0.7132, allocations: 1.963 MB / 448.5 MB, free: 10.08 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/0.7133, allocations: 8.031 kB / 448.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008539/0.7141, allocations: 261.1 kB / 448.8 MB, free: 9.914 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007191/0.7149, allocations: 221.7 kB / 449 MB, free: 9.695 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00875/0.7236, allocations: 2.078 MB / 451.1 MB, free: 8.043 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002156/0.7239, allocations: 137.4 kB / 451.2 MB, free: 7.965 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007138/0.7246, allocations: 181.7 kB / 451.4 MB, free: 7.844 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006766/0.7314, allocations: 2.332 MB / 453.7 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.536e-05/0.7315, allocations: 3.984 kB / 453.7 MB, free: 6.238 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002708/0.7318, allocations: 81.67 kB / 453.8 MB, free: 6.215 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001316/0.7319, allocations: 75.45 kB / 453.9 MB, free: 6.141 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005693/0.7376, allocations: 1.881 MB / 455.8 MB, free: 4.266 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01934/0.757, allocations: 6.851 MB / 462.6 MB, free: 13.29 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004697/0.7618, allocations: 1.68 MB / 464.3 MB, free: 11.6 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002394/0.7642, allocations: 0.9559 MB / 465.3 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.4e-05/0.7643, allocations: 13 kB / 465.3 MB, free: 10.62 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002091/0.7664, allocations: 0.8664 MB / 466.1 MB, free: 9.738 MB / 378.7 MB Notification: Performance of pre-optimization done (n=123): time 4.198e-06/0.7665, allocations: 4 kB / 466.1 MB, free: 9.734 MB / 378.7 MB Notification: Performance of matching and sorting (n=123): time 0.005517/0.772, allocations: 1.653 MB / 467.8 MB, free: 8.07 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001686/0.7722, allocations: 153.5 kB / 467.9 MB, free: 7.891 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003847/0.7761, allocations: 1.055 MB / 469 MB, free: 6.816 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005165/0.7767, allocations: 77.67 kB / 469.1 MB, free: 6.734 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001442/0.7781, allocations: 0.7533 MB / 469.8 MB, free: 5.969 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009159/0.7791, allocations: 363 kB / 470.2 MB, free: 5.609 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001819/0.7793, allocations: 32 kB / 470.2 MB, free: 5.578 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0002794/0.7796, allocations: 357.9 kB / 470.6 MB, free: 5.223 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002694/0.7823, allocations: 0.6403 MB / 471.2 MB, free: 4.582 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003172/0.7855, allocations: 0.9097 MB / 472.1 MB, free: 3.578 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00284/0.7884, allocations: 0.688 MB / 472.8 MB, free: 2.887 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.804e-05/0.7885, allocations: 4 kB / 472.8 MB, free: 2.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.00784/0.7964, allocations: 1.926 MB / 474.7 MB, free: 0.9453 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001515/0.7979, allocations: 2.442 MB / 477.2 MB, free: 14.32 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.909e-05/0.798, allocations: 8 kB / 477.2 MB, free: 14.31 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003197/0.8012, allocations: 497.2 kB / 477.7 MB, free: 13.82 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0022/0.8035, allocations: 179.7 kB / 477.8 MB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01828/0.8218, allocations: 5.209 MB / 483 MB, free: 8.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002945/0.8248, allocations: 195 kB / 483.2 MB, free: 8.102 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002984/0.8251, allocations: 48 kB / 483.3 MB, free: 8.055 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.8252, allocations: 4 kB / 483.3 MB, free: 8.051 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007375/0.8326, allocations: 1.776 MB / 485.1 MB, free: 6.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.334e-05/0.8327, allocations: 7.953 kB / 485.1 MB, free: 6.262 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003206/0.8359, allocations: 497.1 kB / 485.6 MB, free: 5.773 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002707/0.8387, allocations: 175.7 kB / 485.7 MB, free: 5.602 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01382/0.8526, allocations: 5.197 MB / 490.9 MB, free: 268 kB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.8545, allocations: 163.2 kB / 491.1 MB, free: 104 kB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001614/0.8547, allocations: 51.95 kB / 491.1 MB, free: 52 kB / 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 (137): * Single equations (assignments): 136 * 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.0005885/0.8553, allocations: 241.3 kB / 491.4 MB, free: 15.8 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003818/0.8557, allocations: 126.4 kB / 491.5 MB, free: 15.68 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005753/0.8563, allocations: 168.7 kB / 491.7 MB, free: 15.51 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.536e-05/0.8563, allocations: 15.94 kB / 491.7 MB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.035e-06/0.8563, allocations: 0 / 491.7 MB, free: 15.49 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.018e-05/0.8563, allocations: 7.984 kB / 491.7 MB, free: 15.48 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009609/0.866, allocations: 3.568 MB / 495.3 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.175e-05/0.866, allocations: 0 / 495.3 MB, free: 11.86 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009652/0.867, allocations: 103.8 kB / 495.4 MB, free: 11.75 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001765/0.8688, allocations: 464.7 kB / 495.8 MB, free: 11.3 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001755/0.869, allocations: 31.94 kB / 495.8 MB, free: 11.27 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01111/0.8801, allocations: 5.155 MB / 0.4893 GB, free: 5.973 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.8802, allocations: 4 kB / 0.4893 GB, free: 5.969 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00626/0.8864, allocations: 2.577 MB / 0.4918 GB, free: 3.375 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/0.8877, allocations: 367.2 kB / 0.4921 GB, free: 2.996 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000375/0.8881, allocations: 47.97 kB / 0.4922 GB, free: 2.949 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001339/0.8894, allocations: 103.9 kB / 0.4923 GB, free: 2.848 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000826/0.8903, allocations: 224.7 kB / 0.4925 GB, free: 2.629 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001273/0.8904, allocations: 35.98 kB / 0.4925 GB, free: 2.594 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001849/0.8923, allocations: 0.7927 MB / 0.4933 GB, free: 1.789 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.12e-07/0.8923, allocations: 0 / 0.4933 GB, free: 1.789 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003448/0.8957, allocations: 0.8721 MB / 0.4941 GB, free: 0.9141 MB / 410.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_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * 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.006883/0.9027, allocations: 3.225 MB / 0.4973 GB, free: 13.66 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.00782/0.9105, allocations: 2.975 MB / 0.5002 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.905e-06/0.9106, allocations: 0 / 0.5002 GB, free: 10.66 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002786/0.9134, allocations: 1.034 MB / 0.5012 GB, free: 9.617 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002552/0.916, allocations: 312.3 kB / 0.5015 GB, free: 9.312 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01048/0.9265, allocations: 3.349 MB / 0.5048 GB, free: 5.91 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002059/0.9286, allocations: 1.728 MB / 0.5065 GB, free: 4.148 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002895/0.9315, allocations: 0.6115 MB / 0.5071 GB, free: 3.531 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001343/0.9329, allocations: 0.6086 MB / 0.5077 GB, free: 2.926 MB / 426.7 MB Notification: Performance of SimCode: time 1.443e-06/0.9329, allocations: 0 / 0.5077 GB, free: 2.926 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3829/1.316, allocations: 42.3 MB / 0.549 GB, free: 119.6 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002645/1.316, allocations: 232 kB / 0.5492 GB, free: 119.3 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.274/5.59, allocations: 2.344 kB / 0.5492 GB, free: 119.3 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_res.mat does not exist to compare? outputFormat=mat