Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.Rectifier,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_Rectifier",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.063/2.063, allocations: 205.8 MB / 218.9 MB, free: 9.266 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.127e-05/3.147e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1179/0.118, allocations: 47.57 MB / 317 MB, free: 6.652 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4669/0.5849, allocations: 85.24 MB / 402.2 MB, free: 2.852 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002739/0.5853, allocations: 71.59 kB / 402.3 MB, free: 2.816 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.1296/0.7149, allocations: 32.1 MB / 434.4 MB, free: 7.957 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.934e-06/0.7149, allocations: 4 kB / 434.4 MB, free: 7.953 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0001771/0.7151, allocations: 59.88 kB / 434.5 MB, free: 7.895 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: 531 * Number of variables: 531 Notification: Performance of Generate backend data structure: time 0.006702/0.7218, allocations: 1.949 MB / 436.4 MB, free: 6.016 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.421e-05/0.7219, allocations: 8.031 kB / 436.4 MB, free: 6.008 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008857/0.7228, allocations: 301 kB / 436.7 MB, free: 5.828 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007503/0.7236, allocations: 229.3 kB / 437 MB, free: 5.602 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003443/0.727, allocations: 1.221 MB / 438.2 MB, free: 4.629 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001571/0.7272, allocations: 157 kB / 438.3 MB, free: 4.539 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000472/0.7277, allocations: 199.1 kB / 438.5 MB, free: 4.41 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006758/0.7345, allocations: 2.515 MB / 441 MB, free: 2.633 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.139e-05/0.7346, allocations: 3.938 kB / 441 MB, free: 2.629 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002829/0.7349, allocations: 92.94 kB / 441.1 MB, free: 2.605 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.018e-05/0.735, allocations: 52 kB / 441.2 MB, free: 2.555 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005654/0.7406, allocations: 1.847 MB / 443 MB, free: 1.09 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02119/0.7619, allocations: 7.525 MB / 450.6 MB, free: 9.387 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003864/0.7658, allocations: 2.304 MB / 452.9 MB, free: 6.848 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002423/0.7683, allocations: 0.9074 MB / 453.8 MB, free: 5.934 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.000108/0.7685, allocations: 8.781 kB / 453.8 MB, free: 5.926 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.183e-05/0.7685, allocations: 43.34 kB / 453.8 MB, free: 5.875 MB / 362.7 MB Notification: Performance of pre-optimization done (n=96): time 4.749e-06/0.7685, allocations: 4 kB / 453.8 MB, free: 5.871 MB / 362.7 MB Notification: Performance of matching and sorting (n=97): time 0.008006/0.7766, allocations: 2.938 MB / 456.8 MB, free: 2.863 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.742e-05/0.7767, allocations: 64.19 kB / 456.8 MB, free: 2.785 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001804/0.7785, allocations: 0.7579 MB / 457.6 MB, free: 2.02 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0002301/0.7788, allocations: 41.7 kB / 457.6 MB, free: 1.973 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008155/0.7796, allocations: 0.8294 MB / 458.5 MB, free: 1.129 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006412/0.7802, allocations: 327.2 kB / 458.8 MB, free: 0.8047 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001491/0.7804, allocations: 20 kB / 458.8 MB, free: 0.7852 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0002518/0.7807, allocations: 345.9 kB / 459.1 MB, free: 452 kB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0019/0.7826, allocations: 481.8 kB / 459.6 MB, free: 15.96 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002176/0.7849, allocations: 0.6523 MB / 460.3 MB, free: 15.25 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002179/0.7871, allocations: 0.5553 MB / 460.8 MB, free: 14.7 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.294e-05/0.7872, allocations: 0 / 460.8 MB, free: 14.7 MB / 378.7 MB Notification: Performance of matching and sorting (n=123) (initialization): time 0.006521/0.7937, allocations: 1.573 MB / 462.4 MB, free: 13.11 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.588e-05/0.7938, allocations: 8 kB / 462.4 MB, free: 13.1 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.911e-05/0.7939, allocations: 4 kB / 462.4 MB, free: 13.09 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002643/0.7966, allocations: 463.2 kB / 462.8 MB, free: 12.63 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002086/0.7987, allocations: 183.7 kB / 463 MB, free: 12.45 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01776/0.8165, allocations: 8.435 MB / 471.5 MB, free: 3.473 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001227/0.8178, allocations: 51.95 kB / 471.5 MB, free: 3.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001989/0.818, allocations: 35.94 kB / 471.5 MB, free: 3.387 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (88): * Single equations (assignments): 82 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.0003184/0.8184, allocations: 168.7 kB / 471.7 MB, free: 3.215 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003408/0.8187, allocations: 98.78 kB / 471.8 MB, free: 3.117 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003912/0.8226, allocations: 1.502 MB / 473.3 MB, free: 1.59 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.8227, allocations: 11.95 kB / 473.3 MB, free: 1.578 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.8227, allocations: 4 kB / 473.3 MB, free: 1.574 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.695e-05/0.8228, allocations: 7.969 kB / 473.3 MB, free: 1.566 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01017/0.8329, allocations: 3.478 MB / 476.8 MB, free: 14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.011e-05/0.833, allocations: 7.984 kB / 476.8 MB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001229/0.8343, allocations: 127.9 kB / 476.9 MB, free: 13.87 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001803/0.8361, allocations: 451 kB / 477.4 MB, free: 13.41 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001763/0.8363, allocations: 23.98 kB / 477.4 MB, free: 13.39 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0142/0.8505, allocations: 8.357 MB / 485.8 MB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.236e-06/0.8506, allocations: 0 / 485.8 MB, free: 4.5 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00582/0.8564, allocations: 2.269 MB / 488 MB, free: 2.184 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0009716/0.8575, allocations: 279.9 kB / 488.3 MB, free: 1.891 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002624/0.8577, allocations: 23.95 kB / 488.3 MB, free: 1.867 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009777/0.8587, allocations: 47.95 kB / 488.4 MB, free: 1.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003635/0.8591, allocations: 88.58 kB / 488.5 MB, free: 1.734 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.811e-05/0.8592, allocations: 28 kB / 488.5 MB, free: 1.707 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.001419/0.8607, allocations: 0.5894 MB / 489.1 MB, free: 1.125 MB / 394.7 MB Notification: Performance of sort global known variables: time 7.51e-07/0.8607, allocations: 0 / 489.1 MB, free: 1.125 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.002686/0.8634, allocations: 399.9 kB / 489.5 MB, free: 0.7305 MB / 394.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 (62): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.007093/0.8706, allocations: 3.027 MB / 492.5 MB, free: 13.64 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.004645/0.8753, allocations: 1.782 MB / 494.3 MB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.193e-06/0.8753, allocations: 64 / 494.3 MB, free: 11.81 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002926/0.8782, allocations: 1.243 MB / 495.5 MB, free: 10.52 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002397/0.8807, allocations: 271.1 kB / 495.8 MB, free: 10.25 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01163/0.8924, allocations: 3.418 MB / 499.2 MB, free: 6.77 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002703/0.8951, allocations: 1.753 MB / 0.4892 GB, free: 4.98 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.001046/0.8962, allocations: 184.7 kB / 0.4894 GB, free: 4.797 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001559/0.8978, allocations: 0.6243 MB / 0.49 GB, free: 4.172 MB / 410.7 MB Notification: Performance of SimCode: time 1.272e-06/0.8979, allocations: 0 / 0.49 GB, free: 4.172 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4504/1.348, allocations: 30.76 MB / 0.52 GB, free: 125 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002667/1.349, allocations: 186.6 kB / 0.5202 GB, free: 124.8 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.707/5.056, allocations: 0 / 0.5202 GB, free: 124.8 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.Rectifier_res.mat does not exist to compare? outputFormat=mat