Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_HalfControlledBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.022/2.022, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 5.661e-05/5.668e-05, allocations: 4 kB / 292.3 MB, free: 8.223 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1359, allocations: 50.41 MB / 342.7 MB, free: 5.793 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5045/0.6405, allocations: 93.72 MB / 436.4 MB, free: 260 kB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003339/0.6409, allocations: 87.2 kB / 436.5 MB, free: 212 kB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1287/0.7696, allocations: 29.96 MB / 466.4 MB, free: 6.664 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.144e-06/0.7697, allocations: 0 / 466.4 MB, free: 6.664 MB / 378.7 MB Notification: Performance of Transformations before backend: time 0.0002333/0.7699, allocations: 47.94 kB / 466.5 MB, free: 6.617 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.007087/0.777, allocations: 1.938 MB / 468.4 MB, free: 4.617 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.455e-05/0.7771, allocations: 12.03 kB / 468.4 MB, free: 4.605 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007949/0.7779, allocations: 244.8 kB / 468.7 MB, free: 4.355 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006817/0.7786, allocations: 213.5 kB / 468.9 MB, free: 4.145 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008692/0.7873, allocations: 2.073 MB / 470.9 MB, free: 2.023 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002399/0.7876, allocations: 131.3 kB / 471.1 MB, free: 1.895 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006969/0.7883, allocations: 168 kB / 471.2 MB, free: 1.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007348/0.7957, allocations: 2.256 MB / 473.5 MB, free: 15.39 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001146/0.7958, allocations: 4 kB / 473.5 MB, free: 15.38 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005707/0.7964, allocations: 80 kB / 473.6 MB, free: 15.3 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001262/0.7966, allocations: 67.27 kB / 473.6 MB, free: 15.24 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006018/0.8026, allocations: 1.838 MB / 475.5 MB, free: 13.4 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01937/0.822, allocations: 6.709 MB / 482.2 MB, free: 6.562 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004036/0.8261, allocations: 1.545 MB / 483.7 MB, free: 5.016 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00324/0.8294, allocations: 1.132 MB / 484.9 MB, free: 3.887 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001062/0.8296, allocations: 16.95 kB / 484.9 MB, free: 3.867 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002073/0.8316, allocations: 0.8586 MB / 485.7 MB, free: 2.988 MB / 394.7 MB Notification: Performance of pre-optimization done (n=120): time 4.319e-06/0.8317, allocations: 0 / 485.7 MB, free: 2.988 MB / 394.7 MB Notification: Performance of matching and sorting (n=120): time 0.004489/0.8362, allocations: 1.648 MB / 487.4 MB, free: 1.328 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001281/0.8363, allocations: 171.2 kB / 487.5 MB, free: 1.121 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002358/0.8387, allocations: 1.043 MB / 488.6 MB, free: 60 kB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002716/0.839, allocations: 65.67 kB / 488.7 MB, free: 15.99 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009668/0.84, allocations: 0.7337 MB / 489.4 MB, free: 15.24 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005164/0.8405, allocations: 371 kB / 489.7 MB, free: 14.88 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001082/0.8406, allocations: 24 kB / 489.8 MB, free: 14.85 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001831/0.8408, allocations: 361.9 kB / 490.1 MB, free: 14.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.8424, allocations: 0.6116 MB / 490.7 MB, free: 13.88 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00178/0.8442, allocations: 0.87 MB / 491.6 MB, free: 12.91 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001615/0.8458, allocations: 0.6724 MB / 492.3 MB, free: 12.24 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/0.8458, allocations: 0 / 492.3 MB, free: 12.24 MB / 410.7 MB Notification: Performance of matching and sorting (n=160) (initialization): time 0.004956/0.8508, allocations: 1.866 MB / 494.1 MB, free: 10.36 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 0.001092/0.8519, allocations: 2.447 MB / 496.6 MB, free: 7.73 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.833e-05/0.852, allocations: 11.94 kB / 496.6 MB, free: 7.719 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002156/0.8542, allocations: 0.4963 MB / 497.1 MB, free: 7.219 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001453/0.8557, allocations: 175.7 kB / 497.3 MB, free: 7.047 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01231/0.868, allocations: 5.394 MB / 0.4909 GB, free: 1.508 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002093/0.8701, allocations: 191 kB / 0.4911 GB, free: 1.32 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002831/0.8705, allocations: 43.98 kB / 0.4911 GB, free: 1.277 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.631e-05/0.8705, allocations: 4 kB / 0.4911 GB, free: 1.273 MB / 410.7 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004569/0.8751, allocations: 1.722 MB / 0.4928 GB, free: 15.55 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.894e-05/0.8752, allocations: 8.062 kB / 0.4928 GB, free: 15.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001913/0.8771, allocations: 0.497 MB / 0.4933 GB, free: 15.04 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001373/0.8785, allocations: 171.7 kB / 0.4935 GB, free: 14.87 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01219/0.8907, allocations: 5.384 MB / 0.4987 GB, free: 9.348 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001898/0.8927, allocations: 167.2 kB / 0.4989 GB, free: 9.184 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002312/0.8929, allocations: 44 kB / 0.4989 GB, free: 9.141 MB / 426.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 28 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition9,$whenCondition8,$whenCondition7,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[1].off,$PRE.rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[2].off,$PRE.rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,$PRE.rectifier.pre[1].u,rectifier.pre[1].u,rectifier.pre[1].y,$PRE.rectifier.pre[2].u,rectifier.pre[2].u,rectifier.pre[2].y,$PRE.rectifier.pre[3].u,rectifier.pre[3].u,rectifier.pre[3].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.positiveThreshold[3].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.negativeThreshold[3].y,$PRE.pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[1].entryTime,$PRE.pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,$PRE.pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,$PRE.pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,$PRE.pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,$PRE.pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (123): * Single equations (assignments): 122 * 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 {6 32} Notification: Performance of prepare postOptimizeDAE: time 0.0005196/0.8935, allocations: 212.7 kB / 0.4991 GB, free: 8.926 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004405/0.8939, allocations: 134.4 kB / 0.4992 GB, free: 8.793 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005587/0.8945, allocations: 168.5 kB / 0.4994 GB, free: 8.629 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.957e-05/0.8945, allocations: 12.12 kB / 0.4994 GB, free: 8.617 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.013e-05/0.8945, allocations: 4 kB / 0.4994 GB, free: 8.613 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.778e-05/0.8946, allocations: 7.969 kB / 0.4994 GB, free: 8.605 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0107/0.9053, allocations: 3.692 MB / 0.503 GB, free: 4.855 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.155e-05/0.9053, allocations: 3.938 kB / 0.503 GB, free: 4.852 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009536/0.9063, allocations: 95.88 kB / 0.5031 GB, free: 4.758 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.002013/0.9083, allocations: 484.5 kB / 0.5036 GB, free: 4.281 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002427/0.9086, allocations: 27.94 kB / 0.5036 GB, free: 4.254 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01205/0.9207, allocations: 5.329 MB / 0.5088 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.946e-06/0.9208, allocations: 0 / 0.5088 GB, free: 14.78 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006417/0.9272, allocations: 2.568 MB / 0.5113 GB, free: 12.19 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001281/0.9285, allocations: 367.1 kB / 0.5117 GB, free: 11.81 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004113/0.929, allocations: 31.98 kB / 0.5117 GB, free: 11.78 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001468/0.9304, allocations: 111.9 kB / 0.5118 GB, free: 11.67 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006698/0.9311, allocations: 176.7 kB / 0.512 GB, free: 11.5 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001202/0.9313, allocations: 31.98 kB / 0.512 GB, free: 11.47 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.001986/0.9333, allocations: 0.7886 MB / 0.5128 GB, free: 10.67 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.12e-07/0.9333, allocations: 0 / 0.5128 GB, free: 10.67 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003978/0.9373, allocations: 0.841 MB / 0.5136 GB, free: 9.824 MB / 442.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 42 (pulse2m.twomPulse.negativeThreshold[2].y,pulse2m.twomPulse.positiveThreshold[2].y,pulse2m.twomPulse.negativeThreshold[1].y,pulse2m.twomPulse.positiveThreshold[1].y,pulse2m.twomPulse.negativeThreshold[3].y,pulse2m.twomPulse.positiveThreshold[3].y,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,rectifier.thyristor_p.idealThyristor[1].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off,rectifier.pre[1].u,rectifier.pre[1].y,rectifier.pre[2].u,rectifier.pre[2].y,rectifier.pre[3].u,rectifier.pre[3].y,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last,pulse2m.twomPulse.timerPositive[1].entryTime,pulse2m.twomPulse.timerPositive[2].entryTime,pulse2m.twomPulse.timerPositive[3].entryTime,pulse2m.twomPulse.timerNegative[1].entryTime,pulse2m.twomPulse.timerNegative[2].entryTime,pulse2m.twomPulse.timerNegative[3].entryTime,pulse2m.fire_p[1],pulse2m.fire_p[2],pulse2m.fire_p[3],pulse2m.fire_n[1],pulse2m.fire_n[2],pulse2m.fire_n[3]) * Number of discrete states: 9 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x,rectifier.pre[3].u,rectifier.pre[2].u,rectifier.pre[1].u,rectifier.thyristor_p.idealThyristor[3].off,rectifier.thyristor_p.idealThyristor[2].off,rectifier.thyristor_p.idealThyristor[1].off) * Top-level inputs: 0 Notification: Strong component statistics for simulation (83): * Single equations (assignments): 73 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 9 * 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 {6 32} Notification: Performance of Backend phase and start with SimCode phase: time 0.007112/0.9445, allocations: 3.211 MB / 0.5167 GB, free: 6.586 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.008094/0.9526, allocations: 2.928 MB / 0.5196 GB, free: 3.633 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 8.356e-06/0.9527, allocations: 0 / 0.5196 GB, free: 3.633 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002726/0.9554, allocations: 1.021 MB / 0.5206 GB, free: 2.602 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0025/0.9579, allocations: 324.3 kB / 0.5209 GB, free: 2.285 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.2945/1.253, allocations: 3.257 MB / 0.5241 GB, free: 127.6 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002456/1.255, allocations: 1.716 MB / 0.5258 GB, free: 126.8 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.003244/1.258, allocations: 0.5851 MB / 0.5263 GB, free: 126.8 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001616/1.26, allocations: 0.5864 MB / 0.5269 GB, free: 126.8 MB / 442.7 MB Notification: Performance of SimCode: time 1.994e-06/1.26, allocations: 1.094 kB / 0.5269 GB, free: 126.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1258/1.386, allocations: 42.53 MB / 0.5684 GB, free: 117.1 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000317/1.386, allocations: 233.1 kB / 0.5687 GB, free: 116.8 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.225/5.612, allocations: 0 / 0.5687 GB, free: 116.8 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.HalfControlledBridge2mPulse_res.mat does not exist to compare? outputFormat=mat