Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.105/2.105, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.219e-05/3.227e-05, allocations: 0 / 292.8 MB, free: 8.242 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 50.39 MB / 343.2 MB, free: 5.82 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.489/0.5961, allocations: 93.83 MB / 437 MB, free: 468 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003468/0.5965, allocations: 90.38 kB / 437.1 MB, free: 416 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1757/0.7723, allocations: 38.86 MB / 475.9 MB, free: 13.71 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.915e-06/0.7724, allocations: 0 / 475.9 MB, free: 13.71 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002258/0.7726, allocations: 47.94 kB / 476 MB, free: 13.66 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: 464 * Number of variables: 464 Notification: Performance of Generate backend data structure: time 0.008542/0.7812, allocations: 2.109 MB / 478.1 MB, free: 11.49 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.912e-05/0.7813, allocations: 8.031 kB / 478.1 MB, free: 11.48 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001148/0.7824, allocations: 265.7 kB / 478.4 MB, free: 11.21 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00106/0.7835, allocations: 237.2 kB / 478.6 MB, free: 10.98 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008713/0.7923, allocations: 2.02 MB / 480.6 MB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002562/0.7926, allocations: 143.5 kB / 480.8 MB, free: 8.762 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008152/0.7934, allocations: 176 kB / 480.9 MB, free: 8.59 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007896/0.8013, allocations: 2.423 MB / 483.4 MB, free: 6.09 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-05/0.8015, allocations: 7.938 kB / 483.4 MB, free: 6.082 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004334/0.8019, allocations: 75.98 kB / 483.4 MB, free: 6.008 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001349/0.8021, allocations: 71.59 kB / 483.5 MB, free: 5.938 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006934/0.809, allocations: 2.029 MB / 485.5 MB, free: 3.906 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02174/0.8308, allocations: 7.408 MB / 492.9 MB, free: 12.3 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004766/0.8356, allocations: 1.656 MB / 494.6 MB, free: 10.63 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002674/0.8384, allocations: 0.9596 MB / 495.6 MB, free: 9.676 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001556/0.8386, allocations: 16.98 kB / 495.6 MB, free: 9.66 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002453/0.841, allocations: 0.8889 MB / 496.5 MB, free: 8.754 MB / 410.7 MB Notification: Performance of pre-optimization done (n=123): time 5.341e-06/0.8411, allocations: 384 / 496.5 MB, free: 8.754 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.004612/0.8457, allocations: 1.587 MB / 498.1 MB, free: 7.152 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001284/0.8459, allocations: 149.5 kB / 498.2 MB, free: 6.977 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/0.8488, allocations: 1.121 MB / 499.3 MB, free: 5.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003684/0.8492, allocations: 73.67 kB / 499.4 MB, free: 5.762 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001143/0.8504, allocations: 0.7891 MB / 0.4885 GB, free: 4.961 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007311/0.8511, allocations: 370.8 kB / 0.4888 GB, free: 4.594 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001231/0.8513, allocations: 28 kB / 0.4888 GB, free: 4.566 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002096/0.8515, allocations: 357.9 kB / 0.4892 GB, free: 4.211 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001764/0.8533, allocations: 0.6195 MB / 0.4898 GB, free: 3.59 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002052/0.8554, allocations: 0.8367 MB / 0.4906 GB, free: 2.676 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001879/0.8573, allocations: 0.649 MB / 0.4912 GB, free: 2.027 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.423e-05/0.8574, allocations: 0 / 0.4912 GB, free: 2.027 MB / 410.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.005408/0.8628, allocations: 1.801 MB / 0.493 GB, free: 220 kB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009766/0.8638, allocations: 1.938 MB / 0.4949 GB, free: 14.15 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.862e-05/0.8639, allocations: 8 kB / 0.4949 GB, free: 14.14 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001869/0.8658, allocations: 438.5 kB / 0.4953 GB, free: 13.71 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001739/0.8675, allocations: 195.7 kB / 0.4955 GB, free: 13.52 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009918/0.8775, allocations: 4.393 MB / 0.4998 GB, free: 8.984 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002079/0.8796, allocations: 183.1 kB / 0.5 GB, free: 8.805 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003059/0.88, allocations: 44 kB / 0.5 GB, free: 8.762 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.492e-05/0.88, allocations: 4 kB / 0.5 GB, free: 8.758 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006261/0.8863, allocations: 1.652 MB / 0.5016 GB, free: 7.102 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.163e-05/0.8864, allocations: 7.984 kB / 0.5016 GB, free: 7.094 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001617/0.888, allocations: 428.8 kB / 0.502 GB, free: 6.676 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001707/0.8897, allocations: 195.6 kB / 0.5022 GB, free: 6.484 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009437/0.8992, allocations: 4.408 MB / 0.5065 GB, free: 1.941 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001939/0.9012, allocations: 163.2 kB / 0.5067 GB, free: 1.781 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002206/0.9015, allocations: 44 kB / 0.5067 GB, free: 1.738 MB / 426.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_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,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 (129): * Single equations (assignments): 128 * 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.0005196/0.902, allocations: 228.5 kB / 0.5069 GB, free: 1.512 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000431/0.9025, allocations: 150.2 kB / 0.5071 GB, free: 1.363 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000607/0.9031, allocations: 173.4 kB / 0.5073 GB, free: 1.188 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.677e-05/0.9031, allocations: 12 kB / 0.5073 GB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.9031, allocations: 0 / 0.5073 GB, free: 1.176 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.125e-05/0.9032, allocations: 7.969 kB / 0.5073 GB, free: 1.168 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01077/0.9139, allocations: 3.772 MB / 0.511 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.407e-05/0.914, allocations: 0 / 0.511 GB, free: 13.34 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001492/0.9155, allocations: 147.8 kB / 0.5111 GB, free: 13.2 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001678/0.9172, allocations: 392.6 kB / 0.5115 GB, free: 12.81 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002968/0.9176, allocations: 27.94 kB / 0.5115 GB, free: 12.78 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00944/0.927, allocations: 4.343 MB / 0.5157 GB, free: 8.309 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.657e-06/0.9271, allocations: 0 / 0.5157 GB, free: 8.309 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006988/0.9341, allocations: 2.636 MB / 0.5183 GB, free: 5.656 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001367/0.9355, allocations: 383.2 kB / 0.5187 GB, free: 5.262 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005049/0.9361, allocations: 35.98 kB / 0.5187 GB, free: 5.227 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001878/0.938, allocations: 119.9 kB / 0.5188 GB, free: 5.109 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00102/0.939, allocations: 236.6 kB / 0.5191 GB, free: 4.879 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002124/0.9393, allocations: 31.98 kB / 0.5191 GB, free: 4.848 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002332/0.9416, allocations: 0.8615 MB / 0.5199 GB, free: 3.977 MB / 442.7 MB Notification: Performance of sort global known variables: time 3.727e-06/0.9417, allocations: 0 / 0.5199 GB, free: 3.977 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.00406/0.9458, allocations: 0.8718 MB / 0.5208 GB, free: 3.102 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: 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_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: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].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) * Top-level inputs: 0 Notification: Strong component statistics for simulation (97): * Single equations (assignments): 87 * 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.4311/1.377, allocations: 3.277 MB / 0.524 GB, free: 127.3 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008979/1.386, allocations: 2.854 MB / 0.5268 GB, free: 127 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.568e-06/1.386, allocations: 1.375 kB / 0.5268 GB, free: 127 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002945/1.389, allocations: 1.013 MB / 0.5278 GB, free: 126.9 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002821/1.392, allocations: 304.5 kB / 0.528 GB, free: 126.9 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01247/1.404, allocations: 3.553 MB / 0.5315 GB, free: 126.2 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002677/1.407, allocations: 1.799 MB / 0.5333 GB, free: 125.4 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003902/1.411, allocations: 0.6558 MB / 0.5339 GB, free: 125.4 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001633/1.413, allocations: 0.6503 MB / 0.5345 GB, free: 125.4 MB / 442.7 MB Notification: Performance of SimCode: time 1.593e-06/1.413, allocations: 0 / 0.5345 GB, free: 125.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1128/1.526, allocations: 41.86 MB / 0.5754 GB, free: 113.9 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003016/1.526, allocations: 263.1 kB / 0.5757 GB, free: 113.5 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.276/5.802, allocations: 0 / 0.5757 GB, free: 113.5 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat