Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.205/2.205, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.448e-05/2.448e-05, allocations: 4 kB / 249.8 MB, free: 14.79 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3093/0.3094, allocations: 44.49 MB / 294.2 MB, free: 14.36 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.164/0.4735, allocations: 84.86 MB / 379.1 MB, free: 12.96 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000339/0.4739, allocations: 87.94 kB / 379.2 MB, free: 12.88 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1374/0.6113, allocations: 28.29 MB / 407.5 MB, free: 412 kB / 346.7 MB Notification: Performance of FrontEnd: time 2.675e-06/0.6113, allocations: 0 / 407.5 MB, free: 412 kB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001355/0.6115, allocations: 35.94 kB / 407.5 MB, free: 376 kB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 332 * Number of variables: 332 Notification: Performance of Generate backend data structure: time 0.005526/0.617, allocations: 1.552 MB / 409.1 MB, free: 14.74 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.508e-05/0.6171, allocations: 8.031 kB / 409.1 MB, free: 14.73 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006605/0.6177, allocations: 166.4 kB / 409.2 MB, free: 14.57 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006458/0.6242, allocations: 1.635 MB / 410.9 MB, free: 12.89 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001071/0.6244, allocations: 51.98 kB / 410.9 MB, free: 12.84 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003043/0.6247, allocations: 80 kB / 411 MB, free: 12.77 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003676/0.6284, allocations: 1.274 MB / 412.3 MB, free: 11.49 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003956/0.6324, allocations: 1.508 MB / 413.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.089e-05/0.6325, allocations: 0 / 413.8 MB, free: 9.91 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001647/0.6327, allocations: 3.984 kB / 413.8 MB, free: 9.906 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001027/0.6328, allocations: 58.58 kB / 413.8 MB, free: 9.848 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01313/0.6459, allocations: 4.762 MB / 418.6 MB, free: 4.965 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002801/0.6488, allocations: 1.01 MB / 419.6 MB, free: 3.945 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002225/0.6511, allocations: 0.5536 MB / 420.2 MB, free: 3.391 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.894e-05/0.6512, allocations: 12.77 kB / 420.2 MB, free: 3.375 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001409/0.6526, allocations: 0.5862 MB / 420.8 MB, free: 2.77 MB / 362.7 MB Notification: Performance of pre-optimization done (n=85): time 3.857e-06/0.6526, allocations: 0 / 420.8 MB, free: 2.77 MB / 362.7 MB Notification: Performance of matching and sorting (n=85): time 0.002749/0.6554, allocations: 0.9528 MB / 421.7 MB, free: 1.805 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001334/0.6556, allocations: 157.3 kB / 421.9 MB, free: 1.621 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001447/0.657, allocations: 0.6635 MB / 422.5 MB, free: 0.9492 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002012/0.6573, allocations: 41.69 kB / 422.6 MB, free: 0.9023 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007044/0.658, allocations: 0.5928 MB / 423.2 MB, free: 308 kB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003561/0.6583, allocations: 240.6 kB / 423.4 MB, free: 64 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.356e-05/0.6584, allocations: 0 / 423.4 MB, free: 64 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.3279/0.9863, allocations: 395.2 kB / 423.8 MB, free: 99.58 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001999/0.9884, allocations: 391.9 kB / 424.2 MB, free: 99.58 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002002/0.9905, allocations: 0.6125 MB / 424.8 MB, free: 99.33 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001558/0.9921, allocations: 422.9 kB / 425.2 MB, free: 99.33 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.541e-05/0.9922, allocations: 1.219 kB / 425.2 MB, free: 99.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=120) (initialization): time 0.003757/0.9959, allocations: 1.12 MB / 426.3 MB, free: 99.27 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007294/0.9967, allocations: 2.532 MB / 428.9 MB, free: 96.65 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.113e-05/0.9968, allocations: 6.719 kB / 428.9 MB, free: 96.65 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001106/0.9979, allocations: 215.3 kB / 429.1 MB, free: 96.64 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00159/0.9995, allocations: 164.5 kB / 429.2 MB, free: 96.64 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006062/1.006, allocations: 2.705 MB / 431.9 MB, free: 95.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002066/1.008, allocations: 128.5 kB / 432.1 MB, free: 95.38 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002713/1.008, allocations: 44.25 kB / 432.1 MB, free: 95.38 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/1.008, allocations: 3.156 kB / 432.1 MB, free: 95.38 MB / 362.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003909/1.012, allocations: 0.9947 MB / 433.1 MB, free: 95.35 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.01e-05/1.012, allocations: 12.03 kB / 433.1 MB, free: 95.35 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001102/1.013, allocations: 219.3 kB / 433.3 MB, free: 95.34 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001732/1.015, allocations: 155.2 kB / 433.5 MB, free: 95.34 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006374/1.021, allocations: 2.703 MB / 436.2 MB, free: 94.08 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/1.023, allocations: 117.2 kB / 436.3 MB, free: 94.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002234/1.024, allocations: 38.72 kB / 436.3 MB, free: 94.08 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 29 * Number of states: 0 () * Number of discrete variables: 48 ($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,$PRE.rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[1].off,$PRE.rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[2].off,$PRE.rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[3].off,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.positiveThreshold[3].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.negativeThreshold[3].y,$PRE.pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[1].entryTime,$PRE.pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,$PRE.pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,$PRE.pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,$PRE.pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,$PRE.pulsem.twomPulse.timerNegative[3].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 107 * 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 {3 10} Notification: Performance of prepare postOptimizeDAE: time 0.000538/1.024, allocations: 179.7 kB / 436.5 MB, free: 93.96 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003543/1.028, allocations: 0.958 MB / 437.5 MB, free: 93.87 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004447/1.028, allocations: 89.92 kB / 437.6 MB, free: 93.82 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004694/1.029, allocations: 96.16 kB / 437.7 MB, free: 93.81 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.697e-05/1.029, allocations: 11.77 kB / 437.7 MB, free: 93.8 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.051e-05/1.029, allocations: 0 / 437.7 MB, free: 93.8 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.986e-05/1.029, allocations: 10.94 kB / 437.7 MB, free: 93.8 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008119/1.037, allocations: 2.335 MB / 440 MB, free: 93 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/1.037, allocations: 3.75 kB / 440 MB, free: 93 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001258/1.038, allocations: 101 kB / 440.1 MB, free: 93 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001023/1.039, allocations: 194.6 kB / 440.3 MB, free: 92.93 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002066/1.04, allocations: 14.67 kB / 440.3 MB, free: 92.93 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005725/1.045, allocations: 2.631 MB / 443 MB, free: 91.09 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.434e-06/1.046, allocations: 0 / 443 MB, free: 91.09 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004704/1.05, allocations: 1.616 MB / 444.6 MB, free: 90.34 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001027/1.051, allocations: 255.2 kB / 444.8 MB, free: 90.16 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003641/1.052, allocations: 17.14 kB / 444.8 MB, free: 90.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001594/1.053, allocations: 84.05 kB / 444.9 MB, free: 90.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007703/1.054, allocations: 147.5 kB / 445.1 MB, free: 90.13 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001237/1.054, allocations: 29.22 kB / 445.1 MB, free: 90.12 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001285/1.056, allocations: 0.4919 MB / 445.6 MB, free: 89.89 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.056, allocations: 3.375 kB / 445.6 MB, free: 89.89 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.003488/1.059, allocations: 0.5413 MB / 446.1 MB, free: 89.83 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 36 (pulsem.twomPulse.negativeThreshold[2].y,pulsem.twomPulse.positiveThreshold[2].y,pulsem.twomPulse.negativeThreshold[1].y,pulsem.twomPulse.positiveThreshold[1].y,pulsem.twomPulse.negativeThreshold[3].y,pulsem.twomPulse.positiveThreshold[3].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.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off,rectifier.thyristor.idealThyristor[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulsem.twomPulse.timerPositive[1].entryTime,pulsem.twomPulse.timerPositive[2].entryTime,pulsem.twomPulse.timerPositive[3].entryTime,pulsem.twomPulse.timerNegative[1].entryTime,pulsem.twomPulse.timerNegative[2].entryTime,pulsem.twomPulse.timerNegative[3].entryTime,pulsem.fire_p[1],pulsem.fire_p[2],pulsem.fire_p[3],pulsem.fire_n[1],pulsem.fire_n[2],pulsem.fire_n[3]) * Number of discrete states: 6 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor.idealThyristor[3].off,rectifier.thyristor.idealThyristor[1].off,rectifier.thyristor.idealThyristor[2].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 63 * 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 {3 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.004989/1.064, allocations: 2.35 MB / 448.5 MB, free: 88.41 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.005362/1.07, allocations: 1.81 MB / 450.3 MB, free: 87.6 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 9.959e-06/1.07, allocations: 0 / 450.3 MB, free: 87.6 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001849/1.072, allocations: 0.6856 MB / 451 MB, free: 87.28 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001444/1.073, allocations: 167.1 kB / 451.1 MB, free: 87.24 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006182/1.079, allocations: 2.284 MB / 453.4 MB, free: 86.34 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001274/1.081, allocations: 1.42 MB / 454.8 MB, free: 85.5 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002559/1.083, allocations: 408 kB / 455.2 MB, free: 85.48 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001158/1.084, allocations: 447.2 kB / 455.7 MB, free: 85.12 MB / 362.7 MB Notification: Performance of SimCode: time 1.193e-06/1.084, allocations: 0 / 455.7 MB, free: 85.12 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1112/1.196, allocations: 24.39 MB / 480.1 MB, free: 66.95 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002279/1.196, allocations: 225.7 kB / 480.3 MB, free: 66.66 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.54/4.736, allocations: 3.938 kB / 480.3 MB, free: 66.66 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat