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.055/2.055, allocations: 195 MB / 202.8 MB, free: 13.78 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 2.301e-05/2.309e-05, allocations: 4 kB / 249.7 MB, free: 14.8 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3058/0.3058, allocations: 44.49 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1631/0.469, allocations: 87.1 MB / 381.3 MB, free: 10.69 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003409/0.4694, allocations: 91.92 kB / 381.4 MB, free: 10.6 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.6174/1.087, allocations: 73.98 MB / 455.4 MB, free: 83.4 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.985e-06/1.087, allocations: 0 / 455.4 MB, free: 83.4 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0003913/1.087, allocations: 99.19 kB / 455.5 MB, free: 83.37 MB / 362.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.01301/1.1, allocations: 2.866 MB / 458.4 MB, free: 81.96 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.168e-05/1.1, allocations: 7.875 kB / 458.4 MB, free: 81.96 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002769/1.103, allocations: 400 kB / 458.8 MB, free: 81.79 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00891/1.112, allocations: 2.162 MB / 460.9 MB, free: 80.66 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000228/1.112, allocations: 96.12 kB / 461 MB, free: 80.66 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001098/1.113, allocations: 168.8 kB / 461.2 MB, free: 80.66 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.008848/1.122, allocations: 2.946 MB / 464.1 MB, free: 79.42 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01093/1.133, allocations: 3.639 MB / 467.8 MB, free: 77.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.931e-05/1.133, allocations: 0 / 467.8 MB, free: 77.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004254/1.134, allocations: 4.969 kB / 467.8 MB, free: 77.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001731/1.134, allocations: 137.7 kB / 467.9 MB, free: 77.73 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02721/1.161, allocations: 10.42 MB / 478.3 MB, free: 68.63 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.003492/1.165, allocations: 2.54 MB / 480.9 MB, free: 65.88 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.002982/1.168, allocations: 1.343 MB / 482.2 MB, free: 64.54 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0004479/1.168, allocations: 142.3 kB / 482.4 MB, free: 64.39 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.435e-05/1.168, allocations: 51.88 kB / 482.4 MB, free: 64.33 MB / 362.7 MB Notification: Performance of pre-optimization done (n=128): time 3.938e-06/1.168, allocations: 0 / 482.4 MB, free: 64.33 MB / 362.7 MB Notification: Performance of matching and sorting (n=133): time 0.01108/1.179, allocations: 4.181 MB / 486.6 MB, free: 60.09 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.154e-05/1.18, allocations: 90.42 kB / 486.7 MB, free: 59.99 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002758/1.182, allocations: 1.429 MB / 488.1 MB, free: 58.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 0.000246/1.183, allocations: 25.7 kB / 488.1 MB, free: 58.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008778/1.184, allocations: 1.321 MB / 489.4 MB, free: 57.19 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0004236/1.184, allocations: 449.4 kB / 489.9 MB, free: 56.74 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001172/1.184, allocations: 2.531 kB / 489.9 MB, free: 56.74 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001167/1.184, allocations: 361.9 kB / 490.2 MB, free: 56.38 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001467/1.186, allocations: 0.7535 MB / 491 MB, free: 55.63 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001627/1.187, allocations: 1.091 MB / 492.1 MB, free: 54.39 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/1.189, allocations: 0.9548 MB / 493 MB, free: 53.45 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.689e-06/1.189, allocations: 4 kB / 493 MB, free: 53.44 MB / 362.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.005169/1.194, allocations: 2.289 MB / 495.3 MB, free: 51.14 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.679e-05/1.194, allocations: 8.156 kB / 495.3 MB, free: 51.13 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.902e-05/1.195, allocations: 19.98 kB / 495.4 MB, free: 51.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001414/1.196, allocations: 351.2 kB / 495.7 MB, free: 50.77 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002422/1.198, allocations: 331.5 kB / 496 MB, free: 50.45 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006453/1.205, allocations: 3.912 MB / 499.9 MB, free: 46.42 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002219/1.207, allocations: 55.92 kB / 500 MB, free: 46.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001889/1.207, allocations: 63.98 kB / 0.4883 GB, free: 46.3 MB / 362.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.0003557/1.208, allocations: 136.6 kB / 0.4885 GB, free: 46.16 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004251/1.212, allocations: 1.854 MB / 0.4903 GB, free: 44.3 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005326/1.213, allocations: 173.9 kB / 0.4904 GB, free: 44.12 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004639/1.217, allocations: 1.99 MB / 0.4924 GB, free: 42.12 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.832e-05/1.217, allocations: 12 kB / 0.4924 GB, free: 42.11 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/1.217, allocations: 7.938 kB / 0.4924 GB, free: 42.1 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.555e-05/1.217, allocations: 3.984 kB / 0.4924 GB, free: 42.1 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01159/1.229, allocations: 4.648 MB / 0.4969 GB, free: 37.41 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.805e-05/1.229, allocations: 4 kB / 0.497 GB, free: 37.4 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002028/1.231, allocations: 235.4 kB / 0.4972 GB, free: 37.18 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001469/1.233, allocations: 336.9 kB / 0.4975 GB, free: 36.84 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002011/1.233, allocations: 19.92 kB / 0.4975 GB, free: 36.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006389/1.239, allocations: 3.824 MB / 0.5013 GB, free: 32.89 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.891e-06/1.239, allocations: 4.062 kB / 0.5013 GB, free: 32.88 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006378/1.246, allocations: 3.124 MB / 0.5043 GB, free: 29.69 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001519/1.247, allocations: 445.7 kB / 0.5047 GB, free: 29.23 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005636/1.248, allocations: 11.95 kB / 0.5047 GB, free: 29.22 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001858/1.25, allocations: 79.97 kB / 0.5048 GB, free: 29.14 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003302/1.25, allocations: 93.17 kB / 0.5049 GB, free: 29.05 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.25, allocations: 39.98 kB / 0.5049 GB, free: 29.02 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.002063/1.252, allocations: 1.084 MB / 0.506 GB, free: 27.93 MB / 362.7 MB Notification: Performance of sort global known variables: time 5.31e-07/1.252, allocations: 4 kB / 0.506 GB, free: 27.93 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.002512/1.255, allocations: 0.5038 MB / 0.5065 GB, free: 27.43 MB / 362.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.007257/1.262, allocations: 4.118 MB / 0.5105 GB, free: 23.25 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.004814/1.267, allocations: 2.152 MB / 0.5126 GB, free: 21.06 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 8.946e-06/1.267, allocations: 4 kB / 0.5126 GB, free: 21.06 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.002652/1.27, allocations: 1.25 MB / 0.5138 GB, free: 19.78 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003067/1.273, allocations: 359.2 kB / 0.5142 GB, free: 19.43 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01564/1.288, allocations: 5.396 MB / 0.5195 GB, free: 13.97 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002794/1.291, allocations: 2.477 MB / 0.5219 GB, free: 11.46 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.002289/1.294, allocations: 452.5 kB / 0.5223 GB, free: 11.02 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002213/1.296, allocations: 1.038 MB / 0.5233 GB, free: 9.984 MB / 362.7 MB Notification: Performance of SimCode: time 2.274e-06/1.296, allocations: 4 kB / 0.5233 GB, free: 9.98 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4498/1.746, allocations: 42.13 MB / 0.5645 GB, free: 93.54 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002208/1.746, allocations: 167.2 kB / 0.5646 GB, free: 93.36 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.934/5.68, allocations: 0 / 0.5646 GB, free: 93.36 MB / 394.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