Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.93/1.93, allocations: 194.9 MB / 208 MB, free: 3.246 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.29e-05/3.298e-05, allocations: 4 kB / 255.5 MB, free: 2.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09543/0.09549, allocations: 44.51 MB / 300 MB, free: 6.035 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4405/0.536, allocations: 78.57 MB / 378.6 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003445/0.5364, allocations: 86.58 kB / 378.7 MB, free: 12.38 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08173/0.6182, allocations: 20.98 MB / 399.6 MB, free: 9.227 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.254e-06/0.6182, allocations: 3.938 kB / 399.6 MB, free: 9.223 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001108/0.6183, allocations: 31.16 kB / 399.7 MB, free: 9.219 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: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004324/0.6227, allocations: 1.367 MB / 401 MB, free: 8.328 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.37e-05/0.6228, allocations: 11.66 kB / 401 MB, free: 8.328 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004833/0.6232, allocations: 158.7 kB / 401.2 MB, free: 8.262 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004613/0.6237, allocations: 158.3 kB / 401.4 MB, free: 8.18 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002543/0.6263, allocations: 0.9501 MB / 402.3 MB, free: 7.727 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.233e-05/0.6264, allocations: 75.31 kB / 402.4 MB, free: 7.723 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/0.6266, allocations: 99.25 kB / 402.5 MB, free: 7.723 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003684/0.6303, allocations: 1.47 MB / 403.9 MB, free: 7.293 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.718e-05/0.6304, allocations: 0 / 403.9 MB, free: 7.293 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001708/0.6306, allocations: 50.14 kB / 404 MB, free: 7.289 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.376e-05/0.6307, allocations: 48.3 kB / 404 MB, free: 7.281 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003116/0.6338, allocations: 1.268 MB / 405.3 MB, free: 7.125 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01125/0.6451, allocations: 4.978 MB / 410.3 MB, free: 4.621 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002194/0.6474, allocations: 1.403 MB / 411.7 MB, free: 3.914 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.6491, allocations: 0.6874 MB / 412.4 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.324e-05/0.6492, allocations: 4.375 kB / 412.4 MB, free: 3.82 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001268/0.6505, allocations: 0.577 MB / 413 MB, free: 3.617 MB / 314.7 MB Notification: Performance of pre-optimization done (n=72): time 3.737e-06/0.6505, allocations: 3.906 kB / 413 MB, free: 3.617 MB / 314.7 MB Notification: Performance of matching and sorting (n=72): time 0.002952/0.6534, allocations: 1.187 MB / 414.2 MB, free: 3.328 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.6535, allocations: 85.64 kB / 414.2 MB, free: 3.23 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.6553, allocations: 0.8292 MB / 415.1 MB, free: 3.004 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002004/0.6555, allocations: 39.83 kB / 415.1 MB, free: 2.973 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005235/0.656, allocations: 0.519 MB / 415.6 MB, free: 2.684 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002886/0.6563, allocations: 230.9 kB / 415.8 MB, free: 2.523 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.178e-05/0.6564, allocations: 14.31 kB / 415.9 MB, free: 2.523 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 8.537e-05/0.6565, allocations: 331.6 kB / 416.2 MB, free: 2.211 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008355/0.6573, allocations: 379 kB / 416.6 MB, free: 2.164 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000901/0.6583, allocations: 0.5087 MB / 417.1 MB, free: 1.953 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008681/0.6591, allocations: 414.4 kB / 417.5 MB, free: 1.875 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.432e-06/0.6592, allocations: 4 kB / 417.5 MB, free: 1.871 MB / 314.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.002855/0.662, allocations: 1.195 MB / 418.7 MB, free: 1.594 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.876e-05/0.6621, allocations: 7.625 kB / 418.7 MB, free: 1.594 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.438e-05/0.6621, allocations: 8.219 kB / 418.7 MB, free: 1.59 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001385/0.6635, allocations: 398.3 kB / 419.1 MB, free: 1.5 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009632/0.6645, allocations: 116.7 kB / 419.2 MB, free: 1.473 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007562/0.6721, allocations: 4.121 MB / 423.3 MB, free: 15.52 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001153/0.6733, allocations: 78.2 kB / 423.4 MB, free: 15.47 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.582e-05/0.6734, allocations: 31.48 kB / 423.4 MB, free: 15.46 MB / 330.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (58): * Single equations (assignments): 57 * 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 {6 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002862/0.6737, allocations: 150.1 kB / 423.6 MB, free: 15.32 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000216/0.6739, allocations: 89.59 kB / 423.6 MB, free: 15.28 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004182/0.6744, allocations: 123.3 kB / 423.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.939e-06/0.6744, allocations: 11.75 kB / 423.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.065e-06/0.6744, allocations: 0 / 423.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.272e-05/0.6744, allocations: 3.984 kB / 423.8 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006221/0.6807, allocations: 2.534 MB / 426.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/0.6807, allocations: 3.688 kB / 426.3 MB, free: 13.6 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000837/0.6816, allocations: 93.75 kB / 426.4 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001387/0.683, allocations: 378.2 kB / 426.8 MB, free: 13.38 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001038/0.6831, allocations: 15.86 kB / 426.8 MB, free: 13.37 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007915/0.691, allocations: 4.087 MB / 430.9 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.6911, allocations: 0 / 430.9 MB, free: 10.37 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004211/0.6953, allocations: 1.857 MB / 432.7 MB, free: 9.312 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008597/0.6962, allocations: 289.4 kB / 433 MB, free: 9.082 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002052/0.6964, allocations: 15.81 kB / 433 MB, free: 9.07 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008409/0.6973, allocations: 46.58 kB / 433.1 MB, free: 9.051 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003104/0.6976, allocations: 75.31 kB / 433.2 MB, free: 9.004 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.266e-05/0.6977, allocations: 23.48 kB / 433.2 MB, free: 8.996 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.001421/0.6991, allocations: 0.6557 MB / 433.8 MB, free: 8.656 MB / 330.7 MB Notification: Performance of sort global known variables: time 5.41e-07/0.6991, allocations: 4 kB / 433.8 MB, free: 8.652 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001613/0.7008, allocations: 343.8 kB / 434.2 MB, free: 8.574 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (meanVoltage.x,rootMeanSquareVoltage.mean.x,meanCurrent.x) * Number of discrete variables: 12 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.idealDiode[1].off,rectifier.diode_p.idealDiode[2].off,rectifier.diode_p.idealDiode[3].off,rectifier.diode_n.idealDiode[1].off,rectifier.diode_n.idealDiode[2].off,rectifier.diode_n.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 (45): * Single equations (assignments): 41 * 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 {6 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.0047/0.7055, allocations: 2.433 MB / 436.6 MB, free: 6.977 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.003184/0.7087, allocations: 1.184 MB / 437.8 MB, free: 6.312 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 7.283e-06/0.7088, allocations: 3.625 kB / 437.8 MB, free: 6.312 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001939/0.7107, allocations: 0.7466 MB / 438.5 MB, free: 5.859 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001815/0.7126, allocations: 231.3 kB / 438.8 MB, free: 5.746 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009102/0.7217, allocations: 2.438 MB / 441.2 MB, free: 3.824 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001651/0.7234, allocations: 1.407 MB / 442.6 MB, free: 2.391 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009533/0.7244, allocations: 171.2 kB / 442.8 MB, free: 2.219 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008917/0.7253, allocations: 415.2 kB / 443.2 MB, free: 1.812 MB / 330.7 MB Notification: Performance of SimCode: time 1.272e-06/0.7253, allocations: 0 / 443.2 MB, free: 1.812 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09862/0.824, allocations: 25.66 MB / 468.8 MB, free: 8.188 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003996/0.8244, allocations: 228.2 kB / 469.1 MB, free: 7.879 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.455/4.28, allocations: 4.062 kB / 469.1 MB, free: 7.875 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat