Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.141/2.141, allocations: 205.8 MB / 218.9 MB, free: 9.273 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.846e-05/3.849e-05, allocations: 8 kB / 269.5 MB, free: 6.293 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1043, allocations: 47.58 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4395/0.5439, allocations: 87.61 MB / 404.7 MB, free: 124 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003263/0.5442, allocations: 83.25 kB / 404.7 MB, free: 76 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0587/0.603, allocations: 13.2 MB / 417.9 MB, free: 4.902 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.335e-06/0.603, allocations: 0 / 417.9 MB, free: 4.902 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.762e-05/0.6031, allocations: 16 kB / 418 MB, free: 4.887 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 151 * Number of variables: 151 Notification: Performance of Generate backend data structure: time 0.002678/0.6058, allocations: 0.8549 MB / 418.8 MB, free: 4.023 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.858e-05/0.6059, allocations: 8.031 kB / 418.8 MB, free: 4.016 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002692/0.6062, allocations: 102.9 kB / 418.9 MB, free: 3.941 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002596/0.6065, allocations: 87.36 kB / 419 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001243/0.6077, allocations: 485.3 kB / 419.5 MB, free: 3.422 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.254e-05/0.6078, allocations: 45.62 kB / 419.5 MB, free: 3.395 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001592/0.608, allocations: 67.67 kB / 419.6 MB, free: 3.348 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001655/0.6097, allocations: 0.6119 MB / 420.2 MB, free: 2.918 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.512e-05/0.6097, allocations: 0 / 420.2 MB, free: 2.918 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.381e-05/0.6098, allocations: 30.88 kB / 420.2 MB, free: 2.906 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.442e-05/0.6099, allocations: 16 kB / 420.2 MB, free: 2.891 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00127/0.6112, allocations: 430.2 kB / 420.7 MB, free: 2.625 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005819/0.617, allocations: 2.344 MB / 423 MB, free: 0.6562 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001452/0.6185, allocations: 460.7 kB / 423.5 MB, free: 348 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007466/0.6193, allocations: 242.8 kB / 423.7 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.695e-05/0.6194, allocations: 4 kB / 423.7 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007669/0.6202, allocations: 301.3 kB / 424 MB, free: 15.92 MB / 346.7 MB Notification: Performance of pre-optimization done (n=47): time 3.948e-06/0.6202, allocations: 4 kB / 424 MB, free: 15.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=47): time 0.001254/0.6214, allocations: 428.3 kB / 424.4 MB, free: 15.6 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.956e-05/0.6216, allocations: 140.5 kB / 424.6 MB, free: 15.43 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008409/0.6224, allocations: 430.1 kB / 425 MB, free: 15.1 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001255/0.6226, allocations: 47.62 kB / 425 MB, free: 15.05 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003656/0.623, allocations: 317 kB / 425.3 MB, free: 14.83 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001966/0.6232, allocations: 137.3 kB / 425.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.389e-05/0.6232, allocations: 12.69 kB / 425.5 MB, free: 14.71 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002073/0.6234, allocations: 361.2 kB / 425.8 MB, free: 14.37 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004314/0.6239, allocations: 160 kB / 426 MB, free: 14.27 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005622/0.6245, allocations: 304.1 kB / 426.3 MB, free: 13.98 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000476/0.625, allocations: 176.8 kB / 426.5 MB, free: 13.87 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.853e-06/0.625, allocations: 0 / 426.5 MB, free: 13.87 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001486/0.6265, allocations: 0.5434 MB / 427 MB, free: 13.45 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007245/0.6272, allocations: 1.661 MB / 428.7 MB, free: 11.7 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.6273, allocations: 11.95 kB / 428.7 MB, free: 11.68 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004917/0.6278, allocations: 76.5 kB / 428.7 MB, free: 11.62 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007621/0.6285, allocations: 95.08 kB / 428.8 MB, free: 11.54 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003976/0.6325, allocations: 1.73 MB / 430.6 MB, free: 9.879 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001573/0.6342, allocations: 86.5 kB / 430.7 MB, free: 9.801 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001163/0.6344, allocations: 26.73 kB / 430.7 MB, free: 9.781 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.6344, allocations: 7.938 kB / 430.7 MB, free: 9.773 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002239/0.6367, allocations: 476.1 kB / 431.2 MB, free: 9.445 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.476e-05/0.6367, allocations: 4 kB / 431.2 MB, free: 9.441 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000667/0.6374, allocations: 76.95 kB / 431.2 MB, free: 9.383 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009395/0.6384, allocations: 95.16 kB / 431.3 MB, free: 9.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003759/0.6422, allocations: 1.733 MB / 433.1 MB, free: 7.633 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009036/0.6432, allocations: 70.72 kB / 433.1 MB, free: 7.57 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.897e-05/0.6432, allocations: 22.88 kB / 433.1 MB, free: 7.555 MB / 346.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (62): * Single equations (assignments): 61 * 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.0002671/0.6435, allocations: 149.7 kB / 433.3 MB, free: 7.418 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001484/0.6437, allocations: 59.3 kB / 433.4 MB, free: 7.359 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001958/0.6439, allocations: 60.91 kB / 433.4 MB, free: 7.328 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.659e-06/0.6439, allocations: 8 kB / 433.4 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.6439, allocations: 0 / 433.4 MB, free: 7.32 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.076e-05/0.644, allocations: 3.984 kB / 433.4 MB, free: 7.316 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002866/0.6468, allocations: 1.259 MB / 434.7 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.492e-06/0.6469, allocations: 32 / 434.7 MB, free: 6.301 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005228/0.6474, allocations: 59.97 kB / 434.7 MB, free: 6.242 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003619/0.6478, allocations: 69.81 kB / 434.8 MB, free: 6.191 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.208e-05/0.6479, allocations: 15.3 kB / 434.8 MB, free: 6.184 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002319/0.6502, allocations: 1.641 MB / 436.5 MB, free: 4.605 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.6503, allocations: 7.984 kB / 436.5 MB, free: 4.598 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001855/0.6521, allocations: 0.7521 MB / 437.2 MB, free: 4.023 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003629/0.6525, allocations: 180.6 kB / 437.4 MB, free: 3.852 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001237/0.6527, allocations: 14.73 kB / 437.4 MB, free: 3.844 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006174/0.6533, allocations: 42.34 kB / 437.5 MB, free: 3.809 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001985/0.6535, allocations: 46.98 kB / 437.5 MB, free: 3.77 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.873e-05/0.6536, allocations: 19.8 kB / 437.5 MB, free: 3.754 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0005954/0.6542, allocations: 320.8 kB / 437.8 MB, free: 3.52 MB / 346.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.6542, allocations: 0 / 437.8 MB, free: 3.52 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001458/0.6557, allocations: 288 kB / 438.1 MB, free: 3.262 MB / 346.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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 (40): * Single equations (assignments): 34 * 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.002247/0.6579, allocations: 1.391 MB / 439.5 MB, free: 2.051 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.002201/0.6602, allocations: 0.9004 MB / 440.4 MB, free: 1.348 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.087e-06/0.6602, allocations: 4 kB / 440.4 MB, free: 1.344 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007344/0.661, allocations: 330.6 kB / 440.7 MB, free: 1.086 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008898/0.6619, allocations: 86.53 kB / 440.8 MB, free: 1.031 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003364/0.6653, allocations: 0.9873 MB / 441.8 MB, free: 132 kB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000732/0.6661, allocations: 0.9359 MB / 442.7 MB, free: 15.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0008193/0.6669, allocations: 108.5 kB / 442.8 MB, free: 15.06 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003925/0.6673, allocations: 219.4 kB / 443.1 MB, free: 15 MB / 362.7 MB Notification: Performance of SimCode: time 1.373e-06/0.6673, allocations: 0 / 443.1 MB, free: 15 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06548/0.7328, allocations: 12.89 MB / 456 MB, free: 2.199 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003732/0.7333, allocations: 242.6 kB / 456.2 MB, free: 1.883 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.159/3.892, allocations: 7.906 kB / 456.2 MB, free: 1.875 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_res.mat does not exist to compare? outputFormat=mat