Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.093/2.093, allocations: 225.8 MB / 238.8 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.803e-05/4.821e-05, allocations: 4 kB / 292.3 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1448/0.1448, allocations: 50.4 MB / 342.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.497/0.6419, allocations: 93.64 MB / 436.3 MB, free: 352 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003338/0.6423, allocations: 84.27 kB / 436.4 MB, free: 304 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.177/0.8193, allocations: 38.72 MB / 475.1 MB, free: 13.9 MB / 394.7 MB Notification: Performance of FrontEnd: time 3.717e-06/0.8194, allocations: 0 / 475.1 MB, free: 13.9 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002294/0.8196, allocations: 55.78 kB / 475.2 MB, free: 13.85 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: 462 * Number of variables: 462 Notification: Performance of Generate backend data structure: time 0.007649/0.8273, allocations: 2.078 MB / 477.2 MB, free: 11.71 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.411e-05/0.8274, allocations: 12.03 kB / 477.3 MB, free: 11.7 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009371/0.8283, allocations: 265.7 kB / 477.5 MB, free: 11.43 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009169/0.8293, allocations: 237.2 kB / 477.7 MB, free: 11.2 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008278/0.8376, allocations: 2.02 MB / 479.8 MB, free: 9.121 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002238/0.8378, allocations: 143.5 kB / 479.9 MB, free: 8.98 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006645/0.8385, allocations: 172 kB / 480.1 MB, free: 8.812 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007124/0.8457, allocations: 2.415 MB / 482.5 MB, free: 6.32 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.09e-05/0.8458, allocations: 4 kB / 482.5 MB, free: 6.316 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003144/0.8461, allocations: 75.98 kB / 482.6 MB, free: 6.242 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001326/0.8463, allocations: 79.55 kB / 482.6 MB, free: 6.164 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006076/0.8523, allocations: 2.014 MB / 484.7 MB, free: 4.148 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02124/0.8736, allocations: 7.522 MB / 492.2 MB, free: 12.43 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003903/0.8776, allocations: 1.516 MB / 493.7 MB, free: 10.9 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00246/0.8801, allocations: 0.9478 MB / 494.6 MB, free: 9.957 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.8803, allocations: 13 kB / 494.7 MB, free: 9.945 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002857/0.8831, allocations: 0.8732 MB / 495.5 MB, free: 9.055 MB / 410.7 MB Notification: Performance of pre-optimization done (n=120): time 4.749e-06/0.8832, allocations: 0 / 495.5 MB, free: 9.055 MB / 410.7 MB Notification: Performance of matching and sorting (n=120): time 0.004395/0.8876, allocations: 1.559 MB / 497.1 MB, free: 7.48 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001288/0.8878, allocations: 157.5 kB / 497.2 MB, free: 7.297 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003078/0.8909, allocations: 1.149 MB / 498.4 MB, free: 6.133 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003821/0.8913, allocations: 69.69 kB / 498.5 MB, free: 6.059 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001113/0.8925, allocations: 0.7967 MB / 499.3 MB, free: 5.25 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006746/0.8932, allocations: 355.1 kB / 499.6 MB, free: 4.898 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001255/0.8933, allocations: 24 kB / 499.6 MB, free: 4.875 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.8935, allocations: 357.9 kB / 500 MB, free: 4.52 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001657/0.8952, allocations: 0.6194 MB / 0.4889 GB, free: 3.898 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001943/0.8971, allocations: 0.8328 MB / 0.4897 GB, free: 2.988 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001716/0.8989, allocations: 0.6451 MB / 0.4903 GB, free: 2.344 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.757e-06/0.8989, allocations: 0 / 0.4903 GB, free: 2.344 MB / 410.7 MB Notification: Performance of matching and sorting (n=154) (initialization): time 0.004914/0.9038, allocations: 1.797 MB / 0.4921 GB, free: 0.5352 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008773/0.9048, allocations: 1.939 MB / 0.494 GB, free: 14.47 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.367e-05/0.9048, allocations: 4 kB / 0.494 GB, free: 14.46 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001852/0.9067, allocations: 439 kB / 0.4944 GB, free: 14.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/0.9084, allocations: 191.7 kB / 0.4946 GB, free: 13.85 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009681/0.9181, allocations: 4.399 MB / 0.4989 GB, free: 9.312 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002042/0.9202, allocations: 183.1 kB / 0.499 GB, free: 9.133 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001978/0.9204, allocations: 44 kB / 0.4991 GB, free: 9.09 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.439e-05/0.9204, allocations: 4 kB / 0.4991 GB, free: 9.086 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004316/0.9248, allocations: 1.644 MB / 0.5007 GB, free: 7.438 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.474e-05/0.9248, allocations: 4 kB / 0.5007 GB, free: 7.434 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001591/0.9264, allocations: 428.2 kB / 0.5011 GB, free: 7.016 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001548/0.928, allocations: 191.7 kB / 0.5013 GB, free: 6.828 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009645/0.9377, allocations: 4.406 MB / 0.5056 GB, free: 2.289 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/0.9398, allocations: 155.2 kB / 0.5057 GB, free: 2.137 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003264/0.9402, allocations: 51.98 kB / 0.5058 GB, free: 2.086 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 (128): * Single equations (assignments): 127 * 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.0005411/0.9407, allocations: 220.8 kB / 0.506 GB, free: 1.863 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005203/0.9413, allocations: 138.3 kB / 0.5061 GB, free: 1.727 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000665/0.9419, allocations: 173.3 kB / 0.5063 GB, free: 1.551 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.825e-05/0.942, allocations: 15.94 kB / 0.5063 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.012e-05/0.942, allocations: 0 / 0.5063 GB, free: 1.535 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.84e-05/0.942, allocations: 7.969 kB / 0.5063 GB, free: 1.527 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01274/0.9548, allocations: 3.756 MB / 0.51 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.576e-05/0.9549, allocations: 0 / 0.51 GB, free: 13.71 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001333/0.9562, allocations: 135.8 kB / 0.5101 GB, free: 13.58 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001679/0.9579, allocations: 396.5 kB / 0.5105 GB, free: 13.19 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002591/0.9582, allocations: 16 kB / 0.5105 GB, free: 13.18 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009767/0.968, allocations: 4.341 MB / 0.5147 GB, free: 8.703 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/0.9681, allocations: 0 / 0.5147 GB, free: 8.703 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007145/0.9752, allocations: 2.599 MB / 0.5173 GB, free: 6.086 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001382/0.9767, allocations: 383.2 kB / 0.5176 GB, free: 5.691 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006733/0.9774, allocations: 32 kB / 0.5177 GB, free: 5.66 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/0.9793, allocations: 111.9 kB / 0.5178 GB, free: 5.551 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009958/0.9804, allocations: 232.6 kB / 0.518 GB, free: 5.32 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002255/0.9806, allocations: 31.98 kB / 0.518 GB, free: 5.289 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002501/0.9831, allocations: 0.8734 MB / 0.5189 GB, free: 4.406 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.142e-06/0.9832, allocations: 0 / 0.5189 GB, free: 4.406 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.004215/0.9874, allocations: 0.8796 MB / 0.5197 GB, free: 3.523 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_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (94): * Single equations (assignments): 84 * 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.008116/0.9956, allocations: 3.237 MB / 0.5229 GB, free: 268 kB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.3172/1.313, allocations: 2.831 MB / 0.5257 GB, free: 128.2 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 1.073e-05/1.313, allocations: 5.5 kB / 0.5257 GB, free: 128.2 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00292/1.316, allocations: 0.9967 MB / 0.5266 GB, free: 128.1 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002727/1.319, allocations: 300.7 kB / 0.5269 GB, free: 128.1 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01321/1.332, allocations: 3.519 MB / 0.5304 GB, free: 127.4 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003251/1.335, allocations: 1.794 MB / 0.5321 GB, free: 126.7 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.004078/1.339, allocations: 0.652 MB / 0.5328 GB, free: 126.7 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001649/1.341, allocations: 0.651 MB / 0.5334 GB, free: 126.7 MB / 442.7 MB Notification: Performance of SimCode: time 2.745e-06/1.341, allocations: 0 / 0.5334 GB, free: 126.7 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1105/1.452, allocations: 41.62 MB / 0.574 GB, free: 114.8 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002582/1.452, allocations: 238.5 kB / 0.5743 GB, free: 114.4 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.311/5.763, allocations: 3.609 kB / 0.5743 GB, free: 114.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.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_res.mat does not exist to compare? outputFormat=mat