Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.107/2.107, allocations: 205.8 MB / 218.9 MB, free: 9.34 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.574e-05/3.584e-05, allocations: 4 kB / 269.5 MB, free: 6.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1071, allocations: 47.57 MB / 317 MB, free: 6.629 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4883/0.5954, allocations: 87.37 MB / 404.4 MB, free: 392 kB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003058/0.5958, allocations: 90.69 kB / 404.5 MB, free: 340 kB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05609/0.6519, allocations: 12.91 MB / 417.4 MB, free: 5.402 MB / 330.7 MB Notification: Performance of FrontEnd: time 3.096e-06/0.652, allocations: 0 / 417.4 MB, free: 5.402 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001128/0.6521, allocations: 19.98 kB / 417.4 MB, free: 5.383 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.003902/0.656, allocations: 0.8371 MB / 418.3 MB, free: 4.535 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 8.302e-05/0.6561, allocations: 12.03 kB / 418.3 MB, free: 4.523 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004943/0.6566, allocations: 102.9 kB / 418.4 MB, free: 4.449 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004544/0.6571, allocations: 83.02 kB / 418.5 MB, free: 4.367 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001918/0.6591, allocations: 477.7 kB / 418.9 MB, free: 3.938 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001284/0.6593, allocations: 48.12 kB / 419 MB, free: 3.91 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002984/0.6596, allocations: 61.09 kB / 419 MB, free: 3.867 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002728/0.6623, allocations: 0.5985 MB / 419.6 MB, free: 3.445 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.766e-05/0.6624, allocations: 4 kB / 419.6 MB, free: 3.441 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001753/0.6626, allocations: 26.86 kB / 419.7 MB, free: 3.434 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.196e-05/0.6627, allocations: 16 kB / 419.7 MB, free: 3.418 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002117/0.6648, allocations: 426.1 kB / 420.1 MB, free: 3.152 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008603/0.6735, allocations: 2.278 MB / 422.4 MB, free: 1.238 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002257/0.6758, allocations: 458.6 kB / 422.8 MB, free: 0.9219 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001125/0.677, allocations: 235.4 kB / 423.1 MB, free: 0.7578 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.287e-05/0.6771, allocations: 4.469 kB / 423.1 MB, free: 0.7539 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001111/0.6782, allocations: 312.7 kB / 423.4 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of pre-optimization done (n=46): time 9.158e-06/0.6782, allocations: 0 / 423.4 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of matching and sorting (n=46): time 0.001935/0.6802, allocations: 430.2 kB / 423.8 MB, free: 176 kB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000133/0.6804, allocations: 140 kB / 423.9 MB, free: 8 kB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001207/0.6816, allocations: 404 kB / 424.3 MB, free: 15.7 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001449/0.6818, allocations: 40.2 kB / 424.4 MB, free: 15.67 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004443/0.6822, allocations: 304.8 kB / 424.7 MB, free: 15.45 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.000261/0.6825, allocations: 145.8 kB / 424.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.89e-05/0.6826, allocations: 9.125 kB / 424.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002458/0.6829, allocations: 364.4 kB / 425.2 MB, free: 14.98 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006915/0.6836, allocations: 156.1 kB / 425.3 MB, free: 14.88 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009035/0.6845, allocations: 301.2 kB / 425.6 MB, free: 14.6 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007217/0.6853, allocations: 174.4 kB / 425.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.397e-06/0.6853, allocations: 0 / 425.8 MB, free: 14.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002254/0.6876, allocations: 0.5351 MB / 426.3 MB, free: 14.07 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0009778/0.6886, allocations: 1.65 MB / 428 MB, free: 12.32 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.43e-05/0.6887, allocations: 8 kB / 428 MB, free: 12.31 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007165/0.6894, allocations: 81.19 kB / 428.1 MB, free: 12.25 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001095/0.6905, allocations: 95.03 kB / 428.1 MB, free: 12.16 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003692/0.6942, allocations: 1.732 MB / 429.9 MB, free: 10.5 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001298/0.6956, allocations: 88.81 kB / 430 MB, free: 10.43 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.191e-05/0.6957, allocations: 26.11 kB / 430 MB, free: 10.41 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.6957, allocations: 4 kB / 430 MB, free: 10.4 MB / 346.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001981/0.6977, allocations: 468.5 kB / 430.5 MB, free: 10.08 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.903e-05/0.6978, allocations: 7.938 kB / 430.5 MB, free: 10.07 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000605/0.6984, allocations: 86.27 kB / 430.5 MB, free: 10.01 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009572/0.6994, allocations: 84.42 kB / 430.6 MB, free: 9.926 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003632/0.7031, allocations: 1.743 MB / 432.4 MB, free: 8.258 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001201/0.7043, allocations: 67.2 kB / 432.4 MB, free: 8.199 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.047e-05/0.7044, allocations: 19.25 kB / 432.5 MB, free: 8.184 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 25 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p.off,rectifier.thyristor_p.off,$PRE.rectifier.thyristor_n.off,rectifier.thyristor_n.off,pulse2.twoPulse.positiveThreshold[1].y,pulse2.twoPulse.negativeThreshold[1].y,$PRE.pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerPositive[1].entryTime,$PRE.pulse2.twoPulse.timerNegative[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (61): * Single equations (assignments): 60 * 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 {2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003861/0.7048, allocations: 159.6 kB / 432.6 MB, free: 8.039 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002088/0.7051, allocations: 55.3 kB / 432.7 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002609/0.7054, allocations: 62.19 kB / 432.7 MB, free: 7.945 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.41e-05/0.7054, allocations: 4 kB / 432.7 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.863e-06/0.7054, allocations: 0 / 432.7 MB, free: 7.941 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.71e-05/0.7054, allocations: 3.984 kB / 432.7 MB, free: 7.938 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004241/0.7097, allocations: 1.242 MB / 434 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.09e-05/0.7098, allocations: 0 / 434 MB, free: 6.934 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007803/0.7106, allocations: 50.91 kB / 434 MB, free: 6.887 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005919/0.7112, allocations: 73.44 kB / 434.1 MB, free: 6.832 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001134/0.7114, allocations: 14.59 kB / 434.1 MB, free: 6.824 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003812/0.7152, allocations: 1.644 MB / 435.8 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.4e-06/0.7153, allocations: 0 / 435.8 MB, free: 5.246 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003075/0.7184, allocations: 0.7433 MB / 436.5 MB, free: 4.672 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005583/0.719, allocations: 176.4 kB / 436.7 MB, free: 4.504 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001774/0.7192, allocations: 19.11 kB / 436.7 MB, free: 4.492 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009945/0.7202, allocations: 39.16 kB / 436.7 MB, free: 4.461 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003076/0.7205, allocations: 47.42 kB / 436.8 MB, free: 4.422 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.136e-05/0.7206, allocations: 15.81 kB / 436.8 MB, free: 4.41 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0009149/0.7216, allocations: 313.1 kB / 437.1 MB, free: 4.18 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.062e-06/0.7216, allocations: 0 / 437.1 MB, free: 4.18 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.002209/0.7238, allocations: 279 kB / 437.4 MB, free: 3.934 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 4 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,inductor.i) * Number of discrete variables: 18 (pulse2.twoPulse.negativeThreshold[1].y,pulse2.twoPulse.positiveThreshold[1].y,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,rectifier.thyristor_p.off,rectifier.thyristor_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_n.off,rectifier.thyristor_p.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 33 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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 {2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003578/0.7275, allocations: 1.403 MB / 438.8 MB, free: 2.703 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.003156/0.7307, allocations: 0.8945 MB / 439.7 MB, free: 2.004 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 8.405e-06/0.7307, allocations: 8.125 kB / 439.7 MB, free: 1.996 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001045/0.7318, allocations: 325 kB / 440 MB, free: 1.742 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001133/0.733, allocations: 80.73 kB / 440.1 MB, free: 1.691 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005611/0.7386, allocations: 0.9565 MB / 441 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000719/0.7394, allocations: 0.9224 MB / 441.9 MB, free: 15.87 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007879/0.7402, allocations: 112.5 kB / 442.1 MB, free: 15.76 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003701/0.7406, allocations: 210.2 kB / 442.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of SimCode: time 1.423e-06/0.7406, allocations: 0 / 442.3 MB, free: 15.71 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04821/0.7888, allocations: 12.67 MB / 454.9 MB, free: 3.121 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002558/0.7891, allocations: 237.4 kB / 455.2 MB, free: 2.809 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.05/3.839, allocations: 0 / 455.2 MB, free: 2.809 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RL_res.mat does not exist to compare? outputFormat=mat