Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.108/2.108, allocations: 225.8 MB / 239.3 MB, free: 11.2 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.075e-05/3.081e-05, allocations: 0 / 292.8 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1133, allocations: 50.41 MB / 343.2 MB, free: 5.809 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4645/0.5778, allocations: 89.44 MB / 432.6 MB, free: 4.531 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003287/0.5782, allocations: 84.75 kB / 432.7 MB, free: 4.484 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06494/0.6432, allocations: 14.15 MB / 446.8 MB, free: 8.496 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.484e-06/0.6432, allocations: 0 / 446.8 MB, free: 8.496 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.549e-05/0.6433, allocations: 20 kB / 446.9 MB, free: 8.477 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002887/0.6462, allocations: 0.8941 MB / 447.8 MB, free: 7.57 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.654e-05/0.6463, allocations: 12.03 kB / 447.8 MB, free: 7.559 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003209/0.6466, allocations: 107.2 kB / 447.9 MB, free: 7.484 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002785/0.6469, allocations: 86.97 kB / 448 MB, free: 7.398 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001277/0.6482, allocations: 494.2 kB / 448.4 MB, free: 6.957 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.53e-05/0.6483, allocations: 45.88 kB / 448.5 MB, free: 6.934 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001738/0.6485, allocations: 65.94 kB / 448.5 MB, free: 6.891 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001839/0.6504, allocations: 0.6642 MB / 449.2 MB, free: 6.418 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.29e-05/0.6505, allocations: 7.906 kB / 449.2 MB, free: 6.41 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001017/0.6506, allocations: 35.8 kB / 449.3 MB, free: 6.395 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.434e-05/0.6506, allocations: 16 kB / 449.3 MB, free: 6.379 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001398/0.652, allocations: 456.7 kB / 449.7 MB, free: 6.098 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006516/0.6586, allocations: 2.409 MB / 452.1 MB, free: 4.086 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001845/0.6605, allocations: 0.5295 MB / 452.7 MB, free: 3.719 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009226/0.6614, allocations: 280 kB / 452.9 MB, free: 3.527 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.496e-05/0.6615, allocations: 4.438 kB / 452.9 MB, free: 3.523 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008391/0.6624, allocations: 330.3 kB / 453.3 MB, free: 3.266 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 3.697e-06/0.6624, allocations: 0 / 453.3 MB, free: 3.266 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.001426/0.6639, allocations: 483.7 kB / 453.7 MB, free: 2.906 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001159/0.664, allocations: 166.6 kB / 453.9 MB, free: 2.711 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008557/0.6649, allocations: 402.2 kB / 454.3 MB, free: 2.395 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.665, allocations: 48.38 kB / 454.3 MB, free: 2.352 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003349/0.6654, allocations: 316.4 kB / 454.6 MB, free: 2.125 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002246/0.6656, allocations: 165.7 kB / 454.8 MB, free: 1.984 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.542e-05/0.6657, allocations: 12.75 kB / 454.8 MB, free: 1.98 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002023/0.6659, allocations: 367.3 kB / 455.2 MB, free: 1.637 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005146/0.6664, allocations: 168.7 kB / 455.3 MB, free: 1.535 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007102/0.6672, allocations: 331.9 kB / 455.7 MB, free: 1.223 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005312/0.6677, allocations: 187.1 kB / 455.8 MB, free: 1.094 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.662e-06/0.6677, allocations: 0 / 455.8 MB, free: 1.094 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001602/0.6693, allocations: 0.5746 MB / 456.4 MB, free: 0.6562 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008143/0.6702, allocations: 1.653 MB / 458.1 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.997e-05/0.6703, allocations: 4 kB / 458.1 MB, free: 14.9 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005786/0.6708, allocations: 75.08 kB / 458.1 MB, free: 14.85 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008831/0.6717, allocations: 111.6 kB / 458.3 MB, free: 14.74 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002626/0.6744, allocations: 1.739 MB / 460 MB, free: 13.07 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001094/0.6755, allocations: 90.05 kB / 460.1 MB, free: 13 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.935e-05/0.6757, allocations: 24.62 kB / 460.1 MB, free: 12.97 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.6757, allocations: 4 kB / 460.1 MB, free: 12.97 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001446/0.6771, allocations: 0.4916 MB / 460.6 MB, free: 12.48 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.279e-05/0.6772, allocations: 4 kB / 460.6 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003947/0.6776, allocations: 72.83 kB / 460.7 MB, free: 12.4 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007853/0.6784, allocations: 103.8 kB / 460.8 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002525/0.6809, allocations: 1.737 MB / 462.5 MB, free: 10.42 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000912/0.6819, allocations: 79.59 kB / 462.6 MB, free: 10.34 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.232e-05/0.682, allocations: 31.98 kB / 462.6 MB, free: 10.31 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 (65): * Single equations (assignments): 64 * 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 6} Notification: Performance of prepare postOptimizeDAE: time 0.0002945/0.6823, allocations: 156.1 kB / 462.8 MB, free: 10.16 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001807/0.6825, allocations: 59.25 kB / 462.8 MB, free: 10.1 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002185/0.6827, allocations: 69.25 kB / 462.9 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.757e-06/0.6828, allocations: 4 kB / 462.9 MB, free: 10.03 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/0.6828, allocations: 4 kB / 462.9 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.6828, allocations: 3.984 kB / 462.9 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003243/0.686, allocations: 1.354 MB / 464.3 MB, free: 8.598 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-05/0.6861, allocations: 4 kB / 464.3 MB, free: 8.594 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007444/0.6869, allocations: 67.89 kB / 464.3 MB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000402/0.6873, allocations: 72.83 kB / 464.4 MB, free: 8.453 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-05/0.6874, allocations: 11.98 kB / 464.4 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002432/0.6898, allocations: 1.635 MB / 466.1 MB, free: 6.676 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.956e-06/0.6899, allocations: 4.062 kB / 466.1 MB, free: 6.672 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002329/0.6922, allocations: 0.8265 MB / 466.9 MB, free: 5.816 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000433/0.6927, allocations: 184.2 kB / 467.1 MB, free: 5.617 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001366/0.6929, allocations: 12 kB / 467.1 MB, free: 5.605 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007586/0.6936, allocations: 55.95 kB / 467.1 MB, free: 5.551 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002357/0.6939, allocations: 56.36 kB / 467.2 MB, free: 5.496 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.111e-05/0.694, allocations: 23.92 kB / 467.2 MB, free: 5.473 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006427/0.6946, allocations: 305.2 kB / 467.5 MB, free: 5.18 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6946, allocations: 4 kB / 467.5 MB, free: 5.176 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001528/0.6962, allocations: 303.1 kB / 467.8 MB, free: 4.879 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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 (45): * Single equations (assignments): 39 * 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 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.002842/0.699, allocations: 1.489 MB / 469.3 MB, free: 3.359 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002484/0.7016, allocations: 0.9453 MB / 470.2 MB, free: 2.391 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.089e-05/0.7016, allocations: 4.75 kB / 470.3 MB, free: 2.387 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009061/0.7026, allocations: 371.1 kB / 470.6 MB, free: 2.016 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009371/0.7035, allocations: 82.69 kB / 470.7 MB, free: 1.934 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004021/0.7076, allocations: 1.067 MB / 471.8 MB, free: 0.8164 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009588/0.7086, allocations: 0.9504 MB / 472.7 MB, free: 15.84 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0009331/0.7096, allocations: 128.5 kB / 472.8 MB, free: 15.71 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004792/0.7101, allocations: 219.3 kB / 473.1 MB, free: 15.5 MB / 394.7 MB Notification: Performance of SimCode: time 1.313e-06/0.7101, allocations: 0 / 473.1 MB, free: 15.5 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1001/0.8102, allocations: 13.55 MB / 486.6 MB, free: 2.25 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004037/0.8107, allocations: 260.3 kB / 486.9 MB, free: 1.914 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.247/4.058, allocations: 0 / 486.9 MB, free: 1.914 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat