Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.09/2.09, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.681e-05/3.693e-05, allocations: 7.984 kB / 292.8 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1041/0.1042, allocations: 50.4 MB / 343.2 MB, free: 5.805 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4519/0.5562, allocations: 82.27 MB / 425.4 MB, free: 11.61 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004141/0.5567, allocations: 78.02 kB / 425.5 MB, free: 11.56 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.04158/0.5983, allocations: 7.253 MB / 432.8 MB, free: 5.391 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.665e-06/0.5984, allocations: 0 / 432.8 MB, free: 5.391 MB / 346.7 MB Notification: Performance of Transformations before backend: time 7.353e-05/0.5985, allocations: 12 kB / 432.8 MB, free: 5.379 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: 103 * Number of variables: 103 Notification: Performance of Generate backend data structure: time 0.003153/0.6016, allocations: 0.65 MB / 433.4 MB, free: 4.719 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 7.27e-05/0.6018, allocations: 12.25 kB / 433.4 MB, free: 4.707 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003303/0.6021, allocations: 74.03 kB / 433.5 MB, free: 4.648 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003055/0.6024, allocations: 59.28 kB / 433.6 MB, free: 4.59 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001976/0.6044, allocations: 366 kB / 433.9 MB, free: 4.242 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.382e-05/0.6046, allocations: 30 kB / 434 MB, free: 4.227 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002162/0.6048, allocations: 41.38 kB / 434 MB, free: 4.199 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002179/0.607, allocations: 438.5 kB / 434.4 MB, free: 3.887 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.004e-05/0.6071, allocations: 3.953 kB / 434.4 MB, free: 3.883 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002357/0.6074, allocations: 22.19 kB / 434.5 MB, free: 3.875 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.057e-05/0.6075, allocations: 12 kB / 434.5 MB, free: 3.863 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001385/0.6089, allocations: 294.9 kB / 434.8 MB, free: 3.676 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007058/0.616, allocations: 1.868 MB / 436.6 MB, free: 2.062 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002072/0.6182, allocations: 0.5913 MB / 437.2 MB, free: 1.562 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001679/0.6199, allocations: 279.8 kB / 437.5 MB, free: 1.363 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.778e-05/0.62, allocations: 4.328 kB / 437.5 MB, free: 1.359 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001037/0.6211, allocations: 257.3 kB / 437.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of pre-optimization done (n=43): time 5.491e-06/0.6211, allocations: 0 / 437.7 MB, free: 1.152 MB / 346.7 MB Notification: Performance of matching and sorting (n=43): time 0.002705/0.6239, allocations: 453.7 kB / 438.2 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001054/0.624, allocations: 81.11 kB / 438.3 MB, free: 0.7188 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008732/0.6249, allocations: 272.5 kB / 438.5 MB, free: 0.4961 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001931/0.6252, allocations: 39.33 kB / 438.6 MB, free: 472 kB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005254/0.6257, allocations: 212.9 kB / 438.8 MB, free: 300 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003616/0.6261, allocations: 137 kB / 438.9 MB, free: 180 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.6262, allocations: 7.25 kB / 438.9 MB, free: 180 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002715/0.6265, allocations: 344.4 kB / 439.3 MB, free: 15.84 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005195/0.627, allocations: 115.6 kB / 439.4 MB, free: 15.78 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001031/0.6281, allocations: 231 kB / 439.6 MB, free: 15.55 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004498/0.6286, allocations: 135.7 kB / 439.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.295e-06/0.6286, allocations: 3.953 kB / 439.7 MB, free: 15.46 MB / 362.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001415/0.63, allocations: 484.8 kB / 440.2 MB, free: 15.1 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.253e-05/0.6301, allocations: 8 kB / 440.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.773e-05/0.6301, allocations: 4 kB / 440.2 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007902/0.6309, allocations: 151 kB / 440.4 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004819/0.6314, allocations: 60 kB / 440.4 MB, free: 14.92 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004149/0.6356, allocations: 2.309 MB / 442.7 MB, free: 12.91 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005175/0.6362, allocations: 47.09 kB / 442.8 MB, free: 12.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.614e-05/0.6362, allocations: 14.75 kB / 442.8 MB, free: 12.86 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: 13 ($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_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.0002103/0.6364, allocations: 138.4 kB / 442.9 MB, free: 12.73 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001075/0.6366, allocations: 39.48 kB / 443 MB, free: 12.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001566/0.6367, allocations: 47.02 kB / 443 MB, free: 12.67 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.244e-05/0.6368, allocations: 8 kB / 443 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.6368, allocations: 0 / 443 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.338e-06/0.6368, allocations: 7.984 kB / 443 MB, free: 12.66 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.6391, allocations: 1.001 MB / 444 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.011e-06/0.6392, allocations: 0 / 444 MB, free: 11.85 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003628/0.6396, allocations: 38.98 kB / 444.1 MB, free: 11.82 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006701/0.6403, allocations: 144.8 kB / 444.2 MB, free: 11.71 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.522e-05/0.6403, allocations: 11.36 kB / 444.2 MB, free: 11.7 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004106/0.6445, allocations: 2.297 MB / 446.5 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.6445, allocations: 0 / 446.5 MB, free: 9.715 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001827/0.6464, allocations: 0.687 MB / 447.2 MB, free: 9.199 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003589/0.6468, allocations: 162.2 kB / 447.4 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001059/0.6469, allocations: 3.312 kB / 447.4 MB, free: 9.043 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004152/0.6473, allocations: 27.61 kB / 447.4 MB, free: 9.023 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001508/0.6475, allocations: 35.75 kB / 447.4 MB, free: 8.992 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.403e-05/0.6476, allocations: 11.12 kB / 447.4 MB, free: 8.984 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003635/0.6479, allocations: 220.1 kB / 447.7 MB, free: 8.812 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.91e-07/0.648, allocations: 0 / 447.7 MB, free: 8.812 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0009527/0.6489, allocations: 142.1 kB / 447.8 MB, free: 8.688 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: 10 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p1.off,rectifier.diode_p2.off,rectifier.diode_n1.off,rectifier.diode_n2.off,meanVoltage.y_last,rootMeanSquareVoltage.mean.y_last,meanCurrent.y_last) * 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.002142/0.6511, allocations: 1.333 MB / 449.1 MB, free: 7.531 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001348/0.6525, allocations: 0.4945 MB / 449.6 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.22e-06/0.6525, allocations: 0 / 449.6 MB, free: 7.148 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008438/0.6534, allocations: 343.2 kB / 450 MB, free: 6.883 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006881/0.6541, allocations: 73.98 kB / 450 MB, free: 6.832 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.6568, allocations: 0.6996 MB / 450.7 MB, free: 6.18 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007281/0.6576, allocations: 0.8438 MB / 451.6 MB, free: 5.309 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0002793/0.6579, allocations: 39.48 kB / 451.6 MB, free: 5.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003119/0.6582, allocations: 139.4 kB / 451.7 MB, free: 5.133 MB / 362.7 MB Notification: Performance of SimCode: time 1.263e-06/0.6582, allocations: 0 / 451.7 MB, free: 5.133 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05348/0.7117, allocations: 9.6 MB / 461.3 MB, free: 11.74 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003628/0.7122, allocations: 221.3 kB / 461.6 MB, free: 11.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.851/3.563, allocations: 0 / 461.6 MB, free: 11.52 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat