Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_2_cpp_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.037/2.037, allocations: 195 MB / 203.2 MB, free: 13.8 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.174e-05/3.203e-05, allocations: 0 / 249.7 MB, free: 15.2 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3443/0.3443, allocations: 44.49 MB / 294.2 MB, free: 14.2 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.142/0.4864, allocations: 75.53 MB / 369.7 MB, free: 6.363 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003029/0.4868, allocations: 79.94 kB / 369.8 MB, free: 6.285 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07381/0.5606, allocations: 16.2 MB / 386 MB, free: 5.938 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.284e-06/0.5607, allocations: 0 / 386 MB, free: 5.938 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001163/0.5608, allocations: 20 kB / 386 MB, free: 5.918 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: 218 * Number of variables: 218 Notification: Performance of Generate backend data structure: time 0.004211/0.565, allocations: 1.157 MB / 387.2 MB, free: 4.715 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.035e-05/0.5651, allocations: 8.031 kB / 387.2 MB, free: 4.707 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000624/0.5657, allocations: 118.6 kB / 387.3 MB, free: 4.59 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002341/0.5681, allocations: 0.7206 MB / 388 MB, free: 3.828 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.299e-05/0.5682, allocations: 28 kB / 388 MB, free: 3.801 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003393/0.5686, allocations: 52 kB / 388.1 MB, free: 3.75 MB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003265/0.5719, allocations: 0.9644 MB / 389.1 MB, free: 2.785 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003419/0.5753, allocations: 1.053 MB / 390.1 MB, free: 1.684 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.838e-05/0.5754, allocations: 7.922 kB / 390.1 MB, free: 1.676 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001335/0.5756, allocations: 4 kB / 390.1 MB, free: 1.672 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.76e-05/0.5756, allocations: 20 kB / 390.1 MB, free: 1.652 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01067/0.5863, allocations: 3.6 MB / 393.7 MB, free: 13.98 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/0.5895, allocations: 1.915 MB / 395.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001655/0.5912, allocations: 0.6341 MB / 396.3 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.919e-05/0.5913, allocations: 8.781 kB / 396.3 MB, free: 11.18 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.962e-05/0.5914, allocations: 43.34 kB / 396.3 MB, free: 11.13 MB / 346.7 MB Notification: Performance of pre-optimization done (n=71): time 3.937e-06/0.5914, allocations: 0 / 396.3 MB, free: 11.13 MB / 346.7 MB Notification: Performance of matching and sorting (n=72): time 0.005923/0.5973, allocations: 2.081 MB / 398.4 MB, free: 8.984 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.528e-05/0.5975, allocations: 60.19 kB / 398.5 MB, free: 8.91 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001251/0.5987, allocations: 0.553 MB / 399 MB, free: 8.352 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001771/0.5989, allocations: 25.7 kB / 399.1 MB, free: 8.32 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003905/0.5993, allocations: 430.5 kB / 399.5 MB, free: 7.895 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003999/0.5998, allocations: 240.5 kB / 399.7 MB, free: 7.656 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.848e-05/0.5998, allocations: 0 / 399.7 MB, free: 7.656 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001632/0.6, allocations: 334.8 kB / 400 MB, free: 7.32 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00081/0.6008, allocations: 333.3 kB / 400.4 MB, free: 6.996 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008571/0.6017, allocations: 377.4 kB / 400.7 MB, free: 6.617 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00086/0.6026, allocations: 364.3 kB / 401.1 MB, free: 6.266 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.809e-06/0.6026, allocations: 0 / 401.1 MB, free: 6.266 MB / 346.7 MB Notification: Performance of matching and sorting (n=79) (initialization): time 0.002911/0.6056, allocations: 1.053 MB / 402.2 MB, free: 5.191 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.304e-05/0.6056, allocations: 7.984 kB / 402.2 MB, free: 5.184 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.436e-05/0.6057, allocations: 8.062 kB / 402.2 MB, free: 5.176 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00182/0.6075, allocations: 439 kB / 402.6 MB, free: 4.734 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008432/0.6084, allocations: 99.88 kB / 402.7 MB, free: 4.637 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01321/0.6216, allocations: 8.161 MB / 410.9 MB, free: 12.01 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008056/0.6225, allocations: 24.22 kB / 410.9 MB, free: 11.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001238/0.6227, allocations: 24 kB / 410.9 MB, free: 11.96 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 42 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0002599/0.6229, allocations: 124.7 kB / 411 MB, free: 11.83 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002837/0.6258, allocations: 1.045 MB / 412.1 MB, free: 10.77 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00033/0.6262, allocations: 71.16 kB / 412.1 MB, free: 10.7 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003282/0.6265, allocations: 98.86 kB / 412.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.187e-05/0.6265, allocations: 4 kB / 412.2 MB, free: 10.6 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.373e-05/0.6266, allocations: 4.562 kB / 412.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.6266, allocations: 3.984 kB / 412.2 MB, free: 10.59 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006756/0.6334, allocations: 2.274 MB / 414.5 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.161e-05/0.6334, allocations: 0 / 414.5 MB, free: 8.254 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007791/0.6342, allocations: 87.88 kB / 414.6 MB, free: 8.168 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001762/0.636, allocations: 447 kB / 415 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001355/0.6362, allocations: 0 / 415 MB, free: 7.719 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.2753/0.9115, allocations: 8.085 MB / 423.1 MB, free: 103 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.965e-06/0.9115, allocations: 1.125 kB / 423.1 MB, free: 103 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004587/0.9161, allocations: 1.747 MB / 424.9 MB, free: 102.8 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0007373/0.9169, allocations: 232.2 kB / 425.1 MB, free: 102.7 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000242/0.9172, allocations: 3.094 kB / 425.1 MB, free: 102.7 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007375/0.918, allocations: 26.36 kB / 425.1 MB, free: 102.7 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003331/0.9183, allocations: 75.75 kB / 425.2 MB, free: 102.7 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.779e-05/0.9184, allocations: 24.73 kB / 425.2 MB, free: 102.7 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0008801/0.9193, allocations: 446.7 kB / 425.7 MB, free: 102.6 MB / 362.7 MB Notification: Performance of sort global known variables: time 9.42e-07/0.9193, allocations: 3.312 kB / 425.7 MB, free: 102.6 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00201/0.9214, allocations: 222.2 kB / 425.9 MB, free: 102.6 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 4 (supplyL.inductor[2].i,supplyL.inductor[3].i,cDC1.v,cDC2.v) * Number of discrete variables: 6 (idealDiode1.idealDiode[1].off,idealDiode1.idealDiode[2].off,idealDiode1.idealDiode[3].off,idealDiode2.idealDiode[1].off,idealDiode2.idealDiode[2].off,idealDiode2.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 35 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 3 {2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.004543/0.926, allocations: 2.428 MB / 428.3 MB, free: 101.7 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.003183/0.9292, allocations: 1.365 MB / 429.7 MB, free: 101.3 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 6.763e-06/0.9293, allocations: 0 / 429.7 MB, free: 101.3 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002242/0.9315, allocations: 1.011 MB / 430.7 MB, free: 100.9 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001724/0.9333, allocations: 177.2 kB / 430.9 MB, free: 100.9 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00661/0.94, allocations: 2.029 MB / 432.9 MB, free: 100.4 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.9411, allocations: 1.237 MB / 434.1 MB, free: 99.71 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006128/0.9417, allocations: 314.8 kB / 434.4 MB, free: 99.7 MB / 362.7 MB Notification: Performance of SimCode: time 1.563e-06/0.9418, allocations: 0 / 434.4 MB, free: 99.7 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.357/4.299, allocations: 34.62 MB / 469.1 MB, free: 75.84 MB / 362.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_cpp_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat