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 2.042/2.042, allocations: 194.9 MB / 208 MB, free: 3.262 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.335e-05/3.354e-05, allocations: 0 / 255.5 MB, free: 2.629 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09179/0.09186, allocations: 44.51 MB / 300 MB, free: 6.066 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4377/0.5296, allocations: 87.77 MB / 387.7 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003127/0.53, allocations: 80.5 kB / 387.8 MB, free: 12.77 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.3037/0.8337, allocations: 74.91 MB / 462.7 MB, free: 3.512 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.8338, allocations: 0 / 462.7 MB, free: 3.512 MB / 346.7 MB Notification: Performance of Transformations before backend: time 0.0003959/0.8342, allocations: 91.81 kB / 462.8 MB, free: 3.422 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.01242/0.8466, allocations: 2.864 MB / 465.7 MB, free: 0.5039 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.647e-05/0.8467, allocations: 12.02 kB / 465.7 MB, free: 0.4922 MB / 346.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.002265/0.849, allocations: 429.1 kB / 466.1 MB, free: 68 kB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003196/0.8522, allocations: 400 kB / 466.5 MB, free: 15.67 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01154/0.8638, allocations: 2.167 MB / 468.7 MB, free: 13.48 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004825/0.8644, allocations: 225.8 kB / 468.9 MB, free: 13.25 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001695/0.8661, allocations: 283.6 kB / 469.2 MB, free: 12.98 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01823/0.8843, allocations: 4.059 MB / 473.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001131/0.8845, allocations: 0 / 473.2 MB, free: 8.762 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008039/0.8853, allocations: 135.7 kB / 473.4 MB, free: 8.633 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002985/0.8857, allocations: 133.9 kB / 473.5 MB, free: 8.5 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01587/0.9016, allocations: 3.12 MB / 476.6 MB, free: 5.371 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04839/0.95, allocations: 11.01 MB / 487.6 MB, free: 10.27 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.006759/0.9568, allocations: 2.58 MB / 490.2 MB, free: 7.473 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.006343/0.9632, allocations: 1.451 MB / 491.6 MB, free: 6.023 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006955/0.964, allocations: 149.8 kB / 491.8 MB, free: 5.863 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.719e-05/0.9641, allocations: 47.56 kB / 491.8 MB, free: 5.809 MB / 378.7 MB Notification: Performance of pre-optimization done (n=128): time 5.6e-06/0.9641, allocations: 0 / 491.8 MB, free: 5.809 MB / 378.7 MB Notification: Performance of matching and sorting (n=133): time 0.01901/0.9831, allocations: 4.374 MB / 496.2 MB, free: 1.371 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.691e-05/0.9833, allocations: 94.36 kB / 496.3 MB, free: 1.262 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00658/0.9899, allocations: 1.694 MB / 498 MB, free: 15.57 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0004823/0.9904, allocations: 49.7 kB / 498.1 MB, free: 15.51 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.002107/0.9925, allocations: 1.322 MB / 499.4 MB, free: 14.18 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.00114/0.9937, allocations: 456.8 kB / 499.8 MB, free: 13.73 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002483/0.994, allocations: 28 kB / 499.8 MB, free: 13.71 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0003196/0.9944, allocations: 361.9 kB / 0.4885 GB, free: 13.35 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003045/0.9974, allocations: 0.7848 MB / 0.4892 GB, free: 12.56 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003593/1.001, allocations: 1.13 MB / 0.4903 GB, free: 11.29 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003729/1.005, allocations: 0.9769 MB / 0.4913 GB, free: 10.32 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.155e-05/1.005, allocations: 7.938 kB / 0.4913 GB, free: 10.31 MB / 394.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.009842/1.015, allocations: 2.445 MB / 0.4937 GB, free: 7.852 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.692e-05/1.015, allocations: 8 kB / 0.4937 GB, free: 7.844 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.415e-05/1.015, allocations: 15.98 kB / 0.4937 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.002173/1.017, allocations: 355.2 kB / 0.4941 GB, free: 7.48 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003637/1.021, allocations: 339.4 kB / 0.4944 GB, free: 7.148 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01205/1.033, allocations: 4.048 MB / 0.4983 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00362/1.037, allocations: 79.84 kB / 0.4984 GB, free: 2.887 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005592/1.037, allocations: 64.05 kB / 0.4985 GB, free: 2.824 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.0006208/1.038, allocations: 200.5 kB / 0.4987 GB, free: 2.621 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001143/1.039, allocations: 185.8 kB / 0.4988 GB, free: 2.438 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008429/1.048, allocations: 2.109 MB / 0.5009 GB, free: 324 kB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.335e-05/1.048, allocations: 19.92 kB / 0.5009 GB, free: 304 kB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.519e-05/1.048, allocations: 4 kB / 0.5009 GB, free: 300 kB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.272e-05/1.048, allocations: 15.97 kB / 0.5009 GB, free: 284 kB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01853/1.066, allocations: 5.152 MB / 0.506 GB, free: 11.06 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.18e-05/1.066, allocations: 8.203 kB / 0.506 GB, free: 11.05 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002156/1.069, allocations: 235.6 kB / 0.5062 GB, free: 10.82 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001714/1.07, allocations: 333 kB / 0.5065 GB, free: 10.49 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003096/1.071, allocations: 35.98 kB / 0.5066 GB, free: 10.46 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008282/1.079, allocations: 3.967 MB / 0.5104 GB, free: 6.363 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.028e-05/1.079, allocations: 4.031 kB / 0.5104 GB, free: 6.359 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008627/1.088, allocations: 3.273 MB / 0.5136 GB, free: 3 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001824/1.089, allocations: 470.7 kB / 0.5141 GB, free: 2.52 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005101/1.09, allocations: 31.98 kB / 0.5141 GB, free: 2.488 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002121/1.092, allocations: 99.97 kB / 0.5142 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004052/1.093, allocations: 96.8 kB / 0.5143 GB, free: 2.297 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000167/1.093, allocations: 43.98 kB / 0.5143 GB, free: 2.254 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.003929/1.097, allocations: 1.311 MB / 0.5156 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of sort global known variables: time 8.91e-07/1.097, allocations: 0 / 0.5156 GB, free: 0.9492 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00372/1.1, allocations: 0.5819 MB / 0.5162 GB, free: 376 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.2857/1.386, allocations: 4.404 MB / 0.5205 GB, free: 89.35 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.005991/1.392, allocations: 2.229 MB / 0.5227 GB, free: 89.07 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 9.127e-06/1.392, allocations: 1.219 kB / 0.5227 GB, free: 89.07 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003448/1.396, allocations: 1.295 MB / 0.5239 GB, free: 88.81 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004182/1.4, allocations: 482.8 kB / 0.5244 GB, free: 88.8 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01809/1.418, allocations: 5.554 MB / 0.5298 GB, free: 87.75 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00464/1.423, allocations: 2.476 MB / 0.5322 GB, free: 87 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 0.002962/1.426, allocations: 490.6 kB / 0.5327 GB, free: 86.98 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002659/1.429, allocations: 1.056 MB / 0.5337 GB, free: 86.98 MB / 410.7 MB Notification: Performance of SimCode: time 1.883e-06/1.429, allocations: 0 / 0.5337 GB, free: 86.98 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1209/1.55, allocations: 49.76 MB / 0.5823 GB, free: 82.98 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002385/1.55, allocations: 202.3 kB / 0.5825 GB, free: 82.75 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.338/5.888, allocations: 0 / 0.5825 GB, free: 82.75 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