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 1.978/1.978, allocations: 194.9 MB / 208.4 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.395e-05/3.423e-05, allocations: 4 kB / 255.4 MB, free: 3.09 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1031/0.1032, allocations: 44.52 MB / 300 MB, free: 6.512 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4399/0.5431, allocations: 86.02 MB / 386 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000336/0.5435, allocations: 89.58 kB / 386.1 MB, free: 12.7 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1498/0.6933, allocations: 35.45 MB / 421.5 MB, free: 2.039 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.6934, allocations: 0 / 421.5 MB, free: 2.039 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001887/0.6936, allocations: 46.66 kB / 421.6 MB, free: 2.031 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.006891/0.7005, allocations: 1.967 MB / 423.5 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.135e-05/0.7006, allocations: 7.75 kB / 423.5 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007767/0.7014, allocations: 253.9 kB / 423.8 MB, free: 0.7383 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006273/0.702, allocations: 224.9 kB / 424 MB, free: 0.625 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006969/0.709, allocations: 1.95 MB / 426 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001572/0.7092, allocations: 134.6 kB / 426.1 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004213/0.7096, allocations: 174.6 kB / 426.3 MB, free: 15.84 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005696/0.7153, allocations: 2.326 MB / 428.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.058e-05/0.7155, allocations: 3.984 kB / 428.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002478/0.7157, allocations: 69.22 kB / 428.6 MB, free: 15.23 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001071/0.7158, allocations: 73.72 kB / 428.7 MB, free: 15.22 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005237/0.7211, allocations: 1.946 MB / 430.7 MB, free: 14.99 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0184/0.7396, allocations: 7.185 MB / 437.9 MB, free: 10.5 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004708/0.7443, allocations: 1.606 MB / 439.5 MB, free: 8.887 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002273/0.7466, allocations: 0.8949 MB / 440.4 MB, free: 7.988 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001037/0.7468, allocations: 11.66 kB / 440.4 MB, free: 7.98 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001999/0.7488, allocations: 0.8208 MB / 441.2 MB, free: 7.141 MB / 330.7 MB Notification: Performance of pre-optimization done (n=111): time 4.539e-06/0.7488, allocations: 4 kB / 441.2 MB, free: 7.137 MB / 330.7 MB Notification: Performance of matching and sorting (n=111): time 0.004037/0.7528, allocations: 1.481 MB / 442.7 MB, free: 5.641 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.753, allocations: 119.8 kB / 442.8 MB, free: 5.5 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002655/0.7557, allocations: 1.103 MB / 443.9 MB, free: 4.379 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002527/0.7559, allocations: 61.69 kB / 444 MB, free: 4.312 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009397/0.7569, allocations: 0.7425 MB / 444.7 MB, free: 3.57 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005497/0.7575, allocations: 326.2 kB / 445 MB, free: 3.262 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001047/0.7576, allocations: 20 kB / 445 MB, free: 3.242 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002154/0.7578, allocations: 362.8 kB / 445.4 MB, free: 2.879 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001549/0.7594, allocations: 0.5843 MB / 446 MB, free: 2.293 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001791/0.7612, allocations: 0.7952 MB / 446.8 MB, free: 1.422 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001528/0.7627, allocations: 0.5981 MB / 447.4 MB, free: 0.8242 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.054e-05/0.7627, allocations: 4 kB / 447.4 MB, free: 0.8203 MB / 330.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.004174/0.7669, allocations: 1.627 MB / 449 MB, free: 15.19 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009283/0.7679, allocations: 1.924 MB / 450.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.7679, allocations: 4 kB / 450.9 MB, free: 13.11 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001687/0.7696, allocations: 435.2 kB / 451.3 MB, free: 12.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/0.771, allocations: 171.7 kB / 451.5 MB, free: 12.52 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009221/0.7803, allocations: 4.368 MB / 455.9 MB, free: 8.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001891/0.7822, allocations: 175.2 kB / 456.1 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001434/0.7824, allocations: 43.98 kB / 456.1 MB, free: 7.801 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.569e-05/0.7824, allocations: 4 kB / 456.1 MB, free: 7.797 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004072/0.7865, allocations: 1.57 MB / 457.7 MB, free: 6.223 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.56e-05/0.7865, allocations: 4.625 kB / 457.7 MB, free: 6.219 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001471/0.788, allocations: 428.7 kB / 458.1 MB, free: 5.797 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001308/0.7894, allocations: 167.7 kB / 458.3 MB, free: 5.633 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009194/0.7986, allocations: 4.412 MB / 462.7 MB, free: 1.078 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001321/0.7999, allocations: 155.2 kB / 462.8 MB, free: 0.9258 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001226/0.8001, allocations: 39.98 kB / 462.9 MB, free: 0.8867 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.000509/0.8006, allocations: 228.7 kB / 463.1 MB, free: 0.6562 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004945/0.8011, allocations: 122.5 kB / 463.2 MB, free: 0.5352 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005581/0.8017, allocations: 172.7 kB / 463.4 MB, free: 372 kB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.862e-05/0.8017, allocations: 12 kB / 463.4 MB, free: 360 kB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.525e-06/0.8017, allocations: 0 / 463.4 MB, free: 360 kB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.492e-05/0.8018, allocations: 3.984 kB / 463.4 MB, free: 356 kB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00944/0.8112, allocations: 3.545 MB / 466.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.707e-06/0.8113, allocations: 4 kB / 466.9 MB, free: 12.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001/0.8123, allocations: 115.8 kB / 467 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001521/0.8138, allocations: 409 kB / 467.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001293/0.814, allocations: 23.98 kB / 467.5 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009118/0.8231, allocations: 4.133 MB / 471.6 MB, free: 7.961 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.467e-06/0.8232, allocations: 3.938 kB / 471.6 MB, free: 7.957 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006372/0.8295, allocations: 2.458 MB / 474.1 MB, free: 5.484 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001264/0.8309, allocations: 363.2 kB / 474.4 MB, free: 5.109 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003383/0.8312, allocations: 32.11 kB / 474.5 MB, free: 5.078 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001377/0.8326, allocations: 115.9 kB / 474.6 MB, free: 4.965 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0008759/0.8335, allocations: 220.7 kB / 474.8 MB, free: 4.746 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000121/0.8337, allocations: 35.97 kB / 474.8 MB, free: 4.711 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002089/0.8358, allocations: 0.8365 MB / 475.7 MB, free: 3.863 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.8358, allocations: 0 / 475.7 MB, free: 3.863 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003276/0.8391, allocations: 0.8293 MB / 476.5 MB, free: 3.031 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.006942/0.8461, allocations: 3.082 MB / 479.6 MB, free: 15.92 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007299/0.8534, allocations: 2.736 MB / 482.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.098e-05/0.8535, allocations: 5.031 kB / 482.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002602/0.8561, allocations: 0.9831 MB / 483.3 MB, free: 12.16 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002348/0.8585, allocations: 288.4 kB / 483.6 MB, free: 11.88 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01322/0.8717, allocations: 3.587 MB / 487.2 MB, free: 8.238 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002328/0.8741, allocations: 1.7 MB / 488.9 MB, free: 6.504 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001646/0.8758, allocations: 0.6321 MB / 489.5 MB, free: 5.875 MB / 378.7 MB Notification: Performance of SimCode: time 1.663e-06/0.8758, allocations: 3.938 kB / 489.5 MB, free: 5.871 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.686/4.562, allocations: 40.03 MB / 0.5171 GB, free: 120.5 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