Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.064/2.064, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.039e-05/4.048e-05, allocations: 0 / 255.5 MB, free: 3.094 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1161/0.1162, allocations: 44.5 MB / 300 MB, free: 6.527 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4301/0.5463, allocations: 86.04 MB / 386 MB, free: 12.64 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003377/0.5467, allocations: 86.95 kB / 386.1 MB, free: 12.64 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1389/0.6857, allocations: 35.45 MB / 421.5 MB, free: 1.965 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6858, allocations: 0 / 421.5 MB, free: 1.965 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002842/0.6861, allocations: 46.97 kB / 421.6 MB, free: 1.957 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.009376/0.6955, allocations: 1.964 MB / 423.6 MB, free: 0.75 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.6955, allocations: 7.719 kB / 423.6 MB, free: 0.75 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001079/0.6966, allocations: 252.5 kB / 423.8 MB, free: 0.6602 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009598/0.6976, allocations: 221.8 kB / 424 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009576/0.7072, allocations: 1.961 MB / 426 MB, free: 15.8 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002286/0.7075, allocations: 133.9 kB / 426.1 MB, free: 15.79 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008596/0.7084, allocations: 171.6 kB / 426.3 MB, free: 15.78 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009329/0.7177, allocations: 2.308 MB / 428.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.571e-05/0.7179, allocations: 7.625 kB / 428.6 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003918/0.7183, allocations: 72.64 kB / 428.7 MB, free: 15.18 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001382/0.7184, allocations: 75.78 kB / 428.7 MB, free: 15.17 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008113/0.7266, allocations: 1.918 MB / 430.7 MB, free: 14.95 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02133/0.7479, allocations: 7.179 MB / 437.8 MB, free: 10.57 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.005067/0.7531, allocations: 1.587 MB / 439.4 MB, free: 8.969 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002434/0.7556, allocations: 0.8959 MB / 440.3 MB, free: 8.066 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001018/0.7557, allocations: 9 kB / 440.3 MB, free: 8.059 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002125/0.7578, allocations: 0.8341 MB / 441.2 MB, free: 7.211 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 5.28e-06/0.7579, allocations: 3.938 kB / 441.2 MB, free: 7.207 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.004089/0.762, allocations: 1.474 MB / 442.6 MB, free: 5.719 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001132/0.7622, allocations: 123.8 kB / 442.8 MB, free: 5.574 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002746/0.7649, allocations: 1.099 MB / 443.9 MB, free: 4.457 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003772/0.7653, allocations: 69.69 kB / 443.9 MB, free: 4.383 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009361/0.7663, allocations: 0.7279 MB / 444.7 MB, free: 3.652 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006473/0.767, allocations: 331.2 kB / 445 MB, free: 3.34 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001187/0.7671, allocations: 32 kB / 445 MB, free: 3.309 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0001902/0.7673, allocations: 354.8 kB / 445.4 MB, free: 2.953 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001768/0.7691, allocations: 0.5843 MB / 445.9 MB, free: 2.367 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002041/0.7712, allocations: 0.7849 MB / 446.7 MB, free: 1.508 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001744/0.773, allocations: 0.5982 MB / 447.3 MB, free: 0.9102 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.509e-05/0.773, allocations: 4 kB / 447.3 MB, free: 0.9062 MB / 330.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004479/0.7775, allocations: 1.615 MB / 448.9 MB, free: 15.28 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008542/0.7784, allocations: 1.924 MB / 450.9 MB, free: 13.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.035e-05/0.7785, allocations: 8 kB / 450.9 MB, free: 13.2 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001811/0.7803, allocations: 431.1 kB / 451.3 MB, free: 12.78 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.7819, allocations: 171.7 kB / 451.5 MB, free: 12.61 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009478/0.7914, allocations: 4.37 MB / 455.8 MB, free: 8.109 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001959/0.7934, allocations: 179.2 kB / 456 MB, free: 7.934 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001987/0.7936, allocations: 39.98 kB / 456.1 MB, free: 7.895 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.526e-05/0.7937, allocations: 8 kB / 456.1 MB, free: 7.887 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004084/0.7977, allocations: 1.551 MB / 457.6 MB, free: 6.332 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.508e-05/0.7978, allocations: 12.06 kB / 457.6 MB, free: 6.32 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001434/0.7993, allocations: 424.7 kB / 458 MB, free: 5.902 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00138/0.8007, allocations: 163.7 kB / 458.2 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009092/0.8098, allocations: 4.423 MB / 462.6 MB, free: 1.188 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001365/0.8112, allocations: 155.2 kB / 462.8 MB, free: 1.035 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/0.8114, allocations: 43.98 kB / 462.8 MB, free: 0.9922 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.0005117/0.8119, allocations: 216.8 kB / 463 MB, free: 0.7734 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005056/0.8124, allocations: 126.5 kB / 463.2 MB, free: 0.6484 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006228/0.813, allocations: 172.7 kB / 463.3 MB, free: 488 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.937e-05/0.8131, allocations: 12 kB / 463.3 MB, free: 476 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.8131, allocations: 3.938 kB / 463.3 MB, free: 472 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.564e-05/0.8131, allocations: 3.984 kB / 463.3 MB, free: 468 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01011/0.8232, allocations: 3.548 MB / 466.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.8233, allocations: 0 / 466.9 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001048/0.8243, allocations: 115.8 kB / 467 MB, free: 12.76 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001576/0.8259, allocations: 400.8 kB / 467.4 MB, free: 12.37 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002246/0.8262, allocations: 19.98 kB / 467.4 MB, free: 12.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008773/0.835, allocations: 4.152 MB / 471.6 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.835, allocations: 0 / 471.6 MB, free: 8.059 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006298/0.8413, allocations: 2.454 MB / 474 MB, free: 5.586 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001278/0.8427, allocations: 367.2 kB / 474.4 MB, free: 5.207 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004083/0.8431, allocations: 39.92 kB / 474.4 MB, free: 5.168 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001466/0.8446, allocations: 107.9 kB / 474.5 MB, free: 5.062 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008774/0.8455, allocations: 224.7 kB / 474.7 MB, free: 4.844 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001257/0.8457, allocations: 31.98 kB / 474.8 MB, free: 4.812 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002091/0.8478, allocations: 0.8326 MB / 475.6 MB, free: 3.969 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.32e-07/0.8478, allocations: 0 / 475.6 MB, free: 3.969 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003649/0.8515, allocations: 0.8293 MB / 476.4 MB, free: 3.137 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.007/0.8585, allocations: 3.086 MB / 479.5 MB, free: 28 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.007935/0.8665, allocations: 2.677 MB / 482.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.409e-05/0.8666, allocations: 2.031 kB / 482.2 MB, free: 13.33 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002882/0.8694, allocations: 0.9608 MB / 483.2 MB, free: 12.36 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002661/0.8721, allocations: 288.3 kB / 483.4 MB, free: 12.07 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01369/0.8859, allocations: 3.585 MB / 487 MB, free: 8.438 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002178/0.8881, allocations: 1.708 MB / 488.7 MB, free: 6.699 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001675/0.8898, allocations: 0.6282 MB / 489.4 MB, free: 6.074 MB / 378.7 MB Notification: Performance of SimCode: time 1.453e-06/0.8899, allocations: 0 / 489.4 MB, free: 6.074 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.722/4.612, allocations: 39.86 MB / 0.5168 GB, free: 119.9 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R_res.mat does not exist to compare? outputFormat=mat