Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.157/2.157, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 2.975e-05/2.981e-05, allocations: 0 / 292.3 MB, free: 8.191 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1265/0.1266, allocations: 50.41 MB / 342.7 MB, free: 5.75 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5248/0.6514, allocations: 93.84 MB / 436.5 MB, free: 104 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004949/0.652, allocations: 87.05 kB / 436.6 MB, free: 56 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1835/0.8356, allocations: 38.87 MB / 475.5 MB, free: 13.49 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.935e-06/0.8356, allocations: 0 / 475.5 MB, free: 13.49 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0002554/0.8359, allocations: 47.94 kB / 475.5 MB, free: 13.44 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.008399/0.8443, allocations: 2.099 MB / 477.6 MB, free: 11.28 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.8444, allocations: 16.03 kB / 477.6 MB, free: 11.27 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001175/0.8456, allocations: 265.7 kB / 477.9 MB, free: 11 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001038/0.8467, allocations: 241.2 kB / 478.1 MB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008346/0.855, allocations: 2.005 MB / 480.1 MB, free: 8.695 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002295/0.8553, allocations: 143.5 kB / 480.3 MB, free: 8.555 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007607/0.8561, allocations: 184 kB / 480.4 MB, free: 8.375 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007961/0.8641, allocations: 2.423 MB / 482.9 MB, free: 5.875 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001132/0.8643, allocations: 7.922 kB / 482.9 MB, free: 5.867 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006534/0.8649, allocations: 72 kB / 482.9 MB, free: 5.797 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001687/0.8651, allocations: 79.58 kB / 483 MB, free: 5.719 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006896/0.872, allocations: 2.022 MB / 485 MB, free: 3.695 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02068/0.8928, allocations: 7.416 MB / 492.5 MB, free: 12.08 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00461/0.8974, allocations: 1.652 MB / 494.1 MB, free: 10.42 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002684/0.9002, allocations: 0.9636 MB / 495.1 MB, free: 9.457 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001232/0.9004, allocations: 16.94 kB / 495.1 MB, free: 9.441 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002357/0.9027, allocations: 0.8811 MB / 496 MB, free: 8.543 MB / 410.7 MB Notification: Performance of pre-optimization done (n=123): time 6.001e-06/0.9028, allocations: 4 kB / 496 MB, free: 8.539 MB / 410.7 MB Notification: Performance of matching and sorting (n=123): time 0.004468/0.9073, allocations: 1.579 MB / 497.6 MB, free: 6.945 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001366/0.9075, allocations: 153.5 kB / 497.7 MB, free: 6.766 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002794/0.9103, allocations: 1.125 MB / 498.8 MB, free: 5.625 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003718/0.9107, allocations: 73.62 kB / 498.9 MB, free: 5.547 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001123/0.9118, allocations: 0.793 MB / 499.7 MB, free: 4.742 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007128/0.9126, allocations: 374.9 kB / 0.4883 GB, free: 4.371 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001179/0.9127, allocations: 24 kB / 0.4884 GB, free: 4.348 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0002121/0.9129, allocations: 353.9 kB / 0.4887 GB, free: 3.996 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001755/0.9147, allocations: 0.6234 MB / 0.4893 GB, free: 3.371 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001891/0.9166, allocations: 0.829 MB / 0.4901 GB, free: 2.465 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001728/0.9184, allocations: 0.6528 MB / 0.4908 GB, free: 1.812 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.25e-05/0.9184, allocations: 4 kB / 0.4908 GB, free: 1.809 MB / 410.7 MB Notification: Performance of matching and sorting (n=155) (initialization): time 0.004799/0.9232, allocations: 1.797 MB / 0.4925 GB, free: 0 / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009893/0.9243, allocations: 1.938 MB / 0.4944 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.017e-05/0.9243, allocations: 4 kB / 0.4944 GB, free: 13.93 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001792/0.9261, allocations: 446.4 kB / 0.4948 GB, free: 13.5 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001743/0.9279, allocations: 207.6 kB / 0.495 GB, free: 13.29 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0096/0.9375, allocations: 4.382 MB / 0.4993 GB, free: 8.766 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/0.9396, allocations: 179.1 kB / 0.4995 GB, free: 8.59 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001589/0.9397, allocations: 43.98 kB / 0.4995 GB, free: 8.547 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.606e-05/0.9398, allocations: 4 kB / 0.4995 GB, free: 8.543 MB / 426.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004902/0.9447, allocations: 1.655 MB / 0.5011 GB, free: 6.883 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.515e-05/0.9448, allocations: 4.75 kB / 0.5011 GB, free: 6.879 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00233/0.9471, allocations: 432.1 kB / 0.5016 GB, free: 6.457 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00222/0.9494, allocations: 203.6 kB / 0.5018 GB, free: 6.258 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01395/0.9634, allocations: 4.399 MB / 0.5061 GB, free: 1.73 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002691/0.9661, allocations: 167.2 kB / 0.5062 GB, free: 1.566 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002861/0.9664, allocations: 36.12 kB / 0.5062 GB, free: 1.531 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.0007521/0.9672, allocations: 232.6 kB / 0.5065 GB, free: 1.297 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000592/0.9678, allocations: 138.3 kB / 0.5066 GB, free: 1.16 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008382/0.9687, allocations: 181.3 kB / 0.5068 GB, free: 0.9766 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.018e-05/0.9687, allocations: 16 kB / 0.5068 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.152e-05/0.9688, allocations: 0 / 0.5068 GB, free: 0.9609 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.43e-05/0.9688, allocations: 3.984 kB / 0.5068 GB, free: 0.957 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01569/0.9845, allocations: 3.776 MB / 0.5105 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.664e-05/0.9846, allocations: 0 / 0.5105 GB, free: 13.12 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001985/0.9866, allocations: 143.8 kB / 0.5106 GB, free: 12.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00219/0.9888, allocations: 400.5 kB / 0.511 GB, free: 12.59 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003469/0.9892, allocations: 27.94 kB / 0.511 GB, free: 12.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0143/1.004, allocations: 4.33 MB / 0.5153 GB, free: 8.102 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/1.004, allocations: 0 / 0.5153 GB, free: 8.102 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01031/1.014, allocations: 2.643 MB / 0.5178 GB, free: 5.438 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001947/1.016, allocations: 383.2 kB / 0.5182 GB, free: 5.043 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006382/1.017, allocations: 31.98 kB / 0.5182 GB, free: 5.012 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00233/1.019, allocations: 123.9 kB / 0.5183 GB, free: 4.891 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001274/1.02, allocations: 228.6 kB / 0.5186 GB, free: 4.668 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002404/1.021, allocations: 35.98 kB / 0.5186 GB, free: 4.633 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.003156/1.024, allocations: 0.8575 MB / 0.5194 GB, free: 3.766 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.223e-06/1.024, allocations: 0 / 0.5194 GB, free: 3.766 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.005991/1.03, allocations: 0.8718 MB / 0.5203 GB, free: 2.891 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.3093/1.339, allocations: 3.283 MB / 0.5235 GB, free: 126.7 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008867/1.348, allocations: 2.853 MB / 0.5263 GB, free: 126.4 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 9.278e-06/1.348, allocations: 1.375 kB / 0.5263 GB, free: 126.4 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002877/1.351, allocations: 1.016 MB / 0.5273 GB, free: 126.3 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002796/1.354, allocations: 305.5 kB / 0.5276 GB, free: 126.2 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01204/1.366, allocations: 3.555 MB / 0.531 GB, free: 125.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002389/1.368, allocations: 1.797 MB / 0.5328 GB, free: 124.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003623/1.372, allocations: 0.6525 MB / 0.5334 GB, free: 124.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001484/1.374, allocations: 0.6533 MB / 0.5341 GB, free: 124.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.563e-06/1.374, allocations: 0 / 0.5341 GB, free: 124.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1059/1.48, allocations: 41.84 MB / 0.5749 GB, free: 112.9 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002373/1.48, allocations: 262.6 kB / 0.5752 GB, free: 112.6 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.29/5.77, allocations: 0 / 0.5752 GB, free: 112.6 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_Characteristic_res.mat does not exist to compare? outputFormat=mat