Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_2_cs_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="cs",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Modelica): time 2.133/2.133, allocations: 195 MB / 202.9 MB, free: 6.723 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.862e-05, allocations: 2.062 kB / 249.8 MB, free: 5.25 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09747/0.09753, allocations: 44.51 MB / 294.3 MB, free: 10.63 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4335/0.5311, allocations: 74.55 MB / 368.9 MB, free: 7.258 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003122/0.5315, allocations: 82.31 kB / 368.9 MB, free: 7.258 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02724/0.5588, allocations: 6.042 MB / 375 MB, free: 22.5 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.724e-06/0.5588, allocations: 0 / 375 MB, free: 22.5 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.151e-05/0.5589, allocations: 7.781 kB / 375 MB, free: 22.5 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.001426/0.5603, allocations: 0.614 MB / 375.6 MB, free: 22.03 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.862e-05/0.5604, allocations: 7.75 kB / 375.6 MB, free: 22.03 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000152/0.5605, allocations: 58.48 kB / 375.7 MB, free: 22 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006442/0.5612, allocations: 328.5 kB / 376 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.5612, allocations: 11.59 kB / 376 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.982e-05/0.5613, allocations: 26.91 kB / 376 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006655/0.562, allocations: 208 kB / 376.2 MB, free: 21.76 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007767/0.5628, allocations: 312.5 kB / 376.5 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.662e-05/0.5629, allocations: 0 / 376.5 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.713e-05/0.5629, allocations: 10.75 kB / 376.5 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.265e-05/0.563, allocations: 11.75 kB / 376.6 MB, free: 21.68 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003083/0.566, allocations: 1.406 MB / 378 MB, free: 20.94 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000523/0.5666, allocations: 212.5 kB / 378.2 MB, free: 20.91 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004475/0.5671, allocations: 138.3 kB / 378.3 MB, free: 20.9 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.578e-05/0.5671, allocations: 8.141 kB / 378.3 MB, free: 20.89 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004903/0.5676, allocations: 202.3 kB / 378.5 MB, free: 20.82 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.227e-06/0.5677, allocations: 0 / 378.5 MB, free: 20.82 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.001034/0.5687, allocations: 298.9 kB / 378.8 MB, free: 20.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.998e-05/0.5688, allocations: 112.2 kB / 378.9 MB, free: 20.62 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003591/0.5691, allocations: 233.4 kB / 379.1 MB, free: 20.52 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.478e-05/0.5692, allocations: 29.45 kB / 379.2 MB, free: 20.49 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001805/0.5694, allocations: 210.3 kB / 379.4 MB, free: 20.36 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.823e-05/0.5695, allocations: 94.83 kB / 379.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.597e-05/0.5696, allocations: 0 / 379.5 MB, free: 20.29 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001659/0.5697, allocations: 346.8 kB / 379.8 MB, free: 19.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002094/0.57, allocations: 71.77 kB / 379.9 MB, free: 19.97 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002718/0.5702, allocations: 191.9 kB / 380.1 MB, free: 19.82 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002651/0.5705, allocations: 96.98 kB / 380.2 MB, free: 19.81 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.111e-06/0.5705, allocations: 3.953 kB / 380.2 MB, free: 19.8 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.000961/0.5715, allocations: 334.1 kB / 380.5 MB, free: 19.7 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.466e-05/0.5716, allocations: 7.781 kB / 380.5 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.5716, allocations: 7.953 kB / 380.5 MB, free: 19.7 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004654/0.5721, allocations: 77.19 kB / 380.6 MB, free: 19.68 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004559/0.5725, allocations: 61.5 kB / 380.6 MB, free: 19.67 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002647/0.5752, allocations: 1.734 MB / 382.4 MB, free: 18.28 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005058/0.5757, allocations: 30.48 kB / 382.4 MB, free: 18.26 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.964e-05/0.5758, allocations: 15.41 kB / 382.4 MB, free: 18.26 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.000193/0.576, allocations: 124.3 kB / 382.5 MB, free: 18.14 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0009286/0.5769, allocations: 303.7 kB / 382.8 MB, free: 18.04 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.869e-05/0.577, allocations: 31.16 kB / 382.9 MB, free: 18.02 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001319/0.5772, allocations: 36.84 kB / 382.9 MB, free: 18.01 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.883e-06/0.5772, allocations: 7.828 kB / 382.9 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.5772, allocations: 0 / 382.9 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.985e-06/0.5772, allocations: 0 / 382.9 MB, free: 18 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009008/0.5781, allocations: 0.5045 MB / 383.4 MB, free: 17.64 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.62e-06/0.5782, allocations: 3.984 kB / 383.4 MB, free: 17.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003591/0.5785, allocations: 31.17 kB / 383.4 MB, free: 17.62 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003856/0.5789, allocations: 81.31 kB / 383.5 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.655e-05/0.579, allocations: 3.953 kB / 383.5 MB, free: 17.6 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002555/0.5816, allocations: 1.725 MB / 385.3 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.989e-06/0.5816, allocations: 0 / 385.3 MB, free: 16.22 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001313/0.5829, allocations: 461.5 kB / 385.7 MB, free: 16.05 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002286/0.5832, allocations: 139.1 kB / 385.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001068/0.5833, allocations: 3.875 kB / 385.8 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003446/0.5837, allocations: 11.7 kB / 385.9 MB, free: 15.92 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001141/0.5838, allocations: 29.7 kB / 385.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.446e-05/0.5838, allocations: 7.594 kB / 385.9 MB, free: 15.91 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.000289/0.5841, allocations: 179.4 kB / 386.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.5842, allocations: 0 / 386.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.0008526/0.585, allocations: 104.4 kB / 386.2 MB, free: 15.8 MB / 314.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.001776/0.5868, allocations: 1.092 MB / 387.3 MB, free: 15.02 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.0009779/0.5878, allocations: 347.3 kB / 387.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.421e-06/0.5878, allocations: 3.906 kB / 387.6 MB, free: 14.88 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005426/0.5884, allocations: 252.4 kB / 387.9 MB, free: 14.75 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005098/0.5889, allocations: 34.81 kB / 387.9 MB, free: 14.73 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001897/0.5908, allocations: 0.5412 MB / 388.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005099/0.5914, allocations: 0.8159 MB / 389.2 MB, free: 13.67 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.000256/0.5917, allocations: 31.16 kB / 389.3 MB, free: 13.65 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000239/0.5919, allocations: 126.9 kB / 389.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of SimCode: time 1.042e-06/0.5919, allocations: 0 / 389.4 MB, free: 13.62 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05411/0.646, allocations: 6.443 MB / 395.8 MB, free: 10.55 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003419/0.6464, allocations: 204.3 kB / 396 MB, free: 10.28 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform dynamic: time 2.914/3.561, allocations: 0 / 396 MB, free: 10.28 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cs_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat