Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.841/1.841, allocations: 171.2 MB / 183.8 MB, free: 11.95 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.17e-05/4.184e-05, allocations: 0 / 225.1 MB, free: 2.621 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2691/0.2692, allocations: 38.77 MB / 263.8 MB, free: 9.754 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1475/0.4168, allocations: 82.41 MB / 346.2 MB, free: 7.219 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.4172, allocations: 79.95 kB / 346.3 MB, free: 7.141 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5211/0.9383, allocations: 75.08 MB / 421.4 MB, free: 51.15 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.154e-06/0.9383, allocations: 0 / 421.4 MB, free: 51.15 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003338/0.9387, allocations: 83.88 kB / 421.5 MB, free: 51.07 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.01077/0.9495, allocations: 2.861 MB / 424.3 MB, free: 48.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.465e-05/0.9495, allocations: 12.02 kB / 424.3 MB, free: 48.14 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001541/0.9511, allocations: 426 kB / 424.8 MB, free: 47.71 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001855/0.953, allocations: 403.6 kB / 425.2 MB, free: 47.31 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006023/0.959, allocations: 1.977 MB / 427.1 MB, free: 45.28 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002505/0.9593, allocations: 217.8 kB / 427.3 MB, free: 45.07 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001161/0.9605, allocations: 288 kB / 427.6 MB, free: 44.79 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01194/0.9725, allocations: 4.067 MB / 431.7 MB, free: 40.55 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.7e-05/0.9726, allocations: 0 / 431.7 MB, free: 40.55 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005414/0.9732, allocations: 124 kB / 431.8 MB, free: 40.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001674/0.9733, allocations: 133.9 kB / 431.9 MB, free: 40.3 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009165/0.9825, allocations: 3.124 MB / 435.1 MB, free: 37.17 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02904/1.012, allocations: 10.93 MB / 446 MB, free: 26.05 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003867/1.016, allocations: 2.581 MB / 448.6 MB, free: 23.25 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00359/1.019, allocations: 1.453 MB / 450 MB, free: 21.81 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004708/1.02, allocations: 142 kB / 450.2 MB, free: 21.65 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.811e-05/1.02, allocations: 51.5 kB / 450.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 4.399e-06/1.02, allocations: 0 / 450.2 MB, free: 21.59 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.01193/1.032, allocations: 4.374 MB / 454.6 MB, free: 17.16 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.306e-05/1.032, allocations: 94.36 kB / 454.7 MB, free: 17.05 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00346/1.035, allocations: 1.591 MB / 456.3 MB, free: 15.45 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003529/1.036, allocations: 45.7 kB / 456.3 MB, free: 15.4 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008249/1.037, allocations: 1.244 MB / 457.6 MB, free: 14.14 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0006132/1.037, allocations: 465.3 kB / 458 MB, free: 13.68 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001443/1.037, allocations: 28 kB / 458 MB, free: 13.66 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001242/1.037, allocations: 370.8 kB / 458.4 MB, free: 13.29 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/1.039, allocations: 0.777 MB / 459.2 MB, free: 12.51 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/1.041, allocations: 1.123 MB / 460.3 MB, free: 11.24 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002143/1.043, allocations: 0.9847 MB / 461.3 MB, free: 10.26 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-05/1.043, allocations: 4 kB / 461.3 MB, free: 10.26 MB / 314.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00575/1.049, allocations: 2.329 MB / 463.6 MB, free: 7.918 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.413e-05/1.049, allocations: 8 kB / 463.6 MB, free: 7.91 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-05/1.049, allocations: 15.95 kB / 463.7 MB, free: 7.895 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/1.051, allocations: 359.3 kB / 464 MB, free: 7.543 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002734/1.054, allocations: 339.5 kB / 464.3 MB, free: 7.211 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007153/1.061, allocations: 4.043 MB / 468.4 MB, free: 3.027 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002298/1.063, allocations: 87.98 kB / 468.5 MB, free: 2.941 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000307/1.064, allocations: 63.98 kB / 468.5 MB, free: 2.879 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.0003897/1.064, allocations: 188.5 kB / 468.7 MB, free: 2.688 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006073/1.065, allocations: 193.7 kB / 468.9 MB, free: 2.496 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005231/1.07, allocations: 2.106 MB / 471 MB, free: 384 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.084e-05/1.07, allocations: 12 kB / 471 MB, free: 372 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.498e-06/1.07, allocations: 7.938 kB / 471 MB, free: 364 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.919e-05/1.07, allocations: 7.969 kB / 471 MB, free: 356 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01632/1.086, allocations: 5.12 MB / 476.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.069e-05/1.086, allocations: 7.938 kB / 476.2 MB, free: 11.12 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002247/1.089, allocations: 231.6 kB / 476.4 MB, free: 10.89 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001722/1.09, allocations: 340.8 kB / 476.7 MB, free: 10.55 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003044/1.091, allocations: 31.98 kB / 476.7 MB, free: 10.52 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008836/1.1, allocations: 3.963 MB / 480.7 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.859e-06/1.1, allocations: 0 / 480.7 MB, free: 6.43 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008746/1.108, allocations: 3.28 MB / 484 MB, free: 3.062 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00183/1.11, allocations: 454.7 kB / 484.4 MB, free: 2.598 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006741/1.111, allocations: 35.98 kB / 484.5 MB, free: 2.562 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002227/1.113, allocations: 99.97 kB / 484.6 MB, free: 2.465 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004982/1.114, allocations: 92.86 kB / 484.7 MB, free: 2.371 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001854/1.114, allocations: 39.98 kB / 484.7 MB, free: 2.332 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.003561/1.118, allocations: 1.24 MB / 485.9 MB, free: 1.098 MB / 330.7 MB Notification: Performance of sort global known variables: time 9.02e-07/1.118, allocations: 0 / 485.9 MB, free: 1.098 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003162/1.121, allocations: 0.5507 MB / 486.5 MB, free: 0.5469 MB / 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.01003/1.131, allocations: 4.394 MB / 490.9 MB, free: 12.07 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.006388/1.137, allocations: 2.242 MB / 493.1 MB, free: 9.793 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 9.728e-06/1.137, allocations: 0 / 493.1 MB, free: 9.793 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003822/1.141, allocations: 1.292 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.004165/1.146, allocations: 481.2 kB / 494.9 MB, free: 7.988 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01854/1.164, allocations: 5.319 MB / 0.4885 GB, free: 2.586 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.004613/1.169, allocations: 2.405 MB / 0.4908 GB, free: 152 kB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.2442/1.413, allocations: 1.04 MB / 0.4918 GB, free: 79.18 MB / 346.7 MB Notification: Performance of SimCode: time 1.443e-06/1.413, allocations: 0 / 0.4918 GB, free: 79.18 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.536/4.949, allocations: 63.91 MB / 0.5543 GB, free: 50.3 MB / 346.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat