Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.964/1.964, allocations: 225.8 MB / 238.8 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.89e-05/3.9e-05, allocations: 5.406 kB / 292.3 MB, free: 8.215 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1089, allocations: 50.41 MB / 342.7 MB, free: 5.781 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4331/0.5421, allocations: 81.96 MB / 424.6 MB, free: 11.88 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004633/0.5426, allocations: 83.69 kB / 424.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03895/0.5815, allocations: 6.425 MB / 431.1 MB, free: 6.363 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.955e-06/0.5816, allocations: 0 / 431.1 MB, free: 6.363 MB / 346.7 MB Notification: Performance of Transformations before backend: time 5.199e-05/0.5817, allocations: 8 kB / 431.1 MB, free: 6.355 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 88 * Number of variables: 88 Notification: Performance of Generate backend data structure: time 0.002449/0.5842, allocations: 0.6191 MB / 431.8 MB, free: 5.719 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.479e-05/0.5843, allocations: 8.031 kB / 431.8 MB, free: 5.711 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000281/0.5846, allocations: 71.03 kB / 431.8 MB, free: 5.652 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002544/0.5848, allocations: 51.44 kB / 431.9 MB, free: 5.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.586, allocations: 335 kB / 432.2 MB, free: 5.277 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.58e-05/0.5861, allocations: 30.41 kB / 432.2 MB, free: 5.262 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001509/0.5863, allocations: 42.27 kB / 432.3 MB, free: 5.23 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001387/0.5877, allocations: 369.5 kB / 432.6 MB, free: 4.965 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.318e-05/0.5877, allocations: 3.984 kB / 432.6 MB, free: 4.961 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.156e-05/0.5878, allocations: 16.88 kB / 432.7 MB, free: 4.957 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.008e-05/0.5879, allocations: 8 kB / 432.7 MB, free: 4.949 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009516/0.5888, allocations: 231.8 kB / 432.9 MB, free: 4.805 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004292/0.5932, allocations: 1.499 MB / 434.4 MB, free: 3.473 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008224/0.594, allocations: 229 kB / 434.6 MB, free: 3.324 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006765/0.5947, allocations: 148.4 kB / 434.8 MB, free: 3.223 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.429e-05/0.5948, allocations: 4.234 kB / 434.8 MB, free: 3.219 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007085/0.5955, allocations: 215.5 kB / 435 MB, free: 3.031 MB / 346.7 MB Notification: Performance of pre-optimization done (n=31): time 3.968e-06/0.5955, allocations: 0 / 435 MB, free: 3.031 MB / 346.7 MB Notification: Performance of matching and sorting (n=31): time 0.001564/0.5971, allocations: 318.5 kB / 435.3 MB, free: 2.785 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.884e-05/0.5972, allocations: 114.8 kB / 435.4 MB, free: 2.648 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005867/0.5979, allocations: 258.1 kB / 435.7 MB, free: 2.43 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 8.802e-05/0.598, allocations: 36.06 kB / 435.7 MB, free: 2.395 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002603/0.5982, allocations: 209.8 kB / 435.9 MB, free: 2.23 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001849/0.5984, allocations: 96.14 kB / 436 MB, free: 2.148 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.51e-05/0.5985, allocations: 7.25 kB / 436 MB, free: 2.145 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001936/0.5987, allocations: 347 kB / 436.3 MB, free: 1.812 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003516/0.5991, allocations: 75.02 kB / 436.4 MB, free: 1.766 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004872/0.5996, allocations: 201.6 kB / 436.6 MB, free: 1.551 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004622/0.6001, allocations: 100.1 kB / 436.7 MB, free: 1.484 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.108e-05/0.6001, allocations: 4 kB / 436.7 MB, free: 1.48 MB / 346.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001513/0.6016, allocations: 376.4 kB / 437.1 MB, free: 1.188 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.517e-05/0.6017, allocations: 11.94 kB / 437.1 MB, free: 1.176 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.58e-05/0.6017, allocations: 4 kB / 437.1 MB, free: 1.172 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006376/0.6024, allocations: 81.06 kB / 437.2 MB, free: 1.109 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005937/0.603, allocations: 56.16 kB / 437.2 MB, free: 1.055 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003732/0.6067, allocations: 1.797 MB / 439 MB, free: 15.34 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005466/0.6073, allocations: 39.3 kB / 439.1 MB, free: 15.31 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.852e-05/0.6074, allocations: 15.38 kB / 439.1 MB, free: 15.3 MB / 362.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_last,meanVoltage.y_last,$PRE.meanCurrent.y_last,meanCurrent.y_last,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y_last,rootMeanSquareVoltage.mean.y_last,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.0001663/0.6076, allocations: 132 kB / 439.2 MB, free: 15.18 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.818e-05/0.6077, allocations: 35.69 kB / 439.2 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.6078, allocations: 36.03 kB / 439.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.723e-06/0.6078, allocations: 4 kB / 439.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.297e-06/0.6078, allocations: 0 / 439.3 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.6078, allocations: 3.984 kB / 439.3 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009066/0.6088, allocations: 0.5643 MB / 439.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.803e-06/0.6088, allocations: 4 kB / 439.8 MB, free: 14.6 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000376/0.6092, allocations: 39.94 kB / 439.9 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004962/0.6097, allocations: 74.08 kB / 440 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.647e-05/0.6098, allocations: 7.922 kB / 440 MB, free: 14.5 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003285/0.6131, allocations: 1.794 MB / 441.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.52e-06/0.6131, allocations: 3.984 kB / 441.8 MB, free: 12.79 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001774/0.6149, allocations: 486.7 kB / 442.2 MB, free: 12.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002728/0.6152, allocations: 134.4 kB / 442.4 MB, free: 12.27 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001064/0.6153, allocations: 11.77 kB / 442.4 MB, free: 12.26 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004415/0.6158, allocations: 19.61 kB / 442.4 MB, free: 12.25 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001401/0.6159, allocations: 23.59 kB / 442.4 MB, free: 12.23 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.065e-05/0.616, allocations: 15.48 kB / 442.4 MB, free: 12.21 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0004339/0.6164, allocations: 205.9 kB / 442.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.81e-07/0.6165, allocations: 0 / 442.6 MB, free: 12.06 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001091/0.6176, allocations: 121.5 kB / 442.8 MB, free: 11.95 MB / 362.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_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.002234/0.6198, allocations: 1.115 MB / 443.9 MB, free: 10.93 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001228/0.6211, allocations: 372 kB / 444.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.6211, allocations: 4 kB / 444.2 MB, free: 10.64 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0007134/0.6218, allocations: 259.1 kB / 444.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005928/0.6224, allocations: 50.95 kB / 444.5 MB, free: 10.39 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002595/0.6251, allocations: 0.572 MB / 445.1 MB, free: 9.848 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005824/0.6257, allocations: 0.8184 MB / 445.9 MB, free: 9 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0003479/0.6261, allocations: 35.23 kB / 446 MB, free: 8.965 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000299/0.6264, allocations: 125.3 kB / 446.1 MB, free: 8.93 MB / 362.7 MB Notification: Performance of SimCode: time 1.363e-06/0.6264, allocations: 4 kB / 446.1 MB, free: 8.926 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.044/0.6704, allocations: 7.353 MB / 453.4 MB, free: 1.77 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003217/0.6708, allocations: 223.8 kB / 453.7 MB, free: 1.48 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.731/3.402, allocations: 3.375 kB / 453.7 MB, free: 1.48 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat