Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_ThyristorCenterTap2Pulse_RLV_Characteristic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.196/2.196, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 6.037e-05/6.071e-05, allocations: 4 kB / 292.3 MB, free: 8.211 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1369, allocations: 50.39 MB / 342.7 MB, free: 5.785 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.45/0.587, allocations: 89.44 MB / 432.1 MB, free: 4.504 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003341/0.5874, allocations: 88.94 kB / 432.2 MB, free: 4.453 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06538/0.6528, allocations: 14.14 MB / 446.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6528, allocations: 0 / 446.3 MB, free: 8.469 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.622e-05/0.6529, allocations: 23.98 kB / 446.3 MB, free: 8.445 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: 160 * Number of variables: 160 Notification: Performance of Generate backend data structure: time 0.002897/0.6558, allocations: 0.8955 MB / 447.2 MB, free: 7.539 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.284e-05/0.6559, allocations: 8.031 kB / 447.2 MB, free: 7.531 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003397/0.6563, allocations: 110.2 kB / 447.3 MB, free: 7.453 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002969/0.6566, allocations: 86.97 kB / 447.4 MB, free: 7.367 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001389/0.658, allocations: 493 kB / 447.9 MB, free: 6.926 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.975e-05/0.6581, allocations: 51.19 kB / 448 MB, free: 6.898 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001871/0.6583, allocations: 65.81 kB / 448 MB, free: 6.855 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001919/0.6602, allocations: 0.6613 MB / 448.7 MB, free: 6.387 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.681e-05/0.6603, allocations: 11.78 kB / 448.7 MB, free: 6.375 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001033/0.6604, allocations: 26.06 kB / 448.7 MB, free: 6.367 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.214e-05/0.6605, allocations: 16 kB / 448.7 MB, free: 6.352 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001557/0.662, allocations: 467.6 kB / 449.2 MB, free: 6.062 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006768/0.6688, allocations: 2.401 MB / 451.6 MB, free: 4.059 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002045/0.6709, allocations: 0.5334 MB / 452.1 MB, free: 3.688 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000885/0.6719, allocations: 276.7 kB / 452.4 MB, free: 3.5 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.316e-05/0.672, allocations: 4.438 kB / 452.4 MB, free: 3.496 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008777/0.6729, allocations: 331.5 kB / 452.7 MB, free: 3.234 MB / 362.7 MB Notification: Performance of pre-optimization done (n=52): time 4.578e-06/0.6729, allocations: 4 kB / 452.7 MB, free: 3.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=52): time 0.001512/0.6744, allocations: 476.8 kB / 453.2 MB, free: 2.879 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001161/0.6746, allocations: 163.4 kB / 453.4 MB, free: 2.684 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008405/0.6754, allocations: 410.5 kB / 453.8 MB, free: 2.367 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001418/0.6756, allocations: 36.64 kB / 453.8 MB, free: 2.332 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003516/0.676, allocations: 324.3 kB / 454.1 MB, free: 2.102 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002624/0.6763, allocations: 162.3 kB / 454.3 MB, free: 1.961 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.561e-05/0.6763, allocations: 15 kB / 454.3 MB, free: 1.957 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002167/0.6765, allocations: 368.6 kB / 454.6 MB, free: 1.609 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005004/0.6771, allocations: 171.5 kB / 454.8 MB, free: 1.508 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000663/0.6777, allocations: 330.3 kB / 455.1 MB, free: 1.199 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005321/0.6783, allocations: 187.4 kB / 455.3 MB, free: 1.074 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.542e-06/0.6783, allocations: 4 kB / 455.3 MB, free: 1.07 MB / 362.7 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.001611/0.6799, allocations: 0.5668 MB / 455.9 MB, free: 0.6367 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008006/0.6808, allocations: 1.659 MB / 457.6 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.242e-05/0.6808, allocations: 4 kB / 457.6 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005637/0.6814, allocations: 80.69 kB / 457.6 MB, free: 14.82 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008742/0.6823, allocations: 107.4 kB / 457.7 MB, free: 14.71 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002689/0.685, allocations: 1.733 MB / 459.5 MB, free: 13.05 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009813/0.6861, allocations: 88.67 kB / 459.6 MB, free: 12.98 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/0.6862, allocations: 19.44 kB / 459.6 MB, free: 12.96 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.386e-05/0.6862, allocations: 4 kB / 459.6 MB, free: 12.96 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00146/0.6877, allocations: 0.4906 MB / 460.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.424e-05/0.6878, allocations: 4 kB / 460.1 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000412/0.6882, allocations: 84.81 kB / 460.2 MB, free: 12.38 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007745/0.689, allocations: 100.4 kB / 460.3 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002644/0.6917, allocations: 1.745 MB / 462 MB, free: 10.4 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008789/0.6926, allocations: 71.59 kB / 462.1 MB, free: 10.33 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.676e-05/0.6927, allocations: 28.06 kB / 462.1 MB, free: 10.3 MB / 378.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_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_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 (65): * Single equations (assignments): 64 * 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.0003141/0.693, allocations: 152 kB / 462.2 MB, free: 10.15 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000235/0.6933, allocations: 55.25 kB / 462.3 MB, free: 10.09 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002344/0.6935, allocations: 73.23 kB / 462.4 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.948e-06/0.6936, allocations: 7.938 kB / 462.4 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.6936, allocations: 0 / 462.4 MB, free: 10.02 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.6936, allocations: 4.062 kB / 462.4 MB, free: 10.01 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00345/0.6971, allocations: 1.354 MB / 463.7 MB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.134e-06/0.6971, allocations: 0 / 463.7 MB, free: 8.59 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007336/0.6979, allocations: 79.92 kB / 463.8 MB, free: 8.512 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004015/0.6983, allocations: 68.81 kB / 463.9 MB, free: 8.441 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.815e-05/0.6984, allocations: 15.98 kB / 463.9 MB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002531/0.701, allocations: 1.639 MB / 465.5 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.015e-06/0.701, allocations: 0 / 465.5 MB, free: 6.656 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002165/0.7032, allocations: 0.8266 MB / 466.4 MB, free: 5.801 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000425/0.7037, allocations: 192.2 kB / 466.6 MB, free: 5.594 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001279/0.7038, allocations: 12 kB / 466.6 MB, free: 5.582 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007053/0.7045, allocations: 47.95 kB / 466.6 MB, free: 5.535 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002178/0.7048, allocations: 64.34 kB / 466.7 MB, free: 5.473 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.052e-05/0.7048, allocations: 12 kB / 466.7 MB, free: 5.461 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006258/0.7055, allocations: 313.2 kB / 467 MB, free: 5.16 MB / 378.7 MB Notification: Performance of sort global known variables: time 5.01e-07/0.7055, allocations: 0 / 467 MB, free: 5.16 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001446/0.7069, allocations: 303 kB / 467.3 MB, free: 4.863 MB / 378.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_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: 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 (45): * Single equations (assignments): 39 * 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.002585/0.7095, allocations: 1.481 MB / 468.8 MB, free: 3.352 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002577/0.7122, allocations: 0.9489 MB / 469.7 MB, free: 2.379 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 7.424e-06/0.7122, allocations: 0 / 469.7 MB, free: 2.379 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008717/0.7131, allocations: 371.1 kB / 470.1 MB, free: 2.008 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009079/0.714, allocations: 88.42 kB / 470.2 MB, free: 1.922 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003546/0.7176, allocations: 1.074 MB / 471.2 MB, free: 0.7969 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007482/0.7184, allocations: 0.9465 MB / 472.2 MB, free: 15.82 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008326/0.7193, allocations: 128.5 kB / 472.3 MB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004505/0.7197, allocations: 223.4 kB / 472.5 MB, free: 15.48 MB / 394.7 MB Notification: Performance of SimCode: time 1.232e-06/0.7197, allocations: 0 / 472.5 MB, free: 15.48 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05656/0.7763, allocations: 13.55 MB / 486.1 MB, free: 2.242 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003339/0.7767, allocations: 261.1 kB / 486.3 MB, free: 1.902 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.108/3.884, allocations: 4 kB / 486.3 MB, free: 1.898 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.ThyristorCenterTap2Pulse_RLV_Characteristic_res.mat does not exist to compare? outputFormat=mat