Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RL",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.331/2.331, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.53e-05/3.545e-05, allocations: 4 kB / 292.3 MB, free: 8.199 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 50.41 MB / 342.7 MB, free: 5.773 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4472/0.5514, allocations: 89.4 MB / 432.1 MB, free: 4.883 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004519/0.5519, allocations: 85.19 kB / 432.1 MB, free: 4.836 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06761/0.6195, allocations: 14.68 MB / 446.8 MB, free: 8.41 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.378e-06/0.6196, allocations: 7.938 kB / 446.8 MB, free: 8.402 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.3e-05/0.6197, allocations: 15.94 kB / 446.8 MB, free: 8.387 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 169 * Number of variables: 169 Notification: Performance of Generate backend data structure: time 0.002597/0.6223, allocations: 0.9063 MB / 447.8 MB, free: 7.473 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.026e-05/0.6224, allocations: 8.031 kB / 447.8 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002212/0.6226, allocations: 113.2 kB / 447.9 MB, free: 7.387 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002349/0.6228, allocations: 86.97 kB / 448 MB, free: 7.301 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001181/0.624, allocations: 0.51 MB / 448.5 MB, free: 6.84 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.914e-05/0.6241, allocations: 55.56 kB / 448.5 MB, free: 6.809 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001576/0.6243, allocations: 73.7 kB / 448.6 MB, free: 6.758 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001818/0.6261, allocations: 0.7151 MB / 449.3 MB, free: 6.242 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.355e-05/0.6262, allocations: 7.984 kB / 449.3 MB, free: 6.234 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.972e-05/0.6263, allocations: 27.56 kB / 449.3 MB, free: 6.23 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.362e-05/0.6263, allocations: 20 kB / 449.4 MB, free: 6.211 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001439/0.6278, allocations: 0.5019 MB / 449.9 MB, free: 5.898 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0063/0.6341, allocations: 2.742 MB / 452.6 MB, free: 3.652 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00129/0.6354, allocations: 0.5218 MB / 453.1 MB, free: 3.34 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001269/0.6367, allocations: 405.6 kB / 453.5 MB, free: 3.047 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.007e-05/0.6368, allocations: 8.438 kB / 453.5 MB, free: 3.039 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008982/0.6377, allocations: 364 kB / 453.9 MB, free: 2.762 MB / 362.7 MB Notification: Performance of pre-optimization done (n=59): time 3.787e-06/0.6377, allocations: 0 / 453.9 MB, free: 2.762 MB / 362.7 MB Notification: Performance of matching and sorting (n=59): time 0.00166/0.6394, allocations: 0.5532 MB / 454.4 MB, free: 2.359 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.6396, allocations: 141.1 kB / 454.6 MB, free: 2.191 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008907/0.6405, allocations: 448 kB / 455 MB, free: 1.848 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.813e-05/0.6406, allocations: 47.7 kB / 455.1 MB, free: 1.805 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/0.6409, allocations: 323 kB / 455.4 MB, free: 1.574 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.6412, allocations: 183.5 kB / 455.6 MB, free: 1.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.304e-05/0.6413, allocations: 12 kB / 455.6 MB, free: 1.398 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002141/0.6415, allocations: 366.8 kB / 455.9 MB, free: 1.031 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005849/0.6421, allocations: 205.5 kB / 456.1 MB, free: 0.832 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007421/0.6429, allocations: 353.4 kB / 456.5 MB, free: 432 kB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006099/0.6435, allocations: 215.2 kB / 456.7 MB, free: 216 kB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.166e-05/0.6435, allocations: 7.953 kB / 456.7 MB, free: 208 kB / 362.7 MB Notification: Performance of matching and sorting (n=83) (initialization): time 0.002057/0.6456, allocations: 0.7029 MB / 457.4 MB, free: 15.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007511/0.6464, allocations: 1.571 MB / 459 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.672e-05/0.6464, allocations: 4 kB / 459 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000842/0.6472, allocations: 165.5 kB / 459.1 MB, free: 13.62 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007735/0.648, allocations: 99.83 kB / 459.2 MB, free: 13.52 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00557/0.6536, allocations: 3.599 MB / 462.8 MB, free: 9.66 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00102/0.6547, allocations: 91.56 kB / 462.9 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.298e-05/0.6548, allocations: 28 kB / 462.9 MB, free: 9.543 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.6548, allocations: 7.984 kB / 463 MB, free: 9.535 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001796/0.6566, allocations: 0.616 MB / 463.6 MB, free: 8.91 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.329e-05/0.6567, allocations: 4 kB / 463.6 MB, free: 8.906 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007713/0.6575, allocations: 162 kB / 463.7 MB, free: 8.742 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006841/0.6582, allocations: 91.83 kB / 463.8 MB, free: 8.652 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005116/0.6633, allocations: 3.594 MB / 467.4 MB, free: 4.789 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008847/0.6642, allocations: 79.62 kB / 467.5 MB, free: 4.711 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.061e-05/0.6643, allocations: 27.95 kB / 467.5 MB, free: 4.684 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 29 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition5,$whenCondition4,$whenCondition3,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition2,$whenCondition1,rectifier.andCondition_p.y,rectifier.andCondition_n.y,$PRE.rectifier.thyristor_p1.off,rectifier.thyristor_p1.off,$PRE.rectifier.thyristor_p2.off,rectifier.thyristor_p2.off,$PRE.rectifier.thyristor_n1.off,rectifier.thyristor_n1.off,$PRE.rectifier.thyristor_n2.off,rectifier.thyristor_n2.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 (67): * Single equations (assignments): 65 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of prepare postOptimizeDAE: time 0.0003049/0.6646, allocations: 160.9 kB / 467.7 MB, free: 4.52 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001804/0.6648, allocations: 59.62 kB / 467.7 MB, free: 4.461 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002324/0.6651, allocations: 77.58 kB / 467.8 MB, free: 4.387 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.134e-05/0.6651, allocations: 4 kB / 467.8 MB, free: 4.383 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.372e-06/0.6651, allocations: 3.938 kB / 467.8 MB, free: 4.379 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.277e-05/0.6651, allocations: 11.92 kB / 467.8 MB, free: 4.367 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003503/0.6687, allocations: 1.446 MB / 469.3 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.031e-06/0.6687, allocations: 0 / 469.3 MB, free: 2.859 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005334/0.6692, allocations: 55.91 kB / 469.3 MB, free: 2.805 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006941/0.67, allocations: 153.6 kB / 469.5 MB, free: 2.648 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.888e-05/0.67, allocations: 15.98 kB / 469.5 MB, free: 2.633 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005232/0.6753, allocations: 3.518 MB / 473 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.6753, allocations: 0 / 473 MB, free: 14.85 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002718/0.6781, allocations: 0.9718 MB / 474 MB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004878/0.6786, allocations: 192.4 kB / 474.2 MB, free: 13.63 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001512/0.6788, allocations: 19.97 kB / 474.2 MB, free: 13.61 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007033/0.6795, allocations: 43.97 kB / 474.2 MB, free: 13.57 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002952/0.6798, allocations: 80.34 kB / 474.3 MB, free: 13.49 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.672e-05/0.6799, allocations: 19.98 kB / 474.3 MB, free: 13.47 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006987/0.6806, allocations: 337.6 kB / 474.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6806, allocations: 0 / 474.7 MB, free: 13.14 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001884/0.6825, allocations: 347 kB / 475 MB, free: 12.8 MB / 394.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: 20 (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_p1.off,rectifier.thyristor_p2.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2.twoPulse.timerPositive[1].entryTime,pulse2.twoPulse.timerNegative[1].entryTime,pulse2.fire_p,pulse2.fire_n) * Number of discrete states: 7 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off,rectifier.thyristor_n1.off,rectifier.thyristor_n2.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (43): * Single equations (assignments): 36 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 8,2 6} Notification: Performance of Backend phase and start with SimCode phase: time 0.003106/0.6857, allocations: 1.641 MB / 476.6 MB, free: 11.12 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003205/0.6889, allocations: 1.358 MB / 478 MB, free: 9.727 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.32e-05/0.689, allocations: 8.062 kB / 478 MB, free: 9.719 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.6902, allocations: 0.5361 MB / 478.5 MB, free: 9.164 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001008/0.6912, allocations: 108.1 kB / 478.7 MB, free: 9.062 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003929/0.6951, allocations: 1.146 MB / 479.8 MB, free: 7.867 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007325/0.6959, allocations: 0.9671 MB / 480.8 MB, free: 6.871 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008066/0.6967, allocations: 128.8 kB / 480.9 MB, free: 6.742 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004643/0.6972, allocations: 231.3 kB / 481.1 MB, free: 6.516 MB / 394.7 MB Notification: Performance of SimCode: time 1.403e-06/0.6972, allocations: 0 / 481.1 MB, free: 6.516 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1058/0.8031, allocations: 16.54 MB / 497.7 MB, free: 6.262 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003392/0.8035, allocations: 233.5 kB / 497.9 MB, free: 5.949 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.239/4.043, allocations: 0 / 497.9 MB, free: 5.949 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RL_res.mat does not exist to compare? outputFormat=mat