Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.965/1.965, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.299e-05/3.31e-05, allocations: 0 / 255.5 MB, free: 2.633 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.096/0.09607, allocations: 44.51 MB / 300 MB, free: 6.062 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4372/0.5334, allocations: 75.21 MB / 375.2 MB, free: 12.91 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002991/0.5337, allocations: 81.67 kB / 375.3 MB, free: 12.91 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02699/0.5607, allocations: 6.11 MB / 381.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.994e-06/0.5608, allocations: 0 / 381.4 MB, free: 12.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.341e-05/0.5608, allocations: 7.656 kB / 381.4 MB, free: 12.11 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.001437/0.5623, allocations: 0.6161 MB / 382 MB, free: 11.65 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.269e-05/0.5623, allocations: 12.81 kB / 382 MB, free: 11.65 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001507/0.5625, allocations: 74.91 kB / 382.1 MB, free: 11.61 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001612/0.5627, allocations: 50 kB / 382.1 MB, free: 11.58 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006638/0.5634, allocations: 321.9 kB / 382.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.91e-05/0.5634, allocations: 28.91 kB / 382.5 MB, free: 11.35 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.924e-05/0.5635, allocations: 40.62 kB / 382.5 MB, free: 11.34 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008847/0.5644, allocations: 359.5 kB / 382.9 MB, free: 11.27 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.593e-05/0.5645, allocations: 5.469 kB / 382.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.732e-05/0.5645, allocations: 13.19 kB / 382.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.508e-05/0.5646, allocations: 12.73 kB / 382.9 MB, free: 11.26 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006515/0.5652, allocations: 235.9 kB / 383.1 MB, free: 11.25 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003092/0.5683, allocations: 1.484 MB / 384.6 MB, free: 10.47 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005628/0.5689, allocations: 225.7 kB / 384.8 MB, free: 10.44 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005107/0.5695, allocations: 154 kB / 385 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.573e-05/0.5695, allocations: 3.172 kB / 385 MB, free: 10.43 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005146/0.5701, allocations: 211.9 kB / 385.2 MB, free: 10.35 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.477e-06/0.5701, allocations: 3.938 kB / 385.2 MB, free: 10.35 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.001116/0.5712, allocations: 320.9 kB / 385.5 MB, free: 10.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.972e-05/0.5713, allocations: 114.3 kB / 385.6 MB, free: 10.15 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004437/0.5718, allocations: 264.6 kB / 385.9 MB, free: 10.05 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.66e-05/0.5719, allocations: 31.8 kB / 385.9 MB, free: 10.02 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001638/0.572, allocations: 211.1 kB / 386.1 MB, free: 9.883 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.952e-05/0.5722, allocations: 93.69 kB / 386.2 MB, free: 9.824 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.898e-05/0.5722, allocations: 12.84 kB / 386.2 MB, free: 9.82 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.346e-05/0.5723, allocations: 345.6 kB / 386.6 MB, free: 9.504 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000249/0.5726, allocations: 76.67 kB / 386.6 MB, free: 9.5 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003174/0.5729, allocations: 196.2 kB / 386.8 MB, free: 9.355 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002862/0.5732, allocations: 112.4 kB / 386.9 MB, free: 9.34 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.052e-06/0.5732, allocations: 1.312 kB / 386.9 MB, free: 9.34 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001019/0.5742, allocations: 376 kB / 387.3 MB, free: 9.254 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.487e-05/0.5743, allocations: 9.062 kB / 387.3 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/0.5743, allocations: 3.938 kB / 387.3 MB, free: 9.254 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004489/0.5748, allocations: 84.03 kB / 387.4 MB, free: 9.242 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004209/0.5752, allocations: 56.83 kB / 387.5 MB, free: 9.238 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002306/0.5775, allocations: 1.795 MB / 389.3 MB, free: 7.859 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005097/0.5781, allocations: 41.12 kB / 389.3 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.197e-05/0.5782, allocations: 18.45 kB / 389.3 MB, free: 7.844 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.000159/0.5783, allocations: 132.4 kB / 389.4 MB, free: 7.727 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.522e-05/0.5784, allocations: 39.08 kB / 389.5 MB, free: 7.707 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000124/0.5786, allocations: 39.08 kB / 389.5 MB, free: 7.691 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.5786, allocations: 4.062 kB / 389.5 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.001e-06/0.5786, allocations: 3.875 kB / 389.5 MB, free: 7.688 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.727e-06/0.5786, allocations: 6.75 kB / 389.5 MB, free: 7.684 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008733/0.5795, allocations: 0.564 MB / 390.1 MB, free: 7.367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.649e-06/0.5795, allocations: 0 / 390.1 MB, free: 7.367 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000339/0.5799, allocations: 34.23 kB / 390.1 MB, free: 7.363 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003555/0.5803, allocations: 78.92 kB / 390.2 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.741e-05/0.5803, allocations: 7.625 kB / 390.2 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002273/0.5826, allocations: 1.782 MB / 392 MB, free: 21.99 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.375e-06/0.5827, allocations: 0 / 392 MB, free: 21.99 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001245/0.5839, allocations: 499.1 kB / 392.5 MB, free: 21.85 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000213/0.5841, allocations: 130.1 kB / 392.6 MB, free: 21.73 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.441e-05/0.5842, allocations: 12.61 kB / 392.6 MB, free: 21.73 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003164/0.5846, allocations: 22.72 kB / 392.6 MB, free: 21.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001089/0.5847, allocations: 22.05 kB / 392.7 MB, free: 21.73 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.227e-05/0.5847, allocations: 16.77 kB / 392.7 MB, free: 21.72 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0002939/0.585, allocations: 213.2 kB / 392.9 MB, free: 21.63 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.01e-07/0.585, allocations: 0 / 392.9 MB, free: 21.63 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000678/0.5857, allocations: 112.3 kB / 393 MB, free: 21.62 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.001649/0.5874, allocations: 1.107 MB / 394.1 MB, free: 20.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009532/0.5884, allocations: 393.3 kB / 394.5 MB, free: 20.73 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 4.738e-06/0.5884, allocations: 0 / 394.5 MB, free: 20.73 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005003/0.5889, allocations: 258.1 kB / 394.7 MB, free: 20.61 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000509/0.5895, allocations: 51.58 kB / 394.8 MB, free: 20.61 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00178/0.5913, allocations: 0.5724 MB / 395.4 MB, free: 20.35 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005261/0.5918, allocations: 0.8152 MB / 396.2 MB, free: 19.64 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0004222/0.5923, allocations: 35.17 kB / 396.2 MB, free: 19.64 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007536/0.5931, allocations: 122.2 kB / 396.3 MB, free: 19.63 MB / 330.7 MB Notification: Performance of SimCode: time 2.995e-06/0.5931, allocations: 0 / 396.3 MB, free: 19.63 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03348/0.6266, allocations: 7.377 MB / 403.7 MB, free: 18.88 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001945/0.6269, allocations: 224.1 kB / 403.9 MB, free: 18.59 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.729/3.356, allocations: 0 / 403.9 MB, free: 18.59 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat