Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.768/1.768, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.676e-05/4.706e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2831/0.2832, allocations: 38.76 MB / 263.9 MB, free: 9.723 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1452/0.4284, allocations: 82.25 MB / 346.1 MB, free: 7.344 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003196/0.4288, allocations: 75.95 kB / 346.2 MB, free: 7.27 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6991/1.128, allocations: 117.8 MB / 464 MB, free: 8.195 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.695e-06/1.128, allocations: 0 / 464 MB, free: 8.195 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0005254/1.129, allocations: 115.8 kB / 464.1 MB, free: 8.082 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: 1046 * Number of variables: 1046 Notification: Performance of Generate backend data structure: time 0.01474/1.143, allocations: 3.816 MB / 467.9 MB, free: 4.203 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.599e-05/1.143, allocations: 8.031 kB / 467.9 MB, free: 4.195 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002526/1.146, allocations: 0.5555 MB / 468.5 MB, free: 3.629 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003761/1.15, allocations: 0.5529 MB / 469 MB, free: 3.07 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009247/1.159, allocations: 2.722 MB / 471.8 MB, free: 280 kB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004461/1.159, allocations: 296.2 kB / 472 MB, free: 15.98 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00192/1.161, allocations: 383.9 kB / 472.4 MB, free: 15.61 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02008/1.182, allocations: 5.535 MB / 477.9 MB, free: 9.879 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001668/1.182, allocations: 3.938 kB / 478 MB, free: 9.875 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.00141/1.183, allocations: 172 kB / 478.1 MB, free: 9.707 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000365/1.184, allocations: 208 kB / 478.3 MB, free: 9.5 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01612/1.2, allocations: 4.49 MB / 482.8 MB, free: 5 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.05053/1.25, allocations: 16.45 MB / 499.3 MB, free: 4.281 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3109/1.561, allocations: 6.691 MB / 0.4941 GB, free: 45.73 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00674/1.568, allocations: 2.62 MB / 0.4967 GB, free: 45.7 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006073/1.569, allocations: 154.3 kB / 0.4968 GB, free: 45.61 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.198e-05/1.569, allocations: 60.31 kB / 0.4969 GB, free: 45.57 MB / 346.7 MB Notification: Performance of pre-optimization done (n=249): time 5.931e-06/1.569, allocations: 3.656 kB / 0.4969 GB, free: 45.57 MB / 346.7 MB Notification: Performance of matching and sorting (n=256): time 0.02306/1.592, allocations: 7.736 MB / 0.5044 GB, free: 44.67 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.892e-05/1.592, allocations: 82.19 kB / 0.5045 GB, free: 44.61 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00547/1.597, allocations: 2.335 MB / 0.5068 GB, free: 44.39 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005409/1.598, allocations: 73.27 kB / 0.5068 GB, free: 44.36 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001394/1.599, allocations: 1.633 MB / 0.5084 GB, free: 43.88 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.001192/1.601, allocations: 0.8442 MB / 0.5093 GB, free: 43.45 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002323/1.601, allocations: 43.75 kB / 0.5093 GB, free: 43.45 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001772/1.601, allocations: 401 kB / 0.5097 GB, free: 43.14 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002962/1.604, allocations: 1.285 MB / 0.5109 GB, free: 43.13 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003694/1.608, allocations: 1.557 MB / 0.5125 GB, free: 42.9 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003744/1.612, allocations: 1.52 MB / 0.5139 GB, free: 42.85 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.116e-05/1.612, allocations: 0 / 0.5139 GB, free: 42.85 MB / 346.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01106/1.623, allocations: 4.311 MB / 0.5182 GB, free: 42.48 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.527e-05/1.623, allocations: 7.594 kB / 0.5182 GB, free: 42.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.511e-05/1.623, allocations: 7.406 kB / 0.5182 GB, free: 42.48 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005751/1.629, allocations: 1.403 MB / 0.5195 GB, free: 42.4 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003097/1.632, allocations: 390.8 kB / 0.5199 GB, free: 42.4 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03107/1.663, allocations: 23.42 MB / 0.5428 GB, free: 28.88 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003285/1.666, allocations: 89.61 kB / 0.5429 GB, free: 28.84 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004015/1.667, allocations: 87.06 kB / 0.543 GB, free: 28.82 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (196): * Single equations (assignments): 186 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9,(2,100.0%) 29} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of prepare postOptimizeDAE: time 0.0005967/1.667, allocations: 233.1 kB / 0.5432 GB, free: 28.64 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009633/1.668, allocations: 301.3 kB / 0.5435 GB, free: 28.5 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009606/1.678, allocations: 4.086 MB / 0.5475 GB, free: 26.84 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-05/1.678, allocations: 24.5 kB / 0.5475 GB, free: 26.84 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.761e-05/1.678, allocations: 9.219 kB / 0.5475 GB, free: 26.84 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.241e-05/1.678, allocations: 11.25 kB / 0.5475 GB, free: 26.84 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02332/1.701, allocations: 8.817 MB / 0.5561 GB, free: 23.48 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.513e-05/1.702, allocations: 0 / 0.5561 GB, free: 23.48 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002445/1.704, allocations: 298.4 kB / 0.5564 GB, free: 23.46 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005603/1.71, allocations: 1.373 MB / 0.5577 GB, free: 23.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000505/1.71, allocations: 58.38 kB / 0.5578 GB, free: 23.02 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03058/1.741, allocations: 23.17 MB / 0.5804 GB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.767e-06/1.741, allocations: 2.578 kB / 0.5804 GB, free: 5.348 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01497/1.756, allocations: 5.97 MB / 0.5862 GB, free: 2.859 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002785/1.759, allocations: 0.6882 MB / 0.5869 GB, free: 2.449 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001201/1.76, allocations: 60.41 kB / 0.587 GB, free: 2.41 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003339/1.763, allocations: 129.6 kB / 0.5871 GB, free: 2.379 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0009042/1.764, allocations: 212.5 kB / 0.5873 GB, free: 2.352 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003001/1.765, allocations: 67.77 kB / 0.5874 GB, free: 2.336 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.004234/1.769, allocations: 1.816 MB / 0.5891 GB, free: 1.617 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.152e-06/1.769, allocations: 0 / 0.5891 GB, free: 1.617 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.00635/1.775, allocations: 0.9758 MB / 0.5901 GB, free: 1.336 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 7 (cDC1.v,cDC2.v,transformer1.l2sigma.inductor[2].i,transformer1.l2sigma.inductor[3].i,transformer2.l2sigma.inductor[1].i,transformer2.l2sigma.inductor[2].i,transformer2.l2sigma.inductor[3].i) * Number of discrete variables: 12 (diode1.idealDiode[1].off,diode1.idealDiode[2].off,diode1.idealDiode[3].off,diode2.idealDiode[1].off,diode2.idealDiode[2].off,diode2.idealDiode[3].off,diode3.idealDiode[1].off,diode3.idealDiode[2].off,diode3.idealDiode[3].off,diode4.idealDiode[1].off,diode4.idealDiode[2].off,diode4.idealDiode[3].off) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (151): * Single equations (assignments): 141 * 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: 10 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 29,(1,100.0%) 9,(1,100.0%) 9,(1,100.0%) 9} * Non-linear torn systems: 6 {2 7,2 7,2 7,2 7,2 7,2 7} Notification: Performance of Backend phase and start with SimCode phase: time 0.01834/1.794, allocations: 6.886 MB / 0.5968 GB, free: 11.36 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.01608/1.81, allocations: 4.626 MB / 0.6013 GB, free: 7.133 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.68e-05/1.81, allocations: 4 kB / 0.6013 GB, free: 7.129 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.01235/1.822, allocations: 3.193 MB / 0.6045 GB, free: 4.172 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.01124/1.833, allocations: 0.8925 MB / 0.6053 GB, free: 3.5 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04692/1.88, allocations: 8.608 MB / 0.6137 GB, free: 13.19 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008952/1.89, allocations: 3.244 MB / 0.6169 GB, free: 10.7 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.004725/1.894, allocations: 0.5675 MB / 0.6175 GB, free: 10.3 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.005794/1.9, allocations: 1.454 MB / 0.6189 GB, free: 8.953 MB / 378.7 MB Notification: Performance of SimCode: time 1.874e-06/1.9, allocations: 0 / 0.6189 GB, free: 8.953 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4745/2.375, allocations: 87.73 MB / 0.7045 GB, free: 54.32 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002262/2.375, allocations: 199.2 kB / 0.7047 GB, free: 54.1 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.123/8.498, allocations: 0 / 0.7047 GB, free: 54.1 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat