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 2.031/2.031, allocations: 195 MB / 203.2 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.491e-05/2.538e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3063/0.3064, allocations: 44.51 MB / 294.2 MB, free: 14.22 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1439/0.4504, allocations: 77.33 MB / 371.5 MB, free: 4.551 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003408/0.4508, allocations: 83.94 kB / 371.6 MB, free: 4.469 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.05917/0.51, allocations: 13.23 MB / 384.9 MB, free: 7.141 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.765e-06/0.51, allocations: 0 / 384.9 MB, free: 7.141 MB / 330.7 MB Notification: Performance of Transformations before backend: time 8.699e-05/0.5101, allocations: 24.16 kB / 384.9 MB, free: 7.117 MB / 330.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.003028/0.5132, allocations: 0.9328 MB / 385.8 MB, free: 6.141 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.911e-05/0.5132, allocations: 12.03 kB / 385.8 MB, free: 6.129 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004471/0.5137, allocations: 86.97 kB / 385.9 MB, free: 6.043 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.5156, allocations: 0.6208 MB / 386.5 MB, free: 5.379 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.617e-05/0.5157, allocations: 20 kB / 386.6 MB, free: 5.359 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001953/0.516, allocations: 39.98 kB / 386.6 MB, free: 5.32 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00193/0.5179, allocations: 0.6858 MB / 387.3 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001978/0.5199, allocations: 0.784 MB / 388.1 MB, free: 3.812 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.846e-05/0.52, allocations: 3.984 kB / 388.1 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.994e-05/0.5201, allocations: 0 / 388.1 MB, free: 3.809 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.157e-05/0.5202, allocations: 29.31 kB / 388.1 MB, free: 3.781 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007197/0.5274, allocations: 2.686 MB / 390.8 MB, free: 0.9961 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001321/0.5288, allocations: 0.7072 MB / 391.5 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009232/0.5297, allocations: 313.2 kB / 391.8 MB, free: 15.92 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.764e-05/0.5298, allocations: 4.328 kB / 391.8 MB, free: 15.91 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000823/0.5307, allocations: 342 kB / 392.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 3.356e-06/0.5307, allocations: 0 / 392.1 MB, free: 15.56 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.001799/0.5325, allocations: 0.6218 MB / 392.8 MB, free: 14.93 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.877e-05/0.5326, allocations: 106.8 kB / 392.9 MB, free: 14.8 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001018/0.5336, allocations: 481 kB / 393.3 MB, free: 14.32 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.5338, allocations: 25.7 kB / 393.4 MB, free: 14.29 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003935/0.5342, allocations: 382.4 kB / 393.7 MB, free: 13.91 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002027/0.5344, allocations: 134 kB / 393.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.35e-05/0.5344, allocations: 0 / 393.9 MB, free: 13.78 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5346, allocations: 326.8 kB / 394.2 MB, free: 13.45 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004756/0.5351, allocations: 197 kB / 394.4 MB, free: 13.26 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005675/0.5357, allocations: 311.8 kB / 394.7 MB, free: 12.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005326/0.5362, allocations: 223.7 kB / 394.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.851e-06/0.5362, allocations: 0 / 394.9 MB, free: 12.68 MB / 346.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001695/0.5379, allocations: 0.6307 MB / 395.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.918e-05/0.538, allocations: 4 kB / 395.5 MB, free: 12.04 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.538, allocations: 7.938 kB / 395.5 MB, free: 12.03 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008603/0.5389, allocations: 204.7 kB / 395.7 MB, free: 11.82 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006117/0.5395, allocations: 75.89 kB / 395.8 MB, free: 11.75 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00501/0.5446, allocations: 2.687 MB / 398.5 MB, free: 8.949 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006769/0.5453, allocations: 47.84 kB / 398.5 MB, free: 8.902 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.846e-05/0.5454, allocations: 16 kB / 398.6 MB, free: 8.887 MB / 346.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.0002255/0.5457, allocations: 123.5 kB / 398.7 MB, free: 8.762 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001703/0.5474, allocations: 0.6068 MB / 399.3 MB, free: 8.145 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.5476, allocations: 59.38 kB / 399.3 MB, free: 8.086 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002469/0.5479, allocations: 61.28 kB / 399.4 MB, free: 8.023 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.046e-05/0.5479, allocations: 4 kB / 399.4 MB, free: 8.02 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.064e-06/0.5479, allocations: 7.953 kB / 399.4 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/0.5479, allocations: 0 / 399.4 MB, free: 8.012 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004355/0.5523, allocations: 1.6 MB / 401 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.556e-06/0.5524, allocations: 0 / 401 MB, free: 6.359 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005037/0.5529, allocations: 51.91 kB / 401.1 MB, free: 6.309 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007549/0.5536, allocations: 200.8 kB / 401.3 MB, free: 6.109 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.974e-05/0.5537, allocations: 4 kB / 401.3 MB, free: 6.105 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004612/0.5584, allocations: 2.555 MB / 403.8 MB, free: 3.438 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.63e-06/0.5584, allocations: 4 kB / 403.8 MB, free: 3.434 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002639/0.5611, allocations: 1.041 MB / 404.9 MB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005358/0.5617, allocations: 192.4 kB / 405.1 MB, free: 2.152 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001622/0.5618, allocations: 8 kB / 405.1 MB, free: 2.145 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005449/0.5624, allocations: 19.97 kB / 405.1 MB, free: 2.125 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002188/0.5626, allocations: 47.89 kB / 405.1 MB, free: 2.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-05/0.5627, allocations: 11.94 kB / 405.1 MB, free: 2.066 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.000727/0.5634, allocations: 374.9 kB / 405.5 MB, free: 1.703 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.5635, allocations: 4 kB / 405.5 MB, free: 1.699 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001249/0.5647, allocations: 187.2 kB / 405.7 MB, free: 1.516 MB / 346.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.003031/0.5678, allocations: 1.679 MB / 407.4 MB, free: 15.8 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001706/0.5695, allocations: 0.6427 MB / 408 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/0.5696, allocations: 0 / 408 MB, free: 15.14 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001023/0.5706, allocations: 445 kB / 408.4 MB, free: 14.7 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001095/0.5718, allocations: 118 kB / 408.6 MB, free: 14.59 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003984/0.5758, allocations: 1.274 MB / 409.8 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009231/0.5768, allocations: 1.07 MB / 410.9 MB, free: 12.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005808/0.5774, allocations: 239.4 kB / 411.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of SimCode: time 1.011e-06/0.5774, allocations: 4 kB / 411.1 MB, free: 11.93 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.34/3.917, allocations: 15.82 MB / 427 MB, free: 107 MB / 362.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