Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.868/1.868, allocations: 171.2 MB / 183.3 MB, free: 12.07 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.233e-05/4.244e-05, allocations: 4 kB / 225.1 MB, free: 2.242 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.281, allocations: 38.77 MB / 263.9 MB, free: 9.715 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/0.4826, allocations: 82.41 MB / 346.3 MB, free: 7.176 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004358/0.4831, allocations: 83.95 kB / 346.4 MB, free: 7.094 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6315/1.115, allocations: 75.07 MB / 421.4 MB, free: 51.11 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.805e-06/1.115, allocations: 3.938 kB / 421.5 MB, free: 51.11 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003045/1.115, allocations: 87.88 kB / 421.5 MB, free: 51.02 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: 772 * Number of variables: 772 Notification: Performance of Generate backend data structure: time 0.01073/1.126, allocations: 2.854 MB / 424.4 MB, free: 48.11 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.766e-05/1.126, allocations: 12.03 kB / 424.4 MB, free: 48.1 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001499/1.127, allocations: 426 kB / 424.8 MB, free: 47.67 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/1.129, allocations: 407.6 kB / 425.2 MB, free: 47.27 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00586/1.135, allocations: 1.977 MB / 427.2 MB, free: 45.24 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000243/1.135, allocations: 225.8 kB / 427.4 MB, free: 45.02 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001135/1.136, allocations: 280 kB / 427.7 MB, free: 44.74 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01075/1.147, allocations: 4.021 MB / 431.7 MB, free: 40.56 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.7e-05/1.147, allocations: 4 kB / 431.7 MB, free: 40.56 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004961/1.148, allocations: 128 kB / 431.8 MB, free: 40.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001682/1.148, allocations: 133.9 kB / 432 MB, free: 40.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009171/1.157, allocations: 3.085 MB / 435.1 MB, free: 37.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02871/1.186, allocations: 10.91 MB / 446 MB, free: 26.1 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003786/1.19, allocations: 2.586 MB / 448.6 MB, free: 23.3 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003524/1.193, allocations: 1.457 MB / 450 MB, free: 21.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004283/1.194, allocations: 142 kB / 450.1 MB, free: 21.7 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/1.194, allocations: 43.56 kB / 450.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 3.927e-06/1.194, allocations: 0 / 450.2 MB, free: 21.64 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.01162/1.205, allocations: 4.37 MB / 454.6 MB, free: 17.21 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.025e-05/1.206, allocations: 90.42 kB / 454.6 MB, free: 17.11 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00325/1.209, allocations: 1.591 MB / 456.2 MB, free: 15.51 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003475/1.209, allocations: 49.7 kB / 456.3 MB, free: 15.46 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0009369/1.21, allocations: 1.303 MB / 457.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0005161/1.211, allocations: 457.4 kB / 458 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001348/1.211, allocations: 28 kB / 458.1 MB, free: 13.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001248/1.211, allocations: 369.9 kB / 458.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001737/1.213, allocations: 0.7809 MB / 459.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001862/1.215, allocations: 1.115 MB / 460.3 MB, free: 11.25 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002063/1.217, allocations: 0.9769 MB / 461.3 MB, free: 10.28 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.729e-06/1.217, allocations: 4 kB / 461.3 MB, free: 10.27 MB / 314.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005889/1.223, allocations: 2.421 MB / 463.7 MB, free: 7.84 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.355e-05/1.223, allocations: 8 kB / 463.7 MB, free: 7.832 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-05/1.223, allocations: 15.95 kB / 463.7 MB, free: 7.816 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/1.224, allocations: 355.3 kB / 464.1 MB, free: 7.469 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002786/1.227, allocations: 339.5 kB / 464.4 MB, free: 7.137 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007191/1.234, allocations: 4.047 MB / 468.5 MB, free: 2.957 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002324/1.237, allocations: 87.98 kB / 468.6 MB, free: 2.871 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000184/1.237, allocations: 60 kB / 468.6 MB, free: 2.812 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (157): * Single equations (assignments): 152 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003747/1.237, allocations: 200.4 kB / 468.8 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004675/1.238, allocations: 189.8 kB / 469 MB, free: 2.422 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004901/1.243, allocations: 2.11 MB / 471.1 MB, free: 304 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.784e-05/1.243, allocations: 16 kB / 471.1 MB, free: 288 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.476e-06/1.243, allocations: 4 kB / 471.1 MB, free: 284 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.681e-05/1.243, allocations: 7.969 kB / 471.1 MB, free: 276 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0195/1.262, allocations: 5.112 MB / 476.2 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.507e-05/1.262, allocations: 7.984 kB / 476.3 MB, free: 11.05 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002734/1.265, allocations: 231.6 kB / 476.5 MB, free: 10.82 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00212/1.267, allocations: 332.8 kB / 476.8 MB, free: 10.49 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.007757/1.275, allocations: 31.98 kB / 476.8 MB, free: 10.46 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01672/1.292, allocations: 3.972 MB / 480.8 MB, free: 6.352 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.725e-06/1.292, allocations: 7.875 kB / 480.8 MB, free: 6.344 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01172/1.304, allocations: 3.272 MB / 484.1 MB, free: 2.984 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.002227/1.306, allocations: 454.7 kB / 484.5 MB, free: 2.52 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006071/1.307, allocations: 32 kB / 484.6 MB, free: 2.488 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002606/1.309, allocations: 104 kB / 484.7 MB, free: 2.387 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004945/1.31, allocations: 96.8 kB / 484.8 MB, free: 2.293 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002199/1.31, allocations: 36 kB / 484.8 MB, free: 2.258 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.004205/1.314, allocations: 1.232 MB / 486 MB, free: 1.031 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.82e-07/1.314, allocations: 4 kB / 486 MB, free: 1.027 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.004213/1.318, allocations: 0.5546 MB / 486.6 MB, free: 484 kB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (transformer.l2sigma.inductor[2].i,transformer.l2sigma.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (104): * Single equations (assignments): 99 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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: 1 {(2,100.0%) 26} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01272/1.331, allocations: 4.397 MB / 491 MB, free: 11.99 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.007819/1.339, allocations: 2.198 MB / 493.2 MB, free: 9.762 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.288e-05/1.339, allocations: 0 / 493.2 MB, free: 9.762 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003574/1.343, allocations: 1.266 MB / 494.4 MB, free: 8.461 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003974/1.347, allocations: 474.3 kB / 494.9 MB, free: 8 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/1.364, allocations: 5.41 MB / 0.4886 GB, free: 2.504 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004454/1.369, allocations: 2.465 MB / 0.491 GB, free: 4 kB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.2546/1.624, allocations: 466.2 kB / 0.4914 GB, free: 78.96 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002532/1.626, allocations: 1.035 MB / 0.4925 GB, free: 78.96 MB / 346.7 MB Notification: Performance of SimCode: time 1.263e-06/1.626, allocations: 0 / 0.4925 GB, free: 78.96 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1212/1.747, allocations: 47.64 MB / 0.539 GB, free: 65.16 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002196/1.748, allocations: 208.5 kB / 0.5392 GB, free: 64.93 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.241/5.989, allocations: 0 / 0.5392 GB, free: 64.93 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat