Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_4_0_0_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.9/1.9, allocations: 225.8 MB / 238.8 MB, free: 11.16 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.708e-05/3.716e-05, allocations: 4 kB / 292.2 MB, free: 8.227 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.12/0.1201, allocations: 50.41 MB / 342.7 MB, free: 5.789 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4358/0.556, allocations: 92.84 MB / 435.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002926/0.5563, allocations: 86.33 kB / 435.6 MB, free: 1.426 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.2958/0.8521, allocations: 74.7 MB / 0.4983 GB, free: 10.58 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.354e-06/0.8522, allocations: 4 kB / 0.4983 GB, free: 10.57 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003766/0.8526, allocations: 87.86 kB / 0.4984 GB, free: 10.49 MB / 426.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.01138/0.864, allocations: 2.9 MB / 0.5012 GB, free: 7.527 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.229e-05/0.8641, allocations: 12.03 kB / 0.5012 GB, free: 7.516 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001598/0.8657, allocations: 421.7 kB / 0.5016 GB, free: 7.094 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001961/0.8677, allocations: 399.7 kB / 0.502 GB, free: 6.699 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007282/0.875, allocations: 2.174 MB / 0.5042 GB, free: 4.469 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003229/0.8753, allocations: 221.8 kB / 0.5044 GB, free: 4.25 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001131/0.8765, allocations: 284 kB / 0.5046 GB, free: 3.973 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01125/0.8877, allocations: 4.014 MB / 0.5086 GB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.615e-05/0.8879, allocations: 0 / 0.5086 GB, free: 15.8 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004955/0.8884, allocations: 128 kB / 0.5087 GB, free: 15.68 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002049/0.8886, allocations: 133.9 kB / 0.5088 GB, free: 15.54 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009365/0.898, allocations: 3.057 MB / 0.5118 GB, free: 12.48 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02992/0.9279, allocations: 11.02 MB / 0.5226 GB, free: 1.27 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.2876/1.216, allocations: 2.567 MB / 0.5251 GB, free: 96.07 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004386/1.22, allocations: 1.453 MB / 0.5265 GB, free: 96.06 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004827/1.22, allocations: 140.1 kB / 0.5266 GB, free: 95.96 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.877e-05/1.221, allocations: 50.38 kB / 0.5267 GB, free: 95.93 MB / 442.7 MB Notification: Performance of pre-optimization done (n=128): time 4.008e-06/1.221, allocations: 0 / 0.5267 GB, free: 95.93 MB / 442.7 MB Notification: Performance of matching and sorting (n=133): time 0.01269/1.233, allocations: 4.373 MB / 0.5309 GB, free: 95.34 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.263e-05/1.233, allocations: 91.58 kB / 0.531 GB, free: 95.25 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004397/1.238, allocations: 1.696 MB / 0.5327 GB, free: 95.08 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003644/1.238, allocations: 50.55 kB / 0.5327 GB, free: 95.05 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00117/1.239, allocations: 1.318 MB / 0.534 GB, free: 94.61 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006944/1.24, allocations: 455.3 kB / 0.5344 GB, free: 94.38 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001534/1.24, allocations: 31.06 kB / 0.5345 GB, free: 94.38 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001394/1.24, allocations: 362.2 kB / 0.5348 GB, free: 94.08 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001961/1.242, allocations: 0.7771 MB / 0.5356 GB, free: 94.07 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002261/1.245, allocations: 1.123 MB / 0.5367 GB, free: 93.7 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002339/1.247, allocations: 0.9824 MB / 0.5376 GB, free: 93.68 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-05/1.247, allocations: 6.156 kB / 0.5376 GB, free: 93.68 MB / 442.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.006446/1.254, allocations: 2.411 MB / 0.54 GB, free: 93.51 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.482e-05/1.254, allocations: 10.31 kB / 0.54 GB, free: 93.51 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.624e-05/1.254, allocations: 12.2 kB / 0.54 GB, free: 93.51 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001633/1.255, allocations: 354.9 kB / 0.5404 GB, free: 93.5 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002654/1.258, allocations: 337.4 kB / 0.5407 GB, free: 93.5 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007398/1.265, allocations: 4.046 MB / 0.5446 GB, free: 92.1 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002521/1.268, allocations: 84.84 kB / 0.5447 GB, free: 92.1 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001938/1.268, allocations: 64.05 kB / 0.5448 GB, free: 92.1 MB / 442.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.0003934/1.269, allocations: 184.9 kB / 0.5449 GB, free: 92 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005243/1.269, allocations: 191.8 kB / 0.5451 GB, free: 91.9 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004986/1.274, allocations: 2.112 MB / 0.5472 GB, free: 91.79 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.801e-05/1.274, allocations: 13.25 kB / 0.5472 GB, free: 91.79 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.274, allocations: 6.156 kB / 0.5472 GB, free: 91.79 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.582e-05/1.274, allocations: 10.83 kB / 0.5472 GB, free: 91.79 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01181/1.286, allocations: 5.156 MB / 0.5523 GB, free: 91.3 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.273e-05/1.286, allocations: 8.312 kB / 0.5523 GB, free: 91.3 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001883/1.288, allocations: 238.5 kB / 0.5525 GB, free: 91.3 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001457/1.289, allocations: 333.4 kB / 0.5528 GB, free: 91.29 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002445/1.29, allocations: 31.34 kB / 0.5528 GB, free: 91.29 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006693/1.296, allocations: 3.958 MB / 0.5567 GB, free: 89.91 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.378e-06/1.297, allocations: 3.531 kB / 0.5567 GB, free: 89.91 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006797/1.303, allocations: 3.268 MB / 0.5599 GB, free: 89.32 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001429/1.305, allocations: 464.5 kB / 0.5603 GB, free: 89.03 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000391/1.305, allocations: 29.34 kB / 0.5604 GB, free: 89.01 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001908/1.307, allocations: 107.1 kB / 0.5605 GB, free: 88.99 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002952/1.307, allocations: 102.2 kB / 0.5606 GB, free: 88.98 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001385/1.308, allocations: 41.02 kB / 0.5606 GB, free: 88.97 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.002618/1.31, allocations: 1.314 MB / 0.5619 GB, free: 88.46 MB / 442.7 MB Notification: Performance of sort global known variables: time 4.41e-07/1.31, allocations: 0 / 0.5619 GB, free: 88.46 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.002662/1.313, allocations: 0.5672 MB / 0.5624 GB, free: 88.42 MB / 442.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.007533/1.32, allocations: 4.417 MB / 0.5668 GB, free: 85.95 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004673/1.325, allocations: 2.203 MB / 0.5689 GB, free: 85.04 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 5.891e-06/1.325, allocations: 0 / 0.5689 GB, free: 85.04 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002674/1.328, allocations: 1.262 MB / 0.5701 GB, free: 84.44 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003508/1.331, allocations: 495 kB / 0.5706 GB, free: 84.32 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01342/1.345, allocations: 5.542 MB / 0.576 GB, free: 82.27 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002538/1.347, allocations: 2.484 MB / 0.5784 GB, free: 81.2 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002328/1.35, allocations: 482.6 kB / 0.5789 GB, free: 81.18 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001934/1.352, allocations: 1.061 MB / 0.5799 GB, free: 80.31 MB / 442.7 MB Notification: Performance of SimCode: time 1.212e-06/1.352, allocations: 0 / 0.5799 GB, free: 80.31 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1399/1.492, allocations: 49.47 MB / 0.6283 GB, free: 57.39 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001524/1.492, allocations: 193.9 kB / 0.6284 GB, free: 57.16 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.144/5.636, allocations: 4 kB / 0.6284 GB, free: 57.16 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_4.0.0_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat