Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2mPulse_DiodeBridge2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.113/2.113, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.105e-05/3.11e-05, allocations: 0 / 249.7 MB, free: 14.79 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3703/0.3703, allocations: 44.49 MB / 294.2 MB, free: 14.38 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1749/0.5453, allocations: 78.6 MB / 372.8 MB, free: 3.234 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000327/0.5457, allocations: 83.94 kB / 372.9 MB, free: 3.152 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0911/0.6368, allocations: 20.16 MB / 393.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of FrontEnd: time 3.106e-06/0.6369, allocations: 0 / 393.1 MB, free: 14.83 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0002112/0.6371, allocations: 24 kB / 393.1 MB, free: 14.8 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: 248 * Number of variables: 248 Notification: Performance of Generate backend data structure: time 0.006102/0.6432, allocations: 1.286 MB / 394.4 MB, free: 13.47 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.486e-05/0.6433, allocations: 16.03 kB / 394.4 MB, free: 13.46 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009504/0.6443, allocations: 134.4 kB / 394.5 MB, free: 13.32 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007303/0.6516, allocations: 1.671 MB / 396.2 MB, free: 11.61 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.035e-05/0.6518, allocations: 39.88 kB / 396.2 MB, free: 11.57 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003091/0.6521, allocations: 56 kB / 396.3 MB, free: 11.52 MB / 346.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003353/0.6554, allocations: 1.113 MB / 397.4 MB, free: 10.4 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003686/0.6592, allocations: 1.252 MB / 398.7 MB, free: 9.09 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.988e-05/0.6593, allocations: 3.906 kB / 398.7 MB, free: 9.086 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001418/0.6594, allocations: 7.984 kB / 398.7 MB, free: 9.078 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.706e-05/0.6595, allocations: 38 kB / 398.7 MB, free: 9.039 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01135/0.6709, allocations: 4.146 MB / 402.9 MB, free: 4.812 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002842/0.6738, allocations: 1.908 MB / 404.8 MB, free: 2.676 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001439/0.6753, allocations: 0.607 MB / 405.4 MB, free: 2.07 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.675e-05/0.6754, allocations: 8.781 kB / 405.4 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00133/0.6768, allocations: 0.5474 MB / 405.9 MB, free: 1.492 MB / 346.7 MB Notification: Performance of pre-optimization done (n=75): time 5.209e-06/0.6768, allocations: 3.938 kB / 405.9 MB, free: 1.488 MB / 346.7 MB Notification: Performance of matching and sorting (n=75): time 0.003262/0.6801, allocations: 1.16 MB / 407.1 MB, free: 328 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.699e-05/0.6802, allocations: 115.5 kB / 407.2 MB, free: 188 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001503/0.6817, allocations: 0.656 MB / 407.9 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002068/0.682, allocations: 25.7 kB / 407.9 MB, free: 15.49 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005993/0.6826, allocations: 483.8 kB / 408.4 MB, free: 15.01 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004199/0.683, allocations: 232.5 kB / 408.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.769e-05/0.6831, allocations: 0 / 408.6 MB, free: 14.78 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0003394/0.6834, allocations: 394.7 kB / 409 MB, free: 14.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008829/0.6843, allocations: 361.4 kB / 409.3 MB, free: 14.03 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009764/0.6853, allocations: 0.4942 MB / 409.8 MB, free: 13.48 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009405/0.6863, allocations: 401.8 kB / 410.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.089e-05/0.6863, allocations: 4 kB / 410.2 MB, free: 13.09 MB / 362.7 MB Notification: Performance of matching and sorting (n=89) (initialization): time 0.002961/0.6893, allocations: 1.174 MB / 411.4 MB, free: 11.9 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.627e-05/0.6894, allocations: 11.95 kB / 411.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.591e-05/0.6894, allocations: 4 kB / 411.4 MB, free: 11.89 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0018/0.6912, allocations: 456.8 kB / 411.9 MB, free: 11.44 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007465/0.692, allocations: 91.83 kB / 411.9 MB, free: 11.35 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01079/0.7028, allocations: 4.968 MB / 416.9 MB, free: 6.262 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009817/0.7038, allocations: 67.41 kB / 417 MB, free: 6.195 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.089e-05/0.704, allocations: 24.05 kB / 417 MB, free: 6.172 MB / 362.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 (54): * Single equations (assignments): 53 * 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 30} Notification: Performance of prepare postOptimizeDAE: time 0.0002699/0.7042, allocations: 134.5 kB / 417.1 MB, free: 6.035 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003153/0.7074, allocations: 1.163 MB / 418.3 MB, free: 4.859 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003028/0.7077, allocations: 87.02 kB / 418.4 MB, free: 4.773 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003797/0.7081, allocations: 96.5 kB / 418.5 MB, free: 4.672 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.339e-05/0.7082, allocations: 12 kB / 418.5 MB, free: 4.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.7082, allocations: 3.938 kB / 418.5 MB, free: 4.656 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.214e-05/0.7082, allocations: 4.109 kB / 418.5 MB, free: 4.652 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007389/0.7156, allocations: 2.382 MB / 420.9 MB, free: 2.219 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.013e-06/0.7157, allocations: 0 / 420.9 MB, free: 2.219 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005729/0.7163, allocations: 63.89 kB / 420.9 MB, free: 2.156 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001669/0.7179, allocations: 452.7 kB / 421.4 MB, free: 1.711 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.924e-05/0.718, allocations: 7.891 kB / 421.4 MB, free: 1.703 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2611/0.9791, allocations: 4.929 MB / 426.3 MB, free: 101.7 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.989e-06/0.9792, allocations: 5.688 kB / 426.3 MB, free: 101.7 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003825/0.983, allocations: 1.785 MB / 428.1 MB, free: 101.6 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007636/0.9838, allocations: 268.4 kB / 428.4 MB, free: 101.4 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002101/0.9841, allocations: 4.156 kB / 428.4 MB, free: 101.4 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007429/0.9848, allocations: 33.97 kB / 428.4 MB, free: 101.4 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003449/0.9852, allocations: 75.66 kB / 428.5 MB, free: 101.4 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.282e-05/0.9853, allocations: 23.06 kB / 428.5 MB, free: 101.4 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.001013/0.9863, allocations: 0.5168 MB / 429 MB, free: 101.3 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.91e-07/0.9863, allocations: 0 / 429 MB, free: 101.3 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001711/0.988, allocations: 312.7 kB / 429.3 MB, free: 101.3 MB / 362.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 (40): * Single equations (assignments): 36 * 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 30} Notification: Performance of Backend phase and start with SimCode phase: time 0.004261/0.9923, allocations: 2.348 MB / 431.7 MB, free: 100.6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.002988/0.9954, allocations: 1.172 MB / 432.8 MB, free: 100.4 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.593e-06/0.9954, allocations: 2.812 kB / 432.8 MB, free: 100.4 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001855/0.9973, allocations: 0.755 MB / 433.6 MB, free: 100.3 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001804/0.9992, allocations: 218.7 kB / 433.8 MB, free: 100.3 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005921/1.005, allocations: 2.062 MB / 435.9 MB, free: 99.52 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00106/1.006, allocations: 1.348 MB / 437.2 MB, free: 98.71 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0007326/1.007, allocations: 137.5 kB / 437.4 MB, free: 98.7 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006541/1.008, allocations: 374.3 kB / 437.7 MB, free: 98.41 MB / 362.7 MB Notification: Performance of SimCode: time 9.32e-07/1.008, allocations: 0 / 437.7 MB, free: 98.41 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09389/1.102, allocations: 23.81 MB / 461.5 MB, free: 85.42 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003013/1.102, allocations: 195.8 kB / 461.7 MB, free: 85.22 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.392/4.494, allocations: 0 / 461.7 MB, free: 85.22 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2mPulse.DiodeBridge2mPulse_res.mat does not exist to compare? outputFormat=mat