Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_ThyristorCenterTap2mPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.951/1.951, allocations: 194.9 MB / 208 MB, free: 3.27 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.118e-05/3.122e-05, allocations: 4 kB / 255.5 MB, free: 2.625 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1105/0.1106, allocations: 44.51 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4982/0.6088, allocations: 86.8 MB / 386.8 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/0.6092, allocations: 85.94 kB / 386.9 MB, free: 12.36 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1322/0.7415, allocations: 36.18 MB / 423.1 MB, free: 1.168 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.205e-06/0.7415, allocations: 0 / 423.1 MB, free: 1.168 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001601/0.7417, allocations: 50.41 kB / 423.1 MB, free: 1.16 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.00582/0.7475, allocations: 2.03 MB / 425.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.318e-05/0.7476, allocations: 13.62 kB / 425.2 MB, free: 15.92 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005515/0.7482, allocations: 259.1 kB / 425.4 MB, free: 15.83 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006148/0.7488, allocations: 228.1 kB / 425.6 MB, free: 15.71 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006994/0.7558, allocations: 1.968 MB / 427.6 MB, free: 14.94 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001289/0.756, allocations: 136.6 kB / 427.7 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003866/0.7564, allocations: 177.5 kB / 427.9 MB, free: 14.93 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005498/0.7619, allocations: 2.346 MB / 430.3 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.982e-05/0.762, allocations: 3.906 kB / 430.3 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002527/0.7622, allocations: 75.06 kB / 430.3 MB, free: 14.32 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.996e-05/0.7624, allocations: 73.61 kB / 430.4 MB, free: 14.3 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004742/0.7671, allocations: 1.952 MB / 432.4 MB, free: 14.08 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01818/0.7853, allocations: 7.209 MB / 439.6 MB, free: 8.676 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004305/0.7897, allocations: 1.537 MB / 441.1 MB, free: 7.133 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002773/0.7925, allocations: 0.9205 MB / 442 MB, free: 6.207 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001099/0.7926, allocations: 12.98 kB / 442 MB, free: 6.195 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002217/0.7949, allocations: 0.8572 MB / 442.9 MB, free: 5.324 MB / 330.7 MB Notification: Performance of pre-optimization done (n=117): time 4.308e-06/0.7949, allocations: 3.938 kB / 442.9 MB, free: 5.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=117): time 0.00442/0.7993, allocations: 1.509 MB / 444.4 MB, free: 3.801 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001185/0.7995, allocations: 127.8 kB / 444.5 MB, free: 3.652 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002759/0.8023, allocations: 1.088 MB / 445.6 MB, free: 2.547 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003616/0.8027, allocations: 61.69 kB / 445.7 MB, free: 2.48 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001095/0.8038, allocations: 0.7763 MB / 446.5 MB, free: 1.699 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006103/0.8044, allocations: 349.8 kB / 446.8 MB, free: 1.367 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001115/0.8045, allocations: 24 kB / 446.8 MB, free: 1.344 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002232/0.8048, allocations: 361.9 kB / 447.2 MB, free: 0.9844 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.8064, allocations: 0.5921 MB / 447.8 MB, free: 400 kB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001782/0.8082, allocations: 0.7907 MB / 448.6 MB, free: 15.53 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001647/0.8099, allocations: 0.6099 MB / 449.2 MB, free: 14.92 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.427e-05/0.8099, allocations: 4 kB / 449.2 MB, free: 14.91 MB / 346.7 MB Notification: Performance of matching and sorting (n=149) (initialization): time 0.004856/0.8148, allocations: 1.723 MB / 450.9 MB, free: 13.18 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009365/0.8158, allocations: 1.932 MB / 452.8 MB, free: 11.11 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.025e-05/0.8158, allocations: 8 kB / 452.8 MB, free: 11.1 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001723/0.8176, allocations: 426 kB / 453.3 MB, free: 10.68 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001668/0.8193, allocations: 191.7 kB / 453.4 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009635/0.8289, allocations: 4.406 MB / 457.8 MB, free: 5.953 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001916/0.8309, allocations: 171.1 kB / 458 MB, free: 5.785 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000158/0.8311, allocations: 40 kB / 458.1 MB, free: 5.746 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.609e-05/0.8311, allocations: 4 kB / 458.1 MB, free: 5.742 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004216/0.8353, allocations: 1.582 MB / 459.6 MB, free: 4.156 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/0.8354, allocations: 8.625 kB / 459.6 MB, free: 4.148 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001552/0.837, allocations: 428.8 kB / 460.1 MB, free: 3.727 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001512/0.8385, allocations: 179.7 kB / 460.2 MB, free: 3.551 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009317/0.8478, allocations: 4.4 MB / 464.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/0.8497, allocations: 163.2 kB / 464.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001611/0.8499, allocations: 44 kB / 464.8 MB, free: 14.82 MB / 362.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$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 (123): * Single equations (assignments): 122 * 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.0005057/0.8504, allocations: 216.8 kB / 465.1 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003738/0.8508, allocations: 138.4 kB / 465.2 MB, free: 14.46 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005584/0.8514, allocations: 165 kB / 465.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.8514, allocations: 16 kB / 465.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/0.8514, allocations: 0 / 465.4 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.848e-05/0.8514, allocations: 7.969 kB / 465.4 MB, free: 14.27 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009798/0.8613, allocations: 3.627 MB / 469 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.736e-06/0.8613, allocations: 0 / 469 MB, free: 10.61 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001271/0.8626, allocations: 139.7 kB / 469.1 MB, free: 10.47 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001471/0.8641, allocations: 384.6 kB / 469.5 MB, free: 10.09 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001966/0.8643, allocations: 27.98 kB / 469.5 MB, free: 10.07 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009212/0.8735, allocations: 4.33 MB / 473.9 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.8736, allocations: 0 / 473.9 MB, free: 5.609 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006241/0.8798, allocations: 2.509 MB / 476.4 MB, free: 3.086 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/0.8809, allocations: 375.2 kB / 476.7 MB, free: 2.699 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003155/0.8813, allocations: 31.98 kB / 476.8 MB, free: 2.668 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001396/0.8827, allocations: 115.9 kB / 476.9 MB, free: 2.555 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007973/0.8835, allocations: 228.6 kB / 477.1 MB, free: 2.328 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001165/0.8836, allocations: 31.98 kB / 477.1 MB, free: 2.297 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001946/0.8856, allocations: 0.837 MB / 478 MB, free: 1.449 MB / 362.7 MB Notification: Performance of sort global known variables: time 7.91e-07/0.8856, allocations: 0 / 478 MB, free: 1.449 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003283/0.8889, allocations: 0.8485 MB / 478.8 MB, free: 0.5977 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: 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,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: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.idealThyristor[2].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,rectifier.thyristor_n.idealThyristor[3].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 81 * 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.007047/0.896, allocations: 3.148 MB / 482 MB, free: 13.42 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.00753/0.9036, allocations: 2.754 MB / 484.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.179e-05/0.9036, allocations: 7.531 kB / 484.7 MB, free: 10.64 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002682/0.9063, allocations: 0.9817 MB / 485.7 MB, free: 9.656 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002309/0.9087, allocations: 284.5 kB / 486 MB, free: 9.375 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01307/0.9218, allocations: 3.42 MB / 489.4 MB, free: 5.906 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004152/0.926, allocations: 1.757 MB / 491.2 MB, free: 4.109 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.006412/0.9324, allocations: 0.6149 MB / 491.8 MB, free: 3.492 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001771/0.9343, allocations: 0.6282 MB / 492.4 MB, free: 2.863 MB / 378.7 MB Notification: Performance of SimCode: time 5.189e-06/0.9343, allocations: 0 / 492.4 MB, free: 2.863 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4021/1.336, allocations: 40.66 MB / 0.5206 GB, free: 120.7 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000211/1.337, allocations: 260.2 kB / 0.5208 GB, free: 120.3 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.251/5.587, allocations: 3.562 kB / 0.5208 GB, free: 120.3 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.ThyristorCenterTap2mPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat