Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.073/2.073, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.967e-05/3.982e-05, allocations: 5.562 kB / 292.8 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1137/0.1138, allocations: 50.41 MB / 343.2 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4826/0.5965, allocations: 93.01 MB / 436.2 MB, free: 0.8984 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003466/0.5969, allocations: 85.88 kB / 436.3 MB, free: 0.8516 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1629/0.7598, allocations: 38.1 MB / 474.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.7599, allocations: 0 / 474.4 MB, free: 15.14 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002276/0.7601, allocations: 51.88 kB / 474.4 MB, free: 15.09 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.007934/0.7681, allocations: 2.049 MB / 476.5 MB, free: 12.98 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.294e-05/0.7681, allocations: 8.031 kB / 476.5 MB, free: 12.98 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001134/0.7693, allocations: 261.4 kB / 476.7 MB, free: 12.71 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008506/0.7702, allocations: 229.3 kB / 477 MB, free: 12.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008197/0.7784, allocations: 1.996 MB / 479 MB, free: 10.43 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002058/0.7786, allocations: 139.5 kB / 479.1 MB, free: 10.29 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006623/0.7793, allocations: 172 kB / 479.3 MB, free: 10.12 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007227/0.7866, allocations: 2.385 MB / 481.6 MB, free: 7.66 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.278e-05/0.7867, allocations: 3.938 kB / 481.7 MB, free: 7.656 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000291/0.787, allocations: 71.98 kB / 481.7 MB, free: 7.586 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001302/0.7871, allocations: 83.47 kB / 481.8 MB, free: 7.504 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006289/0.7934, allocations: 1.994 MB / 483.8 MB, free: 5.508 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02148/0.815, allocations: 7.388 MB / 491.2 MB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003616/0.8186, allocations: 1.482 MB / 492.7 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002299/0.821, allocations: 0.9316 MB / 493.6 MB, free: 11.5 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.783e-05/0.8211, allocations: 18.83 kB / 493.6 MB, free: 11.48 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002095/0.8232, allocations: 0.8655 MB / 494.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of pre-optimization done (n=117): time 4.288e-06/0.8232, allocations: 0 / 494.5 MB, free: 10.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=117): time 0.004203/0.8274, allocations: 1.544 MB / 496 MB, free: 9.039 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001286/0.8276, allocations: 165.4 kB / 496.2 MB, free: 8.848 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002709/0.8303, allocations: 1.128 MB / 497.3 MB, free: 7.703 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003008/0.8307, allocations: 61.69 kB / 497.4 MB, free: 7.637 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.8317, allocations: 0.7849 MB / 498.2 MB, free: 6.84 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005943/0.8324, allocations: 347.2 kB / 498.5 MB, free: 6.496 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001099/0.8325, allocations: 24 kB / 498.5 MB, free: 6.473 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002072/0.8327, allocations: 357.9 kB / 498.9 MB, free: 6.117 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001603/0.8343, allocations: 0.6116 MB / 499.5 MB, free: 5.508 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001818/0.8362, allocations: 0.8325 MB / 0.4886 GB, free: 4.598 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001648/0.8378, allocations: 0.6335 MB / 0.4892 GB, free: 3.965 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.047e-05/0.8378, allocations: 4 kB / 0.4892 GB, free: 3.961 MB / 410.7 MB Notification: Performance of matching and sorting (n=150) (initialization): time 0.00465/0.8425, allocations: 1.763 MB / 0.4909 GB, free: 2.188 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008986/0.8434, allocations: 1.938 MB / 0.4928 GB, free: 120 kB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.857e-05/0.8435, allocations: 4 kB / 0.4928 GB, free: 116 kB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001817/0.8453, allocations: 435.3 kB / 0.4932 GB, free: 15.69 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.8469, allocations: 179.7 kB / 0.4934 GB, free: 15.51 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00925/0.8562, allocations: 4.376 MB / 0.4977 GB, free: 11 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00197/0.8582, allocations: 183.3 kB / 0.4979 GB, free: 10.82 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001567/0.8584, allocations: 40 kB / 0.4979 GB, free: 10.78 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.8584, allocations: 4 kB / 0.4979 GB, free: 10.78 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004116/0.8625, allocations: 1.629 MB / 0.4995 GB, free: 9.141 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.981e-05/0.8626, allocations: 8 kB / 0.4995 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001554/0.8641, allocations: 424.5 kB / 0.4999 GB, free: 8.715 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001427/0.8656, allocations: 179.9 kB / 0.5001 GB, free: 8.539 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008873/0.8745, allocations: 4.374 MB / 0.5044 GB, free: 4.035 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001876/0.8764, allocations: 163.3 kB / 0.5045 GB, free: 3.875 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001476/0.8766, allocations: 40 kB / 0.5046 GB, free: 3.836 MB / 426.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0005047/0.8771, allocations: 220.8 kB / 0.5048 GB, free: 3.613 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003915/0.8775, allocations: 142.2 kB / 0.5049 GB, free: 3.473 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000559/0.8781, allocations: 169 kB / 0.5051 GB, free: 3.301 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.926e-05/0.8781, allocations: 19.98 kB / 0.5051 GB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.8781, allocations: 0 / 0.5051 GB, free: 3.281 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.745e-05/0.8782, allocations: 11.91 kB / 0.5051 GB, free: 3.27 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01262/0.8908, allocations: 3.7 MB / 0.5087 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.688e-06/0.8909, allocations: 0 / 0.5087 GB, free: 15.51 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001384/0.8923, allocations: 123.8 kB / 0.5088 GB, free: 15.39 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002/0.8943, allocations: 408.5 kB / 0.5092 GB, free: 14.99 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000178/0.8945, allocations: 19.98 kB / 0.5092 GB, free: 14.97 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0121/0.9066, allocations: 4.159 MB / 0.5133 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.9067, allocations: 0 / 0.5133 GB, free: 10.68 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008556/0.9152, allocations: 2.576 MB / 0.5158 GB, free: 8.086 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001563/0.9168, allocations: 379.2 kB / 0.5162 GB, free: 7.695 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004345/0.9173, allocations: 39.92 kB / 0.5162 GB, free: 7.656 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/0.9192, allocations: 111.9 kB / 0.5163 GB, free: 7.547 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00108/0.9203, allocations: 224.6 kB / 0.5165 GB, free: 7.328 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001628/0.9205, allocations: 31.98 kB / 0.5166 GB, free: 7.297 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002708/0.9233, allocations: 0.861 MB / 0.5174 GB, free: 6.426 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.9233, allocations: 4 kB / 0.5174 GB, free: 6.422 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00434/0.9276, allocations: 0.8603 MB / 0.5182 GB, free: 5.559 MB / 442.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * 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.009297/0.937, allocations: 3.211 MB / 0.5214 GB, free: 2.32 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.2945/1.231, allocations: 2.822 MB / 0.5241 GB, free: 128.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.919e-06/1.232, allocations: 0.5 kB / 0.5241 GB, free: 128.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002971/1.235, allocations: 1.003 MB / 0.5251 GB, free: 128 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002684/1.237, allocations: 294.4 kB / 0.5254 GB, free: 128 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01333/1.251, allocations: 3.409 MB / 0.5287 GB, free: 127.3 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003956/1.255, allocations: 1.776 MB / 0.5305 GB, free: 126.6 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.005387/1.26, allocations: 0.6395 MB / 0.5311 GB, free: 126.6 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00218/1.262, allocations: 0.6312 MB / 0.5317 GB, free: 126.6 MB / 442.7 MB Notification: Performance of SimCode: time 2.004e-06/1.262, allocations: 0 / 0.5317 GB, free: 126.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1096/1.372, allocations: 41.35 MB / 0.5721 GB, free: 116 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002535/1.372, allocations: 249.1 kB / 0.5723 GB, free: 115.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.419/5.792, allocations: 2.812 kB / 0.5723 GB, free: 115.7 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_R_res.mat does not exist to compare? outputFormat=mat