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 2.17/2.17, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.282e-05/2.3e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.337/0.3371, allocations: 44.5 MB / 294.2 MB, free: 14.37 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1834/0.5206, allocations: 87.22 MB / 381.5 MB, free: 10.59 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003548/0.521, allocations: 87.95 kB / 381.6 MB, free: 10.51 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1682/0.6892, allocations: 36.2 MB / 417.8 MB, free: 6.051 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.535e-06/0.6893, allocations: 0 / 417.8 MB, free: 6.051 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0002286/0.6895, allocations: 51.92 kB / 417.8 MB, free: 6 MB / 362.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.007572/0.6971, allocations: 1.992 MB / 419.8 MB, free: 3.949 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.545e-05/0.6972, allocations: 8.031 kB / 419.8 MB, free: 3.941 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00108/0.6983, allocations: 225.3 kB / 420 MB, free: 3.719 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008195/0.7065, allocations: 2.069 MB / 422.1 MB, free: 1.609 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/0.7067, allocations: 59.98 kB / 422.2 MB, free: 1.551 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000559/0.7073, allocations: 112 kB / 422.3 MB, free: 1.441 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.2628/0.9701, allocations: 1.813 MB / 424.1 MB, free: 93.46 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007404/0.9775, allocations: 2.118 MB / 426.2 MB, free: 93.21 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.306e-05/0.9776, allocations: 1.031 kB / 426.2 MB, free: 93.21 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002546/0.9779, allocations: 8.672 kB / 426.2 MB, free: 93.21 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001325/0.9781, allocations: 78.77 kB / 426.3 MB, free: 93.2 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01888/0.9969, allocations: 6.514 MB / 432.8 MB, free: 92.01 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004/1.001, allocations: 1.563 MB / 434.4 MB, free: 91.97 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00199/1.003, allocations: 0.9191 MB / 435.3 MB, free: 91.95 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001256/1.003, allocations: 16.77 kB / 435.3 MB, free: 91.95 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001771/1.005, allocations: 0.85 MB / 436.1 MB, free: 91.86 MB / 362.7 MB Notification: Performance of pre-optimization done (n=126): time 4.749e-06/1.005, allocations: 0 / 436.1 MB, free: 91.86 MB / 362.7 MB Notification: Performance of matching and sorting (n=126): time 0.003689/1.009, allocations: 1.573 MB / 437.7 MB, free: 91.42 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.168e-05/1.009, allocations: 152.7 kB / 437.9 MB, free: 91.26 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001769/1.011, allocations: 0.8905 MB / 438.8 MB, free: 90.87 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003115/1.011, allocations: 53.8 kB / 438.8 MB, free: 90.83 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000802/1.012, allocations: 0.7593 MB / 439.6 MB, free: 90.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004856/1.012, allocations: 366.2 kB / 439.9 MB, free: 90.11 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.642e-05/1.012, allocations: 0 / 439.9 MB, free: 90.11 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001193/1.013, allocations: 361.4 kB / 440.3 MB, free: 89.78 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/1.014, allocations: 0.6264 MB / 440.9 MB, free: 89.53 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001442/1.015, allocations: 0.8761 MB / 441.8 MB, free: 89 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001321/1.017, allocations: 0.6687 MB / 442.4 MB, free: 88.75 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.717e-06/1.017, allocations: 0 / 442.4 MB, free: 88.75 MB / 362.7 MB Notification: Performance of matching and sorting (n=171) (initialization): time 0.003811/1.021, allocations: 1.807 MB / 444.3 MB, free: 88.09 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005229/1.021, allocations: 2.442 MB / 446.7 MB, free: 85.51 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.071e-05/1.021, allocations: 13.03 kB / 446.7 MB, free: 85.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001733/1.023, allocations: 489 kB / 447.2 MB, free: 85.35 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001397/1.024, allocations: 187.3 kB / 447.4 MB, free: 85.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009301/1.034, allocations: 5.131 MB / 452.5 MB, free: 82.41 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0018/1.035, allocations: 154.7 kB / 452.7 MB, free: 82.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002619/1.036, allocations: 48.56 kB / 452.7 MB, free: 82.36 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/1.036, allocations: 2.75 kB / 452.7 MB, free: 82.36 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003685/1.039, allocations: 1.659 MB / 454.4 MB, free: 81.79 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.206e-05/1.04, allocations: 10.59 kB / 454.4 MB, free: 81.79 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001585/1.041, allocations: 481.6 kB / 454.8 MB, free: 81.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001339/1.043, allocations: 178.8 kB / 455 MB, free: 81.62 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009254/1.052, allocations: 5.132 MB / 460.1 MB, free: 78.66 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001685/1.054, allocations: 134.4 kB / 460.3 MB, free: 78.62 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002117/1.054, allocations: 49.06 kB / 460.3 MB, free: 78.61 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.0004809/1.054, allocations: 192.8 kB / 460.5 MB, free: 78.46 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003894/1.058, allocations: 1.571 MB / 462.1 MB, free: 77.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005144/1.059, allocations: 126.4 kB / 462.2 MB, free: 77.79 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005127/1.059, allocations: 149.2 kB / 462.4 MB, free: 77.7 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.497e-05/1.059, allocations: 13.72 kB / 462.4 MB, free: 77.7 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/1.059, allocations: 4 kB / 462.4 MB, free: 77.69 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.583e-05/1.059, allocations: 6.516 kB / 462.4 MB, free: 77.69 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008/1.067, allocations: 3.264 MB / 465.6 MB, free: 76.34 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.178e-05/1.067, allocations: 0 / 465.6 MB, free: 76.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001101/1.069, allocations: 122.3 kB / 465.8 MB, free: 76.32 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001646/1.07, allocations: 455.1 kB / 466.2 MB, free: 76.17 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002161/1.07, allocations: 11.25 kB / 466.2 MB, free: 76.17 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009119/1.08, allocations: 5.018 MB / 471.2 MB, free: 72.39 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.801e-06/1.08, allocations: 2.953 kB / 471.2 MB, free: 72.39 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00501/1.085, allocations: 2.522 MB / 473.8 MB, free: 70.16 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001041/1.086, allocations: 358.7 kB / 474.1 MB, free: 69.82 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004197/1.086, allocations: 27.52 kB / 474.1 MB, free: 69.8 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001372/1.088, allocations: 93.72 kB / 474.2 MB, free: 69.73 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007982/1.088, allocations: 234.9 kB / 474.5 MB, free: 69.6 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.00012/1.089, allocations: 31.42 kB / 474.5 MB, free: 69.57 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0013/1.09, allocations: 0.6519 MB / 475.1 MB, free: 68.98 MB / 362.7 MB Notification: Performance of sort global known variables: time 8.41e-07/1.09, allocations: 0 / 475.1 MB, free: 68.98 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003525/1.093, allocations: 0.8011 MB / 475.9 MB, free: 68.18 MB / 362.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.005717/1.099, allocations: 3.173 MB / 479.1 MB, free: 65.31 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.006825/1.106, allocations: 2.923 MB / 482 MB, free: 62.68 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.135e-06/1.106, allocations: 3.938 kB / 482 MB, free: 62.67 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002433/1.109, allocations: 1.02 MB / 483.1 MB, free: 61.76 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002516/1.111, allocations: 269.5 kB / 483.3 MB, free: 61.55 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009765/1.121, allocations: 3.293 MB / 486.6 MB, free: 58.73 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001769/1.123, allocations: 1.73 MB / 488.3 MB, free: 57.3 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002723/1.126, allocations: 0.5697 MB / 488.9 MB, free: 56.86 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001302/1.127, allocations: 0.6118 MB / 489.5 MB, free: 56.25 MB / 362.7 MB Notification: Performance of SimCode: time 1.593e-06/1.127, allocations: 0 / 489.5 MB, free: 56.25 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.128/1.255, allocations: 39.16 MB / 0.5163 GB, free: 17.31 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/1.255, allocations: 227.5 kB / 0.5165 GB, free: 17.01 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.363/5.618, allocations: 0 / 0.5165 GB, free: 17.01 MB / 362.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