Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.839/1.839, allocations: 194.9 MB / 208 MB, free: 3.273 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.175e-05/3.196e-05, allocations: 4 kB / 255.5 MB, free: 2.621 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09491/0.09497, allocations: 44.5 MB / 300 MB, free: 6.059 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4257/0.5207, allocations: 75.22 MB / 375.2 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003222/0.5211, allocations: 84.78 kB / 375.3 MB, free: 12.81 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02632/0.5475, allocations: 6.111 MB / 381.4 MB, free: 12.01 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.5475, allocations: 5.312 kB / 381.4 MB, free: 12 MB / 314.7 MB Notification: Performance of Transformations before backend: time 2.993e-05/0.5476, allocations: 8 kB / 381.4 MB, free: 12 MB / 314.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001344/0.5489, allocations: 0.6131 MB / 382 MB, free: 11.55 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.13e-05/0.549, allocations: 10.31 kB / 382 MB, free: 11.55 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000115/0.5491, allocations: 73.31 kB / 382.1 MB, free: 11.5 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001355/0.5493, allocations: 50.58 kB / 382.2 MB, free: 11.48 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006355/0.5499, allocations: 323.2 kB / 382.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.507e-05/0.55, allocations: 26.62 kB / 382.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.956e-05/0.5501, allocations: 38.38 kB / 382.5 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008803/0.5509, allocations: 359.8 kB / 382.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.389e-05/0.551, allocations: 1.469 kB / 382.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.792e-05/0.5511, allocations: 13.38 kB / 382.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.964e-05/0.5511, allocations: 13.81 kB / 382.9 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006411/0.5517, allocations: 225.7 kB / 383.1 MB, free: 11.16 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003069/0.5548, allocations: 1.487 MB / 384.6 MB, free: 10.38 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005858/0.5554, allocations: 228.2 kB / 384.9 MB, free: 10.35 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004736/0.5559, allocations: 153.1 kB / 385 MB, free: 10.34 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.975e-05/0.556, allocations: 6.922 kB / 385 MB, free: 10.33 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004916/0.5565, allocations: 204 kB / 385.2 MB, free: 10.26 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.456e-06/0.5565, allocations: 0 / 385.2 MB, free: 10.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.001141/0.5577, allocations: 317.3 kB / 385.5 MB, free: 10.19 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.063e-05/0.5578, allocations: 114.5 kB / 385.6 MB, free: 10.06 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005043/0.5583, allocations: 264 kB / 385.9 MB, free: 9.953 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.232e-05/0.5583, allocations: 31.17 kB / 385.9 MB, free: 9.922 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002089/0.5586, allocations: 216 kB / 386.1 MB, free: 9.785 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001009/0.5587, allocations: 94.39 kB / 386.2 MB, free: 9.727 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.489e-05/0.5587, allocations: 9.062 kB / 386.2 MB, free: 9.727 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.841e-05/0.5588, allocations: 343.1 kB / 386.6 MB, free: 9.41 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002397/0.5591, allocations: 80.55 kB / 386.6 MB, free: 9.406 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003052/0.5594, allocations: 198.3 kB / 386.8 MB, free: 9.258 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003002/0.5597, allocations: 111.6 kB / 387 MB, free: 9.242 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.652e-06/0.5597, allocations: 1.312 kB / 387 MB, free: 9.242 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001026/0.5608, allocations: 362.3 kB / 387.3 MB, free: 9.164 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.986e-05/0.5608, allocations: 10.05 kB / 387.3 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.444e-05/0.5608, allocations: 4 kB / 387.3 MB, free: 9.164 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004578/0.5613, allocations: 81.06 kB / 387.4 MB, free: 9.152 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004322/0.5618, allocations: 60.5 kB / 387.5 MB, free: 9.148 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002301/0.5641, allocations: 1.794 MB / 389.3 MB, free: 7.777 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004883/0.5646, allocations: 35.86 kB / 389.3 MB, free: 7.762 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.719e-05/0.5647, allocations: 21.89 kB / 389.3 MB, free: 7.758 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.off,rectifier.diode_n.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (35): * Single equations (assignments): 34 * 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 8} Notification: Performance of prepare postOptimizeDAE: time 0.0001483/0.5648, allocations: 135.3 kB / 389.4 MB, free: 7.641 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.334e-05/0.5649, allocations: 34.83 kB / 389.5 MB, free: 7.621 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001127/0.565, allocations: 41.14 kB / 389.5 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.565, allocations: 3.875 kB / 389.5 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.438e-06/0.5651, allocations: 0 / 389.5 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.684e-06/0.5651, allocations: 3.141 kB / 389.5 MB, free: 7.602 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008278/0.5659, allocations: 0.5607 MB / 390.1 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.008e-06/0.5659, allocations: 0 / 390.1 MB, free: 7.289 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000322/0.5663, allocations: 36.66 kB / 390.1 MB, free: 7.285 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003696/0.5666, allocations: 85.11 kB / 390.2 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.781e-05/0.5667, allocations: 9.828 kB / 390.2 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002233/0.5689, allocations: 1.786 MB / 392 MB, free: 21.9 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.569, allocations: 160 / 392 MB, free: 21.9 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/0.5702, allocations: 496.2 kB / 392.5 MB, free: 21.75 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002777/0.5705, allocations: 132.5 kB / 392.6 MB, free: 21.64 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.9e-05/0.5706, allocations: 11.34 kB / 392.6 MB, free: 21.64 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003294/0.571, allocations: 18.86 kB / 392.6 MB, free: 21.64 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001032/0.5711, allocations: 28.59 kB / 392.7 MB, free: 21.63 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.308e-05/0.5711, allocations: 13.34 kB / 392.7 MB, free: 21.63 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003134/0.5715, allocations: 206.1 kB / 392.9 MB, free: 21.55 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5715, allocations: 0 / 392.9 MB, free: 21.55 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007685/0.5723, allocations: 108.9 kB / 393 MB, free: 21.54 MB / 330.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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * Number of discrete states: 3 (meanCurrent.x,rootMeanSquareVoltage.mean.x,meanVoltage.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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 8} Notification: Performance of Backend phase and start with SimCode phase: time 0.001703/0.574, allocations: 1.113 MB / 394.1 MB, free: 20.79 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009747/0.575, allocations: 373 kB / 394.5 MB, free: 20.66 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/0.575, allocations: 3.875 kB / 394.5 MB, free: 20.66 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004909/0.5755, allocations: 245.7 kB / 394.7 MB, free: 20.55 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005167/0.5761, allocations: 65.48 kB / 394.8 MB, free: 20.54 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001679/0.5778, allocations: 0.5655 MB / 395.3 MB, free: 20.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004209/0.5782, allocations: 0.8179 MB / 396.2 MB, free: 19.58 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002149/0.5784, allocations: 30.91 kB / 396.2 MB, free: 19.57 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002369/0.5787, allocations: 128.1 kB / 396.3 MB, free: 19.57 MB / 330.7 MB Notification: Performance of SimCode: time 1.162e-06/0.5787, allocations: 0 / 396.3 MB, free: 19.57 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03354/0.6122, allocations: 7.345 MB / 403.7 MB, free: 18.8 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002921/0.6126, allocations: 226 kB / 403.9 MB, free: 18.54 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.739/3.352, allocations: 0 / 403.9 MB, free: 18.54 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat