Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.105/2.105, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.237e-05/3.257e-05, allocations: 4 kB / 269.5 MB, free: 6.289 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1191/0.1192, allocations: 47.57 MB / 317 MB, free: 6.633 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4897/0.6089, allocations: 80.73 MB / 397.8 MB, free: 6.934 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004115/0.6094, allocations: 83.33 kB / 397.9 MB, free: 6.887 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04439/0.6538, allocations: 7.06 MB / 404.9 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.6539, allocations: 0 / 404.9 MB, free: 0.8906 MB / 314.7 MB Notification: Performance of Transformations before backend: time 4.512e-05/0.6539, allocations: 8 kB / 404.9 MB, free: 0.8828 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: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.002364/0.6563, allocations: 0.6448 MB / 405.6 MB, free: 228 kB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.239e-05/0.6564, allocations: 12.03 kB / 405.6 MB, free: 216 kB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002027/0.6566, allocations: 79.25 kB / 405.7 MB, free: 152 kB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000231/0.6569, allocations: 55.34 kB / 405.7 MB, free: 96 kB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001183/0.6581, allocations: 351.1 kB / 406.1 MB, free: 15.76 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.62e-05/0.6582, allocations: 39.38 kB / 406.1 MB, free: 15.73 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001621/0.6584, allocations: 49.12 kB / 406.1 MB, free: 15.7 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00171/0.6601, allocations: 422.2 kB / 406.5 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.568e-05/0.6602, allocations: 3.438 kB / 406.6 MB, free: 15.39 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001028/0.6603, allocations: 22.3 kB / 406.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.956e-05/0.6604, allocations: 8 kB / 406.6 MB, free: 15.38 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00137/0.6618, allocations: 288.8 kB / 406.9 MB, free: 15.2 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.005981/0.6678, allocations: 1.856 MB / 408.7 MB, free: 13.6 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0017/0.6695, allocations: 0.5882 MB / 409.3 MB, free: 13.1 MB / 330.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001392/0.6709, allocations: 274.5 kB / 409.6 MB, free: 12.9 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.198e-05/0.671, allocations: 8.328 kB / 409.6 MB, free: 12.89 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009988/0.672, allocations: 264.7 kB / 409.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of pre-optimization done (n=43): time 4.669e-06/0.6721, allocations: 0 / 409.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of matching and sorting (n=43): time 0.002226/0.6743, allocations: 439.7 kB / 410.3 MB, free: 12.36 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.722e-05/0.6744, allocations: 85.06 kB / 410.4 MB, free: 12.26 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006821/0.6751, allocations: 283.8 kB / 410.6 MB, free: 12.02 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 9.647e-05/0.6753, allocations: 37.58 kB / 410.7 MB, free: 11.99 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000265/0.6756, allocations: 214.6 kB / 410.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002231/0.6758, allocations: 129.4 kB / 411 MB, free: 11.71 MB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.229e-05/0.6759, allocations: 11.5 kB / 411 MB, free: 11.7 MB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.0002161/0.6761, allocations: 346.2 kB / 411.4 MB, free: 11.37 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005083/0.6766, allocations: 111.1 kB / 411.5 MB, free: 11.31 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006776/0.6773, allocations: 232.3 kB / 411.7 MB, free: 11.08 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005917/0.678, allocations: 129.8 kB / 411.8 MB, free: 10.99 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.107e-05/0.678, allocations: 4 kB / 411.8 MB, free: 10.99 MB / 330.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.00204/0.68, allocations: 487.5 kB / 412.3 MB, free: 10.63 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.443e-05/0.6801, allocations: 8 kB / 412.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.619e-05/0.6801, allocations: 0 / 412.3 MB, free: 10.62 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00115/0.6813, allocations: 162.6 kB / 412.5 MB, free: 10.5 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007157/0.6821, allocations: 59.91 kB / 412.5 MB, free: 10.45 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006384/0.6885, allocations: 2.31 MB / 414.8 MB, free: 8.43 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007646/0.6893, allocations: 39.03 kB / 414.9 MB, free: 8.398 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.318e-05/0.6894, allocations: 19.88 kB / 414.9 MB, free: 8.383 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: 13 ($PRE.meanVoltage.y,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (39): * Single equations (assignments): 38 * 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 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0002804/0.6897, allocations: 135.3 kB / 415 MB, free: 8.258 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.6899, allocations: 43.53 kB / 415.1 MB, free: 8.215 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001988/0.6901, allocations: 45.27 kB / 415.1 MB, free: 8.195 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.305e-05/0.6901, allocations: 4 kB / 415.1 MB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.6901, allocations: 0 / 415.1 MB, free: 8.191 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.512e-05/0.6902, allocations: 3.984 kB / 415.1 MB, free: 8.188 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003445/0.6936, allocations: 0.9962 MB / 416.1 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.504e-06/0.6937, allocations: 0 / 416.1 MB, free: 7.387 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005504/0.6942, allocations: 39.61 kB / 416.2 MB, free: 7.352 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001099/0.6954, allocations: 144 kB / 416.3 MB, free: 7.246 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.963e-05/0.6955, allocations: 17.17 kB / 416.3 MB, free: 7.234 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006037/0.7015, allocations: 2.297 MB / 418.6 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.278e-06/0.7016, allocations: 0 / 418.6 MB, free: 5.246 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002579/0.7042, allocations: 0.7063 MB / 419.3 MB, free: 4.711 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004063/0.7046, allocations: 152.5 kB / 419.5 MB, free: 4.562 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000134/0.7048, allocations: 10.88 kB / 419.5 MB, free: 4.559 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005991/0.7054, allocations: 7.438 kB / 419.5 MB, free: 4.555 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001994/0.7056, allocations: 43.02 kB / 419.5 MB, free: 4.52 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.323e-05/0.7057, allocations: 16 kB / 419.5 MB, free: 4.504 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0005223/0.7063, allocations: 216.7 kB / 419.7 MB, free: 4.34 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.31e-07/0.7063, allocations: 0 / 419.7 MB, free: 4.34 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.001382/0.7077, allocations: 142.6 kB / 419.9 MB, free: 4.215 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.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 (26): * Single equations (assignments): 22 * 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 {4 14} Notification: Performance of Backend phase and start with SimCode phase: time 0.003148/0.7108, allocations: 1.32 MB / 421.2 MB, free: 3.07 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001948/0.7128, allocations: 498.7 kB / 421.7 MB, free: 2.699 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 1.071e-05/0.7129, allocations: 8.312 kB / 421.7 MB, free: 2.691 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001151/0.7141, allocations: 352.4 kB / 422 MB, free: 2.414 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009909/0.7151, allocations: 72.45 kB / 422.1 MB, free: 2.363 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00377/0.7189, allocations: 0.6839 MB / 422.8 MB, free: 1.73 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007662/0.7197, allocations: 0.8321 MB / 423.6 MB, free: 0.8711 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0003863/0.7201, allocations: 39.67 kB / 423.7 MB, free: 0.8281 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003538/0.7205, allocations: 142.5 kB / 423.8 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of SimCode: time 1.803e-06/0.7205, allocations: 0 / 423.8 MB, free: 0.7852 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0474/0.7679, allocations: 9.563 MB / 433.4 MB, free: 7.312 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003735/0.7684, allocations: 227.8 kB / 433.6 MB, free: 7.082 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.908/3.676, allocations: 3.938 kB / 433.6 MB, free: 7.078 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat