Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.HalfControlledBridge2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_HalfControlledBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.06/2.06, allocations: 225.8 MB / 238.8 MB, free: 11.17 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.055e-05/3.057e-05, allocations: 4 kB / 292.3 MB, free: 8.207 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1034/0.1034, allocations: 50.4 MB / 342.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4621/0.5656, allocations: 89.16 MB / 431.8 MB, free: 4.75 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003213/0.566, allocations: 86.39 kB / 431.9 MB, free: 4.703 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05087/0.6169, allocations: 11.35 MB / 443.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.413e-06/0.6169, allocations: 0 / 443.3 MB, free: 11.1 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.607e-05/0.617, allocations: 16 kB / 443.3 MB, free: 11.08 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: 161 * Number of variables: 161 Notification: Performance of Generate backend data structure: time 0.002335/0.6194, allocations: 0.886 MB / 444.2 MB, free: 10.19 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/0.6194, allocations: 8.031 kB / 444.2 MB, free: 10.18 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001857/0.6196, allocations: 111.4 kB / 444.3 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.6198, allocations: 86.97 kB / 444.4 MB, free: 10.02 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001065/0.6209, allocations: 494.8 kB / 444.8 MB, free: 9.578 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.406e-05/0.621, allocations: 54.55 kB / 444.9 MB, free: 9.543 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000145/0.6212, allocations: 76.7 kB / 445 MB, free: 9.492 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001642/0.6228, allocations: 0.6901 MB / 445.7 MB, free: 8.996 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.021e-05/0.6229, allocations: 4 kB / 445.7 MB, free: 8.992 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.497e-05/0.623, allocations: 29.56 kB / 445.7 MB, free: 8.984 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.623, allocations: 16 kB / 445.7 MB, free: 8.969 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001366/0.6244, allocations: 499.6 kB / 446.2 MB, free: 8.66 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005666/0.6301, allocations: 2.672 MB / 448.9 MB, free: 6.465 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001318/0.6314, allocations: 0.5203 MB / 449.4 MB, free: 6.145 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008833/0.6323, allocations: 325.8 kB / 449.7 MB, free: 5.926 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.942e-05/0.6324, allocations: 8.438 kB / 449.7 MB, free: 5.918 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007992/0.6332, allocations: 338.3 kB / 450 MB, free: 5.664 MB / 362.7 MB Notification: Performance of pre-optimization done (n=57): time 3.216e-06/0.6332, allocations: 0 / 450 MB, free: 5.664 MB / 362.7 MB Notification: Performance of matching and sorting (n=57): time 0.001397/0.6346, allocations: 0.5336 MB / 450.6 MB, free: 5.277 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.558e-05/0.6347, allocations: 141.1 kB / 450.7 MB, free: 5.105 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007673/0.6355, allocations: 438.9 kB / 451.1 MB, free: 4.77 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 7.567e-05/0.6356, allocations: 47.33 kB / 451.2 MB, free: 4.727 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002851/0.6359, allocations: 319.6 kB / 451.5 MB, free: 4.496 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.6361, allocations: 168.3 kB / 451.7 MB, free: 4.352 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.666e-05/0.6362, allocations: 13 kB / 451.7 MB, free: 4.348 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001698/0.6363, allocations: 363.6 kB / 452 MB, free: 4.008 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004871/0.6368, allocations: 188.2 kB / 452.2 MB, free: 3.895 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006337/0.6375, allocations: 338.5 kB / 452.6 MB, free: 3.594 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005194/0.638, allocations: 207.7 kB / 452.8 MB, free: 3.461 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.1e-06/0.6381, allocations: 4 kB / 452.8 MB, free: 3.457 MB / 362.7 MB Notification: Performance of matching and sorting (n=78) (initialization): time 0.001551/0.6396, allocations: 0.6431 MB / 453.4 MB, free: 2.98 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.0005956/0.6402, allocations: 1.582 MB / 455 MB, free: 1.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.333e-05/0.6402, allocations: 4 kB / 455 MB, free: 1.305 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007434/0.641, allocations: 149.7 kB / 455.1 MB, free: 1.195 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006303/0.6416, allocations: 93.95 kB / 455.2 MB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00389/0.6456, allocations: 2.325 MB / 457.5 MB, free: 15 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008203/0.6464, allocations: 91.47 kB / 457.6 MB, free: 14.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.947e-05/0.6465, allocations: 28 kB / 457.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.859e-06/0.6465, allocations: 4 kB / 457.7 MB, free: 14.88 MB / 378.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001481/0.648, allocations: 0.5764 MB / 458.2 MB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.709e-06/0.648, allocations: 4 kB / 458.3 MB, free: 14.29 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006286/0.6486, allocations: 144.7 kB / 458.4 MB, free: 14.15 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005639/0.6492, allocations: 87.83 kB / 458.5 MB, free: 14.06 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003841/0.6531, allocations: 2.311 MB / 460.8 MB, free: 11.62 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007009/0.6538, allocations: 71.61 kB / 460.9 MB, free: 11.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.349e-05/0.6539, allocations: 24 kB / 460.9 MB, free: 11.52 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: 27 ($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,rectifier.diode_n1.off,rectifier.diode_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 (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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002535/0.6541, allocations: 159.9 kB / 461 MB, free: 11.36 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001328/0.6543, allocations: 63.25 kB / 461.1 MB, free: 11.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002058/0.6545, allocations: 65.59 kB / 461.2 MB, free: 11.23 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.086e-06/0.6545, allocations: 4 kB / 461.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.512e-06/0.6545, allocations: 4 kB / 461.2 MB, free: 11.22 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.182e-05/0.6546, allocations: 3.984 kB / 461.2 MB, free: 11.21 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00309/0.6577, allocations: 1.387 MB / 462.6 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/0.6577, allocations: 0 / 462.6 MB, free: 9.77 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004131/0.6581, allocations: 39.92 kB / 462.6 MB, free: 9.73 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006455/0.6588, allocations: 148.8 kB / 462.7 MB, free: 9.582 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.769e-05/0.6588, allocations: 19.94 kB / 462.8 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003875/0.6627, allocations: 2.304 MB / 465.1 MB, free: 7.133 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.994e-06/0.6628, allocations: 4 kB / 465.1 MB, free: 7.129 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002131/0.6649, allocations: 0.9223 MB / 466 MB, free: 6.176 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003469/0.6653, allocations: 188.3 kB / 466.2 MB, free: 5.973 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000125/0.6654, allocations: 19.95 kB / 466.2 MB, free: 5.953 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000636/0.666, allocations: 43.97 kB / 466.2 MB, free: 5.91 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002057/0.6663, allocations: 60.47 kB / 466.3 MB, free: 5.852 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.245e-05/0.6663, allocations: 15.98 kB / 466.3 MB, free: 5.836 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005947/0.6669, allocations: 333.6 kB / 466.6 MB, free: 5.516 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.81e-07/0.6669, allocations: 4 kB / 466.6 MB, free: 5.512 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001513/0.6685, allocations: 339.1 kB / 467 MB, free: 5.18 MB / 378.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: 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.diode_n1.off,rectifier.diode_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: 5 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.thyristor_p2.off,rectifier.thyristor_p1.off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (40): * Single equations (assignments): 34 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.002561/0.671, allocations: 1.576 MB / 468.6 MB, free: 3.57 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.002723/0.6738, allocations: 1.142 MB / 469.7 MB, free: 2.406 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/0.6738, allocations: 7.922 kB / 469.7 MB, free: 2.398 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009469/0.6748, allocations: 436.6 kB / 470.1 MB, free: 1.965 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000861/0.6756, allocations: 109.9 kB / 470.2 MB, free: 1.855 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003333/0.679, allocations: 1.053 MB / 471.3 MB, free: 0.7539 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007605/0.6798, allocations: 0.9595 MB / 472.2 MB, free: 15.77 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 0.0007447/0.6805, allocations: 121 kB / 472.4 MB, free: 15.65 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004611/0.681, allocations: 219.4 kB / 472.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of SimCode: time 2.956e-06/0.681, allocations: 0 / 472.6 MB, free: 15.43 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07351/0.7545, allocations: 16.02 MB / 488.6 MB, free: 15.71 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003829/0.755, allocations: 230.9 kB / 488.8 MB, free: 15.4 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.978/3.733, allocations: 0 / 488.8 MB, free: 15.4 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.HalfControlledBridge2Pulse_res.mat does not exist to compare? outputFormat=mat