Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RL,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.893/1.893, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.233e-05, allocations: 1.406 kB / 255.5 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09769/0.09776, allocations: 44.52 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4658/0.5637, allocations: 86.34 MB / 386.3 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002984/0.564, allocations: 89.23 kB / 386.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1419/0.706, allocations: 35.78 MB / 422.2 MB, free: 1.871 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.454e-06/0.706, allocations: 0 / 422.2 MB, free: 1.871 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002638/0.7063, allocations: 54.03 kB / 422.2 MB, free: 1.863 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: 440 * Number of variables: 440 Notification: Performance of Generate backend data structure: time 0.008773/0.7151, allocations: 1.979 MB / 424.2 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.322e-05/0.7152, allocations: 9.594 kB / 424.2 MB, free: 0.6484 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00129/0.7165, allocations: 260.5 kB / 424.5 MB, free: 0.5547 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001099/0.7176, allocations: 226.1 kB / 424.7 MB, free: 452 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009816/0.7275, allocations: 1.967 MB / 426.7 MB, free: 15.67 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002691/0.7278, allocations: 134 kB / 426.8 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009364/0.7288, allocations: 176.4 kB / 427 MB, free: 15.66 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009624/0.7384, allocations: 2.339 MB / 429.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-05/0.7386, allocations: 3.906 kB / 429.3 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004354/0.739, allocations: 71.67 kB / 429.4 MB, free: 15.05 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001431/0.7392, allocations: 75.27 kB / 429.5 MB, free: 15.04 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008192/0.7474, allocations: 1.962 MB / 431.4 MB, free: 14.8 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03048/0.7779, allocations: 7.256 MB / 438.7 MB, free: 9.504 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005261/0.7833, allocations: 1.625 MB / 440.3 MB, free: 7.871 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00249/0.7858, allocations: 0.8966 MB / 441.2 MB, free: 6.969 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001271/0.786, allocations: 15.97 kB / 441.2 MB, free: 6.957 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002169/0.7882, allocations: 0.8401 MB / 442.1 MB, free: 6.098 MB / 330.7 MB Notification: Performance of pre-optimization done (n=113): time 3.787e-06/0.7882, allocations: 0 / 442.1 MB, free: 6.098 MB / 330.7 MB Notification: Performance of matching and sorting (n=113): time 0.004309/0.7925, allocations: 1.485 MB / 443.5 MB, free: 4.598 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001136/0.7927, allocations: 115.8 kB / 443.6 MB, free: 4.461 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002897/0.7956, allocations: 1.1 MB / 444.7 MB, free: 3.344 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003642/0.796, allocations: 61.69 kB / 444.8 MB, free: 3.277 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001181/0.7972, allocations: 0.7749 MB / 445.6 MB, free: 2.5 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007223/0.7979, allocations: 345.7 kB / 445.9 MB, free: 2.172 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001398/0.7981, allocations: 20 kB / 445.9 MB, free: 2.152 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002415/0.7984, allocations: 353.9 kB / 446.3 MB, free: 1.801 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001829/0.8002, allocations: 0.5882 MB / 446.9 MB, free: 1.211 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/0.8024, allocations: 0.7991 MB / 447.7 MB, free: 344 kB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001787/0.8042, allocations: 0.6062 MB / 448.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.416e-05/0.8043, allocations: 4 kB / 448.3 MB, free: 15.73 MB / 346.7 MB Notification: Performance of matching and sorting (n=147) (initialization): time 0.005186/0.8095, allocations: 1.723 MB / 450 MB, free: 14 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.00108/0.8106, allocations: 1.929 MB / 451.9 MB, free: 11.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.458e-05/0.8106, allocations: 4 kB / 451.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001858/0.8125, allocations: 427.2 kB / 452.4 MB, free: 11.5 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001619/0.8142, allocations: 187.6 kB / 452.5 MB, free: 11.32 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009898/0.8241, allocations: 4.384 MB / 456.9 MB, free: 6.801 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002006/0.8262, allocations: 175.1 kB / 457.1 MB, free: 6.629 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002578/0.8265, allocations: 40 kB / 457.1 MB, free: 6.59 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.76e-05/0.8265, allocations: 4 kB / 457.1 MB, free: 6.586 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004493/0.831, allocations: 1.59 MB / 458.7 MB, free: 4.992 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.663e-05/0.8311, allocations: 8.031 kB / 458.7 MB, free: 4.984 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/0.8327, allocations: 424.6 kB / 459.2 MB, free: 4.566 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00146/0.8342, allocations: 163.7 kB / 459.3 MB, free: 4.406 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009806/0.844, allocations: 4.399 MB / 463.7 MB, free: 15.88 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001901/0.846, allocations: 159.2 kB / 463.9 MB, free: 15.72 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002358/0.8463, allocations: 43.98 kB / 463.9 MB, free: 15.68 MB / 362.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 (121): * Single equations (assignments): 120 * 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.0005708/0.8469, allocations: 216.7 kB / 464.1 MB, free: 15.46 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005338/0.8474, allocations: 130.4 kB / 464.2 MB, free: 15.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006443/0.8481, allocations: 168.7 kB / 464.4 MB, free: 15.16 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-05/0.8481, allocations: 12 kB / 464.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.129e-05/0.8481, allocations: 4 kB / 464.4 MB, free: 15.15 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.775e-05/0.8482, allocations: 7.969 kB / 464.4 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01049/0.8587, allocations: 3.568 MB / 468 MB, free: 11.54 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.678e-06/0.8587, allocations: 4 kB / 468 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001081/0.8598, allocations: 115.8 kB / 468.1 MB, free: 11.42 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001499/0.8613, allocations: 401 kB / 468.5 MB, free: 11.02 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001816/0.8615, allocations: 23.98 kB / 468.5 MB, free: 11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009486/0.871, allocations: 4.318 MB / 472.9 MB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.8711, allocations: 0 / 472.9 MB, free: 6.555 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007295/0.8784, allocations: 2.47 MB / 475.3 MB, free: 4.066 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001255/0.8797, allocations: 367.2 kB / 475.7 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003382/0.8801, allocations: 35.98 kB / 475.7 MB, free: 3.652 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001399/0.8815, allocations: 107.9 kB / 475.8 MB, free: 3.547 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008461/0.8824, allocations: 228.6 kB / 476 MB, free: 3.324 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001205/0.8825, allocations: 35.97 kB / 476.1 MB, free: 3.289 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002079/0.8846, allocations: 0.8407 MB / 476.9 MB, free: 2.438 MB / 362.7 MB Notification: Performance of sort global known variables: time 6.41e-07/0.8846, allocations: 0 / 476.9 MB, free: 2.438 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003422/0.8881, allocations: 0.8306 MB / 477.8 MB, free: 1.605 MB / 362.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[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 (87): * Single equations (assignments): 77 * 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.007239/0.8953, allocations: 3.109 MB / 480.9 MB, free: 14.47 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008333/0.9037, allocations: 2.774 MB / 483.6 MB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.865e-06/0.9038, allocations: 0 / 483.6 MB, free: 11.67 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002872/0.9067, allocations: 0.9913 MB / 484.6 MB, free: 10.67 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002554/0.9093, allocations: 288.5 kB / 484.9 MB, free: 10.38 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01157/0.9209, allocations: 3.367 MB / 488.3 MB, free: 6.961 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/0.9233, allocations: 1.746 MB / 490 MB, free: 5.18 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.00339/0.9267, allocations: 0.6032 MB / 490.6 MB, free: 4.574 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00167/0.9285, allocations: 0.6281 MB / 491.3 MB, free: 3.945 MB / 378.7 MB Notification: Performance of SimCode: time 1.232e-06/0.9285, allocations: 0 / 491.3 MB, free: 3.945 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4095/1.338, allocations: 40.44 MB / 0.5192 GB, free: 120.5 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002544/1.338, allocations: 238 kB / 0.5195 GB, free: 120.2 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.331/5.669, allocations: 0 / 0.5195 GB, free: 120.2 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_RL_res.mat does not exist to compare? outputFormat=mat