Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_trunk_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.936/1.936, allocations: 225.8 MB / 239.3 MB, free: 11.18 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.129e-05/3.142e-05, allocations: 4 kB / 292.8 MB, free: 8.254 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1056/0.1057, allocations: 50.42 MB / 343.2 MB, free: 5.816 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4578/0.5635, allocations: 92.84 MB / 436 MB, free: 1.473 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002905/0.5638, allocations: 79.52 kB / 436.1 MB, free: 1.434 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3044/0.8682, allocations: 74.69 MB / 0.4988 GB, free: 10.63 MB / 426.7 MB Notification: Performance of FrontEnd: time 2.315e-06/0.8683, allocations: 0 / 0.4988 GB, free: 10.63 MB / 426.7 MB Notification: Performance of Transformations before backend: time 0.0003365/0.8686, allocations: 83.88 kB / 0.4989 GB, free: 10.55 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.01115/0.8798, allocations: 2.904 MB / 0.5017 GB, free: 7.582 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.653e-05/0.8799, allocations: 8.031 kB / 0.5017 GB, free: 7.574 MB / 426.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001523/0.8814, allocations: 429.7 kB / 0.5021 GB, free: 7.145 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001891/0.8833, allocations: 399.7 kB / 0.5025 GB, free: 6.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007405/0.8908, allocations: 2.162 MB / 0.5046 GB, free: 4.531 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003096/0.8911, allocations: 225.8 kB / 0.5048 GB, free: 4.309 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001168/0.8923, allocations: 284 kB / 0.5051 GB, free: 4.031 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01273/0.905, allocations: 4.014 MB / 0.509 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.427e-05/0.9052, allocations: 0 / 0.509 GB, free: 15.86 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008631/0.9061, allocations: 127.9 kB / 0.5092 GB, free: 15.73 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002141/0.9063, allocations: 133.9 kB / 0.5093 GB, free: 15.6 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01035/0.9167, allocations: 3.061 MB / 0.5123 GB, free: 12.54 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03254/0.9492, allocations: 11.01 MB / 0.523 GB, free: 1.332 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.3158/1.265, allocations: 2.573 MB / 0.5255 GB, free: 96.13 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006229/1.271, allocations: 1.452 MB / 0.527 GB, free: 96.12 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006104/1.272, allocations: 139.6 kB / 0.5271 GB, free: 96.03 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.908e-05/1.272, allocations: 52.16 kB / 0.5271 GB, free: 95.99 MB / 442.7 MB Notification: Performance of pre-optimization done (n=128): time 5.78e-06/1.272, allocations: 0 / 0.5271 GB, free: 95.99 MB / 442.7 MB Notification: Performance of matching and sorting (n=133): time 0.01425/1.286, allocations: 4.372 MB / 0.5314 GB, free: 95.4 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.511e-05/1.286, allocations: 92.66 kB / 0.5315 GB, free: 95.3 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004352/1.291, allocations: 1.695 MB / 0.5332 GB, free: 95.14 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003334/1.291, allocations: 47.55 kB / 0.5332 GB, free: 95.11 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001137/1.292, allocations: 1.32 MB / 0.5345 GB, free: 94.67 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006465/1.293, allocations: 458.4 kB / 0.5349 GB, free: 94.44 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000143/1.293, allocations: 28.66 kB / 0.535 GB, free: 94.44 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001363/1.293, allocations: 366.4 kB / 0.5353 GB, free: 94.14 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/1.295, allocations: 0.778 MB / 0.5361 GB, free: 94.13 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002181/1.298, allocations: 1.12 MB / 0.5372 GB, free: 93.75 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002404/1.3, allocations: 0.9799 MB / 0.5381 GB, free: 93.74 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.741e-05/1.3, allocations: 3.281 kB / 0.5381 GB, free: 93.74 MB / 442.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.006888/1.307, allocations: 2.414 MB / 0.5405 GB, free: 93.57 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.859e-05/1.307, allocations: 9.234 kB / 0.5405 GB, free: 93.57 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.296e-05/1.307, allocations: 16.55 kB / 0.5405 GB, free: 93.57 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001611/1.309, allocations: 357.9 kB / 0.5408 GB, free: 93.56 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002879/1.312, allocations: 335.2 kB / 0.5412 GB, free: 93.56 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007557/1.319, allocations: 4.041 MB / 0.5451 GB, free: 92.16 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002545/1.322, allocations: 87.97 kB / 0.5452 GB, free: 92.16 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003248/1.322, allocations: 61.12 kB / 0.5453 GB, free: 92.16 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.0004117/1.322, allocations: 185.7 kB / 0.5454 GB, free: 92.06 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007164/1.323, allocations: 191.9 kB / 0.5456 GB, free: 91.96 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005088/1.328, allocations: 2.116 MB / 0.5477 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-05/1.328, allocations: 16.59 kB / 0.5477 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.085e-06/1.328, allocations: 3.938 kB / 0.5477 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.771e-05/1.328, allocations: 6.984 kB / 0.5477 GB, free: 91.85 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01259/1.341, allocations: 5.159 MB / 0.5527 GB, free: 91.37 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.765e-05/1.341, allocations: 3.938 kB / 0.5527 GB, free: 91.37 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001938/1.343, allocations: 234.7 kB / 0.553 GB, free: 91.37 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001409/1.344, allocations: 339.4 kB / 0.5533 GB, free: 91.36 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001605/1.345, allocations: 32.25 kB / 0.5533 GB, free: 91.36 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006611/1.351, allocations: 3.954 MB / 0.5572 GB, free: 89.97 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.318e-06/1.351, allocations: 3.5 kB / 0.5572 GB, free: 89.97 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006878/1.358, allocations: 3.266 MB / 0.5604 GB, free: 89.29 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00149/1.36, allocations: 468 kB / 0.5608 GB, free: 89 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004492/1.36, allocations: 33.3 kB / 0.5609 GB, free: 88.98 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001969/1.362, allocations: 103.9 kB / 0.561 GB, free: 88.97 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003062/1.362, allocations: 101.4 kB / 0.5611 GB, free: 88.95 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001382/1.363, allocations: 43.75 kB / 0.5611 GB, free: 88.95 MB / 442.7 MB Notification: Performance of sorting global known variables: time 0.00278/1.365, allocations: 1.315 MB / 0.5624 GB, free: 88.44 MB / 442.7 MB Notification: Performance of sort global known variables: time 7.71e-07/1.365, allocations: 0 / 0.5624 GB, free: 88.44 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.003033/1.369, allocations: 0.5739 MB / 0.5629 GB, free: 88.39 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.007494/1.376, allocations: 4.414 MB / 0.5672 GB, free: 85.93 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.004778/1.381, allocations: 2.202 MB / 0.5694 GB, free: 85.01 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/1.381, allocations: 0 / 0.5694 GB, free: 85.01 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 0.00289/1.384, allocations: 1.262 MB / 0.5706 GB, free: 84.41 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004287/1.388, allocations: 496.6 kB / 0.5711 GB, free: 84.29 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01503/1.403, allocations: 5.543 MB / 0.5765 GB, free: 82.24 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002519/1.406, allocations: 2.478 MB / 0.5789 GB, free: 81.17 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 0.002334/1.408, allocations: 487.8 kB / 0.5794 GB, free: 81.15 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001948/1.41, allocations: 1.054 MB / 0.5804 GB, free: 80.28 MB / 442.7 MB Notification: Performance of SimCode: time 1.242e-06/1.41, allocations: 0 / 0.5804 GB, free: 80.28 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1297/1.54, allocations: 49.47 MB / 0.6287 GB, free: 57.44 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/1.54, allocations: 197.9 kB / 0.6289 GB, free: 57.21 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.979/5.519, allocations: 0 / 0.6289 GB, free: 57.21 MB / 442.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_trunk_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat