Running command: "" <> buildModelFMU(ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R,fileNamePrefix="ModelicaTest_3_2_2_ModelicaTest_Electrical_PowerConverters_ThyristorBridge2mPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(ModelicaTest): time 2.374/2.374, allocations: 235 MB / 247.2 MB, free: 14.36 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.1e-05/4.108e-05, allocations: 4 kB / 305 MB, free: 5.066 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3994/0.3995, allocations: 54.86 MB / 359.9 MB, free: 2.785 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1789/0.5784, allocations: 95.92 MB / 455.8 MB, free: 0.8438 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003014/0.5788, allocations: 81.16 kB / 455.9 MB, free: 0.7656 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1641/0.7429, allocations: 38.6 MB / 494.5 MB, free: 9.934 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.545e-06/0.7429, allocations: 0 / 494.5 MB, free: 9.934 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0002896/0.7432, allocations: 51.94 kB / 494.5 MB, free: 9.883 MB / 426.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 481 * Number of variables: 481 Notification: Performance of Generate backend data structure: time 0.00873/0.752, allocations: 2.126 MB / 496.7 MB, free: 7.695 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.7521, allocations: 8.031 kB / 496.7 MB, free: 7.688 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001055/0.7531, allocations: 274.2 kB / 496.9 MB, free: 7.41 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009255/0.7541, allocations: 245.1 kB / 497.2 MB, free: 7.168 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009257/0.7634, allocations: 2.196 MB / 499.4 MB, free: 4.914 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002533/0.7637, allocations: 163.6 kB / 499.5 MB, free: 4.754 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008553/0.7645, allocations: 191.9 kB / 499.7 MB, free: 4.566 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007725/0.7723, allocations: 2.554 MB / 0.4905 GB, free: 1.934 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.23e-05/0.7724, allocations: 4 kB / 0.4905 GB, free: 1.93 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003037/0.7727, allocations: 80 kB / 0.4906 GB, free: 1.852 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001631/0.7729, allocations: 79.7 kB / 0.4907 GB, free: 1.773 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006682/0.7796, allocations: 2.077 MB / 0.4927 GB, free: 15.7 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0229/0.8026, allocations: 7.435 MB / 0.4999 GB, free: 8.141 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005739/0.8084, allocations: 1.857 MB / 0.5018 GB, free: 6.27 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00404/0.8125, allocations: 1.288 MB / 0.503 GB, free: 4.984 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001616/0.8127, allocations: 16.95 kB / 0.503 GB, free: 4.969 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002586/0.8153, allocations: 0.9472 MB / 0.504 GB, free: 3.992 MB / 442.7 MB Notification: Performance of pre-optimization done (n=132): time 5.831e-06/0.8153, allocations: 0 / 0.504 GB, free: 3.992 MB / 442.7 MB Notification: Performance of matching and sorting (n=132): time 0.005772/0.8211, allocations: 1.839 MB / 0.5058 GB, free: 2.141 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001732/0.8213, allocations: 234.9 kB / 0.506 GB, free: 1.859 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002864/0.8242, allocations: 1.185 MB / 0.5071 GB, free: 0.6602 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003958/0.8247, allocations: 77.69 kB / 0.5072 GB, free: 0.5781 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001164/0.8258, allocations: 0.8239 MB / 0.508 GB, free: 15.74 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007523/0.8266, allocations: 398.6 kB / 0.5084 GB, free: 15.35 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001459/0.8268, allocations: 28 kB / 0.5084 GB, free: 15.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0002094/0.827, allocations: 361.9 kB / 0.5088 GB, free: 14.96 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001833/0.8289, allocations: 0.6989 MB / 0.5095 GB, free: 14.26 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002148/0.831, allocations: 0.9991 MB / 0.5104 GB, free: 13.16 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001965/0.833, allocations: 0.7699 MB / 0.5112 GB, free: 12.39 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.208e-05/0.8331, allocations: 0 / 0.5112 GB, free: 12.39 MB / 458.7 MB Notification: Performance of matching and sorting (n=181) (initialization): time 0.005598/0.8387, allocations: 2.113 MB / 0.5132 GB, free: 10.26 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001062/0.8398, allocations: 2.46 MB / 0.5156 GB, free: 7.629 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/0.8399, allocations: 8 kB / 0.5157 GB, free: 7.621 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002512/0.8424, allocations: 0.5668 MB / 0.5162 GB, free: 7.051 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001578/0.844, allocations: 187.7 kB / 0.5164 GB, free: 6.867 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01369/0.8578, allocations: 6.112 MB / 0.5224 GB, free: 0.6172 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002116/0.8599, allocations: 222.8 kB / 0.5226 GB, free: 408 kB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/0.8601, allocations: 48 kB / 0.5226 GB, free: 360 kB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.8601, allocations: 4 kB / 0.5226 GB, free: 356 kB / 458.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.3207/1.181, allocations: 1.963 MB / 0.5245 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.84e-05/1.181, allocations: 5.781 kB / 0.5245 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002136/1.183, allocations: 0.5694 MB / 0.5251 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001473/1.185, allocations: 176.4 kB / 0.5253 GB, free: 123.6 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01304/1.198, allocations: 6.096 MB / 0.5312 GB, free: 122.3 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001995/1.2, allocations: 192.1 kB / 0.5314 GB, free: 122.3 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001579/1.2, allocations: 47.31 kB / 0.5314 GB, free: 122.3 MB / 458.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 38} Notification: Performance of prepare postOptimizeDAE: time 0.0005092/1.2, allocations: 241.7 kB / 0.5317 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003457/1.201, allocations: 146.3 kB / 0.5318 GB, free: 122.2 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005464/1.201, allocations: 188.6 kB / 0.532 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/1.201, allocations: 12.38 kB / 0.532 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.578e-06/1.201, allocations: 0 / 0.532 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.959e-05/1.201, allocations: 7.469 kB / 0.532 GB, free: 122.1 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01081/1.212, allocations: 4.034 MB / 0.536 GB, free: 121.8 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.097e-05/1.212, allocations: 0 / 0.536 GB, free: 121.8 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008507/1.213, allocations: 96.09 kB / 0.536 GB, free: 121.8 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002128/1.215, allocations: 0.5417 MB / 0.5366 GB, free: 121.8 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002033/1.216, allocations: 24.56 kB / 0.5366 GB, free: 121.8 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01328/1.229, allocations: 6.028 MB / 0.5425 GB, free: 118.9 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/1.229, allocations: 0 / 0.5425 GB, free: 118.9 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006459/1.235, allocations: 2.761 MB / 0.5452 GB, free: 117.8 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001354/1.237, allocations: 401 kB / 0.5456 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004347/1.237, allocations: 44.31 kB / 0.5456 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001607/1.239, allocations: 129.6 kB / 0.5457 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008535/1.24, allocations: 230.4 kB / 0.5459 GB, free: 117.5 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001535/1.24, allocations: 37.66 kB / 0.546 GB, free: 117.4 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00211/1.242, allocations: 0.8952 MB / 0.5469 GB, free: 117.1 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.02e-07/1.242, allocations: 0 / 0.5469 GB, free: 117.1 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.004274/1.246, allocations: 0.9685 MB / 0.5478 GB, free: 116.9 MB / 458.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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[3].off,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[1].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 38} Notification: Performance of Backend phase and start with SimCode phase: time 0.006414/1.253, allocations: 3.409 MB / 0.5511 GB, free: 115.2 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.007844/1.261, allocations: 3.273 MB / 0.5543 GB, free: 113.9 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 9.097e-06/1.261, allocations: 0 / 0.5543 GB, free: 113.9 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002655/1.264, allocations: 1.114 MB / 0.5554 GB, free: 113.4 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002862/1.266, allocations: 351.2 kB / 0.5558 GB, free: 113.3 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01067/1.277, allocations: 3.616 MB / 0.5593 GB, free: 112 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001837/1.279, allocations: 1.839 MB / 0.5611 GB, free: 111 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.003001/1.282, allocations: 0.6628 MB / 0.5617 GB, free: 111 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001328/1.283, allocations: 0.6583 MB / 0.5624 GB, free: 110.5 MB / 458.7 MB Notification: Performance of SimCode: time 1.282e-06/1.283, allocations: 0 / 0.5624 GB, free: 110.5 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1197/1.403, allocations: 48.44 MB / 0.6097 GB, free: 77.38 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002353/1.403, allocations: 201.3 kB / 0.6099 GB, free: 77.16 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.102/5.506, allocations: 0 / 0.6099 GB, free: 77.16 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.2_ModelicaTest.Electrical.PowerConverters.ThyristorBridge2mPulse_R_res.mat does not exist to compare? outputFormat=mat