Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.204/2.204, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.444e-05/4.464e-05, allocations: 4 kB / 292.3 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1459, allocations: 50.4 MB / 342.7 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5566/0.7026, allocations: 88.6 MB / 431.3 MB, free: 5.352 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003271/0.7029, allocations: 85.08 kB / 431.3 MB, free: 5.305 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06161/0.7646, allocations: 13.37 MB / 444.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.222e-06/0.7646, allocations: 0 / 444.7 MB, free: 9.984 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.618e-05/0.7647, allocations: 23.88 kB / 444.7 MB, free: 9.961 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: 146 * Number of variables: 146 Notification: Performance of Generate backend data structure: time 0.00269/0.7674, allocations: 0.8397 MB / 445.6 MB, free: 9.109 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.629e-05/0.7675, allocations: 12.03 kB / 445.6 MB, free: 9.098 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003108/0.7678, allocations: 103.1 kB / 445.7 MB, free: 9.023 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002762/0.7681, allocations: 75.16 kB / 445.8 MB, free: 8.949 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001363/0.7695, allocations: 475.1 kB / 446.2 MB, free: 8.52 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.627e-05/0.7696, allocations: 48.14 kB / 446.3 MB, free: 8.492 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002113/0.7699, allocations: 70.52 kB / 446.3 MB, free: 8.441 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001803/0.7717, allocations: 0.614 MB / 447 MB, free: 8.004 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.547e-05/0.7718, allocations: 3.938 kB / 447 MB, free: 8 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001064/0.7719, allocations: 24.3 kB / 447 MB, free: 7.992 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.3e-05/0.7719, allocations: 19.94 kB / 447 MB, free: 7.973 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001403/0.7733, allocations: 432.9 kB / 447.4 MB, free: 7.711 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006383/0.7797, allocations: 2.291 MB / 449.7 MB, free: 5.812 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00113/0.7809, allocations: 402.1 kB / 450.1 MB, free: 5.559 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008515/0.7818, allocations: 243.6 kB / 450.3 MB, free: 5.387 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.643e-05/0.7819, allocations: 11.5 kB / 450.4 MB, free: 5.379 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008029/0.7827, allocations: 310.6 kB / 450.7 MB, free: 5.125 MB / 362.7 MB Notification: Performance of pre-optimization done (n=46): time 4.258e-06/0.7828, allocations: 0 / 450.7 MB, free: 5.125 MB / 362.7 MB Notification: Performance of matching and sorting (n=46): time 0.001373/0.7842, allocations: 438.3 kB / 451.1 MB, free: 4.801 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000131/0.7843, allocations: 169.8 kB / 451.3 MB, free: 4.602 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009003/0.7852, allocations: 415.4 kB / 451.7 MB, free: 4.289 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001346/0.7854, allocations: 44.88 kB / 451.7 MB, free: 4.25 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003489/0.7858, allocations: 310.8 kB / 452 MB, free: 4.02 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002181/0.786, allocations: 132 kB / 452.1 MB, free: 3.91 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.536e-05/0.7861, allocations: 14.5 kB / 452.2 MB, free: 3.906 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002081/0.7863, allocations: 359 kB / 452.5 MB, free: 3.566 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004834/0.7868, allocations: 166.6 kB / 452.7 MB, free: 3.461 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006119/0.7874, allocations: 310.8 kB / 453 MB, free: 3.168 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005225/0.788, allocations: 175.6 kB / 453.1 MB, free: 3.051 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.977e-06/0.788, allocations: 0 / 453.1 MB, free: 3.051 MB / 362.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.001603/0.7896, allocations: 0.5617 MB / 453.7 MB, free: 2.621 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007761/0.7904, allocations: 1.658 MB / 455.4 MB, free: 0.8633 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.247e-05/0.7905, allocations: 7.984 kB / 455.4 MB, free: 0.8555 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005951/0.7911, allocations: 92.44 kB / 455.5 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006874/0.7918, allocations: 87.39 kB / 455.5 MB, free: 0.7031 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00311/0.795, allocations: 1.852 MB / 457.4 MB, free: 14.96 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009369/0.796, allocations: 93.67 kB / 457.5 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-05/0.7961, allocations: 19.06 kB / 457.5 MB, free: 14.86 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.495e-05/0.7961, allocations: 4 kB / 457.5 MB, free: 14.86 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001367/0.7975, allocations: 482.1 kB / 458 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.738e-05/0.7975, allocations: 4 kB / 458 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004556/0.798, allocations: 92.41 kB / 458.1 MB, free: 14.46 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006342/0.7987, allocations: 78.53 kB / 458.2 MB, free: 14.38 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002974/0.8017, allocations: 1.842 MB / 460 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008339/0.8026, allocations: 79.58 kB / 460.1 MB, free: 12.39 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.478e-05/0.8027, allocations: 20 kB / 460.1 MB, free: 12.37 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {2 8} Notification: Performance of prepare postOptimizeDAE: time 0.0002896/0.803, allocations: 148.5 kB / 460.2 MB, free: 12.22 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001926/0.8032, allocations: 47.44 kB / 460.3 MB, free: 12.18 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002138/0.8034, allocations: 64.88 kB / 460.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.067e-06/0.8034, allocations: 4 kB / 460.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.8034, allocations: 0 / 460.3 MB, free: 12.11 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.8035, allocations: 7.953 kB / 460.4 MB, free: 12.1 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003244/0.8067, allocations: 1.276 MB / 461.6 MB, free: 10.76 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.937e-06/0.8068, allocations: 7.953 kB / 461.6 MB, free: 10.75 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004597/0.8072, allocations: 47.91 kB / 461.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004478/0.8077, allocations: 89.06 kB / 461.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.38e-05/0.8078, allocations: 8 kB / 461.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002937/0.8108, allocations: 1.76 MB / 463.5 MB, free: 8.715 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8108, allocations: 3.938 kB / 463.5 MB, free: 8.711 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002125/0.813, allocations: 0.7693 MB / 464.3 MB, free: 7.914 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004497/0.8135, allocations: 176.4 kB / 464.5 MB, free: 7.723 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00014/0.8136, allocations: 8 kB / 464.5 MB, free: 7.715 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006729/0.8143, allocations: 47.97 kB / 464.5 MB, free: 7.668 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002207/0.8146, allocations: 47.92 kB / 464.6 MB, free: 7.621 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.399e-05/0.8146, allocations: 19.98 kB / 464.6 MB, free: 7.602 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006633/0.8153, allocations: 313.2 kB / 464.9 MB, free: 7.301 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.61e-07/0.8153, allocations: 0 / 464.9 MB, free: 7.301 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001564/0.8169, allocations: 291.1 kB / 465.2 MB, free: 7.016 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {2 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.002553/0.8195, allocations: 1.408 MB / 466.6 MB, free: 5.574 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002549/0.8221, allocations: 0.9328 MB / 467.5 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.8221, allocations: 0 / 467.5 MB, free: 4.621 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008949/0.8231, allocations: 346.8 kB / 467.9 MB, free: 4.273 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009059/0.824, allocations: 86.59 kB / 468 MB, free: 4.188 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00334/0.8274, allocations: 0.9305 MB / 468.9 MB, free: 3.215 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007573/0.8282, allocations: 0.9309 MB / 469.8 MB, free: 2.254 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0008163/0.829, allocations: 116.5 kB / 469.9 MB, free: 2.141 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004676/0.8295, allocations: 211.4 kB / 470.1 MB, free: 1.934 MB / 378.7 MB Notification: Performance of SimCode: time 1.352e-06/0.8295, allocations: 0 / 470.1 MB, free: 1.934 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06822/0.8978, allocations: 13.12 MB / 483.3 MB, free: 5.07 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003712/0.8982, allocations: 230.2 kB / 483.5 MB, free: 4.766 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.01/3.908, allocations: 0 / 483.5 MB, free: 4.766 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_R_res.mat does not exist to compare? outputFormat=mat