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.933/1.933, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.508e-05/3.522e-05, allocations: 4 kB / 255.4 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09273/0.09281, allocations: 44.52 MB / 300 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4374/0.5302, allocations: 77.98 MB / 377.9 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003253/0.5306, allocations: 87.98 kB / 378 MB, free: 12.49 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05454/0.5852, allocations: 13.38 MB / 391.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.074e-06/0.5852, allocations: 0 / 391.4 MB, free: 11.02 MB / 314.7 MB Notification: Performance of Transformations before backend: time 6.293e-05/0.5853, allocations: 19.66 kB / 391.4 MB, free: 11.01 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.002254/0.5876, allocations: 0.9275 MB / 392.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.021e-05/0.5876, allocations: 15.78 kB / 392.4 MB, free: 10.45 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002013/0.5878, allocations: 109.5 kB / 392.5 MB, free: 10.41 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002387/0.5881, allocations: 89.47 kB / 392.6 MB, free: 10.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001385/0.5895, allocations: 0.6115 MB / 393.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.718e-05/0.5895, allocations: 51.27 kB / 393.2 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001527/0.5897, allocations: 70.27 kB / 393.3 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001953/0.5917, allocations: 0.8737 MB / 394.2 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.215e-05/0.5917, allocations: 0 / 394.2 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001066/0.5919, allocations: 31.56 kB / 394.2 MB, free: 9.926 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.385e-05/0.5919, allocations: 35.91 kB / 394.2 MB, free: 9.922 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001695/0.5936, allocations: 0.7137 MB / 394.9 MB, free: 9.914 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006248/0.5999, allocations: 2.81 MB / 397.8 MB, free: 8.934 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001114/0.6011, allocations: 0.7287 MB / 398.5 MB, free: 8.621 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007328/0.6018, allocations: 326.6 kB / 398.8 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.896e-05/0.6019, allocations: 4.109 kB / 398.8 MB, free: 8.609 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007469/0.6027, allocations: 351.4 kB / 399.2 MB, free: 8.535 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.226e-06/0.6027, allocations: 0 / 399.2 MB, free: 8.535 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001711/0.6044, allocations: 0.6442 MB / 399.8 MB, free: 8.445 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.617e-05/0.6045, allocations: 114.3 kB / 399.9 MB, free: 8.316 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009911/0.6055, allocations: 0.5028 MB / 400.4 MB, free: 8.199 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001396/0.6057, allocations: 39.39 kB / 400.4 MB, free: 8.168 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003386/0.6061, allocations: 374 kB / 400.8 MB, free: 7.93 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001578/0.6062, allocations: 146.9 kB / 401 MB, free: 7.84 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.593e-05/0.6063, allocations: 6.375 kB / 401 MB, free: 7.84 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.57e-05/0.6064, allocations: 328.3 kB / 401.3 MB, free: 7.527 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004486/0.6068, allocations: 205.9 kB / 401.5 MB, free: 7.52 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005096/0.6074, allocations: 327.2 kB / 401.8 MB, free: 7.371 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004956/0.6079, allocations: 223.2 kB / 402 MB, free: 7.363 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.903e-06/0.6079, allocations: 3.953 kB / 402 MB, free: 7.359 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001508/0.6094, allocations: 0.6821 MB / 402.7 MB, free: 7.27 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.6095, allocations: 3.844 kB / 402.7 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.063e-05/0.6095, allocations: 3.875 kB / 402.7 MB, free: 7.27 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007901/0.6103, allocations: 216.2 kB / 402.9 MB, free: 7.25 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000521/0.6108, allocations: 75.84 kB / 403 MB, free: 7.242 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00416/0.615, allocations: 2.769 MB / 405.8 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006996/0.6157, allocations: 53.67 kB / 405.8 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.977e-05/0.6158, allocations: 23.02 kB / 405.8 MB, free: 5.703 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.0001996/0.616, allocations: 137.4 kB / 406 MB, free: 5.582 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000109/0.6161, allocations: 62.39 kB / 406 MB, free: 5.551 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002254/0.6164, allocations: 72.45 kB / 406.1 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.6164, allocations: 3.875 kB / 406.1 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.063e-06/0.6164, allocations: 3.875 kB / 406.1 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.575e-06/0.6164, allocations: 0 / 406.1 MB, free: 5.527 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003651/0.6201, allocations: 1.721 MB / 407.8 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.6201, allocations: 0 / 407.8 MB, free: 4.801 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004561/0.6206, allocations: 49.97 kB / 407.9 MB, free: 4.793 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006704/0.6213, allocations: 205.8 kB / 408.1 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.202e-05/0.6214, allocations: 7.781 kB / 408.1 MB, free: 4.734 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004058/0.6254, allocations: 2.637 MB / 410.7 MB, free: 19.1 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.107e-06/0.6255, allocations: 3.875 kB / 410.7 MB, free: 19.1 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0024/0.6279, allocations: 1.088 MB / 411.8 MB, free: 18.74 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004719/0.6284, allocations: 185.7 kB / 412 MB, free: 18.61 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001177/0.6286, allocations: 9.969 kB / 412 MB, free: 18.61 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000523/0.6291, allocations: 33.94 kB / 412.1 MB, free: 18.59 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000182/0.6293, allocations: 41.59 kB / 412.1 MB, free: 18.58 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.573e-05/0.6294, allocations: 15.39 kB / 412.1 MB, free: 18.57 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0007491/0.6301, allocations: 408.3 kB / 412.5 MB, free: 18.45 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.6301, allocations: 0 / 412.5 MB, free: 18.45 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0009982/0.6311, allocations: 211.9 kB / 412.7 MB, free: 18.4 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.002717/0.6339, allocations: 1.724 MB / 414.4 MB, free: 17.45 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.00157/0.6355, allocations: 0.6778 MB / 415.1 MB, free: 17.23 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.264e-06/0.6355, allocations: 3.906 kB / 415.1 MB, free: 17.23 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008895/0.6364, allocations: 462.5 kB / 415.6 MB, free: 17.04 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001067/0.6375, allocations: 133.5 kB / 415.7 MB, free: 17 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003652/0.6412, allocations: 1.314 MB / 417 MB, free: 16.43 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000842/0.6421, allocations: 1.076 MB / 418.1 MB, free: 15.59 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005129/0.6426, allocations: 240.4 kB / 418.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of SimCode: time 1.122e-06/0.6426, allocations: 0 / 418.3 MB, free: 15.56 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.929/3.572, allocations: 16.09 MB / 434.4 MB, free: 7.562 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