Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTapmPulse_DiodeCenterTapmPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.966/1.966, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.499e-05/3.501e-05, allocations: 4 kB / 255.5 MB, free: 3.082 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1062/0.1062, allocations: 44.5 MB / 300 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4279/0.5341, allocations: 77.99 MB / 378 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003431/0.5346, allocations: 89.44 kB / 378 MB, free: 12.41 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05412/0.5887, allocations: 13.38 MB / 391.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.5887, allocations: 4.219 kB / 391.4 MB, free: 10.93 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.093e-05/0.5888, allocations: 19.22 kB / 391.5 MB, free: 10.92 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: 163 * Number of variables: 163 Notification: Performance of Generate backend data structure: time 0.002293/0.5911, allocations: 0.9423 MB / 392.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.857e-05/0.5912, allocations: 7.719 kB / 392.4 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001916/0.5914, allocations: 108.1 kB / 392.5 MB, free: 10.32 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002323/0.5916, allocations: 93.72 kB / 392.6 MB, free: 10.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001421/0.5931, allocations: 0.6124 MB / 393.2 MB, free: 9.98 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.801e-05/0.5931, allocations: 48.09 kB / 393.3 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001486/0.5933, allocations: 68.45 kB / 393.3 MB, free: 9.973 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001852/0.5952, allocations: 0.8687 MB / 394.2 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.987e-05/0.5952, allocations: 0 / 394.2 MB, free: 9.84 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001047/0.5953, allocations: 34.19 kB / 394.2 MB, free: 9.836 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.531e-05/0.5954, allocations: 35.52 kB / 394.3 MB, free: 9.832 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001568/0.597, allocations: 0.6991 MB / 395 MB, free: 9.828 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00587/0.6029, allocations: 2.818 MB / 397.8 MB, free: 8.848 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001085/0.604, allocations: 0.7078 MB / 398.5 MB, free: 8.539 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007301/0.6047, allocations: 335.9 kB / 398.8 MB, free: 8.523 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.177e-05/0.6048, allocations: 7.453 kB / 398.8 MB, free: 8.523 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006826/0.6055, allocations: 357.9 kB / 399.2 MB, free: 8.445 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 4.188e-06/0.6055, allocations: 0 / 399.2 MB, free: 8.445 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001636/0.6072, allocations: 0.6387 MB / 399.8 MB, free: 8.355 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.003e-05/0.6073, allocations: 114.2 kB / 399.9 MB, free: 8.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009136/0.6082, allocations: 0.5068 MB / 400.4 MB, free: 8.113 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.166e-05/0.6083, allocations: 36.42 kB / 400.5 MB, free: 8.082 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000292/0.6086, allocations: 376.2 kB / 400.8 MB, free: 7.844 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.6087, allocations: 139.8 kB / 401 MB, free: 7.758 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.6088, allocations: 10.09 kB / 401 MB, free: 7.758 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.6088, allocations: 328.5 kB / 401.3 MB, free: 7.445 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004236/0.6093, allocations: 200.5 kB / 401.5 MB, free: 7.441 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005324/0.6098, allocations: 324.4 kB / 401.8 MB, free: 7.297 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004921/0.6103, allocations: 226.2 kB / 402 MB, free: 7.285 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.726e-06/0.6103, allocations: 3.953 kB / 402 MB, free: 7.281 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001533/0.6119, allocations: 0.6671 MB / 402.7 MB, free: 7.195 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.647e-05/0.6119, allocations: 7.438 kB / 402.7 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.275e-05/0.612, allocations: 3.719 kB / 402.7 MB, free: 7.195 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007983/0.6128, allocations: 213.2 kB / 402.9 MB, free: 7.176 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005542/0.6133, allocations: 74.03 kB / 403 MB, free: 7.172 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004177/0.6175, allocations: 2.771 MB / 405.8 MB, free: 5.648 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007356/0.6183, allocations: 57.58 kB / 405.8 MB, free: 5.621 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.775e-05/0.6184, allocations: 18.69 kB / 405.8 MB, free: 5.621 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: 12 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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 (42): * Single equations (assignments): 41 * 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 12} Notification: Performance of prepare postOptimizeDAE: time 0.0001891/0.6186, allocations: 142.1 kB / 406 MB, free: 5.5 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001079/0.6187, allocations: 57.83 kB / 406 MB, free: 5.469 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002189/0.6189, allocations: 71.73 kB / 406.1 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.031e-06/0.619, allocations: 3.75 kB / 406.1 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.44e-06/0.619, allocations: 0 / 406.1 MB, free: 5.449 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/0.619, allocations: 4 kB / 406.1 MB, free: 5.445 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003547/0.6225, allocations: 1.723 MB / 407.8 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.482e-06/0.6226, allocations: 3.969 kB / 407.8 MB, free: 4.719 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004476/0.623, allocations: 42.81 kB / 407.9 MB, free: 4.711 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006527/0.6237, allocations: 206.9 kB / 408.1 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.859e-05/0.6238, allocations: 7.594 kB / 408.1 MB, free: 4.652 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003967/0.6278, allocations: 2.636 MB / 410.7 MB, free: 19.02 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.126e-06/0.6278, allocations: 0 / 410.7 MB, free: 19.02 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002307/0.6301, allocations: 1.09 MB / 411.8 MB, free: 18.66 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004099/0.6306, allocations: 194.9 kB / 412 MB, free: 18.51 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001149/0.6307, allocations: 7.438 kB / 412 MB, free: 18.51 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005041/0.6312, allocations: 31.16 kB / 412 MB, free: 18.5 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001688/0.6314, allocations: 45.94 kB / 412.1 MB, free: 18.48 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.373e-05/0.6315, allocations: 11.83 kB / 412.1 MB, free: 18.48 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007087/0.6322, allocations: 417.8 kB / 412.5 MB, free: 18.35 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.11e-07/0.6322, allocations: 0 / 412.5 MB, free: 18.35 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009923/0.6332, allocations: 202.1 kB / 412.7 MB, free: 18.31 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: 9 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode.idealDiode[1].off,rectifier.diode.idealDiode[2].off,rectifier.diode.idealDiode[3].off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.002633/0.6358, allocations: 1.722 MB / 414.4 MB, free: 17.36 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001484/0.6374, allocations: 0.6636 MB / 415.1 MB, free: 17.15 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.6374, allocations: 0 / 415.1 MB, free: 17.15 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008579/0.6382, allocations: 447.1 kB / 415.5 MB, free: 16.98 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00109/0.6394, allocations: 140.3 kB / 415.7 MB, free: 16.94 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003551/0.6429, allocations: 1.298 MB / 417 MB, free: 16.38 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008299/0.6438, allocations: 1.079 MB / 418 MB, free: 15.53 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004714/0.6443, allocations: 240.6 kB / 418.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of SimCode: time 1.012e-06/0.6443, allocations: 0 / 418.3 MB, free: 15.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.928/3.572, allocations: 16.03 MB / 434.3 MB, free: 7.543 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTapmPulse.DiodeCenterTapmPulse_res.mat does not exist to compare? outputFormat=mat