Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.009/2.009, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.75e-05/3.772e-05, allocations: 4 kB / 292.8 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.108, allocations: 50.41 MB / 343.2 MB, free: 5.812 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4543/0.5624, allocations: 94.21 MB / 437.4 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003455/0.5628, allocations: 84.2 kB / 437.5 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1559/0.7187, allocations: 38.58 MB / 476.1 MB, free: 13.52 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.7187, allocations: 0 / 476.1 MB, free: 13.52 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002041/0.719, allocations: 55.92 kB / 476.1 MB, free: 13.47 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.007572/0.7266, allocations: 2.027 MB / 478.1 MB, free: 11.38 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.486e-05/0.7266, allocations: 8.031 kB / 478.1 MB, free: 11.38 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008876/0.7275, allocations: 269.7 kB / 478.4 MB, free: 11.1 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007486/0.7283, allocations: 229.3 kB / 478.6 MB, free: 10.88 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008504/0.7368, allocations: 2.12 MB / 480.7 MB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000204/0.7371, allocations: 143.5 kB / 480.9 MB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005642/0.7376, allocations: 180 kB / 481.1 MB, free: 8.379 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006908/0.7446, allocations: 2.413 MB / 483.5 MB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.486e-05/0.7447, allocations: 0 / 483.5 MB, free: 5.883 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000296/0.745, allocations: 79.98 kB / 483.6 MB, free: 5.805 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/0.7451, allocations: 75.58 kB / 483.6 MB, free: 5.73 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00589/0.751, allocations: 1.963 MB / 485.6 MB, free: 3.766 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01964/0.7707, allocations: 7.044 MB / 492.6 MB, free: 12.6 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003924/0.7747, allocations: 1.581 MB / 494.2 MB, free: 11.01 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002544/0.7773, allocations: 0.9889 MB / 495.2 MB, free: 10.02 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001094/0.7774, allocations: 17 kB / 495.2 MB, free: 10 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002205/0.7797, allocations: 0.9094 MB / 496.1 MB, free: 9.074 MB / 410.7 MB Notification: Performance of pre-optimization done (n=129): time 3.968e-06/0.7797, allocations: 0 / 496.1 MB, free: 9.074 MB / 410.7 MB Notification: Performance of matching and sorting (n=129): time 0.004692/0.7844, allocations: 1.695 MB / 497.8 MB, free: 7.367 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001319/0.7846, allocations: 179.5 kB / 498 MB, free: 7.152 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002611/0.7872, allocations: 1.08 MB / 499.1 MB, free: 6.055 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003541/0.7876, allocations: 77.67 kB / 499.2 MB, free: 5.973 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001012/0.7886, allocations: 0.7769 MB / 499.9 MB, free: 5.184 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006181/0.7892, allocations: 390.7 kB / 0.4886 GB, free: 4.797 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001267/0.7894, allocations: 24 kB / 0.4886 GB, free: 4.773 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001937/0.7896, allocations: 365.9 kB / 0.489 GB, free: 4.41 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001827/0.7914, allocations: 0.6716 MB / 0.4896 GB, free: 3.738 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001992/0.7934, allocations: 0.9419 MB / 0.4905 GB, free: 2.695 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00184/0.7953, allocations: 0.731 MB / 0.4913 GB, free: 1.965 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.099e-05/0.7953, allocations: 0 / 0.4913 GB, free: 1.965 MB / 410.7 MB Notification: Performance of matching and sorting (n=176) (initialization): time 0.005059/0.8004, allocations: 2.004 MB / 0.4932 GB, free: 15.95 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.000983/0.8014, allocations: 2.449 MB / 0.4956 GB, free: 13.32 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.118e-05/0.8015, allocations: 8 kB / 0.4956 GB, free: 13.31 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002008/0.8035, allocations: 0.4908 MB / 0.4961 GB, free: 12.82 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001488/0.805, allocations: 183.7 kB / 0.4963 GB, free: 12.64 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01128/0.8163, allocations: 5.217 MB / 0.5014 GB, free: 7.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001987/0.8183, allocations: 199 kB / 0.5015 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/0.8185, allocations: 48 kB / 0.5016 GB, free: 7.047 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.8185, allocations: 8 kB / 0.5016 GB, free: 7.039 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004788/0.8233, allocations: 1.851 MB / 0.5034 GB, free: 5.184 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.575e-05/0.8234, allocations: 11.94 kB / 0.5034 GB, free: 5.172 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001814/0.8252, allocations: 492.6 kB / 0.5039 GB, free: 4.688 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001454/0.8267, allocations: 187.8 kB / 0.5041 GB, free: 4.504 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01151/0.8382, allocations: 5.215 MB / 0.5092 GB, free: 15.15 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.8402, allocations: 175.1 kB / 0.5093 GB, free: 14.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001462/0.8403, allocations: 48 kB / 0.5094 GB, free: 14.93 MB / 442.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 (143): * Single equations (assignments): 142 * 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.0005541/0.8409, allocations: 237.4 kB / 0.5096 GB, free: 14.69 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003677/0.8413, allocations: 142.3 kB / 0.5097 GB, free: 14.55 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005764/0.8419, allocations: 173.8 kB / 0.5099 GB, free: 14.38 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.958e-05/0.8419, allocations: 12 kB / 0.5099 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.052e-05/0.8419, allocations: 3.953 kB / 0.5099 GB, free: 14.36 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.689e-05/0.842, allocations: 7.969 kB / 0.5099 GB, free: 14.35 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009795/0.8518, allocations: 3.737 MB / 0.5136 GB, free: 10.56 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.346e-05/0.8518, allocations: 7.953 kB / 0.5136 GB, free: 10.55 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001013/0.8528, allocations: 107.8 kB / 0.5137 GB, free: 10.45 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001745/0.8546, allocations: 468.7 kB / 0.5141 GB, free: 9.984 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001713/0.8548, allocations: 23.98 kB / 0.5142 GB, free: 9.961 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0112/0.866, allocations: 5.151 MB / 0.5192 GB, free: 4.664 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.8661, allocations: 0 / 0.5192 GB, free: 4.664 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006606/0.8727, allocations: 2.711 MB / 0.5218 GB, free: 1.934 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001253/0.874, allocations: 387.2 kB / 0.5222 GB, free: 1.535 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004769/0.8745, allocations: 43.98 kB / 0.5222 GB, free: 1.492 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001488/0.876, allocations: 107.9 kB / 0.5223 GB, free: 1.387 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008326/0.8768, allocations: 229 kB / 0.5226 GB, free: 1.164 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001216/0.877, allocations: 35.98 kB / 0.5226 GB, free: 1.129 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001915/0.8789, allocations: 0.817 MB / 0.5234 GB, free: 308 kB / 442.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.8789, allocations: 0 / 0.5234 GB, free: 308 kB / 442.7 MB Notification: Performance of remove unused functions: time 0.3381/1.217, allocations: 0.8782 MB / 0.5243 GB, free: 127.1 MB / 442.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (96): * Single equations (assignments): 86 * 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.007514/1.225, allocations: 3.371 MB / 0.5275 GB, free: 126.4 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008239/1.233, allocations: 3.096 MB / 0.5306 GB, free: 126.1 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.037e-06/1.233, allocations: 3.438 kB / 0.5306 GB, free: 126.1 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002936/1.236, allocations: 1.067 MB / 0.5316 GB, free: 126 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002639/1.239, allocations: 330.9 kB / 0.5319 GB, free: 126 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01138/1.25, allocations: 3.477 MB / 0.5353 GB, free: 125.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002238/1.252, allocations: 1.761 MB / 0.537 GB, free: 124.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003477/1.256, allocations: 0.6487 MB / 0.5377 GB, free: 124.5 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00137/1.257, allocations: 0.6355 MB / 0.5383 GB, free: 124.5 MB / 442.7 MB Notification: Performance of SimCode: time 1.142e-06/1.257, allocations: 0 / 0.5383 GB, free: 124.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1163/1.374, allocations: 43.43 MB / 0.5807 GB, free: 108.9 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002203/1.374, allocations: 228 kB / 0.5809 GB, free: 108.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.271/5.645, allocations: 3.125 kB / 0.5809 GB, free: 108.6 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_res.mat does not exist to compare? outputFormat=mat