Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.892/1.892, allocations: 194.9 MB / 208 MB, free: 3.242 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.855e-05/2.908e-05, allocations: 8 kB / 255.5 MB, free: 2.598 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09716/0.09721, allocations: 44.5 MB / 300 MB, free: 6.039 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4464/0.5436, allocations: 87.78 MB / 387.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002979/0.544, allocations: 81.25 kB / 387.8 MB, free: 12.39 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3089/0.8529, allocations: 74.9 MB / 462.7 MB, free: 3.426 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.114e-06/0.853, allocations: 0 / 462.7 MB, free: 3.426 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003999/0.8534, allocations: 95.48 kB / 462.8 MB, free: 3.336 MB / 346.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.01186/0.8653, allocations: 2.864 MB / 465.7 MB, free: 424 kB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.197e-05/0.8654, allocations: 12.03 kB / 465.7 MB, free: 412 kB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001818/0.8672, allocations: 425 kB / 466.1 MB, free: 15.98 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00218/0.8694, allocations: 407.9 kB / 466.5 MB, free: 15.58 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007896/0.8773, allocations: 2.166 MB / 468.7 MB, free: 13.39 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003595/0.8778, allocations: 217.8 kB / 468.9 MB, free: 13.18 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001349/0.8791, allocations: 283.4 kB / 469.2 MB, free: 12.9 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01351/0.8926, allocations: 4.036 MB / 473.2 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.912e-05/0.8928, allocations: 0 / 473.2 MB, free: 8.711 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000519/0.8933, allocations: 123.7 kB / 473.3 MB, free: 8.594 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002287/0.8936, allocations: 141.8 kB / 473.5 MB, free: 8.453 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01071/0.9043, allocations: 3.081 MB / 476.6 MB, free: 5.367 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03463/0.939, allocations: 11 MB / 487.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004921/0.9439, allocations: 2.577 MB / 490.1 MB, free: 7.484 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004341/0.9483, allocations: 1.448 MB / 491.6 MB, free: 6.035 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005071/0.9489, allocations: 141.6 kB / 491.7 MB, free: 5.879 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/0.949, allocations: 55.48 kB / 491.8 MB, free: 5.816 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 3.908e-06/0.949, allocations: 0 / 491.8 MB, free: 5.816 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.01425/0.9632, allocations: 4.366 MB / 496.2 MB, free: 1.391 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.234e-05/0.9634, allocations: 94.42 kB / 496.2 MB, free: 1.281 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004587/0.968, allocations: 1.698 MB / 497.9 MB, free: 15.58 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003841/0.9684, allocations: 53.69 kB / 498 MB, free: 15.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.001491/0.9699, allocations: 1.314 MB / 499.3 MB, free: 14.2 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0007905/0.9707, allocations: 464.5 kB / 499.8 MB, free: 13.75 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001647/0.9709, allocations: 28 kB / 499.8 MB, free: 13.72 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0002181/0.9711, allocations: 365.9 kB / 0.4884 GB, free: 13.36 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002152/0.9733, allocations: 0.777 MB / 0.4892 GB, free: 12.58 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002689/0.976, allocations: 1.122 MB / 0.4903 GB, free: 11.31 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002954/0.979, allocations: 0.9847 MB / 0.4912 GB, free: 10.33 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.747e-05/0.9791, allocations: 0 / 0.4912 GB, free: 10.33 MB / 394.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.007597/0.9867, allocations: 2.414 MB / 0.4936 GB, free: 7.906 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.549e-05/0.9868, allocations: 12.03 kB / 0.4936 GB, free: 7.895 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.601e-05/0.9868, allocations: 15.94 kB / 0.4936 GB, free: 7.879 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001653/0.9885, allocations: 363.2 kB / 0.494 GB, free: 7.523 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002823/0.9914, allocations: 331.5 kB / 0.4943 GB, free: 7.199 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008566/0.9999, allocations: 4.057 MB / 0.4983 GB, free: 3.004 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002487/1.002, allocations: 79.92 kB / 0.4983 GB, free: 2.926 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002071/1.003, allocations: 60 kB / 0.4984 GB, free: 2.867 MB / 394.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.0004285/1.003, allocations: 188.7 kB / 0.4986 GB, free: 2.676 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005761/1.004, allocations: 197.7 kB / 0.4988 GB, free: 2.48 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005757/1.01, allocations: 2.11 MB / 0.5008 GB, free: 364 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-05/1.01, allocations: 15.94 kB / 0.5008 GB, free: 348 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.01, allocations: 4 kB / 0.5008 GB, free: 344 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.752e-05/1.01, allocations: 7.984 kB / 0.5008 GB, free: 336 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01421/1.024, allocations: 5.161 MB / 0.5059 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.343e-05/1.024, allocations: 4.219 kB / 0.5059 GB, free: 11.1 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001996/1.026, allocations: 227.7 kB / 0.5061 GB, free: 10.88 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001564/1.028, allocations: 345 kB / 0.5064 GB, free: 10.54 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001394/1.028, allocations: 35.98 kB / 0.5065 GB, free: 10.5 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007867/1.036, allocations: 3.956 MB / 0.5103 GB, free: 6.414 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.711e-06/1.036, allocations: 4.031 kB / 0.5103 GB, free: 6.41 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00802/1.044, allocations: 3.272 MB / 0.5135 GB, free: 3.051 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001528/1.045, allocations: 470.7 kB / 0.514 GB, free: 2.57 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003942/1.046, allocations: 31.95 kB / 0.514 GB, free: 2.539 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00192/1.048, allocations: 104 kB / 0.5141 GB, free: 2.438 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003333/1.048, allocations: 96.8 kB / 0.5142 GB, free: 2.344 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001546/1.048, allocations: 40 kB / 0.5142 GB, free: 2.305 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003197/1.051, allocations: 1.315 MB / 0.5155 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of sort global known variables: time 4.61e-07/1.051, allocations: 0 / 0.5155 GB, free: 0.9961 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.003314/1.055, allocations: 0.5703 MB / 0.5161 GB, free: 436 kB / 410.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.2946/1.349, allocations: 4.415 MB / 0.5204 GB, free: 88.73 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005885/1.355, allocations: 2.189 MB / 0.5225 GB, free: 88.47 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.186e-05/1.355, allocations: 2.25 kB / 0.5225 GB, free: 88.47 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003426/1.359, allocations: 1.266 MB / 0.5238 GB, free: 88.21 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004221/1.363, allocations: 488.8 kB / 0.5242 GB, free: 88.2 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/1.382, allocations: 5.543 MB / 0.5296 GB, free: 87.16 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004688/1.386, allocations: 2.483 MB / 0.5321 GB, free: 86.41 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.00292/1.389, allocations: 486.6 kB / 0.5325 GB, free: 86.39 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00258/1.392, allocations: 1.061 MB / 0.5336 GB, free: 86.38 MB / 410.7 MB Notification: Performance of SimCode: time 1.513e-06/1.392, allocations: 0 / 0.5336 GB, free: 86.38 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1394/1.531, allocations: 49.48 MB / 0.5819 GB, free: 82.84 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002074/1.532, allocations: 196.1 kB / 0.5821 GB, free: 82.61 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.162/5.694, allocations: 0 / 0.5821 GB, free: 82.61 MB / 410.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat