Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.175/2.175, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.436e-05, allocations: 4 kB / 292.3 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1122/0.1123, allocations: 50.4 MB / 342.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4693/0.5817, allocations: 94.71 MB / 437.4 MB, free: 15.57 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003281/0.5821, allocations: 85.95 kB / 437.5 MB, free: 15.53 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.18/0.7621, allocations: 39.08 MB / 476.5 MB, free: 12.58 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.7621, allocations: 3.938 kB / 476.5 MB, free: 12.58 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002761/0.7624, allocations: 44 kB / 476.6 MB, free: 12.54 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 466 * Number of variables: 466 Notification: Performance of Generate backend data structure: time 0.008285/0.7707, allocations: 2.059 MB / 478.6 MB, free: 10.42 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.207e-05/0.7708, allocations: 8.031 kB / 478.6 MB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001202/0.772, allocations: 269.8 kB / 478.9 MB, free: 10.14 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001133/0.7732, allocations: 241.2 kB / 479.1 MB, free: 9.898 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009101/0.7823, allocations: 2.109 MB / 481.3 MB, free: 7.73 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002395/0.7826, allocations: 151.5 kB / 481.4 MB, free: 7.582 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007921/0.7834, allocations: 179.9 kB / 481.6 MB, free: 7.406 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008531/0.792, allocations: 2.428 MB / 484 MB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.595e-05/0.7922, allocations: 0 / 484 MB, free: 4.895 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005616/0.7927, allocations: 83.97 kB / 484.1 MB, free: 4.812 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.00014/0.7929, allocations: 71.61 kB / 484.2 MB, free: 4.742 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006843/0.7997, allocations: 1.959 MB / 486.1 MB, free: 2.781 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02369/0.8235, allocations: 7.08 MB / 493.2 MB, free: 11.58 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004732/0.8283, allocations: 1.708 MB / 494.9 MB, free: 9.863 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002794/0.8312, allocations: 1.007 MB / 495.9 MB, free: 8.859 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001413/0.8313, allocations: 13 kB / 495.9 MB, free: 8.848 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002623/0.834, allocations: 0.9251 MB / 496.9 MB, free: 7.898 MB / 410.7 MB Notification: Performance of pre-optimization done (n=132): time 7.194e-06/0.834, allocations: 7.922 kB / 496.9 MB, free: 7.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=132): time 0.005213/0.8393, allocations: 1.731 MB / 498.6 MB, free: 6.148 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001428/0.8394, allocations: 183.5 kB / 498.8 MB, free: 5.93 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002731/0.8422, allocations: 1.052 MB / 499.8 MB, free: 4.859 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003986/0.8426, allocations: 77.67 kB / 499.9 MB, free: 4.777 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001158/0.8438, allocations: 0.7847 MB / 0.4889 GB, free: 3.98 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007528/0.8446, allocations: 394.6 kB / 0.4893 GB, free: 3.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001551/0.8448, allocations: 28 kB / 0.4893 GB, free: 3.562 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002102/0.845, allocations: 365.8 kB / 0.4897 GB, free: 3.199 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00186/0.8469, allocations: 0.6794 MB / 0.4904 GB, free: 2.52 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002213/0.8491, allocations: 0.9418 MB / 0.4913 GB, free: 1.477 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002027/0.8512, allocations: 0.7309 MB / 0.492 GB, free: 0.7461 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.39e-05/0.8513, allocations: 4 kB / 0.492 GB, free: 0.7422 MB / 410.7 MB Notification: Performance of matching and sorting (n=177) (initialization): time 0.005962/0.8572, allocations: 2 MB / 0.494 GB, free: 14.73 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009733/0.8583, allocations: 2.452 MB / 0.4963 GB, free: 12.09 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.027e-05/0.8583, allocations: 12 kB / 0.4964 GB, free: 12.08 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002169/0.8605, allocations: 0.4908 MB / 0.4968 GB, free: 11.59 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/0.8622, allocations: 207.6 kB / 0.497 GB, free: 11.39 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01188/0.8741, allocations: 5.205 MB / 0.5021 GB, free: 6.043 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002069/0.8763, allocations: 191 kB / 0.5023 GB, free: 5.855 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002557/0.8766, allocations: 44 kB / 0.5023 GB, free: 5.812 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.725e-05/0.8766, allocations: 5.25 kB / 0.5023 GB, free: 5.809 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005075/0.8817, allocations: 1.859 MB / 0.5042 GB, free: 3.945 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.809e-05/0.8818, allocations: 8 kB / 0.5042 GB, free: 3.938 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001965/0.8837, allocations: 0.4889 MB / 0.5046 GB, free: 3.445 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001607/0.8854, allocations: 195.6 kB / 0.5048 GB, free: 3.254 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/0.8976, allocations: 5.192 MB / 0.5099 GB, free: 13.92 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002108/0.8998, allocations: 183.1 kB / 0.5101 GB, free: 13.74 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000338/0.9002, allocations: 48 kB / 0.5101 GB, free: 13.7 MB / 442.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$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,$PRE.rectifier.pre_p[1].u,rectifier.pre_p[1].u,rectifier.pre_p[1].y,$PRE.rectifier.pre_p[2].u,rectifier.pre_p[2].u,rectifier.pre_p[2].y,$PRE.rectifier.pre_p[3].u,rectifier.pre_p[3].u,rectifier.pre_p[3].y,$PRE.rectifier.pre_n[1].u,rectifier.pre_n[1].u,rectifier.pre_n[1].y,$PRE.rectifier.pre_n[2].u,rectifier.pre_n[2].u,rectifier.pre_n[2].y,$PRE.rectifier.pre_n[3].u,rectifier.pre_n[3].u,rectifier.pre_n[3].y,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 (144): * Single equations (assignments): 143 * 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 28} Notification: Performance of prepare postOptimizeDAE: time 0.0006979/0.9009, allocations: 241.5 kB / 0.5104 GB, free: 13.45 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005308/0.9014, allocations: 138.4 kB / 0.5105 GB, free: 13.31 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006827/0.9022, allocations: 181.8 kB / 0.5107 GB, free: 13.13 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.909e-05/0.9022, allocations: 12 kB / 0.5107 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.737e-05/0.9022, allocations: 4 kB / 0.5107 GB, free: 13.11 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.077e-05/0.9023, allocations: 11.97 kB / 0.5107 GB, free: 13.1 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01115/0.9134, allocations: 3.762 MB / 0.5144 GB, free: 9.289 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.235e-05/0.9135, allocations: 0 / 0.5144 GB, free: 9.289 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001265/0.9148, allocations: 131.8 kB / 0.5145 GB, free: 9.16 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001982/0.9168, allocations: 464.7 kB / 0.5149 GB, free: 8.703 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003124/0.9171, allocations: 24 kB / 0.515 GB, free: 8.68 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01169/0.9289, allocations: 5.163 MB / 0.52 GB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.9289, allocations: 0 / 0.52 GB, free: 3.379 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006817/0.9357, allocations: 2.75 MB / 0.5227 GB, free: 0.6055 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001265/0.9371, allocations: 387.1 kB / 0.523 GB, free: 212 kB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004408/0.9375, allocations: 43.92 kB / 0.5231 GB, free: 168 kB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001579/0.9391, allocations: 115.9 kB / 0.5232 GB, free: 52 kB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.2909/1.23, allocations: 237.7 kB / 0.5234 GB, free: 127 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003027/1.23, allocations: 35.7 kB / 0.5235 GB, free: 127 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002619/1.233, allocations: 0.797 MB / 0.5242 GB, free: 126.9 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.81e-07/1.233, allocations: 0 / 0.5242 GB, free: 126.9 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004845/1.238, allocations: 0.8973 MB / 0.5251 GB, free: 126.9 MB / 442.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: 48 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,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,rectifier.pre_p[1].u,rectifier.pre_p[1].y,rectifier.pre_p[2].u,rectifier.pre_p[2].y,rectifier.pre_p[3].u,rectifier.pre_p[3].y,rectifier.pre_n[1].u,rectifier.pre_n[1].y,rectifier.pre_n[2].u,rectifier.pre_n[2].y,rectifier.pre_n[3].u,rectifier.pre_n[3].y,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,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: 15 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre_n[3].u,rectifier.pre_n[2].u,rectifier.pre_n[1].u,rectifier.pre_p[3].u,rectifier.pre_p[2].u,rectifier.pre_p[1].u,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (99): * Single equations (assignments): 89 * 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 28} Notification: Performance of Backend phase and start with SimCode phase: time 0.00854/1.247, allocations: 3.427 MB / 0.5285 GB, free: 126.2 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008878/1.256, allocations: 3.115 MB / 0.5315 GB, free: 125.9 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.897e-06/1.256, allocations: 3.359 kB / 0.5315 GB, free: 125.9 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003151/1.259, allocations: 1.085 MB / 0.5326 GB, free: 125.7 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003012/1.262, allocations: 331.7 kB / 0.5329 GB, free: 125.7 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01315/1.275, allocations: 3.514 MB / 0.5363 GB, free: 125 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003253/1.278, allocations: 1.77 MB / 0.538 GB, free: 124.3 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003917/1.282, allocations: 0.6459 MB / 0.5387 GB, free: 124.3 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001627/1.284, allocations: 0.6353 MB / 0.5393 GB, free: 124.3 MB / 442.7 MB Notification: Performance of SimCode: time 1.693e-06/1.284, allocations: 0 / 0.5393 GB, free: 124.3 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1174/1.401, allocations: 43.87 MB / 0.5821 GB, free: 107.7 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002459/1.402, allocations: 251.8 kB / 0.5824 GB, free: 107.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.399/5.8, allocations: 0 / 0.5824 GB, free: 107.4 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat