Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.081/2.081, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 2.968e-05/2.977e-05, allocations: 4 kB / 269.5 MB, free: 6.281 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09962/0.09968, allocations: 47.57 MB / 317 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4584/0.5582, allocations: 92.44 MB / 409.5 MB, free: 11.73 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/0.5586, allocations: 83.95 kB / 409.6 MB, free: 11.69 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1496/0.7082, allocations: 36.72 MB / 446.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.494e-06/0.7082, allocations: 0 / 446.3 MB, free: 12.63 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002091/0.7085, allocations: 47.94 kB / 446.3 MB, free: 12.59 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 449 * Number of variables: 449 Notification: Performance of Generate backend data structure: time 0.007533/0.716, allocations: 2.037 MB / 448.4 MB, free: 10.62 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/0.7161, allocations: 8.031 kB / 448.4 MB, free: 10.61 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000905/0.717, allocations: 257.2 kB / 448.6 MB, free: 10.45 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000776/0.7178, allocations: 237.2 kB / 448.8 MB, free: 10.22 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007734/0.7255, allocations: 1.981 MB / 450.8 MB, free: 8.625 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002046/0.7258, allocations: 140.1 kB / 451 MB, free: 8.547 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006638/0.7265, allocations: 169.2 kB / 451.1 MB, free: 8.434 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006675/0.7332, allocations: 2.349 MB / 453.5 MB, free: 6.637 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.814e-05/0.7333, allocations: 7.953 kB / 453.5 MB, free: 6.629 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002887/0.7336, allocations: 68 kB / 453.6 MB, free: 6.562 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001396/0.7338, allocations: 87.33 kB / 453.6 MB, free: 6.477 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006292/0.7401, allocations: 1.951 MB / 455.6 MB, free: 4.523 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02119/0.7613, allocations: 7.211 MB / 462.8 MB, free: 13.11 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004362/0.7657, allocations: 1.529 MB / 464.3 MB, free: 11.57 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002498/0.7683, allocations: 0.921 MB / 465.2 MB, free: 10.64 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.7684, allocations: 13 kB / 465.3 MB, free: 10.63 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002352/0.7708, allocations: 0.8582 MB / 466.1 MB, free: 9.754 MB / 378.7 MB Notification: Performance of pre-optimization done (n=117): time 5.421e-06/0.7709, allocations: 0 / 466.1 MB, free: 9.754 MB / 378.7 MB Notification: Performance of matching and sorting (n=117): time 0.004447/0.7753, allocations: 1.513 MB / 467.6 MB, free: 8.23 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001089/0.7755, allocations: 123.8 kB / 467.8 MB, free: 8.086 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002674/0.7782, allocations: 1.1 MB / 468.9 MB, free: 6.969 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003656/0.7786, allocations: 61.69 kB / 468.9 MB, free: 6.902 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00105/0.7796, allocations: 0.781 MB / 469.7 MB, free: 6.109 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006318/0.7803, allocations: 351.1 kB / 470 MB, free: 5.762 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001128/0.7804, allocations: 24 kB / 470.1 MB, free: 5.738 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001863/0.7806, allocations: 353.9 kB / 470.4 MB, free: 5.387 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00162/0.7823, allocations: 0.5882 MB / 471 MB, free: 4.797 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/0.7842, allocations: 0.8043 MB / 471.8 MB, free: 3.918 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001749/0.786, allocations: 0.606 MB / 472.4 MB, free: 3.312 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.557e-05/0.786, allocations: 4 kB / 472.4 MB, free: 3.309 MB / 378.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004869/0.7909, allocations: 1.723 MB / 474.1 MB, free: 1.57 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009324/0.7919, allocations: 1.936 MB / 476.1 MB, free: 15.5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.503e-05/0.7919, allocations: 8 kB / 476.1 MB, free: 15.49 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001658/0.7936, allocations: 425.9 kB / 476.5 MB, free: 15.07 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001684/0.7953, allocations: 195.7 kB / 476.7 MB, free: 14.88 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009475/0.8048, allocations: 4.394 MB / 481.1 MB, free: 10.35 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/0.8069, allocations: 175.2 kB / 481.2 MB, free: 10.18 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001744/0.8071, allocations: 36 kB / 481.3 MB, free: 10.14 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.727e-05/0.8071, allocations: 8 kB / 481.3 MB, free: 10.13 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004148/0.8113, allocations: 1.582 MB / 482.9 MB, free: 8.547 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.802e-05/0.8113, allocations: 8 kB / 482.9 MB, free: 8.539 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/0.8129, allocations: 416.9 kB / 483.3 MB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001556/0.8145, allocations: 187.6 kB / 483.5 MB, free: 7.945 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009387/0.8239, allocations: 4.401 MB / 487.9 MB, free: 3.414 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001849/0.8258, allocations: 159.2 kB / 488 MB, free: 3.258 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001475/0.826, allocations: 43.98 kB / 488.1 MB, free: 3.215 MB / 394.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 (123): * Single equations (assignments): 122 * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.0005407/0.8265, allocations: 224.7 kB / 488.3 MB, free: 2.988 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003854/0.8269, allocations: 134.4 kB / 488.4 MB, free: 2.855 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005666/0.8275, allocations: 165 kB / 488.6 MB, free: 2.684 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.621e-05/0.8275, allocations: 12 kB / 488.6 MB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.466e-06/0.8275, allocations: 0 / 488.6 MB, free: 2.672 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.767e-05/0.8276, allocations: 7.969 kB / 488.6 MB, free: 2.664 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01003/0.8376, allocations: 3.622 MB / 492.2 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.047e-06/0.8377, allocations: 0 / 492.2 MB, free: 14.98 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001281/0.839, allocations: 131.8 kB / 492.4 MB, free: 14.85 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001469/0.8405, allocations: 400.6 kB / 492.7 MB, free: 14.46 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001907/0.8407, allocations: 19.98 kB / 492.8 MB, free: 14.44 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009412/0.8501, allocations: 4.33 MB / 497.1 MB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.8502, allocations: 0 / 497.1 MB, free: 9.977 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006481/0.8567, allocations: 2.513 MB / 499.6 MB, free: 7.445 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/0.8579, allocations: 375.2 kB / 500 MB, free: 7.059 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003216/0.8583, allocations: 35.92 kB / 0.4883 GB, free: 7.023 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001408/0.8597, allocations: 120 kB / 0.4884 GB, free: 6.906 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008243/0.8605, allocations: 224.6 kB / 0.4886 GB, free: 6.684 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001281/0.8607, allocations: 39.92 kB / 0.4887 GB, free: 6.645 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002044/0.8627, allocations: 0.8333 MB / 0.4895 GB, free: 5.801 MB / 410.7 MB Notification: Performance of sort global known variables: time 6.92e-07/0.8628, allocations: 0 / 0.4895 GB, free: 5.801 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003512/0.8663, allocations: 0.8602 MB / 0.4903 GB, free: 4.938 MB / 410.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: 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[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 81 * 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 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.007795/0.8741, allocations: 3.148 MB / 0.4934 GB, free: 1.758 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.008239/0.8824, allocations: 2.752 MB / 0.4961 GB, free: 14.98 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 7.605e-06/0.8825, allocations: 384 / 0.4961 GB, free: 14.98 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002808/0.8853, allocations: 0.9843 MB / 0.497 GB, free: 13.99 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002631/0.888, allocations: 300.2 kB / 0.4973 GB, free: 13.69 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01134/0.8994, allocations: 3.427 MB / 0.5007 GB, free: 10.21 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002142/0.9016, allocations: 1.753 MB / 0.5024 GB, free: 8.426 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.003091/0.9047, allocations: 0.6109 MB / 0.503 GB, free: 7.812 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001668/0.9064, allocations: 0.6465 MB / 0.5036 GB, free: 7.168 MB / 426.7 MB Notification: Performance of SimCode: time 1.743e-06/0.9065, allocations: 4 kB / 0.5036 GB, free: 7.164 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3817/1.288, allocations: 40.77 MB / 0.5434 GB, free: 123.3 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/1.289, allocations: 265.8 kB / 0.5437 GB, free: 123 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.206/5.494, allocations: 0 / 0.5437 GB, free: 123 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat