Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.02/2.02, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.037e-05/3.047e-05, allocations: 4 kB / 292.3 MB, free: 8.23 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1048/0.1048, allocations: 50.41 MB / 342.7 MB, free: 5.801 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5096/0.6145, allocations: 84.56 MB / 427.2 MB, free: 9.695 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003362/0.6149, allocations: 85.75 kB / 427.3 MB, free: 9.648 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05759/0.6725, allocations: 13.79 MB / 441.1 MB, free: 14 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.763e-06/0.6725, allocations: 0 / 441.1 MB, free: 14 MB / 362.7 MB Notification: Performance of Transformations before backend: time 6.997e-05/0.6726, allocations: 19.98 kB / 441.1 MB, free: 13.98 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: 166 * Number of variables: 166 Notification: Performance of Generate backend data structure: time 0.002688/0.6753, allocations: 0.944 MB / 442.1 MB, free: 13.04 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.161e-05/0.6754, allocations: 8.031 kB / 442.1 MB, free: 13.03 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002481/0.6756, allocations: 112.6 kB / 442.2 MB, free: 12.95 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002818/0.6759, allocations: 94.88 kB / 442.3 MB, free: 12.86 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001514/0.6774, allocations: 0.6169 MB / 442.9 MB, free: 12.31 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.974e-05/0.6775, allocations: 52.06 kB / 442.9 MB, free: 12.28 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001571/0.6777, allocations: 63.06 kB / 443 MB, free: 12.24 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002046/0.6797, allocations: 0.8718 MB / 443.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.359e-05/0.6798, allocations: 3.984 kB / 443.9 MB, free: 11.62 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/0.6799, allocations: 32.88 kB / 443.9 MB, free: 11.61 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.037e-05/0.68, allocations: 29.31 kB / 443.9 MB, free: 11.58 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00177/0.6818, allocations: 0.7048 MB / 444.6 MB, free: 11.14 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006796/0.6886, allocations: 2.835 MB / 447.5 MB, free: 8.836 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001283/0.6899, allocations: 0.7182 MB / 448.2 MB, free: 8.238 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008206/0.6908, allocations: 328.7 kB / 448.5 MB, free: 8.023 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.439e-05/0.6908, allocations: 12.3 kB / 448.5 MB, free: 8.012 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008026/0.6917, allocations: 357 kB / 448.9 MB, free: 7.734 MB / 362.7 MB Notification: Performance of pre-optimization done (n=43): time 3.076e-06/0.6917, allocations: 0 / 448.9 MB, free: 7.734 MB / 362.7 MB Notification: Performance of matching and sorting (n=43): time 0.001888/0.6936, allocations: 0.6482 MB / 449.5 MB, free: 7.25 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.599e-05/0.6937, allocations: 110.8 kB / 449.6 MB, free: 7.117 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001073/0.6948, allocations: 0.5031 MB / 450.1 MB, free: 6.719 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 9.032e-05/0.6949, allocations: 39.86 kB / 450.2 MB, free: 6.68 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000381/0.6953, allocations: 351.5 kB / 450.5 MB, free: 6.426 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001861/0.6955, allocations: 138.8 kB / 450.6 MB, free: 6.301 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.256e-05/0.6955, allocations: 8 kB / 450.7 MB, free: 6.293 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002004/0.6957, allocations: 362.8 kB / 451 MB, free: 5.93 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005153/0.6963, allocations: 205 kB / 451.2 MB, free: 5.73 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006192/0.6969, allocations: 327.8 kB / 451.5 MB, free: 5.359 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005719/0.6975, allocations: 227.9 kB / 451.8 MB, free: 5.137 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.847e-06/0.6975, allocations: 4 kB / 451.8 MB, free: 5.133 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001882/0.6994, allocations: 0.6977 MB / 452.5 MB, free: 4.426 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.945e-05/0.6995, allocations: 8 kB / 452.5 MB, free: 4.418 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.481e-05/0.6995, allocations: 4 kB / 452.5 MB, free: 4.414 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008369/0.7003, allocations: 196.7 kB / 452.7 MB, free: 4.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005981/0.7009, allocations: 75.89 kB / 452.7 MB, free: 4.145 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004791/0.7058, allocations: 2.678 MB / 455.4 MB, free: 1.332 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006975/0.7065, allocations: 55.7 kB / 455.5 MB, free: 1.277 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.703e-05/0.7066, allocations: 20 kB / 455.5 MB, free: 1.258 MB / 362.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: 12 ($PRE.meanVoltage.y_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (43): * Single equations (assignments): 42 * 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 {3 11} Notification: Performance of prepare postOptimizeDAE: time 0.000264/0.7068, allocations: 141.1 kB / 455.6 MB, free: 1.113 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001295/0.707, allocations: 55.34 kB / 455.7 MB, free: 1.059 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.7072, allocations: 65.06 kB / 455.7 MB, free: 0.9961 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.042e-05/0.7072, allocations: 11.98 kB / 455.8 MB, free: 0.9844 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.488e-06/0.7073, allocations: 3.953 kB / 455.8 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.525e-06/0.7073, allocations: 0 / 455.8 MB, free: 0.9805 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003722/0.711, allocations: 1.6 MB / 457.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.231e-06/0.7111, allocations: 0 / 457.4 MB, free: 15.32 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004826/0.7116, allocations: 43.97 kB / 457.4 MB, free: 15.27 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007358/0.7123, allocations: 192.8 kB / 457.6 MB, free: 15.08 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.8e-05/0.7124, allocations: 11.98 kB / 457.6 MB, free: 15.07 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004588/0.717, allocations: 2.647 MB / 460.2 MB, free: 12.29 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/0.717, allocations: 7.953 kB / 460.3 MB, free: 12.28 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002458/0.7195, allocations: 1.042 MB / 461.3 MB, free: 11.2 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004252/0.7199, allocations: 196.3 kB / 461.5 MB, free: 10.99 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001234/0.7201, allocations: 12 kB / 461.5 MB, free: 10.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005281/0.7206, allocations: 31.97 kB / 461.5 MB, free: 10.95 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001801/0.7208, allocations: 39.94 kB / 461.6 MB, free: 10.91 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.913e-05/0.7209, allocations: 15.98 kB / 461.6 MB, free: 10.89 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.000808/0.7217, allocations: 409.5 kB / 462 MB, free: 10.5 MB / 378.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.7217, allocations: 0 / 462 MB, free: 10.5 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001053/0.7228, allocations: 207.3 kB / 462.2 MB, free: 10.3 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * Number of discrete states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Top-level inputs: 0 Notification: Strong component statistics for simulation (30): * Single equations (assignments): 26 * 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 {3 11} Notification: Performance of Backend phase and start with SimCode phase: time 0.002889/0.7257, allocations: 1.702 MB / 463.9 MB, free: 8.555 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001751/0.7275, allocations: 0.6651 MB / 464.6 MB, free: 7.879 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.957e-06/0.7275, allocations: 0 / 464.6 MB, free: 7.879 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0009795/0.7285, allocations: 438.6 kB / 465 MB, free: 7.441 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001074/0.7296, allocations: 134.3 kB / 465.1 MB, free: 7.312 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003792/0.7334, allocations: 1.305 MB / 466.4 MB, free: 5.965 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009628/0.7344, allocations: 1.086 MB / 467.5 MB, free: 4.848 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0005178/0.7349, allocations: 96.67 kB / 467.6 MB, free: 4.75 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004988/0.7354, allocations: 235.4 kB / 467.8 MB, free: 4.52 MB / 378.7 MB Notification: Performance of SimCode: time 1.052e-06/0.7354, allocations: 0 / 467.8 MB, free: 4.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.117/0.8525, allocations: 14.73 MB / 482.6 MB, free: 6.074 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004488/0.853, allocations: 235.3 kB / 482.8 MB, free: 5.777 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.961/3.814, allocations: 0 / 482.8 MB, free: 5.777 MB / 394.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat