Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.901/1.901, allocations: 194.9 MB / 208 MB, free: 3.188 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.38e-05/3.388e-05, allocations: 4 kB / 255.5 MB, free: 2.609 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0932/0.09326, allocations: 44.49 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4453/0.5386, allocations: 87.9 MB / 387.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000325/0.539, allocations: 90.25 kB / 388 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1559/0.6949, allocations: 36.57 MB / 424.5 MB, free: 0.7422 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.544e-06/0.6949, allocations: 4 kB / 424.5 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002675/0.6952, allocations: 50.56 kB / 424.6 MB, free: 0.7305 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.007482/0.7027, allocations: 1.988 MB / 426.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.7028, allocations: 7.75 kB / 426.6 MB, free: 15.52 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009846/0.7038, allocations: 264.8 kB / 426.8 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009444/0.7047, allocations: 226.2 kB / 427.1 MB, free: 15.32 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008143/0.7129, allocations: 2.065 MB / 429.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001935/0.7132, allocations: 140.7 kB / 429.3 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006764/0.7139, allocations: 172.7 kB / 429.4 MB, free: 14.5 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006651/0.7205, allocations: 2.351 MB / 431.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.066e-05/0.7206, allocations: 0 / 431.8 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003102/0.721, allocations: 81.56 kB / 431.9 MB, free: 13.88 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.7211, allocations: 75.62 kB / 431.9 MB, free: 13.87 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005738/0.7268, allocations: 1.886 MB / 433.8 MB, free: 13.63 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02137/0.7482, allocations: 6.865 MB / 440.7 MB, free: 7.848 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004534/0.7528, allocations: 1.616 MB / 442.3 MB, free: 6.223 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002742/0.7556, allocations: 0.9623 MB / 443.3 MB, free: 5.262 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001287/0.7558, allocations: 13 kB / 443.3 MB, free: 5.25 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002355/0.7582, allocations: 0.8818 MB / 444.2 MB, free: 4.348 MB / 330.7 MB Notification: Performance of pre-optimization done (n=126): time 4.548e-06/0.7582, allocations: 0 / 444.2 MB, free: 4.348 MB / 330.7 MB Notification: Performance of matching and sorting (n=126): time 0.005008/0.7632, allocations: 1.653 MB / 445.8 MB, free: 2.684 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001404/0.7634, allocations: 153.5 kB / 446 MB, free: 2.504 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00253/0.7659, allocations: 1.023 MB / 447 MB, free: 1.461 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004135/0.7664, allocations: 81.67 kB / 447.1 MB, free: 1.375 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001054/0.7675, allocations: 0.7528 MB / 447.8 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006369/0.7681, allocations: 378.1 kB / 448.2 MB, free: 268 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001227/0.7683, allocations: 24 kB / 448.2 MB, free: 244 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002157/0.7685, allocations: 365.9 kB / 448.6 MB, free: 15.88 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001713/0.7702, allocations: 0.6481 MB / 449.2 MB, free: 15.23 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00194/0.7722, allocations: 0.9175 MB / 450.1 MB, free: 14.22 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/0.774, allocations: 0.688 MB / 450.8 MB, free: 13.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.937e-06/0.774, allocations: 3.938 kB / 450.8 MB, free: 13.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.00512/0.7791, allocations: 1.93 MB / 452.8 MB, free: 11.58 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001086/0.7803, allocations: 2.446 MB / 455.2 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.329e-05/0.7803, allocations: 8 kB / 455.2 MB, free: 8.941 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001968/0.7823, allocations: 493.8 kB / 455.7 MB, free: 8.457 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00155/0.7838, allocations: 191.8 kB / 455.9 MB, free: 8.27 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01141/0.7953, allocations: 5.224 MB / 461.1 MB, free: 2.906 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001936/0.7972, allocations: 190.9 kB / 461.3 MB, free: 2.719 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001535/0.7974, allocations: 48 kB / 461.3 MB, free: 2.672 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.7974, allocations: 4 kB / 461.3 MB, free: 2.668 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004472/0.8019, allocations: 1.789 MB / 463.1 MB, free: 0.875 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.408e-05/0.802, allocations: 8 kB / 463.1 MB, free: 0.8672 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001838/0.8039, allocations: 492.6 kB / 463.6 MB, free: 392 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/0.8053, allocations: 179.7 kB / 463.8 MB, free: 212 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01108/0.8165, allocations: 5.224 MB / 469 MB, free: 10.85 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001854/0.8184, allocations: 171.2 kB / 469.2 MB, free: 10.68 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001494/0.8185, allocations: 52 kB / 469.2 MB, free: 10.63 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 (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.0005345/0.8191, allocations: 237.3 kB / 469.5 MB, free: 10.38 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003414/0.8194, allocations: 130.4 kB / 469.6 MB, free: 10.25 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005509/0.82, allocations: 169.3 kB / 469.8 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-05/0.82, allocations: 16 kB / 469.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.82, allocations: 4 kB / 469.8 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.527e-05/0.8201, allocations: 3.984 kB / 469.8 MB, free: 10.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008886/0.829, allocations: 3.585 MB / 473.4 MB, free: 6.445 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/0.829, allocations: 3.938 kB / 473.4 MB, free: 6.441 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/0.8301, allocations: 119.8 kB / 473.5 MB, free: 6.324 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001731/0.8319, allocations: 468.7 kB / 474 MB, free: 5.863 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.00017/0.8321, allocations: 20 kB / 474 MB, free: 5.844 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01116/0.8432, allocations: 5.162 MB / 479.1 MB, free: 0.5469 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/0.8433, allocations: 3.953 kB / 479.1 MB, free: 0.543 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006572/0.8499, allocations: 2.608 MB / 481.8 MB, free: 13.92 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001169/0.8511, allocations: 375.2 kB / 482.1 MB, free: 13.53 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003188/0.8514, allocations: 43.97 kB / 482.2 MB, free: 13.49 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001425/0.8529, allocations: 115.9 kB / 482.3 MB, free: 13.38 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008194/0.8537, allocations: 232.6 kB / 482.5 MB, free: 13.15 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001301/0.8539, allocations: 36.11 kB / 482.5 MB, free: 13.11 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001777/0.8556, allocations: 0.773 MB / 483.3 MB, free: 12.33 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.8557, allocations: 3.938 kB / 483.3 MB, free: 12.32 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003625/0.8593, allocations: 0.8722 MB / 484.2 MB, free: 11.45 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_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.007936/0.8673, allocations: 3.283 MB / 487.5 MB, free: 8.141 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008725/0.8761, allocations: 3.018 MB / 490.5 MB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.565e-06/0.8761, allocations: 0.5 kB / 490.5 MB, free: 5.094 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002962/0.8791, allocations: 1.048 MB / 491.5 MB, free: 4.043 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002709/0.8818, allocations: 316.3 kB / 491.8 MB, free: 3.73 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01126/0.8931, allocations: 3.392 MB / 495.2 MB, free: 292 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00237/0.8956, allocations: 1.725 MB / 497 MB, free: 14.53 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003039/0.8986, allocations: 0.6114 MB / 497.6 MB, free: 13.91 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001427/0.9001, allocations: 0.6125 MB / 498.2 MB, free: 13.3 MB / 394.7 MB Notification: Performance of SimCode: time 4.038e-06/0.9001, allocations: 0 / 498.2 MB, free: 13.3 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4049/1.305, allocations: 42.65 MB / 0.5282 GB, free: 120.9 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002966/1.305, allocations: 254.1 kB / 0.5284 GB, free: 120.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.274/5.579, allocations: 3.625 kB / 0.5284 GB, free: 120.5 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_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat