Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.014/2.014, allocations: 194.9 MB / 208.4 MB, free: 3.254 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.065e-05/4.079e-05, allocations: 4 kB / 255.4 MB, free: 3.086 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09468/0.09477, allocations: 44.5 MB / 299.9 MB, free: 6.523 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4085/0.5033, allocations: 75.21 MB / 375.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.5037, allocations: 86.94 kB / 375.2 MB, free: 12.68 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02691/0.5306, allocations: 6.106 MB / 381.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.5307, allocations: 3.938 kB / 381.4 MB, free: 11.88 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.248e-05/0.5307, allocations: 7.688 kB / 381.4 MB, free: 11.88 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.001383/0.5321, allocations: 0.6094 MB / 382 MB, free: 11.43 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.5322, allocations: 8.906 kB / 382 MB, free: 11.43 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001209/0.5323, allocations: 75.03 kB / 382.1 MB, free: 11.38 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001397/0.5325, allocations: 49.11 kB / 382.1 MB, free: 11.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00065/0.5331, allocations: 332.9 kB / 382.4 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.521e-05/0.5332, allocations: 30.66 kB / 382.5 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.313e-05/0.5333, allocations: 36.28 kB / 382.5 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008677/0.5342, allocations: 358.6 kB / 382.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.783e-05/0.5342, allocations: 1.438 kB / 382.8 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.808e-05/0.5343, allocations: 17.52 kB / 382.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.566e-05/0.5343, allocations: 12.05 kB / 382.9 MB, free: 11.04 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006653/0.535, allocations: 230.3 kB / 383.1 MB, free: 11.03 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003113/0.5381, allocations: 1.493 MB / 384.6 MB, free: 10.25 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006143/0.5388, allocations: 223 kB / 384.8 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004576/0.5392, allocations: 155.6 kB / 385 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.277e-05/0.5393, allocations: 3.844 kB / 385 MB, free: 10.2 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004933/0.5398, allocations: 211.2 kB / 385.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.607e-06/0.5398, allocations: 0 / 385.2 MB, free: 10.12 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.001106/0.541, allocations: 323.4 kB / 385.5 MB, free: 10.05 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.485e-05/0.5411, allocations: 113.1 kB / 385.6 MB, free: 9.926 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004418/0.5415, allocations: 256.9 kB / 385.9 MB, free: 9.824 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.769e-05/0.5416, allocations: 38.5 kB / 385.9 MB, free: 9.793 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/0.5418, allocations: 258.9 kB / 386.1 MB, free: 9.594 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001137/0.5419, allocations: 95.78 kB / 386.2 MB, free: 9.535 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.014e-05/0.5419, allocations: 11.09 kB / 386.2 MB, free: 9.531 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.788e-05/0.542, allocations: 328.6 kB / 386.6 MB, free: 9.215 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002645/0.5423, allocations: 79.05 kB / 386.6 MB, free: 9.211 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003302/0.5427, allocations: 201 kB / 386.8 MB, free: 9.062 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002926/0.543, allocations: 103.8 kB / 386.9 MB, free: 9.051 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.743e-06/0.543, allocations: 1.219 kB / 386.9 MB, free: 9.051 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.0009602/0.5439, allocations: 362.2 kB / 387.3 MB, free: 8.969 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.896e-05/0.544, allocations: 9.406 kB / 387.3 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.318e-05/0.544, allocations: 4 kB / 387.3 MB, free: 8.969 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004742/0.5445, allocations: 84.25 kB / 387.4 MB, free: 8.957 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004326/0.545, allocations: 57.27 kB / 387.4 MB, free: 8.949 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002378/0.5474, allocations: 1.787 MB / 389.2 MB, free: 7.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005046/0.5479, allocations: 37.92 kB / 389.3 MB, free: 7.566 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.083e-05/0.548, allocations: 22.52 kB / 389.3 MB, free: 7.562 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.0001628/0.5481, allocations: 137.8 kB / 389.4 MB, free: 7.441 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.356e-05/0.5482, allocations: 36.45 kB / 389.5 MB, free: 7.422 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.5484, allocations: 36.34 kB / 389.5 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.111e-06/0.5484, allocations: 3.688 kB / 389.5 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.5484, allocations: 1.188 kB / 389.5 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.887e-06/0.5484, allocations: 3.812 kB / 389.5 MB, free: 7.406 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009127/0.5493, allocations: 0.567 MB / 390.1 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.449e-06/0.5494, allocations: 0 / 390.1 MB, free: 7.09 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003466/0.5497, allocations: 34.2 kB / 390.1 MB, free: 7.086 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000372/0.5501, allocations: 77.05 kB / 390.2 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.87e-05/0.5502, allocations: 7.75 kB / 390.2 MB, free: 7.078 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00216/0.5523, allocations: 1.79 MB / 392 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-06/0.5524, allocations: 0 / 392 MB, free: 5.707 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001489/0.5539, allocations: 487.8 kB / 392.5 MB, free: 21.57 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002583/0.5542, allocations: 141 kB / 392.6 MB, free: 21.45 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.783e-05/0.5543, allocations: 7.781 kB / 392.6 MB, free: 21.45 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003529/0.5547, allocations: 20.34 kB / 392.6 MB, free: 21.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000122/0.5548, allocations: 24.52 kB / 392.6 MB, free: 21.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.353e-05/0.5548, allocations: 13.83 kB / 392.7 MB, free: 21.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000343/0.5552, allocations: 207.9 kB / 392.9 MB, free: 21.36 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.5552, allocations: 0 / 392.9 MB, free: 21.36 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0007486/0.556, allocations: 113.6 kB / 393 MB, free: 21.34 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.00166/0.5576, allocations: 1.12 MB / 394.1 MB, free: 20.59 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009828/0.5587, allocations: 384.5 kB / 394.5 MB, free: 20.46 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.961e-06/0.5587, allocations: 0.9375 kB / 394.5 MB, free: 20.46 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005411/0.5593, allocations: 266.9 kB / 394.7 MB, free: 20.34 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005277/0.5598, allocations: 56.31 kB / 394.8 MB, free: 20.33 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001872/0.5617, allocations: 0.6049 MB / 395.4 MB, free: 20.04 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004379/0.5622, allocations: 0.8145 MB / 396.2 MB, free: 19.33 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002464/0.5625, allocations: 124.1 kB / 396.3 MB, free: 19.32 MB / 330.7 MB Notification: Performance of SimCode: time 1.032e-06/0.5625, allocations: 0 / 396.3 MB, free: 19.32 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.111/3.673, allocations: 7.312 MB / 403.6 MB, free: 18.86 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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat