Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2Pulse_DiodeCenterTap2Pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.297/2.297, allocations: 194.9 MB / 208.4 MB, free: 3.168 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 4.302e-05/4.304e-05, allocations: 4 kB / 255.5 MB, free: 3.074 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.106/0.1061, allocations: 44.51 MB / 300 MB, free: 6.508 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4311/0.5372, allocations: 75.21 MB / 375.2 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000356/0.5377, allocations: 82.44 kB / 375.3 MB, free: 12.45 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02793/0.5656, allocations: 6.118 MB / 381.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.285e-06/0.5657, allocations: 4.906 kB / 381.4 MB, free: 11.64 MB / 314.7 MB Notification: Performance of Transformations before backend: time 3.637e-05/0.5657, allocations: 7.562 kB / 381.4 MB, free: 11.64 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: 85 * Number of variables: 85 Notification: Performance of Generate backend data structure: time 0.001655/0.5674, allocations: 0.6119 MB / 382 MB, free: 11.19 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/0.5675, allocations: 13.22 kB / 382 MB, free: 11.19 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001722/0.5676, allocations: 73.48 kB / 382.1 MB, free: 11.14 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001892/0.5678, allocations: 47.66 kB / 382.1 MB, free: 11.12 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007819/0.5686, allocations: 333.2 kB / 382.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.723e-05/0.5687, allocations: 26.5 kB / 382.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001044/0.5688, allocations: 40.02 kB / 382.5 MB, free: 10.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001011/0.5699, allocations: 357.9 kB / 382.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.771e-05/0.5699, allocations: 1.688 kB / 382.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.04e-05/0.57, allocations: 12.56 kB / 382.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.739e-05/0.57, allocations: 12.23 kB / 382.9 MB, free: 10.8 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006617/0.5707, allocations: 227 kB / 383.1 MB, free: 10.79 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003339/0.5741, allocations: 1.489 MB / 384.6 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000598/0.5747, allocations: 221.6 kB / 384.8 MB, free: 9.984 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004844/0.5752, allocations: 149.5 kB / 385 MB, free: 9.977 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.38e-05/0.5753, allocations: 12.09 kB / 385 MB, free: 9.969 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005259/0.5758, allocations: 206.5 kB / 385.2 MB, free: 9.895 MB / 314.7 MB Notification: Performance of pre-optimization done (n=31): time 3.456e-06/0.5758, allocations: 0 / 385.2 MB, free: 9.895 MB / 314.7 MB Notification: Performance of matching and sorting (n=31): time 0.00123/0.5771, allocations: 321.6 kB / 385.5 MB, free: 9.824 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.566e-05/0.5772, allocations: 111.4 kB / 385.6 MB, free: 9.695 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005381/0.5777, allocations: 266.5 kB / 385.9 MB, free: 9.586 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.554e-05/0.5779, allocations: 31.95 kB / 385.9 MB, free: 9.555 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000173/0.578, allocations: 266 kB / 386.2 MB, free: 9.355 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001063/0.5782, allocations: 95.41 kB / 386.3 MB, free: 9.297 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.648e-05/0.5782, allocations: 8.812 kB / 386.3 MB, free: 9.297 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 7.76e-05/0.5783, allocations: 327.3 kB / 386.6 MB, free: 8.98 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002462/0.5785, allocations: 79.58 kB / 386.7 MB, free: 8.977 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003197/0.5789, allocations: 197.4 kB / 386.9 MB, free: 8.828 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003157/0.5792, allocations: 107 kB / 387 MB, free: 8.812 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.404e-06/0.5792, allocations: 1.281 kB / 387 MB, free: 8.812 MB / 314.7 MB Notification: Performance of matching and sorting (n=44) (initialization): time 0.001023/0.5803, allocations: 350.9 kB / 387.3 MB, free: 8.738 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.262e-05/0.5803, allocations: 8.188 kB / 387.3 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.5804, allocations: 3.812 kB / 387.3 MB, free: 8.738 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004974/0.5809, allocations: 80.78 kB / 387.4 MB, free: 8.73 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004549/0.5813, allocations: 57.67 kB / 387.5 MB, free: 8.727 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002695/0.584, allocations: 1.795 MB / 389.2 MB, free: 7.352 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008115/0.5849, allocations: 39.19 kB / 389.3 MB, free: 7.336 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-05/0.5851, allocations: 15.06 kB / 389.3 MB, free: 7.336 MB / 314.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,meanVoltage.y,$PRE.meanCurrent.y,meanCurrent.y,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.rootMeanSquareVoltage.mean.y,rootMeanSquareVoltage.mean.y,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.0002588/0.5853, allocations: 128.4 kB / 389.4 MB, free: 7.223 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002328/0.5856, allocations: 36.95 kB / 389.5 MB, free: 7.203 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001891/0.5858, allocations: 39.78 kB / 389.5 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.5858, allocations: 7.062 kB / 389.5 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.015e-05/0.5859, allocations: 1.312 kB / 389.5 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.285e-05/0.5859, allocations: 0 / 389.5 MB, free: 7.184 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001179/0.5871, allocations: 0.5638 MB / 390.1 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/0.5872, allocations: 1.562 kB / 390.1 MB, free: 6.871 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003726/0.5875, allocations: 33.5 kB / 390.1 MB, free: 6.867 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004077/0.588, allocations: 86.95 kB / 390.2 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.759e-05/0.588, allocations: 6.375 kB / 390.2 MB, free: 6.848 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002656/0.5907, allocations: 1.787 MB / 392 MB, free: 21.48 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.5908, allocations: 0 / 392 MB, free: 21.48 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001396/0.5922, allocations: 0.4886 MB / 392.5 MB, free: 21.33 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002901/0.5925, allocations: 133.2 kB / 392.6 MB, free: 21.22 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.027e-05/0.5926, allocations: 7.812 kB / 392.6 MB, free: 21.22 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/0.5929, allocations: 18.53 kB / 392.6 MB, free: 21.22 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001205/0.5931, allocations: 28.92 kB / 392.7 MB, free: 21.21 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.408e-05/0.5931, allocations: 15 kB / 392.7 MB, free: 21.21 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.0003275/0.5935, allocations: 207.1 kB / 392.9 MB, free: 21.13 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.21e-07/0.5935, allocations: 0 / 392.9 MB, free: 21.13 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.000843/0.5943, allocations: 111.9 kB / 393 MB, free: 21.12 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: 8 ($whenCondition3,$whenCondition2,$whenCondition1,rectifier.diode_p.off,rectifier.diode_n.off,meanVoltage.y,rootMeanSquareVoltage.mean.y,meanCurrent.y) * 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.001719/0.5961, allocations: 1.11 MB / 394.1 MB, free: 20.38 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0009277/0.597, allocations: 369.7 kB / 394.5 MB, free: 20.25 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 5.561e-06/0.5971, allocations: 3.906 kB / 394.5 MB, free: 20.25 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005401/0.5976, allocations: 253.8 kB / 394.7 MB, free: 20.13 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005263/0.5981, allocations: 57.11 kB / 394.8 MB, free: 20.12 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001851/0.6, allocations: 0.5991 MB / 395.4 MB, free: 19.84 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005051/0.6006, allocations: 0.8148 MB / 396.2 MB, free: 19.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002575/0.6008, allocations: 127.9 kB / 396.3 MB, free: 19.12 MB / 330.7 MB Notification: Performance of SimCode: time 1.593e-06/0.6009, allocations: 0 / 396.3 MB, free: 19.12 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.003/3.604, allocations: 7.32 MB / 403.6 MB, free: 18.63 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.RectifierCenterTap2Pulse.DiodeCenterTap2Pulse_res.mat does not exist to compare? outputFormat=mat