Running command: "" <> buildModelFMU(Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_PowerConverters_Examples_ACDC_RectifierCenterTap2mPulse_DiodeCenterTap2mPulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.052/2.052, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.478e-05/3.482e-05, allocations: 7.984 kB / 269.5 MB, free: 6.285 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1045/0.1045, allocations: 47.58 MB / 317 MB, free: 6.625 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4472/0.5518, allocations: 83.94 MB / 401 MB, free: 3.719 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000335/0.5522, allocations: 90.81 kB / 401.1 MB, free: 3.668 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08977/0.642, allocations: 21.11 MB / 422.2 MB, free: 1.875 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.642, allocations: 4 kB / 422.2 MB, free: 1.871 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001217/0.6422, allocations: 31.94 kB / 422.2 MB, free: 1.844 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 264 * Number of variables: 264 Notification: Performance of Generate backend data structure: time 0.004629/0.6468, allocations: 1.373 MB / 423.6 MB, free: 0.4961 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.509e-05/0.6469, allocations: 8.031 kB / 423.6 MB, free: 500 kB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005074/0.6474, allocations: 170.3 kB / 423.8 MB, free: 384 kB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004902/0.6479, allocations: 150.2 kB / 423.9 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002673/0.6506, allocations: 0.9543 MB / 424.9 MB, free: 15.43 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.997e-05/0.6507, allocations: 72.97 kB / 424.9 MB, free: 15.39 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000253/0.651, allocations: 101.2 kB / 425 MB, free: 15.32 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003489/0.6545, allocations: 1.461 MB / 426.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.939e-05/0.6546, allocations: 0 / 426.5 MB, free: 14.29 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001661/0.6547, allocations: 50.36 kB / 426.5 MB, free: 14.27 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.369e-05/0.6548, allocations: 46.03 kB / 426.6 MB, free: 14.23 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003252/0.6581, allocations: 1.276 MB / 427.9 MB, free: 13.43 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.012/0.6701, allocations: 4.97 MB / 432.8 MB, free: 9.469 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.6727, allocations: 1.409 MB / 434.2 MB, free: 8.324 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001886/0.6746, allocations: 0.698 MB / 434.9 MB, free: 7.844 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.142e-05/0.6748, allocations: 12.12 kB / 434.9 MB, free: 7.836 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001371/0.6762, allocations: 0.5709 MB / 435.5 MB, free: 7.414 MB / 346.7 MB Notification: Performance of pre-optimization done (n=72): time 4.609e-06/0.6762, allocations: 3.938 kB / 435.5 MB, free: 7.41 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.003401/0.6796, allocations: 1.176 MB / 436.7 MB, free: 6.559 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.197e-05/0.6797, allocations: 93.45 kB / 436.8 MB, free: 6.453 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002028/0.6818, allocations: 0.8327 MB / 437.6 MB, free: 5.812 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002388/0.6821, allocations: 40.7 kB / 437.7 MB, free: 5.777 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006193/0.6827, allocations: 0.5143 MB / 438.2 MB, free: 5.418 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003511/0.6831, allocations: 232.7 kB / 438.4 MB, free: 5.219 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.464e-05/0.6832, allocations: 14.69 kB / 438.4 MB, free: 5.215 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001492/0.6833, allocations: 340.4 kB / 438.7 MB, free: 4.887 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009174/0.6842, allocations: 374 kB / 439.1 MB, free: 4.629 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001067/0.6853, allocations: 0.5012 MB / 439.6 MB, free: 4.082 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001024/0.6864, allocations: 415 kB / 440 MB, free: 3.676 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.402e-06/0.6864, allocations: 4 kB / 440 MB, free: 3.672 MB / 346.7 MB Notification: Performance of matching and sorting (n=85) (initialization): time 0.003229/0.6896, allocations: 1.198 MB / 441.2 MB, free: 2.465 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.653e-05/0.6897, allocations: 11.98 kB / 441.2 MB, free: 2.453 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.965e-05/0.6897, allocations: 7.984 kB / 441.2 MB, free: 2.445 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001566/0.6913, allocations: 383.2 kB / 441.6 MB, free: 2.07 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001087/0.6924, allocations: 123.8 kB / 441.7 MB, free: 1.949 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008647/0.7011, allocations: 4.123 MB / 445.9 MB, free: 13.69 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001161/0.7023, allocations: 87.55 kB / 445.9 MB, free: 13.61 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.646e-05/0.7025, allocations: 20 kB / 446 MB, free: 13.59 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 (58): * Single equations (assignments): 57 * 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 22} Notification: Performance of prepare postOptimizeDAE: time 0.0002918/0.7028, allocations: 158.5 kB / 446.1 MB, free: 13.42 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002155/0.703, allocations: 90.88 kB / 446.2 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003783/0.7034, allocations: 120.5 kB / 446.3 MB, free: 13.21 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.285e-05/0.7034, allocations: 8 kB / 446.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.851e-06/0.7034, allocations: 3.938 kB / 446.3 MB, free: 13.2 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.35e-05/0.7034, allocations: 11.94 kB / 446.3 MB, free: 13.19 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006319/0.7098, allocations: 2.526 MB / 448.9 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.134e-05/0.7098, allocations: 4 kB / 448.9 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009055/0.7108, allocations: 83.88 kB / 449 MB, free: 10.51 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001446/0.7122, allocations: 388.5 kB / 449.3 MB, free: 10.13 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001352/0.7124, allocations: 19.98 kB / 449.4 MB, free: 10.11 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008266/0.7207, allocations: 4.084 MB / 453.4 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.7207, allocations: 0 / 453.4 MB, free: 5.887 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006457/0.7272, allocations: 1.853 MB / 455.3 MB, free: 4.012 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001305/0.7286, allocations: 283.8 kB / 455.6 MB, free: 3.715 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004483/0.729, allocations: 15.95 kB / 455.6 MB, free: 3.699 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001645/0.7307, allocations: 51.95 kB / 455.6 MB, free: 3.648 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005814/0.7313, allocations: 76.59 kB / 455.7 MB, free: 3.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001043/0.7315, allocations: 24 kB / 455.7 MB, free: 3.551 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00246/0.7339, allocations: 0.6592 MB / 456.4 MB, free: 2.898 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.92e-07/0.734, allocations: 4 kB / 456.4 MB, free: 2.895 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002437/0.7365, allocations: 346.9 kB / 456.7 MB, free: 2.555 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 (45): * Single equations (assignments): 41 * 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 22} Notification: Performance of Backend phase and start with SimCode phase: time 0.005025/0.7415, allocations: 2.437 MB / 459.2 MB, free: 88 kB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003214/0.7448, allocations: 1.176 MB / 460.4 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 4.629e-06/0.7448, allocations: 0 / 460.4 MB, free: 14.9 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001887/0.7467, allocations: 0.7506 MB / 461.1 MB, free: 14.14 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001825/0.7486, allocations: 227.3 kB / 461.3 MB, free: 13.91 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008355/0.7569, allocations: 2.444 MB / 463.8 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00151/0.7585, allocations: 1.407 MB / 465.2 MB, free: 9.996 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0009029/0.7594, allocations: 167.2 kB / 465.3 MB, free: 9.828 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008741/0.7603, allocations: 415.3 kB / 465.7 MB, free: 9.422 MB / 378.7 MB Notification: Performance of SimCode: time 1.633e-06/0.7603, allocations: 0 / 465.7 MB, free: 9.422 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08061/0.8409, allocations: 25.66 MB / 491.4 MB, free: 15.8 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000232/0.8412, allocations: 224.5 kB / 491.6 MB, free: 15.5 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.145/3.986, allocations: 4 kB / 491.6 MB, free: 15.49 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.PowerConverters.Examples.ACDC.RectifierCenterTap2mPulse.DiodeCenterTap2mPulse_res.mat does not exist to compare? outputFormat=mat