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.7/1.7, allocations: 171.3 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.439e-05/2.448e-05, allocations: 4 kB / 219.6 MB, free: 7.32 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2561/0.2562, allocations: 38.76 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.143/0.3992, allocations: 81.74 MB / 340.1 MB, free: 12.06 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003463/0.3996, allocations: 83.95 kB / 340.2 MB, free: 11.98 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.5308/0.9304, allocations: 74.18 MB / 414.3 MB, free: 59.87 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.954e-06/0.9305, allocations: 0 / 414.3 MB, free: 59.87 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003275/0.9308, allocations: 87.88 kB / 414.4 MB, free: 59.79 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.01168/0.9425, allocations: 2.86 MB / 417.3 MB, free: 56.87 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.728e-05/0.9426, allocations: 8.031 kB / 417.3 MB, free: 56.86 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002209/0.9448, allocations: 399.6 kB / 417.7 MB, free: 56.47 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005163/0.95, allocations: 1.973 MB / 419.7 MB, free: 54.47 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001202/0.9502, allocations: 108 kB / 419.8 MB, free: 54.36 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005471/0.9507, allocations: 164 kB / 419.9 MB, free: 54.2 MB / 314.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006907/0.9576, allocations: 2.948 MB / 422.9 MB, free: 51.25 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007864/0.9655, allocations: 3.634 MB / 426.5 MB, free: 47.46 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.278e-05/0.9657, allocations: 0 / 426.5 MB, free: 47.46 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003601/0.966, allocations: 3.984 kB / 426.5 MB, free: 47.45 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000165/0.9662, allocations: 141.9 kB / 426.6 MB, free: 47.31 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02556/0.9918, allocations: 10.32 MB / 437 MB, free: 36.92 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003255/0.9951, allocations: 2.525 MB / 439.5 MB, free: 34.18 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002826/0.9979, allocations: 1.338 MB / 440.8 MB, free: 32.85 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004069/0.9984, allocations: 141.6 kB / 441 MB, free: 32.69 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.553e-05/0.9984, allocations: 55.75 kB / 441 MB, free: 32.63 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 4.309e-06/0.9984, allocations: 0 / 441 MB, free: 32.63 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.01092/1.009, allocations: 4.193 MB / 445.2 MB, free: 28.38 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.235e-05/1.009, allocations: 90.42 kB / 445.3 MB, free: 28.27 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00254/1.012, allocations: 1.322 MB / 446.6 MB, free: 26.95 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003101/1.012, allocations: 29.7 kB / 446.6 MB, free: 26.91 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0007548/1.013, allocations: 1.259 MB / 447.9 MB, free: 25.64 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004239/1.014, allocations: 437.4 kB / 448.3 MB, free: 25.2 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001173/1.014, allocations: 0 / 448.3 MB, free: 25.2 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001186/1.014, allocations: 378.8 kB / 448.7 MB, free: 24.82 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001498/1.015, allocations: 0.7535 MB / 449.5 MB, free: 24.07 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001625/1.017, allocations: 1.099 MB / 450.6 MB, free: 22.83 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001905/1.019, allocations: 0.9509 MB / 451.5 MB, free: 21.88 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/1.019, allocations: 4 kB / 451.5 MB, free: 21.88 MB / 314.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.00486/1.024, allocations: 2.203 MB / 453.7 MB, free: 19.66 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.128e-05/1.024, allocations: 15.59 kB / 453.7 MB, free: 19.65 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.13e-05/1.024, allocations: 12 kB / 453.7 MB, free: 19.64 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00143/1.025, allocations: 347.3 kB / 454.1 MB, free: 19.3 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002571/1.028, allocations: 335.5 kB / 454.4 MB, free: 18.97 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006467/1.034, allocations: 3.905 MB / 458.3 MB, free: 14.95 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002012/1.036, allocations: 59.89 kB / 458.4 MB, free: 14.89 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001742/1.037, allocations: 63.98 kB / 458.4 MB, free: 14.83 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.0003416/1.037, allocations: 136.6 kB / 458.6 MB, free: 14.69 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004213/1.041, allocations: 1.854 MB / 460.4 MB, free: 12.83 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004976/1.042, allocations: 178 kB / 460.6 MB, free: 12.65 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004562/1.046, allocations: 1.995 MB / 462.6 MB, free: 10.64 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.839e-05/1.046, allocations: 12 kB / 462.6 MB, free: 10.63 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.046, allocations: 4 kB / 462.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.634e-05/1.046, allocations: 7.969 kB / 462.6 MB, free: 10.62 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01098/1.057, allocations: 4.59 MB / 467.2 MB, free: 5.98 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.911e-05/1.058, allocations: 7.984 kB / 467.2 MB, free: 5.973 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001917/1.059, allocations: 227.7 kB / 467.4 MB, free: 5.75 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001382/1.061, allocations: 328.7 kB / 467.8 MB, free: 5.426 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001314/1.061, allocations: 15.98 kB / 467.8 MB, free: 5.41 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006209/1.067, allocations: 3.829 MB / 471.6 MB, free: 1.469 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.067, allocations: 3.938 kB / 471.6 MB, free: 1.465 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007034/1.074, allocations: 3.127 MB / 474.7 MB, free: 14.27 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001611/1.076, allocations: 442.8 kB / 475.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005998/1.077, allocations: 4 kB / 475.2 MB, free: 13.81 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001811/1.078, allocations: 83.95 kB / 475.2 MB, free: 13.73 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003709/1.079, allocations: 89.19 kB / 475.3 MB, free: 13.64 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001565/1.079, allocations: 39.98 kB / 475.4 MB, free: 13.6 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002265/1.081, allocations: 1.009 MB / 476.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of sort global known variables: time 6.41e-07/1.081, allocations: 0 / 476.4 MB, free: 12.59 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002808/1.084, allocations: 0.4921 MB / 476.9 MB, free: 12.1 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.008354/1.093, allocations: 4.103 MB / 481 MB, free: 7.941 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.005261/1.098, allocations: 2.155 MB / 483.1 MB, free: 5.746 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 8.055e-06/1.098, allocations: 448 / 483.1 MB, free: 5.746 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003139/1.101, allocations: 1.246 MB / 484.4 MB, free: 4.469 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003094/1.104, allocations: 341.1 kB / 484.7 MB, free: 4.133 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01562/1.12, allocations: 5.181 MB / 489.9 MB, free: 14.87 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003345/1.123, allocations: 2.408 MB / 492.3 MB, free: 12.43 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002439/1.126, allocations: 1.015 MB / 493.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of SimCode: time 1.413e-06/1.126, allocations: 0 / 493.3 MB, free: 11.42 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.511/4.637, allocations: 61.48 MB / 0.5418 GB, free: 67.95 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