Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.026/2.026, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.777e-05/3.788e-05, allocations: 0 / 269.5 MB, free: 6.281 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1233/0.1234, allocations: 47.56 MB / 317 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5089/0.6324, allocations: 92.22 MB / 409.2 MB, free: 11.55 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003342/0.6328, allocations: 90.25 kB / 409.3 MB, free: 11.5 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1505/0.7833, allocations: 36.6 MB / 445.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.914e-06/0.7834, allocations: 0 / 445.9 MB, free: 12.56 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001919/0.7836, allocations: 47.94 kB / 446 MB, free: 12.52 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: 447 * Number of variables: 447 Notification: Performance of Generate backend data structure: time 0.00739/0.791, allocations: 2.012 MB / 448 MB, free: 10.56 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.828e-05/0.7911, allocations: 8.031 kB / 448 MB, free: 10.55 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008368/0.7919, allocations: 260.7 kB / 448.3 MB, free: 10.4 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007204/0.7927, allocations: 233.2 kB / 448.5 MB, free: 10.17 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007597/0.8003, allocations: 1.977 MB / 450.5 MB, free: 8.578 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001694/0.8005, allocations: 134.6 kB / 450.6 MB, free: 8.504 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004457/0.8009, allocations: 175.7 kB / 450.8 MB, free: 8.387 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006262/0.8072, allocations: 2.34 MB / 453.1 MB, free: 6.781 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.705e-05/0.8073, allocations: 11.86 kB / 453.1 MB, free: 6.77 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002578/0.8076, allocations: 75.94 kB / 453.2 MB, free: 6.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001271/0.8077, allocations: 71.44 kB / 453.3 MB, free: 6.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005912/0.8137, allocations: 1.949 MB / 455.2 MB, free: 4.793 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02054/0.8343, allocations: 7.309 MB / 462.5 MB, free: 13.28 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006071/0.8404, allocations: 1.616 MB / 464.1 MB, free: 11.65 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003733/0.8442, allocations: 0.9093 MB / 465 MB, free: 10.73 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001447/0.8444, allocations: 12.98 kB / 465.1 MB, free: 10.72 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003256/0.8476, allocations: 0.842 MB / 465.9 MB, free: 9.859 MB / 378.7 MB Notification: Performance of pre-optimization done (n=114): time 6.783e-06/0.8477, allocations: 0 / 465.9 MB, free: 9.859 MB / 378.7 MB Notification: Performance of matching and sorting (n=114): time 0.006469/0.8542, allocations: 1.485 MB / 467.4 MB, free: 8.363 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001688/0.8544, allocations: 127.8 kB / 467.5 MB, free: 8.215 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002754/0.8572, allocations: 1.117 MB / 468.6 MB, free: 7.082 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003495/0.8576, allocations: 69.69 kB / 468.7 MB, free: 7.008 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001039/0.8586, allocations: 0.7732 MB / 469.5 MB, free: 6.223 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005739/0.8592, allocations: 343.2 kB / 469.8 MB, free: 5.883 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001106/0.8593, allocations: 24 kB / 469.8 MB, free: 5.859 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001877/0.8595, allocations: 357.9 kB / 470.2 MB, free: 5.504 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00156/0.8611, allocations: 0.5882 MB / 470.8 MB, free: 4.914 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001747/0.8629, allocations: 0.7965 MB / 471.6 MB, free: 4.043 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/0.8644, allocations: 0.606 MB / 472.2 MB, free: 3.438 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.506e-06/0.8644, allocations: 0 / 472.2 MB, free: 3.438 MB / 378.7 MB Notification: Performance of matching and sorting (n=148) (initialization): time 0.004473/0.8689, allocations: 1.719 MB / 473.9 MB, free: 1.703 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009022/0.8699, allocations: 1.94 MB / 475.8 MB, free: 15.63 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.802e-05/0.8699, allocations: 4 kB / 475.8 MB, free: 15.62 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/0.8715, allocations: 422 kB / 476.2 MB, free: 15.21 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/0.873, allocations: 183.7 kB / 476.4 MB, free: 15.03 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009017/0.8821, allocations: 4.392 MB / 480.8 MB, free: 10.5 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001883/0.884, allocations: 175.3 kB / 481 MB, free: 10.32 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000151/0.8842, allocations: 55.92 kB / 481 MB, free: 10.27 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.8842, allocations: 4 kB / 481 MB, free: 10.27 MB / 394.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004009/0.8882, allocations: 1.574 MB / 482.6 MB, free: 8.688 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/0.8883, allocations: 4 kB / 482.6 MB, free: 8.684 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00153/0.8898, allocations: 416.8 kB / 483 MB, free: 8.273 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001351/0.8912, allocations: 171.7 kB / 483.2 MB, free: 8.105 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008992/0.9002, allocations: 4.401 MB / 487.6 MB, free: 3.574 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001787/0.902, allocations: 159.2 kB / 487.8 MB, free: 3.418 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001392/0.9022, allocations: 39.98 kB / 487.8 MB, free: 3.379 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 (122): * Single equations (assignments): 121 * 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 21} Notification: Performance of prepare postOptimizeDAE: time 0.0004875/0.9027, allocations: 231.5 kB / 488 MB, free: 3.148 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000335/0.903, allocations: 134.4 kB / 488.1 MB, free: 3.016 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005422/0.9036, allocations: 169 kB / 488.3 MB, free: 2.84 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.762e-05/0.9036, allocations: 8 kB / 488.3 MB, free: 2.832 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.9037, allocations: 4 kB / 488.3 MB, free: 2.828 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.559e-05/0.9037, allocations: 3.984 kB / 488.3 MB, free: 2.824 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009214/0.9129, allocations: 3.599 MB / 491.9 MB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.715e-06/0.913, allocations: 0 / 491.9 MB, free: 15.17 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001077/0.914, allocations: 119.8 kB / 492 MB, free: 15.05 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001486/0.9155, allocations: 392.6 kB / 492.4 MB, free: 14.66 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001541/0.9157, allocations: 19.98 kB / 492.4 MB, free: 14.64 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008975/0.9247, allocations: 4.33 MB / 496.8 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.435e-06/0.9248, allocations: 3.938 kB / 496.8 MB, free: 10.18 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006085/0.9309, allocations: 2.474 MB / 499.3 MB, free: 7.684 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.9321, allocations: 371.2 kB / 499.6 MB, free: 7.301 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003416/0.9324, allocations: 31.98 kB / 499.6 MB, free: 7.27 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001364/0.9338, allocations: 111.9 kB / 499.8 MB, free: 7.16 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007747/0.9346, allocations: 228.6 kB / 500 MB, free: 6.934 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001087/0.9347, allocations: 31.98 kB / 0.4883 GB, free: 6.902 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.001932/0.9367, allocations: 0.8491 MB / 0.4891 GB, free: 6.043 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.9367, allocations: 3.938 kB / 0.4891 GB, free: 6.039 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003096/0.9398, allocations: 0.8523 MB / 0.49 GB, free: 5.184 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * 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[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (88): * Single equations (assignments): 78 * 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 21} Notification: Performance of Backend phase and start with SimCode phase: time 0.006414/0.9462, allocations: 3.113 MB / 0.493 GB, free: 2.039 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.006901/0.9532, allocations: 2.735 MB / 0.4957 GB, free: 15.28 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 5.45e-06/0.9532, allocations: 1.25 kB / 0.4957 GB, free: 15.28 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002389/0.9556, allocations: 0.9649 MB / 0.4966 GB, free: 14.31 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002259/0.9579, allocations: 300.4 kB / 0.4969 GB, free: 14.01 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009706/0.9676, allocations: 3.392 MB / 0.5002 GB, free: 10.57 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002139/0.9698, allocations: 1.757 MB / 0.5019 GB, free: 8.777 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002885/0.9727, allocations: 0.6072 MB / 0.5025 GB, free: 8.164 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001391/0.9742, allocations: 0.632 MB / 0.5031 GB, free: 7.531 MB / 426.7 MB Notification: Performance of SimCode: time 1.122e-06/0.9742, allocations: 0 / 0.5031 GB, free: 7.531 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3713/1.345, allocations: 40.54 MB / 0.5427 GB, free: 123.3 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002426/1.346, allocations: 244.8 kB / 0.543 GB, free: 123 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.42/5.766, allocations: 0 / 0.543 GB, free: 123 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_RLV_res.mat does not exist to compare? outputFormat=mat