Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.ThyristorBridge2Pulse_RLV,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_ThyristorBridge2Pulse_RLV",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.953/1.953, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 4.12e-05/4.143e-05, allocations: 4 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.145/0.1451, allocations: 50.41 MB / 342.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5035/0.6487, allocations: 89.7 MB / 432.4 MB, free: 4.273 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003161/0.649, allocations: 89.94 kB / 432.5 MB, free: 4.223 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06313/0.7122, allocations: 14.97 MB / 447.4 MB, free: 7.562 MB / 362.7 MB Notification: Performance of FrontEnd: time 6.562e-06/0.7122, allocations: 4 kB / 447.4 MB, free: 7.559 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.349e-05/0.7123, allocations: 15.94 kB / 447.4 MB, free: 7.543 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: 175 * Number of variables: 175 Notification: Performance of Generate backend data structure: time 0.002603/0.7149, allocations: 0.9266 MB / 448.4 MB, free: 6.609 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.056e-05/0.715, allocations: 12.03 kB / 448.4 MB, free: 6.598 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002357/0.7152, allocations: 113.4 kB / 448.5 MB, free: 6.52 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002498/0.7155, allocations: 90.88 kB / 448.6 MB, free: 6.43 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001252/0.7168, allocations: 0.5172 MB / 449.1 MB, free: 5.965 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.178e-05/0.7169, allocations: 55.94 kB / 449.1 MB, free: 5.934 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001691/0.717, allocations: 69.5 kB / 449.2 MB, free: 5.887 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001894/0.7189, allocations: 0.7419 MB / 450 MB, free: 5.355 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.719, allocations: 0 / 450 MB, free: 5.355 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001154/0.7191, allocations: 30.56 kB / 450 MB, free: 5.348 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.412e-05/0.7192, allocations: 16 kB / 450 MB, free: 5.332 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.7207, allocations: 0.5183 MB / 450.5 MB, free: 5.004 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006432/0.7271, allocations: 2.783 MB / 453.3 MB, free: 2.727 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001297/0.7285, allocations: 0.5409 MB / 453.8 MB, free: 2.402 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001381/0.7299, allocations: 432.5 kB / 454.3 MB, free: 2.086 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.333e-05/0.7299, allocations: 8.547 kB / 454.3 MB, free: 2.078 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008967/0.7308, allocations: 368.8 kB / 454.6 MB, free: 1.801 MB / 362.7 MB Notification: Performance of pre-optimization done (n=60): time 3.085e-06/0.7309, allocations: 0 / 454.6 MB, free: 1.801 MB / 362.7 MB Notification: Performance of matching and sorting (n=60): time 0.001626/0.7325, allocations: 0.5669 MB / 455.2 MB, free: 1.383 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001174/0.7326, allocations: 148.5 kB / 455.3 MB, free: 1.211 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008728/0.7335, allocations: 444 kB / 455.8 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.91e-05/0.7336, allocations: 47.75 kB / 455.8 MB, free: 0.8281 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000346/0.734, allocations: 332.9 kB / 456.2 MB, free: 0.5898 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002332/0.7342, allocations: 182.2 kB / 456.3 MB, free: 448 kB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.348e-05/0.7343, allocations: 18.06 kB / 456.3 MB, free: 440 kB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002389/0.7346, allocations: 369.5 kB / 456.7 MB, free: 88 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000579/0.7351, allocations: 196.3 kB / 456.9 MB, free: 15.97 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007654/0.7359, allocations: 363 kB / 457.3 MB, free: 15.57 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006329/0.7366, allocations: 223.2 kB / 457.5 MB, free: 15.35 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.002e-06/0.7366, allocations: 4 kB / 457.5 MB, free: 15.34 MB / 378.7 MB Notification: Performance of matching and sorting (n=84) (initialization): time 0.002032/0.7386, allocations: 0.7033 MB / 458.2 MB, free: 14.63 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007527/0.7394, allocations: 1.574 MB / 459.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.419e-05/0.7394, allocations: 4 kB / 459.8 MB, free: 12.93 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008231/0.7403, allocations: 161.6 kB / 459.9 MB, free: 12.76 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007697/0.7411, allocations: 107.8 kB / 460 MB, free: 12.66 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005339/0.7464, allocations: 3.595 MB / 463.6 MB, free: 8.793 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009788/0.7474, allocations: 91.48 kB / 463.7 MB, free: 8.703 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.701e-05/0.7475, allocations: 24 kB / 463.7 MB, free: 8.68 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.227e-05/0.7475, allocations: 9.312 kB / 463.7 MB, free: 8.672 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001757/0.7493, allocations: 0.6281 MB / 464.4 MB, free: 8.039 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.326e-05/0.7493, allocations: 8.078 kB / 464.4 MB, free: 8.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007036/0.75, allocations: 153.6 kB / 464.5 MB, free: 7.875 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006694/0.7507, allocations: 99.83 kB / 464.6 MB, free: 7.777 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005206/0.756, allocations: 3.587 MB / 468.2 MB, free: 3.922 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008491/0.7568, allocations: 83.44 kB / 468.3 MB, free: 3.84 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.573e-05/0.7569, allocations: 24.09 kB / 468.3 MB, free: 3.816 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 (68): * Single equations (assignments): 66 * 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.0003127/0.7572, allocations: 168.9 kB / 468.5 MB, free: 3.645 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001642/0.7574, allocations: 67.25 kB / 468.5 MB, free: 3.578 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002334/0.7577, allocations: 69.7 kB / 468.6 MB, free: 3.508 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.044e-05/0.7577, allocations: 8 kB / 468.6 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.508e-06/0.7577, allocations: 3.953 kB / 468.6 MB, free: 3.496 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.774e-06/0.7577, allocations: 3.938 kB / 468.6 MB, free: 3.492 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003637/0.7614, allocations: 1.469 MB / 470.1 MB, free: 1.953 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.666e-06/0.7614, allocations: 3.984 kB / 470.1 MB, free: 1.949 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005328/0.762, allocations: 59.91 kB / 470.2 MB, free: 1.891 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007106/0.7627, allocations: 150 kB / 470.3 MB, free: 1.738 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.204e-05/0.7628, allocations: 15.98 kB / 470.3 MB, free: 1.723 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005253/0.768, allocations: 3.51 MB / 473.8 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.7681, allocations: 4 kB / 473.8 MB, free: 13.94 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002717/0.7708, allocations: 1.011 MB / 474.8 MB, free: 12.9 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004279/0.7713, allocations: 192.3 kB / 475 MB, free: 12.69 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001414/0.7714, allocations: 16 kB / 475 MB, free: 12.68 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006766/0.7721, allocations: 47.95 kB / 475.1 MB, free: 12.63 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002867/0.7724, allocations: 80.62 kB / 475.2 MB, free: 12.55 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.882e-05/0.7725, allocations: 19.98 kB / 475.2 MB, free: 12.53 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0006654/0.7732, allocations: 337.6 kB / 475.5 MB, free: 12.2 MB / 394.7 MB Notification: Performance of sort global known variables: time 5.31e-07/0.7732, allocations: 3.938 kB / 475.5 MB, free: 12.2 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.001811/0.775, allocations: 359.1 kB / 475.9 MB, free: 11.84 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 (44): * Single equations (assignments): 37 * 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.003333/0.7784, allocations: 1.664 MB / 477.5 MB, free: 10.14 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.003478/0.7819, allocations: 1.373 MB / 478.9 MB, free: 8.734 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 8.145e-06/0.782, allocations: 0 / 478.9 MB, free: 8.734 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001238/0.7832, allocations: 0.5366 MB / 479.5 MB, free: 8.176 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/0.7843, allocations: 102.3 kB / 479.6 MB, free: 8.078 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004231/0.7885, allocations: 1.185 MB / 480.7 MB, free: 6.848 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007892/0.7894, allocations: 0.975 MB / 481.7 MB, free: 5.844 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0008451/0.7902, allocations: 120.9 kB / 481.8 MB, free: 5.727 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005128/0.7908, allocations: 239.4 kB / 482.1 MB, free: 5.492 MB / 394.7 MB Notification: Performance of SimCode: time 1.342e-06/0.7908, allocations: 0 / 482.1 MB, free: 5.492 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1254/0.9162, allocations: 16.72 MB / 498.8 MB, free: 5.059 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004325/0.9167, allocations: 230.5 kB / 499 MB, free: 4.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.068/3.985, allocations: 0 / 499 MB, free: 4.75 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_RLV_res.mat does not exist to compare? outputFormat=mat