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.855/1.855, allocations: 171.3 MB / 178.4 MB, free: 160 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.405e-05/2.416e-05, allocations: 4 kB / 219.6 MB, free: 6.93 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2595/0.2596, allocations: 38.76 MB / 258.4 MB, free: 12.18 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1615/0.4212, allocations: 81.74 MB / 340.1 MB, free: 12.01 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003855/0.4216, allocations: 83.95 kB / 340.2 MB, free: 11.93 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5195/0.9411, allocations: 74.18 MB / 414.4 MB, free: 59.76 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.404e-06/0.9412, allocations: 0 / 414.4 MB, free: 59.76 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0002928/0.9415, allocations: 83.88 kB / 414.4 MB, free: 59.68 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.0103/0.9518, allocations: 2.86 MB / 417.3 MB, free: 56.76 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.644e-05/0.9519, allocations: 8.031 kB / 417.3 MB, free: 56.75 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002172/0.9541, allocations: 403.6 kB / 417.7 MB, free: 56.36 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00552/0.9596, allocations: 1.982 MB / 419.7 MB, free: 54.35 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000152/0.9598, allocations: 96 kB / 419.8 MB, free: 54.25 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008094/0.9606, allocations: 171.9 kB / 419.9 MB, free: 54.09 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.007924/0.9686, allocations: 2.944 MB / 422.9 MB, free: 51.14 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009874/0.9785, allocations: 3.63 MB / 426.5 MB, free: 47.35 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.561e-05/0.9786, allocations: 4 kB / 426.5 MB, free: 47.34 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003872/0.979, allocations: 4 kB / 426.5 MB, free: 47.34 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001648/0.9792, allocations: 133.9 kB / 426.7 MB, free: 47.21 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02506/1.004, allocations: 10.32 MB / 437 MB, free: 36.82 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003325/1.008, allocations: 2.532 MB / 439.5 MB, free: 34.07 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002936/1.011, allocations: 1.34 MB / 440.8 MB, free: 32.73 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004355/1.011, allocations: 137.4 kB / 441 MB, free: 32.58 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.394e-05/1.011, allocations: 59.77 kB / 441 MB, free: 32.52 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 3.807e-06/1.011, allocations: 0 / 441 MB, free: 32.52 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.01049/1.022, allocations: 4.185 MB / 445.2 MB, free: 28.27 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.169e-05/1.022, allocations: 94.41 kB / 445.3 MB, free: 28.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002539/1.024, allocations: 1.319 MB / 446.6 MB, free: 26.84 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003278/1.025, allocations: 25.7 kB / 446.7 MB, free: 26.81 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.000851/1.026, allocations: 1.301 MB / 448 MB, free: 25.49 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004303/1.026, allocations: 441.4 kB / 448.4 MB, free: 25.05 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001223/1.026, allocations: 0 / 448.4 MB, free: 25.05 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/1.026, allocations: 369.9 kB / 448.8 MB, free: 24.69 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001503/1.028, allocations: 0.7574 MB / 449.5 MB, free: 23.93 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001622/1.029, allocations: 1.095 MB / 450.6 MB, free: 22.7 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002201/1.032, allocations: 0.9625 MB / 451.6 MB, free: 21.73 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.219e-05/1.032, allocations: 0 / 451.6 MB, free: 21.73 MB / 314.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005337/1.037, allocations: 2.297 MB / 453.9 MB, free: 19.43 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.081e-05/1.037, allocations: 11.59 kB / 453.9 MB, free: 19.42 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.962e-05/1.037, allocations: 12 kB / 453.9 MB, free: 19.41 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001412/1.039, allocations: 351.3 kB / 454.2 MB, free: 19.06 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002546/1.041, allocations: 335.5 kB / 454.6 MB, free: 18.73 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006514/1.048, allocations: 3.919 MB / 458.5 MB, free: 14.7 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002047/1.05, allocations: 59.91 kB / 458.5 MB, free: 14.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002032/1.05, allocations: 63.98 kB / 458.6 MB, free: 14.58 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.0003529/1.05, allocations: 132.6 kB / 458.7 MB, free: 14.45 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004514/1.055, allocations: 1.858 MB / 460.6 MB, free: 12.58 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007214/1.056, allocations: 173.9 kB / 460.8 MB, free: 12.41 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004839/1.06, allocations: 1.998 MB / 462.8 MB, free: 10.39 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.984e-05/1.061, allocations: 12 kB / 462.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.859e-06/1.061, allocations: 4 kB / 462.8 MB, free: 10.38 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.055e-05/1.061, allocations: 7.969 kB / 462.8 MB, free: 10.37 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01223/1.073, allocations: 4.588 MB / 467.4 MB, free: 5.73 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.238e-05/1.073, allocations: 3.984 kB / 467.4 MB, free: 5.727 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00196/1.075, allocations: 235.6 kB / 467.6 MB, free: 5.496 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001445/1.076, allocations: 328.7 kB / 467.9 MB, free: 5.172 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002327/1.077, allocations: 15.98 kB / 467.9 MB, free: 5.156 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006482/1.083, allocations: 3.82 MB / 471.8 MB, free: 1.227 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.157e-06/1.083, allocations: 8.031 kB / 471.8 MB, free: 1.219 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007442/1.091, allocations: 3.124 MB / 474.9 MB, free: 14.02 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001541/1.092, allocations: 434.9 kB / 475.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004871/1.093, allocations: 8.062 kB / 475.3 MB, free: 13.57 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00191/1.095, allocations: 83.89 kB / 475.4 MB, free: 13.48 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004339/1.095, allocations: 93.17 kB / 475.5 MB, free: 13.39 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001637/1.095, allocations: 36 kB / 475.5 MB, free: 13.36 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002366/1.098, allocations: 1.009 MB / 476.5 MB, free: 12.35 MB / 330.7 MB Notification: Performance of sort global known variables: time 8.12e-07/1.098, allocations: 0 / 476.5 MB, free: 12.35 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.003084/1.101, allocations: 0.496 MB / 477 MB, free: 11.86 MB / 330.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (103): * Single equations (assignments): 98 * 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.009029/1.11, allocations: 4.105 MB / 481.1 MB, free: 7.695 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005922/1.116, allocations: 2.159 MB / 483.3 MB, free: 5.496 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 6.963e-06/1.116, allocations: 0.875 kB / 483.3 MB, free: 5.496 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003378/1.119, allocations: 1.243 MB / 484.5 MB, free: 4.223 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003304/1.123, allocations: 347.3 kB / 484.9 MB, free: 3.883 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0169/1.14, allocations: 5.251 MB / 490.1 MB, free: 14.55 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003961/1.144, allocations: 2.469 MB / 492.6 MB, free: 12.05 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002591/1.146, allocations: 453.3 kB / 493 MB, free: 11.61 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002664/1.149, allocations: 1.007 MB / 494 MB, free: 10.6 MB / 346.7 MB Notification: Performance of SimCode: time 1.283e-06/1.149, allocations: 0 / 494 MB, free: 10.6 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3999/1.549, allocations: 40.47 MB / 0.522 GB, free: 82.15 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002376/1.549, allocations: 163.1 kB / 0.5222 GB, free: 81.96 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.731/5.28, allocations: 3.281 kB / 0.5222 GB, free: 81.96 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