Running command: "" <> buildModelFMU(Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_Machines_Examples_Transformers_TransformerTestbench",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.263/2.263, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 4.13e-05/4.138e-05, allocations: 0 / 269.5 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.1245, allocations: 47.58 MB / 317 MB, free: 6.641 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.48/0.6046, allocations: 91.98 MB / 409 MB, free: 11.79 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0005132/0.6052, allocations: 82.14 kB / 409.1 MB, free: 11.74 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.4156/1.021, allocations: 74.2 MB / 483.3 MB, free: 8.688 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.033e-06/1.021, allocations: 0 / 483.3 MB, free: 8.688 MB / 394.7 MB Notification: Performance of Transformations before backend: time 0.0003621/1.021, allocations: 83.88 kB / 483.4 MB, free: 8.605 MB / 394.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.01171/1.033, allocations: 2.876 MB / 486.3 MB, free: 5.668 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.445e-05/1.033, allocations: 8.031 kB / 486.3 MB, free: 5.66 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001772/1.035, allocations: 433.7 kB / 486.7 MB, free: 5.227 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002021/1.037, allocations: 387.8 kB / 487.1 MB, free: 4.844 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007829/1.045, allocations: 2.178 MB / 489.2 MB, free: 2.609 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003074/1.045, allocations: 217.8 kB / 489.5 MB, free: 2.395 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001171/1.046, allocations: 284 kB / 489.7 MB, free: 2.117 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01244/1.059, allocations: 4.036 MB / 493.8 MB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.038e-05/1.059, allocations: 0 / 493.8 MB, free: 13.92 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005465/1.059, allocations: 124 kB / 493.9 MB, free: 13.8 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002212/1.06, allocations: 137.9 kB / 494 MB, free: 13.66 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01049/1.07, allocations: 3.077 MB / 497.1 MB, free: 10.58 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03423/1.104, allocations: 11.01 MB / 0.4962 GB, free: 15.38 MB / 426.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00473/1.109, allocations: 2.573 MB / 0.4987 GB, free: 12.59 MB / 426.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.004345/1.114, allocations: 1.449 MB / 0.5001 GB, free: 11.14 MB / 426.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0005408/1.114, allocations: 138 kB / 0.5003 GB, free: 10.98 MB / 426.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.249e-05/1.114, allocations: 51.56 kB / 0.5003 GB, free: 10.92 MB / 426.7 MB Notification: Performance of pre-optimization done (n=128): time 5.01e-06/1.114, allocations: 0 / 0.5003 GB, free: 10.92 MB / 426.7 MB Notification: Performance of matching and sorting (n=133): time 0.01423/1.129, allocations: 4.386 MB / 0.5046 GB, free: 6.477 MB / 426.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.337e-05/1.129, allocations: 90.42 kB / 0.5047 GB, free: 6.371 MB / 426.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004469/1.133, allocations: 1.69 MB / 0.5063 GB, free: 4.68 MB / 426.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0003957/1.134, allocations: 57.58 kB / 0.5064 GB, free: 4.617 MB / 426.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00147/1.135, allocations: 1.322 MB / 0.5077 GB, free: 3.277 MB / 426.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0008062/1.136, allocations: 449.4 kB / 0.5081 GB, free: 2.832 MB / 426.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001651/1.136, allocations: 32 kB / 0.5081 GB, free: 2.801 MB / 426.7 MB Notification: Performance of setup shared object (initialization): time 0.0002081/1.136, allocations: 361.9 kB / 0.5085 GB, free: 2.441 MB / 426.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002118/1.138, allocations: 0.7809 MB / 0.5092 GB, free: 1.66 MB / 426.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002552/1.141, allocations: 1.123 MB / 0.5103 GB, free: 400 kB / 426.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.2899/1.431, allocations: 0.9749 MB / 0.5113 GB, free: 95.64 MB / 426.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.712e-05/1.431, allocations: 3.469 kB / 0.5113 GB, free: 95.64 MB / 426.7 MB Notification: Performance of matching and sorting (n=188) (initialization): time 0.007981/1.439, allocations: 2.417 MB / 0.5137 GB, free: 95.57 MB / 426.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.934e-05/1.439, allocations: 11.97 kB / 0.5137 GB, free: 95.57 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.235e-05/1.439, allocations: 12.42 kB / 0.5137 GB, free: 95.57 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001664/1.441, allocations: 363.2 kB / 0.514 GB, free: 95.56 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002915/1.444, allocations: 334.9 kB / 0.5143 GB, free: 95.56 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008579/1.453, allocations: 4.047 MB / 0.5183 GB, free: 94.23 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002768/1.455, allocations: 90.34 kB / 0.5184 GB, free: 94.23 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004869/1.456, allocations: 64.41 kB / 0.5184 GB, free: 94.23 MB / 426.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.0004271/1.456, allocations: 185.6 kB / 0.5186 GB, free: 94.12 MB / 426.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007922/1.457, allocations: 192 kB / 0.5188 GB, free: 94.12 MB / 426.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006139/1.463, allocations: 2.102 MB / 0.5209 GB, free: 94.01 MB / 426.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-05/1.463, allocations: 16.7 kB / 0.5209 GB, free: 94.01 MB / 426.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.323e-05/1.463, allocations: 8.328 kB / 0.5209 GB, free: 94.01 MB / 426.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-05/1.463, allocations: 5.766 kB / 0.5209 GB, free: 94.01 MB / 426.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01575/1.479, allocations: 5.159 MB / 0.5259 GB, free: 93.54 MB / 426.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.361e-05/1.479, allocations: 10.44 kB / 0.5259 GB, free: 93.54 MB / 426.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002131/1.481, allocations: 230.7 kB / 0.5262 GB, free: 93.54 MB / 426.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001629/1.483, allocations: 345.7 kB / 0.5265 GB, free: 93.53 MB / 426.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003094/1.483, allocations: 35.08 kB / 0.5265 GB, free: 93.53 MB / 426.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.006908/1.49, allocations: 3.96 MB / 0.5304 GB, free: 92.18 MB / 426.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/1.49, allocations: 0 / 0.5304 GB, free: 92.18 MB / 426.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007196/1.498, allocations: 3.274 MB / 0.5336 GB, free: 91.72 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.001742/1.499, allocations: 470.6 kB / 0.534 GB, free: 91.54 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007349/1.5, allocations: 34.19 kB / 0.5341 GB, free: 91.53 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002453/1.503, allocations: 103.2 kB / 0.5342 GB, free: 91.53 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004575/1.503, allocations: 91.42 kB / 0.5342 GB, free: 91.53 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000163/1.503, allocations: 42.86 kB / 0.5343 GB, free: 91.53 MB / 426.7 MB Notification: Performance of sorting global known variables: time 0.00321/1.507, allocations: 1.311 MB / 0.5356 GB, free: 91.41 MB / 426.7 MB Notification: Performance of sort global known variables: time 6.62e-07/1.507, allocations: 3.594 kB / 0.5356 GB, free: 91.41 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.00326/1.51, allocations: 0.5661 MB / 0.5361 GB, free: 91.41 MB / 426.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.008476/1.518, allocations: 4.406 MB / 0.5404 GB, free: 89.95 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.005407/1.524, allocations: 2.198 MB / 0.5426 GB, free: 89.68 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 9.388e-06/1.524, allocations: 3.5 kB / 0.5426 GB, free: 89.68 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 0.003246/1.527, allocations: 1.267 MB / 0.5438 GB, free: 89.42 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004094/1.531, allocations: 496.3 kB / 0.5443 GB, free: 89.41 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01671/1.548, allocations: 5.536 MB / 0.5497 GB, free: 88.35 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003642/1.552, allocations: 2.483 MB / 0.5521 GB, free: 87.39 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.002652/1.555, allocations: 481.2 kB / 0.5526 GB, free: 87.37 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002602/1.557, allocations: 1.06 MB / 0.5536 GB, free: 86.5 MB / 426.7 MB Notification: Performance of SimCode: time 1.753e-06/1.557, allocations: 3.031 kB / 0.5536 GB, free: 86.5 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.129/1.686, allocations: 49.49 MB / 0.6019 GB, free: 67.41 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002932/1.687, allocations: 201 kB / 0.6021 GB, free: 67.18 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 4.221/5.908, allocations: 0 / 0.6021 GB, free: 67.18 MB / 426.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.Machines.Examples.Transformers.TransformerTestbench_res.mat does not exist to compare? outputFormat=mat