Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.098/2.098, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.948e-05/4.969e-05, allocations: 4 kB / 269.5 MB, free: 6.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1121, allocations: 47.57 MB / 317 MB, free: 6.637 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4345/0.5467, allocations: 80.45 MB / 397.5 MB, free: 7.547 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003392/0.5471, allocations: 78.83 kB / 397.6 MB, free: 7.504 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02892/0.576, allocations: 6.221 MB / 403.8 MB, free: 2.223 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.5761, allocations: 0 / 403.8 MB, free: 2.223 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.501e-05/0.5761, allocations: 12 kB / 403.8 MB, free: 2.211 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.001626/0.5777, allocations: 0.6131 MB / 404.4 MB, free: 1.586 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.364e-05/0.5778, allocations: 8.031 kB / 404.4 MB, free: 1.578 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001666/0.578, allocations: 68.91 kB / 404.5 MB, free: 1.52 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001569/0.5782, allocations: 47.78 kB / 404.5 MB, free: 1.473 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007828/0.579, allocations: 337.3 kB / 404.9 MB, free: 1.145 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.832e-05/0.579, allocations: 28.09 kB / 404.9 MB, free: 1.129 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001003/0.5791, allocations: 35.44 kB / 404.9 MB, free: 1.105 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009211/0.5801, allocations: 354 kB / 405.3 MB, free: 0.8516 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.5801, allocations: 11.86 kB / 405.3 MB, free: 0.8398 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.794e-05/0.5802, allocations: 19.56 kB / 405.3 MB, free: 0.832 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.603e-05/0.5802, allocations: 8 kB / 405.3 MB, free: 0.8242 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006659/0.5809, allocations: 222.3 kB / 405.5 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003426/0.5844, allocations: 1.491 MB / 407 MB, free: 15.36 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005878/0.585, allocations: 227.5 kB / 407.2 MB, free: 15.21 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004998/0.5855, allocations: 156.2 kB / 407.4 MB, free: 15.1 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.621e-05/0.5856, allocations: 8.219 kB / 407.4 MB, free: 15.09 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005431/0.5861, allocations: 225.4 kB / 407.6 MB, free: 14.9 MB / 330.7 MB Notification: Performance of pre-optimization done (n=31): time 3.777e-06/0.5862, allocations: 0 / 407.6 MB, free: 14.9 MB / 330.7 MB Notification: Performance of matching and sorting (n=31): time 0.001298/0.5875, allocations: 320 kB / 407.9 MB, free: 14.65 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001398/0.5877, allocations: 110.8 kB / 408 MB, free: 14.52 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.5895, allocations: 261.4 kB / 408.3 MB, free: 14.3 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001505/0.5898, allocations: 36.52 kB / 408.3 MB, free: 14.26 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003042/0.5901, allocations: 208 kB / 408.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.5903, allocations: 96.02 kB / 408.6 MB, free: 14.01 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.036e-05/0.5904, allocations: 6.25 kB / 408.6 MB, free: 14.01 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002837/0.5907, allocations: 344.2 kB / 409 MB, free: 13.68 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003928/0.5911, allocations: 78.25 kB / 409 MB, free: 13.63 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005469/0.5917, allocations: 193 kB / 409.2 MB, free: 13.43 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004625/0.5922, allocations: 108.8 kB / 409.3 MB, free: 13.35 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.5922, allocations: 0 / 409.3 MB, free: 13.35 MB / 330.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001683/0.5939, allocations: 374.3 kB / 409.7 MB, free: 13.06 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.594, allocations: 4 kB / 409.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.733e-05/0.594, allocations: 4 kB / 409.7 MB, free: 13.05 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006818/0.5947, allocations: 79.94 kB / 409.8 MB, free: 12.99 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006316/0.5954, allocations: 62.72 kB / 409.8 MB, free: 12.93 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006336/0.6018, allocations: 1.792 MB / 411.6 MB, free: 11.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007733/0.6026, allocations: 38.86 kB / 411.7 MB, free: 11.18 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.405e-05/0.6027, allocations: 19 kB / 411.7 MB, free: 11.17 MB / 330.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.0002775/0.603, allocations: 126.5 kB / 411.8 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001878/0.6032, allocations: 39.69 kB / 411.9 MB, free: 11.01 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001869/0.6035, allocations: 34.47 kB / 411.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.499e-05/0.6035, allocations: 4 kB / 411.9 MB, free: 10.99 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.458e-05/0.6035, allocations: 7.953 kB / 411.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.6035, allocations: 3.984 kB / 411.9 MB, free: 10.98 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001268/0.6048, allocations: 0.5615 MB / 412.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.22e-06/0.6049, allocations: 0 / 412.5 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003892/0.6053, allocations: 31.97 kB / 412.5 MB, free: 10.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004294/0.6057, allocations: 80.05 kB / 412.6 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.389e-05/0.6058, allocations: 15.25 kB / 412.6 MB, free: 10.36 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002826/0.6086, allocations: 1.787 MB / 414.4 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.6087, allocations: 0 / 414.4 MB, free: 8.66 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001407/0.6101, allocations: 484.3 kB / 414.9 MB, free: 8.285 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002542/0.6104, allocations: 133.7 kB / 415 MB, free: 8.148 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.279e-05/0.6105, allocations: 6.812 kB / 415 MB, free: 8.145 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003723/0.6109, allocations: 22.42 kB / 415 MB, free: 8.129 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000129/0.611, allocations: 23.66 kB / 415 MB, free: 8.109 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.925e-05/0.6111, allocations: 12.08 kB / 415 MB, free: 8.098 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000472/0.6116, allocations: 210 kB / 415.2 MB, free: 7.934 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.12e-07/0.6116, allocations: 0 / 415.2 MB, free: 7.934 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001478/0.6131, allocations: 117.9 kB / 415.4 MB, free: 7.828 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.003132/0.6163, allocations: 1.112 MB / 416.5 MB, free: 6.816 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001684/0.6181, allocations: 369.8 kB / 416.8 MB, free: 6.523 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.057e-05/0.6181, allocations: 0 / 416.8 MB, free: 6.523 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001086/0.6192, allocations: 262.6 kB / 417.1 MB, free: 6.305 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008453/0.6201, allocations: 49.58 kB / 417.1 MB, free: 6.273 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004482/0.6247, allocations: 0.5567 MB / 417.7 MB, free: 5.746 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005453/0.6253, allocations: 0.8145 MB / 418.5 MB, free: 4.902 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0002842/0.6256, allocations: 30.97 kB / 418.5 MB, free: 4.875 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002285/0.6258, allocations: 123.3 kB / 418.7 MB, free: 4.84 MB / 330.7 MB Notification: Performance of SimCode: time 1.643e-06/0.6258, allocations: 0 / 418.7 MB, free: 4.84 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0386/0.6645, allocations: 7.355 MB / 426 MB, free: 13.58 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003765/0.6649, allocations: 226.3 kB / 426.2 MB, free: 13.32 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.741/3.406, allocations: 0 / 426.2 MB, free: 13.32 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat