Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.058/2.058, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.495e-05/3.511e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1008/0.1008, allocations: 44.52 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.479/0.5799, allocations: 87.27 MB / 387.2 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004444/0.5805, allocations: 87.72 kB / 387.3 MB, free: 12.78 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2245/0.805, allocations: 47.05 MB / 434.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.986e-06/0.805, allocations: 0 / 434.4 MB, free: 13.12 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.000214/0.8053, allocations: 51.94 kB / 434.4 MB, free: 13.07 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 442 * Number of variables: 442 Notification: Performance of Generate backend data structure: time 0.007452/0.8127, allocations: 1.936 MB / 436.4 MB, free: 11.21 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.804e-05/0.8128, allocations: 12.03 kB / 436.4 MB, free: 11.2 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001006/0.8138, allocations: 258.8 kB / 436.6 MB, free: 11.04 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007666/0.8146, allocations: 221.4 kB / 436.8 MB, free: 10.82 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009204/0.8238, allocations: 2.063 MB / 438.9 MB, free: 9.25 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002077/0.8241, allocations: 140.8 kB / 439 MB, free: 9.172 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007382/0.8249, allocations: 176.5 kB / 439.2 MB, free: 9.055 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007527/0.8324, allocations: 2.338 MB / 441.6 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.549e-05/0.8325, allocations: 0 / 441.6 MB, free: 7.328 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002905/0.8328, allocations: 79.75 kB / 441.6 MB, free: 7.254 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001334/0.833, allocations: 71.41 kB / 441.7 MB, free: 7.184 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006353/0.8393, allocations: 1.899 MB / 443.6 MB, free: 5.281 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01986/0.8592, allocations: 6.785 MB / 450.4 MB, free: 14.42 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004823/0.8641, allocations: 1.679 MB / 452.1 MB, free: 12.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002321/0.8665, allocations: 0.9171 MB / 453 MB, free: 11.81 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001143/0.8666, allocations: 16.98 kB / 453 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002172/0.8688, allocations: 0.8761 MB / 453.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of pre-optimization done (n=122): time 5.34e-06/0.8689, allocations: 0 / 453.9 MB, free: 10.89 MB / 346.7 MB Notification: Performance of matching and sorting (n=122): time 0.004734/0.8736, allocations: 1.622 MB / 455.5 MB, free: 9.258 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001375/0.8738, allocations: 164.6 kB / 455.7 MB, free: 9.07 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002629/0.8764, allocations: 1.031 MB / 456.7 MB, free: 8.02 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000385/0.8769, allocations: 77.67 kB / 456.8 MB, free: 7.938 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00101/0.8779, allocations: 0.7514 MB / 457.5 MB, free: 7.184 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005554/0.8785, allocations: 360.8 kB / 457.9 MB, free: 6.84 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001175/0.8786, allocations: 28 kB / 457.9 MB, free: 6.812 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.8788, allocations: 361.9 kB / 458.3 MB, free: 6.453 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001675/0.8805, allocations: 0.6403 MB / 458.9 MB, free: 5.812 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001912/0.8824, allocations: 0.9058 MB / 459.8 MB, free: 4.812 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00172/0.8841, allocations: 0.696 MB / 460.5 MB, free: 4.113 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.8842, allocations: 0 / 460.5 MB, free: 4.113 MB / 346.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.005053/0.8892, allocations: 1.933 MB / 462.4 MB, free: 2.168 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001045/0.8903, allocations: 2.444 MB / 464.9 MB, free: 15.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.384e-05/0.8904, allocations: 12 kB / 464.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002004/0.8924, allocations: 497.7 kB / 465.4 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/0.8938, allocations: 171.7 kB / 465.5 MB, free: 14.87 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.9055, allocations: 5.224 MB / 470.8 MB, free: 9.512 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002032/0.9076, allocations: 195 kB / 471 MB, free: 9.32 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002935/0.9079, allocations: 48.11 kB / 471 MB, free: 9.273 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.283e-05/0.9079, allocations: 0 / 471 MB, free: 9.273 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004695/0.9126, allocations: 1.8 MB / 472.8 MB, free: 7.469 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.447e-05/0.9127, allocations: 8 kB / 472.8 MB, free: 7.461 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001827/0.9145, allocations: 488.5 kB / 473.3 MB, free: 6.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001357/0.9159, allocations: 167.7 kB / 473.4 MB, free: 6.816 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01147/0.9274, allocations: 5.201 MB / 478.6 MB, free: 1.48 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001829/0.9293, allocations: 175.3 kB / 478.8 MB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002665/0.9296, allocations: 51.94 kB / 478.9 MB, free: 1.258 MB / 362.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 (136): * Single equations (assignments): 135 * 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.000544/0.9302, allocations: 241.2 kB / 479.1 MB, free: 1.008 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004059/0.9306, allocations: 130.5 kB / 479.2 MB, free: 0.8789 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006104/0.9312, allocations: 168.5 kB / 479.4 MB, free: 0.7109 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.835e-05/0.9312, allocations: 16 kB / 479.4 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.285e-06/0.9313, allocations: 0 / 479.4 MB, free: 0.6953 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.518e-05/0.9313, allocations: 3.984 kB / 479.4 MB, free: 0.6914 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009335/0.9406, allocations: 3.546 MB / 483 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.817e-06/0.9407, allocations: 0 / 483 MB, free: 13.11 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009463/0.9416, allocations: 95.83 kB / 483.1 MB, free: 13.02 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001817/0.9435, allocations: 468.7 kB / 483.5 MB, free: 12.56 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002143/0.9437, allocations: 27.98 kB / 483.5 MB, free: 12.53 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01158/0.9553, allocations: 5.155 MB / 488.7 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/0.9554, allocations: 0 / 488.7 MB, free: 7.246 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006527/0.9619, allocations: 2.568 MB / 491.3 MB, free: 4.66 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001276/0.9633, allocations: 363.2 kB / 491.6 MB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003936/0.9637, allocations: 43.98 kB / 491.7 MB, free: 4.242 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001314/0.965, allocations: 111.8 kB / 491.8 MB, free: 4.133 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007905/0.9658, allocations: 236.6 kB / 492 MB, free: 3.902 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001177/0.9659, allocations: 31.98 kB / 492 MB, free: 3.871 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001864/0.9678, allocations: 0.7767 MB / 492.8 MB, free: 3.082 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.21e-07/0.9679, allocations: 4 kB / 492.8 MB, free: 3.078 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003597/0.9715, allocations: 0.8489 MB / 493.7 MB, free: 2.227 MB / 378.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_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (89): * Single equations (assignments): 79 * 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.007216/0.9787, allocations: 3.216 MB / 496.9 MB, free: 14.99 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.008539/0.9873, allocations: 3.039 MB / 499.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.677e-06/0.9874, allocations: 4.188 kB / 499.9 MB, free: 11.93 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003018/0.9904, allocations: 1.047 MB / 0.4892 GB, free: 10.86 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00267/0.9932, allocations: 315.7 kB / 0.4895 GB, free: 10.55 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01455/1.008, allocations: 3.331 MB / 0.4928 GB, free: 7.168 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004023/1.012, allocations: 1.713 MB / 0.4945 GB, free: 5.422 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.004856/1.017, allocations: 0.5997 MB / 0.495 GB, free: 4.816 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002113/1.019, allocations: 0.6125 MB / 0.4956 GB, free: 4.203 MB / 394.7 MB Notification: Performance of SimCode: time 2.685e-06/1.019, allocations: 0 / 0.4956 GB, free: 4.203 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.418/1.437, allocations: 42.3 MB / 0.537 GB, free: 117.5 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002683/1.437, allocations: 234.2 kB / 0.5372 GB, free: 117.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.432/5.869, allocations: 4 kB / 0.5372 GB, free: 117.2 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RL_res.mat does not exist to compare? outputFormat=mat