Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.853/1.853, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.591e-05/3.598e-05, allocations: 0 / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09694/0.09701, allocations: 44.5 MB / 300 MB, free: 6.07 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4288/0.5259, allocations: 86.05 MB / 386 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003413/0.5263, allocations: 87.27 kB / 386.1 MB, free: 12.37 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1373/0.6637, allocations: 35.45 MB / 421.6 MB, free: 1.613 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.184e-06/0.6637, allocations: 0 / 421.6 MB, free: 1.613 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001866/0.6639, allocations: 50.42 kB / 421.6 MB, free: 1.605 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: 434 * Number of variables: 434 Notification: Performance of Generate backend data structure: time 0.00657/0.6705, allocations: 1.968 MB / 423.6 MB, free: 408 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.061e-05/0.6706, allocations: 9.594 kB / 423.6 MB, free: 408 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007982/0.6714, allocations: 251 kB / 423.8 MB, free: 316 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000642/0.672, allocations: 222.4 kB / 424.1 MB, free: 204 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007227/0.6793, allocations: 1.953 MB / 426 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001459/0.6795, allocations: 130.5 kB / 426.1 MB, free: 15.43 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004977/0.68, allocations: 176.3 kB / 426.3 MB, free: 15.42 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006596/0.6866, allocations: 2.303 MB / 428.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.739e-05/0.6867, allocations: 3.938 kB / 428.6 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002753/0.687, allocations: 71.75 kB / 428.7 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000109/0.6871, allocations: 72.06 kB / 428.8 MB, free: 14.81 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005559/0.6927, allocations: 1.921 MB / 430.7 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0201/0.7129, allocations: 7.185 MB / 437.9 MB, free: 10.17 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004866/0.7178, allocations: 1.595 MB / 439.5 MB, free: 8.562 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002347/0.7202, allocations: 0.8922 MB / 440.4 MB, free: 7.664 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001022/0.7203, allocations: 13 kB / 440.4 MB, free: 7.652 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002102/0.7225, allocations: 0.8223 MB / 441.2 MB, free: 6.816 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 4.388e-06/0.7225, allocations: 0 / 441.2 MB, free: 6.816 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.004198/0.7267, allocations: 1.477 MB / 442.7 MB, free: 5.324 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001328/0.7269, allocations: 127.8 kB / 442.8 MB, free: 5.176 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002814/0.7297, allocations: 1.099 MB / 443.9 MB, free: 4.059 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000368/0.7301, allocations: 61.69 kB / 444 MB, free: 3.992 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001104/0.7313, allocations: 0.7569 MB / 444.7 MB, free: 3.23 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006528/0.7319, allocations: 330.2 kB / 445 MB, free: 2.918 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001152/0.7321, allocations: 27.94 kB / 445.1 MB, free: 2.891 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002019/0.7323, allocations: 353.9 kB / 445.4 MB, free: 2.539 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001637/0.7339, allocations: 0.5843 MB / 446 MB, free: 1.953 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001889/0.7359, allocations: 0.781 MB / 446.8 MB, free: 1.098 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001578/0.7375, allocations: 0.6021 MB / 447.4 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.899e-06/0.7375, allocations: 0 / 447.4 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004628/0.7421, allocations: 1.7 MB / 449.1 MB, free: 14.78 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008489/0.743, allocations: 1.937 MB / 451 MB, free: 12.71 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.985e-05/0.7431, allocations: 4 kB / 451 MB, free: 12.7 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/0.7449, allocations: 427.1 kB / 451.4 MB, free: 12.29 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001496/0.7464, allocations: 171.7 kB / 451.6 MB, free: 12.12 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009478/0.7559, allocations: 4.381 MB / 456 MB, free: 7.609 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001999/0.758, allocations: 171.2 kB / 456.1 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002464/0.7583, allocations: 43.98 kB / 456.2 MB, free: 7.398 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.574e-05/0.7583, allocations: 8 kB / 456.2 MB, free: 7.391 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004255/0.7626, allocations: 1.555 MB / 457.8 MB, free: 5.832 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.72e-05/0.7627, allocations: 8.062 kB / 457.8 MB, free: 5.824 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001584/0.7643, allocations: 424.7 kB / 458.2 MB, free: 5.406 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.7657, allocations: 167.7 kB / 458.3 MB, free: 5.242 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009259/0.775, allocations: 4.36 MB / 462.7 MB, free: 0.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001837/0.7769, allocations: 163.2 kB / 462.9 MB, free: 0.5898 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001665/0.7771, allocations: 36 kB / 462.9 MB, free: 0.5547 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * Number of states: 0 () * Number of discrete variables: 57 ($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,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,$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,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 (117): * Single equations (assignments): 116 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0004884/0.7776, allocations: 224.8 kB / 463.1 MB, free: 336 kB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003767/0.778, allocations: 130.5 kB / 463.2 MB, free: 204 kB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005953/0.7786, allocations: 160.7 kB / 463.4 MB, free: 40 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.871e-05/0.7786, allocations: 15.94 kB / 463.4 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.618e-06/0.7787, allocations: 0 / 463.4 MB, free: 24 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.55e-05/0.7787, allocations: 3.984 kB / 463.4 MB, free: 20 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/0.7892, allocations: 3.549 MB / 467 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.157e-06/0.7893, allocations: 0 / 467 MB, free: 12.43 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001005/0.7903, allocations: 115.8 kB / 467.1 MB, free: 12.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001467/0.7918, allocations: 400.8 kB / 467.5 MB, free: 11.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000119/0.7919, allocations: 19.98 kB / 467.5 MB, free: 11.91 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008424/0.8003, allocations: 4.144 MB / 471.6 MB, free: 7.621 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.614e-06/0.8004, allocations: 0 / 471.6 MB, free: 7.621 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005988/0.8064, allocations: 2.454 MB / 474.1 MB, free: 5.148 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/0.8075, allocations: 367.2 kB / 474.4 MB, free: 4.77 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003016/0.8079, allocations: 43.92 kB / 474.5 MB, free: 4.727 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001326/0.8092, allocations: 104 kB / 474.6 MB, free: 4.625 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008283/0.8101, allocations: 228.6 kB / 474.8 MB, free: 4.402 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001154/0.8102, allocations: 31.98 kB / 474.8 MB, free: 4.371 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001901/0.8121, allocations: 0.8326 MB / 475.7 MB, free: 3.527 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.8121, allocations: 3.938 kB / 475.7 MB, free: 3.523 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003114/0.8152, allocations: 0.8371 MB / 476.5 MB, free: 2.684 MB / 362.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: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p[1].y,rectifier.andCondition_p[2].y,rectifier.andCondition_p[3].y,rectifier.andCondition_n[1].y,rectifier.andCondition_n[2].y,rectifier.andCondition_n[3].y,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,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: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (84): * Single equations (assignments): 74 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.006317/0.8216, allocations: 3.078 MB / 479.6 MB, free: 15.58 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.006934/0.8286, allocations: 2.722 MB / 482.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/0.8286, allocations: 5.25 kB / 482.3 MB, free: 12.84 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002499/0.8311, allocations: 0.9729 MB / 483.3 MB, free: 11.86 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002265/0.8334, allocations: 288.4 kB / 483.6 MB, free: 11.57 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01221/0.8457, allocations: 3.629 MB / 487.2 MB, free: 7.891 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002145/0.8479, allocations: 1.742 MB / 489 MB, free: 6.113 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.002887/0.8508, allocations: 0.6029 MB / 489.6 MB, free: 5.508 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001292/0.8521, allocations: 0.6125 MB / 490.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of SimCode: time 1.273e-06/0.8521, allocations: 0 / 490.2 MB, free: 4.895 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3757/1.228, allocations: 40.14 MB / 0.5179 GB, free: 119.3 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003225/1.228, allocations: 241.6 kB / 0.5181 GB, free: 119 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.193/5.422, allocations: 4.5 kB / 0.5181 GB, free: 119 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R_res.mat does not exist to compare? outputFormat=mat