Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.144/2.144, allocations: 205.8 MB / 218.9 MB, free: 9.262 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.675e-05/3.683e-05, allocations: 3.984 kB / 269.5 MB, free: 6.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1039/0.104, allocations: 47.57 MB / 317 MB, free: 6.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4747/0.5787, allocations: 91.66 MB / 408.7 MB, free: 12.11 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003343/0.5791, allocations: 89.31 kB / 408.8 MB, free: 12.06 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1484/0.7275, allocations: 36 MB / 444.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.7276, allocations: 0 / 444.8 MB, free: 13.62 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001893/0.7278, allocations: 44 kB / 444.8 MB, free: 13.58 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: 435 * Number of variables: 435 Notification: Performance of Generate backend data structure: time 0.007094/0.7349, allocations: 1.974 MB / 446.8 MB, free: 11.66 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.875e-05/0.735, allocations: 12.03 kB / 446.8 MB, free: 11.65 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008608/0.7358, allocations: 247.4 kB / 447.1 MB, free: 11.5 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007479/0.7366, allocations: 233.2 kB / 447.3 MB, free: 11.27 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007753/0.7444, allocations: 1.969 MB / 449.3 MB, free: 9.688 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001936/0.7446, allocations: 130 kB / 449.4 MB, free: 9.613 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007608/0.7454, allocations: 166.6 kB / 449.5 MB, free: 9.504 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006757/0.7521, allocations: 2.304 MB / 451.9 MB, free: 7.922 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.963e-05/0.7523, allocations: 7.953 kB / 451.9 MB, free: 7.914 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002544/0.7525, allocations: 66.81 kB / 451.9 MB, free: 7.898 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001311/0.7527, allocations: 74.78 kB / 452 MB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005688/0.7584, allocations: 1.928 MB / 453.9 MB, free: 6.094 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02005/0.7785, allocations: 7.188 MB / 461.1 MB, free: 14.7 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004851/0.7834, allocations: 1.586 MB / 462.7 MB, free: 13.1 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002288/0.7857, allocations: 0.8924 MB / 463.6 MB, free: 12.21 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.559e-05/0.7858, allocations: 12.98 kB / 463.6 MB, free: 12.2 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001953/0.7878, allocations: 0.8304 MB / 464.4 MB, free: 11.35 MB / 378.7 MB Notification: Performance of pre-optimization done (n=111): time 4.098e-06/0.7878, allocations: 0 / 464.4 MB, free: 11.35 MB / 378.7 MB Notification: Performance of matching and sorting (n=111): time 0.003898/0.7917, allocations: 1.47 MB / 465.9 MB, free: 9.863 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001074/0.7919, allocations: 127.8 kB / 466 MB, free: 9.715 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002615/0.7945, allocations: 1.1 MB / 467.1 MB, free: 8.598 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003148/0.7949, allocations: 69.67 kB / 467.2 MB, free: 8.523 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009805/0.7959, allocations: 0.7574 MB / 468 MB, free: 7.754 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005155/0.7964, allocations: 335.4 kB / 468.3 MB, free: 7.422 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001084/0.7965, allocations: 20 kB / 468.3 MB, free: 7.402 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001801/0.7967, allocations: 353.9 kB / 468.6 MB, free: 7.051 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001522/0.7982, allocations: 0.5843 MB / 469.2 MB, free: 6.465 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001788/0.8001, allocations: 0.7927 MB / 470 MB, free: 5.598 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001673/0.8018, allocations: 0.5904 MB / 470.6 MB, free: 5.008 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.207e-05/0.8018, allocations: 8 kB / 470.6 MB, free: 5 MB / 378.7 MB Notification: Performance of matching and sorting (n=144) (initialization): time 0.0045/0.8063, allocations: 1.696 MB / 472.3 MB, free: 3.289 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009201/0.8073, allocations: 1.931 MB / 474.3 MB, free: 1.223 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-05/0.8073, allocations: 4 kB / 474.3 MB, free: 1.219 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001726/0.8091, allocations: 435.1 kB / 474.7 MB, free: 0.793 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001467/0.8106, allocations: 171.7 kB / 474.8 MB, free: 0.625 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01164/0.8222, allocations: 4.364 MB / 479.2 MB, free: 12.12 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002553/0.8248, allocations: 179.1 kB / 479.4 MB, free: 11.95 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002299/0.8251, allocations: 40 kB / 479.4 MB, free: 11.91 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.8251, allocations: 7.938 kB / 479.4 MB, free: 11.9 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0061/0.8312, allocations: 1.558 MB / 481 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.264e-05/0.8313, allocations: 4 kB / 481 MB, free: 10.34 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002132/0.8334, allocations: 437.3 kB / 481.4 MB, free: 9.906 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001712/0.8352, allocations: 167.7 kB / 481.6 MB, free: 9.742 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01292/0.8481, allocations: 4.365 MB / 486 MB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002289/0.8505, allocations: 155.3 kB / 486.1 MB, free: 5.094 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/0.8507, allocations: 48 kB / 486.1 MB, free: 5.047 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 (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.0006258/0.8513, allocations: 208.8 kB / 486.4 MB, free: 4.836 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004467/0.8518, allocations: 138.3 kB / 486.5 MB, free: 4.699 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006962/0.8525, allocations: 164.7 kB / 486.6 MB, free: 4.535 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.8525, allocations: 8 kB / 486.7 MB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.876e-06/0.8526, allocations: 0 / 486.7 MB, free: 4.527 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.382e-05/0.8526, allocations: 11.97 kB / 486.7 MB, free: 4.516 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01342/0.866, allocations: 3.559 MB / 490.2 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.031e-05/0.8661, allocations: 0 / 490.2 MB, free: 0.8984 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001357/0.8675, allocations: 111.9 kB / 490.3 MB, free: 0.7891 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002027/0.8695, allocations: 396.8 kB / 490.7 MB, free: 408 kB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000172/0.8697, allocations: 19.98 kB / 490.7 MB, free: 388 kB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01377/0.8835, allocations: 4.156 MB / 494.9 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.791e-06/0.8836, allocations: 0 / 494.9 MB, free: 12.09 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009068/0.8927, allocations: 2.451 MB / 497.4 MB, free: 9.613 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001623/0.8943, allocations: 367.2 kB / 497.7 MB, free: 9.234 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005052/0.8949, allocations: 31.98 kB / 497.7 MB, free: 9.203 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/0.8968, allocations: 107.9 kB / 497.8 MB, free: 9.098 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001176/0.898, allocations: 224.7 kB / 498.1 MB, free: 8.879 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001794/0.8982, allocations: 32.02 kB / 498.1 MB, free: 8.848 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.002997/0.9012, allocations: 0.8523 MB / 498.9 MB, free: 7.984 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.61e-07/0.9013, allocations: 0 / 498.9 MB, free: 7.984 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.005022/0.9063, allocations: 0.8265 MB / 499.8 MB, free: 7.156 MB / 410.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.009496/0.9159, allocations: 3.093 MB / 0.4911 GB, free: 4.035 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.01028/0.9262, allocations: 2.723 MB / 0.4937 GB, free: 1.289 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.244e-05/0.9263, allocations: 0 / 0.4937 GB, free: 1.289 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003574/0.9299, allocations: 0.9703 MB / 0.4947 GB, free: 316 kB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003267/0.9332, allocations: 288.3 kB / 0.495 GB, free: 28 kB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01765/0.9509, allocations: 3.637 MB / 0.4985 GB, free: 12.34 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003134/0.9541, allocations: 1.746 MB / 0.5002 GB, free: 10.55 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.004035/0.9581, allocations: 0.5991 MB / 0.5008 GB, free: 9.949 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001893/0.9601, allocations: 0.6086 MB / 0.5014 GB, free: 9.344 MB / 426.7 MB Notification: Performance of SimCode: time 1.673e-06/0.9601, allocations: 0 / 0.5014 GB, free: 9.344 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3779/1.338, allocations: 40.33 MB / 0.5408 GB, free: 123.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002613/1.338, allocations: 234.7 kB / 0.541 GB, free: 122.9 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.993/5.332, allocations: 4 kB / 0.541 GB, free: 122.9 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_R_res.mat does not exist to compare? outputFormat=mat