Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierBridge2Pulse_DiodeBridge2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.061/2.061, allocations: 194.9 MB / 208.4 MB, free: 3.25 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.629e-05/3.678e-05, allocations: 0 / 255.5 MB, free: 3.082 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09418/0.09426, allocations: 44.5 MB / 300 MB, free: 6.52 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4139/0.5082, allocations: 76.2 MB / 376.2 MB, free: 12.47 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003138/0.5086, allocations: 87.78 kB / 376.3 MB, free: 12.47 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02995/0.5385, allocations: 6.99 MB / 383.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.054e-06/0.5386, allocations: 0 / 383.2 MB, free: 11.56 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.468e-05/0.5386, allocations: 9.719 kB / 383.3 MB, free: 11.56 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.001519/0.5402, allocations: 0.6497 MB / 383.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.162e-05/0.5402, allocations: 9.688 kB / 383.9 MB, free: 11.09 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000154/0.5404, allocations: 80.42 kB / 384 MB, free: 11.05 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001814/0.5406, allocations: 54.89 kB / 384 MB, free: 11.02 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007845/0.5414, allocations: 359.8 kB / 384.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.922e-05/0.5415, allocations: 33.44 kB / 384.4 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001002/0.5416, allocations: 45.53 kB / 384.5 MB, free: 10.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001059/0.5426, allocations: 425.1 kB / 384.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.894e-05/0.5427, allocations: 1.375 kB / 384.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.976e-05/0.5428, allocations: 24.23 kB / 384.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/0.5428, allocations: 9.625 kB / 384.9 MB, free: 10.67 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008295/0.5436, allocations: 293.5 kB / 385.2 MB, free: 10.66 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003679/0.5473, allocations: 1.852 MB / 387.1 MB, free: 9.707 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001065/0.5485, allocations: 0.5981 MB / 387.7 MB, free: 9.383 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008804/0.5494, allocations: 269.5 kB / 387.9 MB, free: 9.371 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.236e-05/0.5494, allocations: 4.266 kB / 387.9 MB, free: 9.371 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000649/0.5501, allocations: 254.1 kB / 388.2 MB, free: 9.301 MB / 314.7 MB Notification: Performance of pre-optimization done (n=43): time 3.446e-06/0.5501, allocations: 1.281 kB / 388.2 MB, free: 9.301 MB / 314.7 MB Notification: Performance of matching and sorting (n=43): time 0.001362/0.5515, allocations: 449.5 kB / 388.6 MB, free: 9.219 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.5516, allocations: 91.17 kB / 388.7 MB, free: 9.121 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004263/0.552, allocations: 275.2 kB / 389 MB, free: 9.02 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.061e-05/0.5521, allocations: 39.84 kB / 389 MB, free: 8.988 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001541/0.5523, allocations: 259.2 kB / 389.3 MB, free: 8.789 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001208/0.5524, allocations: 138.7 kB / 389.4 MB, free: 8.703 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.137e-05/0.5524, allocations: 7 kB / 389.4 MB, free: 8.703 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.219e-05/0.5525, allocations: 329.4 kB / 389.7 MB, free: 8.391 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002841/0.5528, allocations: 110.2 kB / 389.8 MB, free: 8.391 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003507/0.5532, allocations: 227.7 kB / 390.1 MB, free: 8.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003531/0.5535, allocations: 140.1 kB / 390.2 MB, free: 8.23 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.22e-06/0.5536, allocations: 0 / 390.2 MB, free: 8.23 MB / 314.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.001153/0.5547, allocations: 470.9 kB / 390.7 MB, free: 8.148 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.59e-05/0.5548, allocations: 7.719 kB / 390.7 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.23e-05/0.5548, allocations: 3.906 kB / 390.7 MB, free: 8.148 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006855/0.5555, allocations: 141.2 kB / 390.8 MB, free: 8.141 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004273/0.5559, allocations: 68.44 kB / 390.9 MB, free: 8.133 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00347/0.5594, allocations: 2.294 MB / 393.2 MB, free: 6.715 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005233/0.56, allocations: 44.25 kB / 393.2 MB, free: 6.695 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.292e-05/0.56, allocations: 21.06 kB / 393.2 MB, free: 6.695 MB / 314.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.0001721/0.5602, allocations: 144.6 kB / 393.4 MB, free: 6.574 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.866e-05/0.5603, allocations: 38.91 kB / 393.4 MB, free: 6.555 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001408/0.5605, allocations: 45.31 kB / 393.5 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.095e-06/0.5605, allocations: 3.781 kB / 393.5 MB, free: 6.547 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.363e-06/0.5605, allocations: 7.891 kB / 393.5 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.079e-05/0.5605, allocations: 2.062 kB / 393.5 MB, free: 6.539 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002012/0.5626, allocations: 1.005 MB / 394.5 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.661e-06/0.5626, allocations: 0 / 394.5 MB, free: 6.191 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003256/0.563, allocations: 43.08 kB / 394.5 MB, free: 6.188 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005997/0.5636, allocations: 139.7 kB / 394.6 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/0.5636, allocations: 10.19 kB / 394.7 MB, free: 6.176 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003615/0.5673, allocations: 2.29 MB / 396.9 MB, free: 20.79 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5673, allocations: 7.953 kB / 397 MB, free: 20.78 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00148/0.5688, allocations: 0.6871 MB / 397.6 MB, free: 20.58 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002591/0.5691, allocations: 158.1 kB / 397.8 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.762e-05/0.5692, allocations: 7.75 kB / 397.8 MB, free: 20.46 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004264/0.5696, allocations: 22.14 kB / 397.8 MB, free: 20.45 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001417/0.5698, allocations: 35.2 kB / 397.9 MB, free: 20.45 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.174e-05/0.5698, allocations: 14.47 kB / 397.9 MB, free: 20.45 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.000319/0.5702, allocations: 216.6 kB / 398.1 MB, free: 20.37 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.42e-07/0.5702, allocations: 0 / 398.1 MB, free: 20.37 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0008703/0.5711, allocations: 147.5 kB / 398.2 MB, free: 20.35 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.001867/0.5729, allocations: 1.336 MB / 399.6 MB, free: 19.54 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.001226/0.5742, allocations: 0.4883 MB / 400.1 MB, free: 19.39 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.16e-06/0.5742, allocations: 0 / 400.1 MB, free: 19.39 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00072/0.575, allocations: 352.4 kB / 400.4 MB, free: 19.26 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006649/0.5757, allocations: 74.89 kB / 400.5 MB, free: 19.25 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002395/0.5781, allocations: 0.7164 MB / 401.2 MB, free: 18.95 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004692/0.5786, allocations: 0.8401 MB / 402 MB, free: 18.25 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002654/0.5789, allocations: 137.1 kB / 402.2 MB, free: 18.24 MB / 330.7 MB Notification: Performance of SimCode: time 8.82e-07/0.5789, allocations: 0 / 402.2 MB, free: 18.24 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.898/3.477, allocations: 8.504 MB / 410.7 MB, free: 16.59 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierBridge2Pulse.DiodeBridge2Pulse_res.mat does not exist to compare? outputFormat=mat