Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.ThyristorBridge2mPulse_RLV,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_ThyristorBridge2mPulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.981/1.981, allocations: 194.9 MB / 208 MB, free: 3.266 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.467e-05/3.482e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09826/0.09834, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.462/0.5604, allocations: 87.34 MB / 387.3 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000392/0.5609, allocations: 90.83 kB / 387.4 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1494/0.7103, allocations: 36.09 MB / 423.5 MB, free: 1.445 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.715e-06/0.7103, allocations: 0 / 423.5 MB, free: 1.445 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002505/0.7106, allocations: 56.72 kB / 423.6 MB, free: 1.434 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: 448 * Number of variables: 448 Notification: Performance of Generate backend data structure: time 0.007294/0.7179, allocations: 1.965 MB / 425.5 MB, free: 228 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.747e-05/0.718, allocations: 11.31 kB / 425.6 MB, free: 224 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009714/0.719, allocations: 262 kB / 425.8 MB, free: 128 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008234/0.7198, allocations: 222.6 kB / 426 MB, free: 16 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008422/0.7283, allocations: 2.062 MB / 428.1 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/0.7285, allocations: 143.1 kB / 428.2 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007581/0.7293, allocations: 173.8 kB / 428.4 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007389/0.7367, allocations: 2.335 MB / 430.7 MB, free: 14.6 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.155e-05/0.7368, allocations: 4 kB / 430.7 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003518/0.7372, allocations: 84.09 kB / 430.8 MB, free: 14.59 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001078/0.7373, allocations: 72.11 kB / 430.9 MB, free: 14.58 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006146/0.7435, allocations: 1.882 MB / 432.8 MB, free: 14.37 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02204/0.7656, allocations: 6.844 MB / 439.6 MB, free: 8.957 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00551/0.7712, allocations: 1.68 MB / 441.3 MB, free: 7.258 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002882/0.7741, allocations: 0.9545 MB / 442.3 MB, free: 6.305 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001542/0.7743, allocations: 9 kB / 442.3 MB, free: 6.297 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002646/0.777, allocations: 0.8758 MB / 443.1 MB, free: 5.406 MB / 330.7 MB Notification: Performance of pre-optimization done (n=123): time 5.23e-06/0.777, allocations: 0 / 443.1 MB, free: 5.406 MB / 330.7 MB Notification: Performance of matching and sorting (n=123): time 0.005487/0.7825, allocations: 1.645 MB / 444.8 MB, free: 3.75 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.00016/0.7827, allocations: 161.5 kB / 444.9 MB, free: 3.562 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002991/0.7857, allocations: 1.035 MB / 446 MB, free: 2.508 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004346/0.7862, allocations: 77.69 kB / 446.1 MB, free: 2.426 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001213/0.7875, allocations: 0.7627 MB / 446.8 MB, free: 1.66 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007739/0.7883, allocations: 363.7 kB / 447.2 MB, free: 1.316 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001438/0.7885, allocations: 31.94 kB / 447.2 MB, free: 1.285 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002368/0.7887, allocations: 357.9 kB / 447.6 MB, free: 0.9297 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002021/0.7907, allocations: 0.6442 MB / 448.2 MB, free: 292 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002463/0.7933, allocations: 0.9098 MB / 449.1 MB, free: 15.29 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002177/0.7955, allocations: 0.6919 MB / 449.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-05/0.7956, allocations: 0 / 449.8 MB, free: 14.59 MB / 346.7 MB Notification: Performance of matching and sorting (n=170) (initialization): time 0.006173/0.8018, allocations: 1.926 MB / 451.7 MB, free: 12.65 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001347/0.8032, allocations: 2.445 MB / 454.2 MB, free: 10.02 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.594e-05/0.8033, allocations: 7.984 kB / 454.2 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002241/0.8056, allocations: 0.4894 MB / 454.7 MB, free: 9.52 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/0.8072, allocations: 175.7 kB / 454.8 MB, free: 9.348 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01255/0.8198, allocations: 5.196 MB / 460 MB, free: 4.016 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002167/0.822, allocations: 202.8 kB / 460.2 MB, free: 3.816 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003634/0.8224, allocations: 48 kB / 460.3 MB, free: 3.77 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.642e-05/0.8225, allocations: 4 kB / 460.3 MB, free: 3.766 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005407/0.8279, allocations: 1.776 MB / 462.1 MB, free: 1.984 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.995e-05/0.828, allocations: 8 kB / 462.1 MB, free: 1.977 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001948/0.8299, allocations: 497.3 kB / 462.6 MB, free: 1.488 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00149/0.8315, allocations: 167.8 kB / 462.7 MB, free: 1.324 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01245/0.844, allocations: 5.212 MB / 467.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002034/0.8461, allocations: 159.2 kB / 468.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003677/0.8465, allocations: 51.98 kB / 468.1 MB, free: 11.77 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 (137): * Single equations (assignments): 136 * 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.0005875/0.8471, allocations: 233.3 kB / 468.4 MB, free: 11.53 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004925/0.8476, allocations: 134.4 kB / 468.5 MB, free: 11.39 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006307/0.8483, allocations: 168.6 kB / 468.7 MB, free: 11.23 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/0.8483, allocations: 12 kB / 468.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.05e-05/0.8483, allocations: 3.953 kB / 468.7 MB, free: 11.21 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.781e-05/0.8483, allocations: 7.969 kB / 468.7 MB, free: 11.2 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01105/0.8594, allocations: 3.568 MB / 472.2 MB, free: 7.598 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-05/0.8595, allocations: 4 kB / 472.3 MB, free: 7.594 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001093/0.8606, allocations: 95.83 kB / 472.3 MB, free: 7.5 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00202/0.8626, allocations: 468.7 kB / 472.8 MB, free: 7.039 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002962/0.863, allocations: 27.98 kB / 472.8 MB, free: 7.012 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01196/0.875, allocations: 5.147 MB / 478 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.298e-06/0.875, allocations: 0 / 478 MB, free: 1.73 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007213/0.8823, allocations: 2.572 MB / 480.6 MB, free: 15.15 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001406/0.8837, allocations: 367.2 kB / 480.9 MB, free: 14.77 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005081/0.8843, allocations: 47.97 kB / 481 MB, free: 14.72 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00164/0.886, allocations: 107.9 kB / 481.1 MB, free: 14.62 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.001018/0.887, allocations: 224.6 kB / 481.3 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001958/0.8873, allocations: 32 kB / 481.3 MB, free: 14.37 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.002267/0.8895, allocations: 0.7847 MB / 482.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.052e-06/0.8896, allocations: 3.938 kB / 482.1 MB, free: 13.57 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.004684/0.8943, allocations: 0.8644 MB / 483 MB, free: 12.7 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_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[1].off,rectifier.thyristor_n.idealThyristor[3].off,rectifier.thyristor_n.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (90): * Single equations (assignments): 80 * 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.00816/0.9025, allocations: 3.232 MB / 486.2 MB, free: 9.438 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.008925/0.9115, allocations: 2.982 MB / 489.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.9116, allocations: 0 / 489.2 MB, free: 6.43 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003241/0.9148, allocations: 1.03 MB / 490.2 MB, free: 5.391 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002845/0.9177, allocations: 315.8 kB / 490.5 MB, free: 5.086 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01231/0.9301, allocations: 3.337 MB / 493.9 MB, free: 1.695 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002988/0.9331, allocations: 1.732 MB / 495.6 MB, free: 15.93 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.003503/0.9367, allocations: 0.5997 MB / 496.2 MB, free: 15.32 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001622/0.9384, allocations: 0.6047 MB / 496.8 MB, free: 14.72 MB / 394.7 MB Notification: Performance of SimCode: time 2.325e-06/0.9384, allocations: 0 / 496.8 MB, free: 14.72 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3881/1.327, allocations: 42.13 MB / 0.5263 GB, free: 120.5 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002616/1.327, allocations: 241.8 kB / 0.5265 GB, free: 120.1 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.231/5.558, allocations: 0 / 0.5265 GB, free: 120.1 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_res.mat does not exist to compare? outputFormat=mat