Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_ThyristorCenterTapmPulse_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 194.9 MB / 208 MB, free: 3.258 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.611e-05/3.62e-05, allocations: 4 kB / 255.5 MB, free: 2.613 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.09716, allocations: 44.5 MB / 300 MB, free: 6.047 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4202/0.5174, allocations: 84.77 MB / 384.8 MB, free: 12.71 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003075/0.5177, allocations: 87.06 kB / 384.9 MB, free: 12.71 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1073/0.6251, allocations: 27.83 MB / 412.7 MB, free: 5.328 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.774e-06/0.6251, allocations: 0 / 412.7 MB, free: 5.328 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001518/0.6253, allocations: 35 kB / 412.7 MB, free: 5.32 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: 318 * Number of variables: 318 Notification: Performance of Generate backend data structure: time 0.004853/0.6302, allocations: 1.508 MB / 414.2 MB, free: 4.328 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.25e-05/0.6302, allocations: 7.656 kB / 414.2 MB, free: 4.328 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005526/0.6308, allocations: 192.8 kB / 414.4 MB, free: 4.254 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000454/0.6313, allocations: 155.6 kB / 414.6 MB, free: 4.176 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007748/0.639, allocations: 1.618 MB / 416.2 MB, free: 3.512 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001404/0.6392, allocations: 108.8 kB / 416.3 MB, free: 3.5 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004535/0.6397, allocations: 122.8 kB / 416.4 MB, free: 3.5 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004089/0.6438, allocations: 1.627 MB / 418 MB, free: 3.059 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.149e-05/0.6439, allocations: 2.75 kB / 418 MB, free: 3.059 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000193/0.6441, allocations: 60.12 kB / 418.1 MB, free: 3.055 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.044e-05/0.6442, allocations: 52.12 kB / 418.2 MB, free: 3.051 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003687/0.6479, allocations: 1.294 MB / 419.5 MB, free: 2.906 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01208/0.66, allocations: 4.859 MB / 424.3 MB, free: 0.7305 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002619/0.6627, allocations: 1.018 MB / 425.3 MB, free: 0.5391 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001337/0.6641, allocations: 0.5482 MB / 425.9 MB, free: 476 kB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.871e-05/0.6642, allocations: 12.12 kB / 425.9 MB, free: 472 kB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001278/0.6655, allocations: 0.5768 MB / 426.5 MB, free: 260 kB / 314.7 MB Notification: Performance of pre-optimization done (n=79): time 3.557e-06/0.6655, allocations: 3.938 kB / 426.5 MB, free: 256 kB / 314.7 MB Notification: Performance of matching and sorting (n=79): time 0.002518/0.668, allocations: 0.9885 MB / 427.5 MB, free: 4 kB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001501/0.6682, allocations: 156.2 kB / 427.6 MB, free: 15.84 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001594/0.6698, allocations: 0.7626 MB / 428.4 MB, free: 15.62 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001969/0.67, allocations: 57.44 kB / 428.4 MB, free: 15.59 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007578/0.6708, allocations: 0.5721 MB / 429 MB, free: 15.25 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004389/0.6713, allocations: 228.8 kB / 429.2 MB, free: 15.11 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.916e-05/0.6714, allocations: 19.12 kB / 429.2 MB, free: 15.11 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002246/0.6716, allocations: 342.8 kB / 429.6 MB, free: 14.79 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001295/0.6729, allocations: 399.7 kB / 430 MB, free: 14.74 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001528/0.6745, allocations: 0.616 MB / 430.6 MB, free: 14.41 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001299/0.6758, allocations: 427.1 kB / 431 MB, free: 14.32 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.331e-05/0.6759, allocations: 0 / 431 MB, free: 14.32 MB / 330.7 MB Notification: Performance of matching and sorting (n=115) (initialization): time 0.003854/0.6797, allocations: 1.187 MB / 432.2 MB, free: 13.84 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001497/0.6813, allocations: 2.526 MB / 434.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.052e-05/0.6813, allocations: 10.58 kB / 434.7 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001269/0.6826, allocations: 240 kB / 435 MB, free: 11 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001413/0.6841, allocations: 138.1 kB / 435.1 MB, free: 10.96 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00785/0.6919, allocations: 2.903 MB / 438 MB, free: 8.633 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/0.694, allocations: 154.3 kB / 438.1 MB, free: 8.555 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001654/0.6942, allocations: 34.97 kB / 438.2 MB, free: 8.547 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.664e-05/0.6943, allocations: 3.781 kB / 438.2 MB, free: 8.547 MB / 330.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003749/0.698, allocations: 1.074 MB / 439.3 MB, free: 7.895 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.729e-05/0.6981, allocations: 8 kB / 439.3 MB, free: 7.887 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001161/0.6993, allocations: 229 kB / 439.5 MB, free: 7.66 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001312/0.7006, allocations: 135.8 kB / 439.6 MB, free: 7.527 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007824/0.7085, allocations: 2.892 MB / 442.5 MB, free: 4.5 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001791/0.7103, allocations: 139.5 kB / 442.7 MB, free: 4.363 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.7105, allocations: 32 kB / 442.7 MB, free: 4.332 MB / 330.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 (101): * Single equations (assignments): 100 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0005487/0.711, allocations: 208.8 kB / 442.9 MB, free: 4.125 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003379/0.7114, allocations: 90.83 kB / 443 MB, free: 4.035 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004695/0.7119, allocations: 108.9 kB / 443.1 MB, free: 3.922 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.634e-05/0.7119, allocations: 8 kB / 443.1 MB, free: 3.914 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.206e-05/0.7119, allocations: 8 kB / 443.1 MB, free: 3.906 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/0.712, allocations: 3.984 kB / 443.1 MB, free: 3.902 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009641/0.7216, allocations: 2.628 MB / 445.7 MB, free: 1.227 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.2e-05/0.7217, allocations: 7.984 kB / 445.7 MB, free: 1.219 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008503/0.7226, allocations: 71.86 kB / 445.8 MB, free: 1.148 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001046/0.7236, allocations: 206.1 kB / 446 MB, free: 0.9453 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001082/0.7238, allocations: 12 kB / 446 MB, free: 0.9336 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006639/0.7304, allocations: 2.65 MB / 448.7 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.046e-06/0.7305, allocations: 0 / 448.7 MB, free: 14.15 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005873/0.7364, allocations: 1.657 MB / 450.3 MB, free: 12.47 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001019/0.7374, allocations: 259.9 kB / 450.6 MB, free: 12.2 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002917/0.7378, allocations: 19.98 kB / 450.6 MB, free: 12.18 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001402/0.7392, allocations: 91.92 kB / 450.7 MB, free: 12.09 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006806/0.7399, allocations: 140.5 kB / 450.8 MB, free: 11.95 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001066/0.74, allocations: 27.94 kB / 450.9 MB, free: 11.92 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.00193/0.742, allocations: 0.585 MB / 451.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of sort global known variables: time 6.71e-07/0.742, allocations: 0 / 451.4 MB, free: 11.34 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00356/0.7456, allocations: 0.5682 MB / 452 MB, free: 10.77 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * 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 (66): * Single equations (assignments): 56 * 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 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.006048/0.7516, allocations: 2.319 MB / 454.3 MB, free: 8.41 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.00517/0.7569, allocations: 1.853 MB / 456.2 MB, free: 6.535 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.768e-06/0.7569, allocations: 0 / 456.2 MB, free: 6.535 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001768/0.7587, allocations: 0.6525 MB / 456.8 MB, free: 5.875 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/0.7603, allocations: 183.6 kB / 457 MB, free: 5.703 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008341/0.7687, allocations: 2.225 MB / 459.2 MB, free: 3.43 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001535/0.7703, allocations: 1.394 MB / 460.6 MB, free: 2.008 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002091/0.7724, allocations: 422.8 kB / 461 MB, free: 1.59 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009299/0.7734, allocations: 427.3 kB / 461.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of SimCode: time 3.486e-06/0.7734, allocations: 0 / 461.5 MB, free: 1.172 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08297/0.8564, allocations: 26.34 MB / 487.8 MB, free: 6.875 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003164/0.8567, allocations: 228.7 kB / 488 MB, free: 6.57 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.469/4.326, allocations: 4.062 kB / 488 MB, free: 6.566 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.ThyristorCenterTapmPulse_R_res.mat does not exist to compare? outputFormat=mat