Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.933/1.933, allocations: 194.9 MB / 208 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.441e-05/3.46e-05, allocations: 4.625 kB / 255.5 MB, free: 2.602 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09652/0.09658, allocations: 44.51 MB / 300 MB, free: 6.043 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4208/0.5174, allocations: 87.89 MB / 387.9 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003043/0.5178, allocations: 91.33 kB / 388 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1769/0.6948, allocations: 36.57 MB / 424.5 MB, free: 1.07 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.945e-06/0.6948, allocations: 0 / 424.5 MB, free: 1.07 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003112/0.6952, allocations: 46.16 kB / 424.6 MB, free: 1.062 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 450 * Number of variables: 450 Notification: Performance of Generate backend data structure: time 0.01021/0.7054, allocations: 1.994 MB / 426.6 MB, free: 15.85 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.628e-05/0.7055, allocations: 7.75 kB / 426.6 MB, free: 15.85 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001387/0.7069, allocations: 265.3 kB / 426.8 MB, free: 15.75 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00129/0.7082, allocations: 228 kB / 427 MB, free: 15.64 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01223/0.7205, allocations: 2.07 MB / 429.1 MB, free: 14.83 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002867/0.7208, allocations: 132.8 kB / 429.2 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001027/0.7219, allocations: 183.5 kB / 429.4 MB, free: 14.82 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0103/0.7322, allocations: 2.356 MB / 431.8 MB, free: 14.21 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.000111/0.7324, allocations: 3.938 kB / 431.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004803/0.7329, allocations: 90.16 kB / 431.9 MB, free: 14.19 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001596/0.7331, allocations: 74.75 kB / 431.9 MB, free: 14.18 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009201/0.7423, allocations: 1.906 MB / 433.9 MB, free: 13.89 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02968/0.7721, allocations: 6.864 MB / 440.7 MB, free: 7.918 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006219/0.7784, allocations: 1.62 MB / 442.3 MB, free: 6.293 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003683/0.7821, allocations: 0.9623 MB / 443.3 MB, free: 5.332 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001956/0.7824, allocations: 13 kB / 443.3 MB, free: 5.316 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003389/0.7858, allocations: 0.8953 MB / 444.2 MB, free: 4.402 MB / 330.7 MB Notification: Performance of pre-optimization done (n=126): time 7.223e-06/0.7858, allocations: 4 kB / 444.2 MB, free: 4.398 MB / 330.7 MB Notification: Performance of matching and sorting (n=126): time 0.006781/0.7926, allocations: 1.645 MB / 445.9 MB, free: 2.742 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001947/0.7929, allocations: 157.5 kB / 446 MB, free: 2.559 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004401/0.7973, allocations: 1.02 MB / 447 MB, free: 1.52 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0008923/0.7983, allocations: 77.67 kB / 447.1 MB, free: 1.438 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00158/0.7999, allocations: 0.7515 MB / 447.9 MB, free: 0.6836 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001023/0.801, allocations: 379.9 kB / 448.2 MB, free: 332 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002089/0.8012, allocations: 28 kB / 448.3 MB, free: 304 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0003012/0.8015, allocations: 365.9 kB / 448.6 MB, free: 15.93 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002532/0.8041, allocations: 0.6481 MB / 449.3 MB, free: 15.29 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002976/0.8071, allocations: 0.9253 MB / 450.2 MB, free: 14.27 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002729/0.8099, allocations: 0.6919 MB / 450.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.502e-05/0.8099, allocations: 4 kB / 450.9 MB, free: 13.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.007894/0.8178, allocations: 1.946 MB / 452.8 MB, free: 11.61 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001536/0.8194, allocations: 2.446 MB / 455.3 MB, free: 8.977 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.469e-05/0.8195, allocations: 8 kB / 455.3 MB, free: 8.969 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.003916/0.8234, allocations: 493.9 kB / 455.8 MB, free: 8.484 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002471/0.8259, allocations: 195.6 kB / 456 MB, free: 8.293 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01793/0.8439, allocations: 5.22 MB / 461.2 MB, free: 2.934 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/0.8469, allocations: 183 kB / 461.4 MB, free: 2.754 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004496/0.8474, allocations: 51.94 kB / 461.4 MB, free: 2.703 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.8475, allocations: 4 kB / 461.4 MB, free: 2.699 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007864/0.8553, allocations: 1.804 MB / 463.2 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.463e-05/0.8555, allocations: 8 kB / 463.2 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002986/0.8585, allocations: 497.4 kB / 463.7 MB, free: 404 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002104/0.8606, allocations: 183.7 kB / 463.9 MB, free: 220 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01755/0.8783, allocations: 5.214 MB / 469.1 MB, free: 10.87 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002811/0.8811, allocations: 163.2 kB / 469.3 MB, free: 10.71 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004408/0.8816, allocations: 51.98 kB / 469.3 MB, free: 10.66 MB / 362.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (138): * Single equations (assignments): 137 * 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.0008927/0.8826, allocations: 237.3 kB / 469.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006387/0.8832, allocations: 142.3 kB / 469.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008861/0.8841, allocations: 165.3 kB / 469.8 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.789e-05/0.8842, allocations: 12 kB / 469.9 MB, free: 10.1 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.134e-05/0.8842, allocations: 4 kB / 469.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-05/0.8843, allocations: 7.969 kB / 469.9 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01535/0.8997, allocations: 3.593 MB / 473.5 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.755e-05/0.8997, allocations: 0 / 473.5 MB, free: 6.461 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001786/0.9015, allocations: 111.8 kB / 473.6 MB, free: 6.352 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00292/0.9045, allocations: 476.7 kB / 474 MB, free: 5.883 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003574/0.9049, allocations: 27.98 kB / 474.1 MB, free: 5.855 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01739/0.9223, allocations: 5.143 MB / 479.2 MB, free: 0.5742 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.017e-06/0.9224, allocations: 3.953 kB / 479.2 MB, free: 0.5703 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01002/0.9325, allocations: 2.616 MB / 481.8 MB, free: 13.94 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001865/0.9344, allocations: 375.2 kB / 482.2 MB, free: 13.55 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005123/0.9349, allocations: 40.11 kB / 482.2 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002173/0.9371, allocations: 127.9 kB / 482.4 MB, free: 13.39 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001683/0.9389, allocations: 228.6 kB / 482.6 MB, free: 13.16 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005787/0.9395, allocations: 39.94 kB / 482.6 MB, free: 13.12 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.00217/0.9417, allocations: 0.773 MB / 483.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 2.705e-06/0.9417, allocations: 0 / 483.4 MB, free: 12.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.003507/0.9453, allocations: 0.8761 MB / 484.3 MB, free: 11.46 MB / 378.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,rootMeanSquareVoltage.mean.y,meanCurrent.y,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_p.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_n.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (93): * Single equations (assignments): 83 * 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.007427/0.9527, allocations: 3.283 MB / 487.5 MB, free: 8.152 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.007961/0.9608, allocations: 3.078 MB / 490.6 MB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.454e-06/0.9608, allocations: 0 / 490.6 MB, free: 5.051 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002752/0.9636, allocations: 1.063 MB / 491.7 MB, free: 3.973 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002363/0.966, allocations: 316.3 kB / 492 MB, free: 3.664 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01013/0.9761, allocations: 3.39 MB / 495.4 MB, free: 224 kB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002285/0.9785, allocations: 1.734 MB / 497.1 MB, free: 14.45 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.002938/0.9814, allocations: 0.5997 MB / 497.7 MB, free: 13.85 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001313/0.9828, allocations: 0.6125 MB / 498.3 MB, free: 13.23 MB / 394.7 MB Notification: Performance of SimCode: time 1.262e-06/0.9828, allocations: 0 / 498.3 MB, free: 13.23 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4419/1.425, allocations: 42.95 MB / 0.5286 GB, free: 121.7 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002407/1.425, allocations: 264.2 kB / 0.5289 GB, free: 121.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.321/5.746, allocations: 0 / 0.5289 GB, free: 121.4 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat