Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.13/2.13, allocations: 205.8 MB / 218.9 MB, free: 9.258 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.879e-05/3.894e-05, allocations: 4 kB / 269.5 MB, free: 6.281 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.103/0.1031, allocations: 47.58 MB / 317 MB, free: 6.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4619/0.565, allocations: 90.8 MB / 407.8 MB, free: 13.31 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003336/0.5654, allocations: 91 kB / 407.9 MB, free: 13.26 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1231/0.6886, allocations: 28.9 MB / 436.8 MB, free: 4.867 MB / 346.7 MB Notification: Performance of FrontEnd: time 4.348e-06/0.6887, allocations: 0 / 436.8 MB, free: 4.867 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001758/0.6888, allocations: 43.86 kB / 436.9 MB, free: 4.824 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.005793/0.6946, allocations: 1.526 MB / 438.4 MB, free: 3.312 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.789e-05/0.6947, allocations: 8.031 kB / 438.4 MB, free: 3.305 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007543/0.6955, allocations: 204.4 kB / 438.6 MB, free: 3.176 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000645/0.6962, allocations: 162 kB / 438.8 MB, free: 3.016 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006696/0.7029, allocations: 1.635 MB / 440.4 MB, free: 1.688 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001471/0.7031, allocations: 105.1 kB / 440.5 MB, free: 1.625 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003979/0.7035, allocations: 134.4 kB / 440.6 MB, free: 1.535 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004525/0.708, allocations: 1.674 MB / 442.3 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.048e-05/0.7082, allocations: 0 / 442.3 MB, free: 376 kB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002298/0.7084, allocations: 53.88 kB / 442.4 MB, free: 364 kB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001023/0.7085, allocations: 58.5 kB / 442.4 MB, free: 304 kB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003977/0.7125, allocations: 1.326 MB / 443.7 MB, free: 15.47 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01423/0.7268, allocations: 5.015 MB / 448.8 MB, free: 11.33 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003279/0.7301, allocations: 1.034 MB / 449.8 MB, free: 10.29 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001642/0.7318, allocations: 0.5583 MB / 450.4 MB, free: 9.723 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.759e-05/0.7319, allocations: 8.766 kB / 450.4 MB, free: 9.715 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001504/0.7335, allocations: 0.5824 MB / 450.9 MB, free: 9.109 MB / 362.7 MB Notification: Performance of pre-optimization done (n=82): time 4.338e-06/0.7335, allocations: 0 / 450.9 MB, free: 9.109 MB / 362.7 MB Notification: Performance of matching and sorting (n=82): time 0.002997/0.7365, allocations: 1.007 MB / 452 MB, free: 8.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001244/0.7367, allocations: 153.2 kB / 452.1 MB, free: 7.91 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001928/0.7386, allocations: 0.7828 MB / 452.9 MB, free: 7.117 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002613/0.7389, allocations: 57.69 kB / 452.9 MB, free: 7.055 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007742/0.7397, allocations: 0.585 MB / 453.5 MB, free: 6.461 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004421/0.7402, allocations: 240.8 kB / 453.8 MB, free: 6.223 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.426e-05/0.7403, allocations: 23.94 kB / 453.8 MB, free: 6.199 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001875/0.7405, allocations: 341.9 kB / 454.1 MB, free: 5.859 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001099/0.7416, allocations: 409.8 kB / 454.5 MB, free: 5.457 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00131/0.7429, allocations: 0.6241 MB / 455.1 MB, free: 4.734 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001199/0.7442, allocations: 449.9 kB / 455.6 MB, free: 4.297 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.306e-05/0.7442, allocations: 4 kB / 455.6 MB, free: 4.293 MB / 362.7 MB Notification: Performance of matching and sorting (n=119) (initialization): time 0.003271/0.7475, allocations: 1.187 MB / 456.8 MB, free: 3.094 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001371/0.7489, allocations: 2.536 MB / 459.3 MB, free: 368 kB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.297e-05/0.749, allocations: 4 kB / 459.3 MB, free: 364 kB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009564/0.7499, allocations: 208.7 kB / 459.5 MB, free: 152 kB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001193/0.7512, allocations: 155.8 kB / 459.7 MB, free: 15.99 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005111/0.7563, allocations: 2.768 MB / 462.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/0.7579, allocations: 159.2 kB / 462.6 MB, free: 12.94 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/0.7581, allocations: 43.98 kB / 462.6 MB, free: 12.89 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.7582, allocations: 4 kB / 462.6 MB, free: 12.89 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002904/0.7611, allocations: 1.089 MB / 463.7 MB, free: 11.8 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.732e-05/0.7612, allocations: 11.94 kB / 463.7 MB, free: 11.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000812/0.762, allocations: 212.7 kB / 463.9 MB, free: 11.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001071/0.7631, allocations: 148.1 kB / 464.1 MB, free: 11.43 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004955/0.7681, allocations: 2.769 MB / 466.9 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001486/0.7696, allocations: 135.4 kB / 467 MB, free: 8.395 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001054/0.7697, allocations: 36 kB / 467 MB, free: 8.359 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($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,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (107): * Single equations (assignments): 106 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004112/0.7702, allocations: 204.8 kB / 467.2 MB, free: 8.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000241/0.7704, allocations: 102.7 kB / 467.3 MB, free: 8.059 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003778/0.7708, allocations: 121.3 kB / 467.4 MB, free: 7.938 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-05/0.7708, allocations: 8 kB / 467.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.395e-06/0.7708, allocations: 0 / 467.5 MB, free: 7.93 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.313e-05/0.7709, allocations: 3.984 kB / 467.5 MB, free: 7.926 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006767/0.7776, allocations: 2.545 MB / 470 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.217e-06/0.7777, allocations: 0 / 470 MB, free: 5.312 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007289/0.7784, allocations: 83.83 kB / 470.1 MB, free: 5.23 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007532/0.7792, allocations: 208.6 kB / 470.3 MB, free: 5.023 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001011/0.7793, allocations: 12 kB / 470.3 MB, free: 5.012 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004877/0.7842, allocations: 2.724 MB / 473 MB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7843, allocations: 0 / 473 MB, free: 2.145 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004151/0.7884, allocations: 1.653 MB / 474.7 MB, free: 468 kB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000869/0.7894, allocations: 267.9 kB / 474.9 MB, free: 180 kB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002201/0.7896, allocations: 20 kB / 475 MB, free: 160 kB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001043/0.7907, allocations: 95.86 kB / 475.1 MB, free: 64 kB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005312/0.7912, allocations: 136.6 kB / 475.2 MB, free: 15.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.322e-05/0.7913, allocations: 27.98 kB / 475.2 MB, free: 15.9 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001421/0.7927, allocations: 0.5928 MB / 475.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.21e-07/0.7928, allocations: 4 kB / 475.8 MB, free: 15.3 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002581/0.7954, allocations: 0.5799 MB / 476.4 MB, free: 14.72 MB / 394.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].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.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 60 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.004549/0.8, allocations: 2.403 MB / 478.8 MB, free: 12.27 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.004836/0.8049, allocations: 1.854 MB / 480.6 MB, free: 10.39 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.667e-05/0.805, allocations: 4.094 kB / 480.6 MB, free: 10.38 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001852/0.8068, allocations: 0.6921 MB / 481.3 MB, free: 9.684 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002153/0.809, allocations: 187.9 kB / 481.5 MB, free: 9.504 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/0.8195, allocations: 2.334 MB / 483.9 MB, free: 7.117 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001636/0.8212, allocations: 1.413 MB / 485.3 MB, free: 5.672 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002201/0.8235, allocations: 427.1 kB / 485.7 MB, free: 5.25 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001128/0.8247, allocations: 447.3 kB / 486.1 MB, free: 4.816 MB / 394.7 MB Notification: Performance of SimCode: time 1.623e-06/0.8247, allocations: 0 / 486.1 MB, free: 4.816 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0894/0.9141, allocations: 26.67 MB / 0.5008 GB, free: 10.2 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003293/0.9145, allocations: 246.5 kB / 0.501 GB, free: 9.883 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.466/4.38, allocations: 3.953 kB / 0.501 GB, free: 9.879 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_res.mat does not exist to compare? outputFormat=mat