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.838/1.838, allocations: 171.2 MB / 183.3 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.404e-05, allocations: 4 kB / 225.1 MB, free: 2.211 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2581/0.2581, allocations: 38.77 MB / 263.9 MB, free: 9.797 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1464/0.4046, allocations: 82.41 MB / 346.3 MB, free: 7.266 MB / 298.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003099/0.4049, allocations: 83.95 kB / 346.3 MB, free: 7.184 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6371/1.042, allocations: 75.07 MB / 421.4 MB, free: 51.27 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.515e-06/1.042, allocations: 4 kB / 421.4 MB, free: 51.27 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0003526/1.042, allocations: 83.88 kB / 421.5 MB, free: 51.19 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.01214/1.055, allocations: 2.853 MB / 424.4 MB, free: 48.27 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.589e-05/1.055, allocations: 12.03 kB / 424.4 MB, free: 48.26 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001654/1.056, allocations: 426 kB / 424.8 MB, free: 47.84 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002218/1.059, allocations: 407.6 kB / 425.2 MB, free: 47.43 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007718/1.066, allocations: 1.977 MB / 427.2 MB, free: 45.4 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002833/1.067, allocations: 221.8 kB / 427.4 MB, free: 45.18 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000997/1.068, allocations: 284 kB / 427.7 MB, free: 44.91 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01381/1.082, allocations: 4.055 MB / 431.7 MB, free: 40.69 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001192/1.082, allocations: 4 kB / 431.7 MB, free: 40.68 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005717/1.082, allocations: 128 kB / 431.8 MB, free: 40.56 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001789/1.082, allocations: 133.9 kB / 432 MB, free: 40.43 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.008762/1.091, allocations: 3.12 MB / 435.1 MB, free: 37.3 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02652/1.118, allocations: 10.92 MB / 446 MB, free: 26.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.004896/1.123, allocations: 2.589 MB / 448.6 MB, free: 23.38 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.003442/1.126, allocations: 1.457 MB / 450.1 MB, free: 21.93 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004126/1.127, allocations: 142 kB / 450.2 MB, free: 21.78 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/1.127, allocations: 43.56 kB / 450.2 MB, free: 21.72 MB / 314.7 MB Notification: Performance of pre-optimization done (n=128): time 4.087e-06/1.127, allocations: 0 / 450.2 MB, free: 21.72 MB / 314.7 MB Notification: Performance of matching and sorting (n=133): time 0.0112/1.138, allocations: 4.382 MB / 454.6 MB, free: 17.28 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.887e-05/1.138, allocations: 102.4 kB / 454.7 MB, free: 17.16 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002978/1.141, allocations: 1.584 MB / 456.3 MB, free: 15.58 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001745/1.141, allocations: 49.7 kB / 456.3 MB, free: 15.52 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008727/1.142, allocations: 1.299 MB / 457.6 MB, free: 14.21 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003863/1.143, allocations: 465.4 kB / 458.1 MB, free: 13.75 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001263/1.143, allocations: 28 kB / 458.1 MB, free: 13.72 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/1.143, allocations: 365.9 kB / 458.5 MB, free: 13.36 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001656/1.144, allocations: 0.777 MB / 459.3 MB, free: 12.58 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001835/1.146, allocations: 1.13 MB / 460.4 MB, free: 11.3 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001918/1.148, allocations: 0.9845 MB / 461.4 MB, free: 10.33 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/1.148, allocations: 4 kB / 461.4 MB, free: 10.32 MB / 314.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005472/1.154, allocations: 2.441 MB / 463.8 MB, free: 7.871 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.512e-05/1.154, allocations: 8 kB / 463.8 MB, free: 7.863 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.915e-05/1.154, allocations: 19.89 kB / 463.8 MB, free: 7.844 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.00144/1.155, allocations: 363.3 kB / 464.2 MB, free: 7.488 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002444/1.158, allocations: 335.5 kB / 464.5 MB, free: 7.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006997/1.165, allocations: 4.042 MB / 468.6 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002242/1.167, allocations: 91.89 kB / 468.7 MB, free: 2.891 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001971/1.167, allocations: 60 kB / 468.7 MB, free: 2.832 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.0003778/1.168, allocations: 188.6 kB / 468.9 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005679/1.168, allocations: 189.7 kB / 469.1 MB, free: 2.453 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004984/1.173, allocations: 2.11 MB / 471.2 MB, free: 336 kB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.722e-05/1.173, allocations: 15.98 kB / 471.2 MB, free: 320 kB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.265e-06/1.173, allocations: 4 kB / 471.2 MB, free: 316 kB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.728e-05/1.173, allocations: 7.969 kB / 471.2 MB, free: 308 kB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01398/1.187, allocations: 5.116 MB / 476.3 MB, free: 11.08 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.988e-05/1.187, allocations: 7.938 kB / 476.4 MB, free: 11.07 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002003/1.189, allocations: 235.6 kB / 476.6 MB, free: 10.84 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001586/1.191, allocations: 340.7 kB / 476.9 MB, free: 10.51 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001396/1.191, allocations: 31.98 kB / 476.9 MB, free: 10.48 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008127/1.199, allocations: 3.967 MB / 480.9 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.199, allocations: 0 / 480.9 MB, free: 6.379 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008116/1.208, allocations: 3.28 MB / 484.2 MB, free: 3.012 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001461/1.209, allocations: 458.7 kB / 484.6 MB, free: 2.543 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003581/1.209, allocations: 28 kB / 484.7 MB, free: 2.516 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001766/1.211, allocations: 104 kB / 484.8 MB, free: 2.414 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003459/1.212, allocations: 88.88 kB / 484.9 MB, free: 2.324 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001593/1.212, allocations: 43.98 kB / 484.9 MB, free: 2.281 MB / 330.7 MB Notification: Performance of sorting global known variables: time 0.002986/1.215, allocations: 1.232 MB / 486.1 MB, free: 1.055 MB / 330.7 MB Notification: Performance of sort global known variables: time 4.71e-07/1.215, allocations: 0 / 486.1 MB, free: 1.055 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.002577/1.217, allocations: 0.5585 MB / 486.7 MB, free: 0.4961 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.008877/1.226, allocations: 4.401 MB / 491.1 MB, free: 12.02 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.005662/1.232, allocations: 2.234 MB / 493.3 MB, free: 9.746 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.006e-05/1.232, allocations: 4 kB / 493.3 MB, free: 9.742 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003252/1.235, allocations: 1.285 MB / 494.6 MB, free: 8.414 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003509/1.239, allocations: 480.8 kB / 495.1 MB, free: 7.945 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01641/1.255, allocations: 5.4 MB / 0.4888 GB, free: 2.465 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2679/1.523, allocations: 2.468 MB / 0.4912 GB, free: 80.15 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 0.002893/1.526, allocations: 477 kB / 0.4916 GB, free: 80.13 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002201/1.528, allocations: 1.035 MB / 0.4926 GB, free: 80.13 MB / 346.7 MB Notification: Performance of SimCode: time 1.353e-06/1.528, allocations: 0 / 0.4926 GB, free: 80.13 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1265/1.655, allocations: 47.9 MB / 0.5394 GB, free: 66.05 MB / 346.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001914/1.655, allocations: 197.8 kB / 0.5396 GB, free: 65.83 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.045/5.701, allocations: 7.938 kB / 0.5396 GB, free: 65.82 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