Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_Rectifier12pulse",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.942/1.942, allocations: 225.8 MB / 239.3 MB, free: 11.19 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.15e-05/3.16e-05, allocations: 4 kB / 292.8 MB, free: 8.266 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1042/0.1042, allocations: 50.42 MB / 343.2 MB, free: 5.824 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4443/0.5486, allocations: 92.8 MB / 436 MB, free: 1.207 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002909/0.5489, allocations: 78.14 kB / 436 MB, free: 1.168 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.9112/1.46, allocations: 116.9 MB / 0.54 GB, free: 79.51 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.385e-06/1.46, allocations: 3.062 kB / 0.54 GB, free: 79.51 MB / 442.7 MB Notification: Performance of Transformations before backend: time 0.0005075/1.461, allocations: 107.3 kB / 0.5401 GB, free: 79.5 MB / 442.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.01603/1.477, allocations: 3.859 MB / 0.5439 GB, free: 78.24 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/1.477, allocations: 9.781 kB / 0.5439 GB, free: 78.24 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002465/1.479, allocations: 0.5592 MB / 0.5444 GB, free: 78.18 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003596/1.483, allocations: 0.5527 MB / 0.545 GB, free: 77.94 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009486/1.493, allocations: 2.709 MB / 0.5476 GB, free: 77.37 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003438/1.493, allocations: 292.5 kB / 0.5479 GB, free: 77.36 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001698/1.495, allocations: 389.4 kB / 0.5483 GB, free: 77.36 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01719/1.512, allocations: 5.51 MB / 0.5536 GB, free: 76.79 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001418/1.512, allocations: 2.953 kB / 0.5536 GB, free: 76.79 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001255/1.513, allocations: 170.4 kB / 0.5538 GB, free: 76.79 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003003/1.514, allocations: 202.9 kB / 0.554 GB, free: 76.77 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01346/1.527, allocations: 4.463 MB / 0.5584 GB, free: 76.75 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04326/1.57, allocations: 16.42 MB / 0.5744 GB, free: 73.9 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.009242/1.58, allocations: 6.702 MB / 0.5809 GB, free: 69.52 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006135/1.586, allocations: 2.621 MB / 0.5835 GB, free: 68.65 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005517/1.587, allocations: 145.9 kB / 0.5836 GB, free: 68.55 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.607e-05/1.587, allocations: 61.97 kB / 0.5837 GB, free: 68.49 MB / 442.7 MB Notification: Performance of pre-optimization done (n=249): time 5.08e-06/1.587, allocations: 2.656 kB / 0.5837 GB, free: 68.49 MB / 442.7 MB Notification: Performance of matching and sorting (n=256): time 0.02092/1.608, allocations: 7.732 MB / 0.5913 GB, free: 65.12 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.037e-05/1.608, allocations: 78.92 kB / 0.5913 GB, free: 65.06 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005036/1.613, allocations: 2.34 MB / 0.5936 GB, free: 64.17 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0005598/1.613, allocations: 72.58 kB / 0.5937 GB, free: 64.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001247/1.615, allocations: 1.63 MB / 0.5953 GB, free: 62.87 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0009965/1.616, allocations: 0.8446 MB / 0.5961 GB, free: 62.21 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002123/1.616, allocations: 46.69 kB / 0.5961 GB, free: 62.17 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/1.616, allocations: 404.9 kB / 0.5965 GB, free: 61.83 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002774/1.619, allocations: 1.283 MB / 0.5978 GB, free: 61.35 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002984/1.622, allocations: 1.552 MB / 0.5993 GB, free: 60.6 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003209/1.625, allocations: 1.523 MB / 0.6008 GB, free: 60.01 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.188e-05/1.625, allocations: 0 / 0.6008 GB, free: 60.01 MB / 442.7 MB Notification: Performance of matching and sorting (n=301) (initialization): time 0.01072/1.636, allocations: 4.305 MB / 0.605 GB, free: 58.36 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.378e-05/1.636, allocations: 7.344 kB / 0.605 GB, free: 58.36 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.465e-05/1.636, allocations: 14.84 kB / 0.605 GB, free: 58.35 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.005424/1.641, allocations: 1.403 MB / 0.6064 GB, free: 57.9 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003054/1.644, allocations: 386.6 kB / 0.6067 GB, free: 57.89 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02976/1.674, allocations: 23.41 MB / 0.6296 GB, free: 40 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003375/1.678, allocations: 96.39 kB / 0.6297 GB, free: 39.96 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003606/1.678, allocations: 78.02 kB / 0.6298 GB, free: 39.94 MB / 442.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.0005788/1.679, allocations: 239.5 kB / 0.63 GB, free: 39.75 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008219/1.679, allocations: 297.6 kB / 0.6303 GB, free: 39.61 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009539/1.689, allocations: 4.081 MB / 0.6343 GB, free: 37.95 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-05/1.689, allocations: 21.62 kB / 0.6343 GB, free: 37.95 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.591e-05/1.689, allocations: 10.97 kB / 0.6343 GB, free: 37.95 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.978e-05/1.689, allocations: 18.62 kB / 0.6343 GB, free: 37.94 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02195/1.711, allocations: 8.811 MB / 0.6429 GB, free: 31.23 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.554e-05/1.711, allocations: 0 / 0.6429 GB, free: 31.23 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002368/1.714, allocations: 299.1 kB / 0.6432 GB, free: 30.98 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.005274/1.719, allocations: 1.385 MB / 0.6446 GB, free: 29.86 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004337/1.719, allocations: 55.8 kB / 0.6446 GB, free: 29.81 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02895/1.748, allocations: 23.17 MB / 0.6673 GB, free: 7.223 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.407e-06/1.748, allocations: 0 / 0.6673 GB, free: 7.223 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0134/1.762, allocations: 5.998 MB / 0.6731 GB, free: 1.887 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002519/1.764, allocations: 0.6813 MB / 0.6738 GB, free: 1.258 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009244/1.765, allocations: 55.7 kB / 0.6738 GB, free: 1.207 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00293/1.768, allocations: 133 kB / 0.674 GB, free: 1.102 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007492/1.769, allocations: 213.9 kB / 0.6742 GB, free: 0.9766 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002302/1.769, allocations: 67.84 kB / 0.6742 GB, free: 0.9141 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.006791/1.776, allocations: 1.953 MB / 0.6761 GB, free: 15.61 MB / 458.7 MB Notification: Performance of sort global known variables: time 8.91e-07/1.776, allocations: 0 / 0.6761 GB, free: 15.61 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.006543/1.783, allocations: 0.9725 MB / 0.6771 GB, free: 14.64 MB / 458.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.01723/1.8, allocations: 6.871 MB / 0.6838 GB, free: 8.457 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.01164/1.812, allocations: 4.627 MB / 0.6883 GB, free: 4.176 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 7.624e-06/1.812, allocations: 0 / 0.6883 GB, free: 4.176 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.007977/1.82, allocations: 3.204 MB / 0.6914 GB, free: 1.172 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007168/1.827, allocations: 0.8933 MB / 0.6923 GB, free: 468 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3583/2.185, allocations: 8.319 MB / 0.7004 GB, free: 82.21 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.009442/2.195, allocations: 3.244 MB / 0.7036 GB, free: 81.42 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.004585/2.199, allocations: 0.5645 MB / 0.7042 GB, free: 81.39 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.004461/2.204, allocations: 1.457 MB / 0.7056 GB, free: 81.39 MB / 458.7 MB Notification: Performance of SimCode: time 1.793e-06/2.204, allocations: 0 / 0.7056 GB, free: 81.39 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2045/2.408, allocations: 87.68 MB / 0.7912 GB, free: 55.45 MB / 458.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002349/2.409, allocations: 204.6 kB / 0.7914 GB, free: 55.23 MB / 458.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 5.858/8.266, allocations: 7.109 kB / 0.7914 GB, free: 55.22 MB / 458.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.Rectifier12pulse_res.mat does not exist to compare? outputFormat=mat