Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_1_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.824/1.824, allocations: 171.2 MB / 183.3 MB, free: 12.08 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.354e-05, allocations: 4 kB / 225.1 MB, free: 2.254 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2631/0.2632, allocations: 38.77 MB / 263.9 MB, free: 9.727 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.4, allocations: 71.54 MB / 335.4 MB, free: 2.086 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003592/0.4004, allocations: 71.95 kB / 335.5 MB, free: 2.016 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09874/0.4992, allocations: 19.35 MB / 354.8 MB, free: 14.54 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.575e-06/0.4992, allocations: 4 kB / 354.8 MB, free: 14.53 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001203/0.4994, allocations: 31.94 kB / 354.9 MB, free: 14.5 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: 285 * Number of variables: 285 Notification: Performance of Generate backend data structure: time 0.004587/0.504, allocations: 1.352 MB / 356.2 MB, free: 13.1 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.504, allocations: 8.031 kB / 356.2 MB, free: 13.09 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004975/0.5045, allocations: 177 kB / 356.4 MB, free: 12.91 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004673/0.505, allocations: 146.3 kB / 356.5 MB, free: 12.76 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002978/0.508, allocations: 0.9058 MB / 357.4 MB, free: 11.81 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001104/0.5082, allocations: 86.59 kB / 357.5 MB, free: 11.73 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003255/0.5085, allocations: 112 kB / 357.6 MB, free: 11.62 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004319/0.5128, allocations: 1.474 MB / 359.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.093e-05/0.5129, allocations: 4 kB / 359.1 MB, free: 10.07 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001956/0.5131, allocations: 48 kB / 359.2 MB, free: 10.02 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.594e-05/0.5132, allocations: 28 kB / 359.2 MB, free: 9.996 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003581/0.5168, allocations: 1.16 MB / 360.3 MB, free: 8.832 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01255/0.5294, allocations: 4.307 MB / 364.6 MB, free: 4.391 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001853/0.5313, allocations: 1.289 MB / 365.9 MB, free: 2.926 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.00104/0.5324, allocations: 453.9 kB / 366.4 MB, free: 2.48 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.797e-05/0.5324, allocations: 4.438 kB / 366.4 MB, free: 2.477 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.65e-05/0.5325, allocations: 39 kB / 366.4 MB, free: 2.43 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 3.086e-06/0.5325, allocations: 0 / 366.4 MB, free: 2.43 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.001576/0.5341, allocations: 0.585 MB / 367 MB, free: 1.836 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.371e-05/0.5342, allocations: 63.83 kB / 367.1 MB, free: 1.762 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001632/0.5358, allocations: 0.7299 MB / 367.8 MB, free: 1.027 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.837e-05/0.5359, allocations: 37.7 kB / 367.8 MB, free: 0.9844 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005575/0.5365, allocations: 0.5415 MB / 368.4 MB, free: 444 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002133/0.5367, allocations: 177.4 kB / 368.6 MB, free: 264 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.5368, allocations: 12 kB / 368.6 MB, free: 252 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.2226/0.7594, allocations: 389.8 kB / 368.9 MB, free: 84.75 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009807/0.7605, allocations: 272.3 kB / 369.2 MB, free: 84.75 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009316/0.7614, allocations: 367.9 kB / 369.6 MB, free: 84.67 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009643/0.7624, allocations: 343.6 kB / 369.9 MB, free: 84.66 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.044e-06/0.7625, allocations: 1.781 kB / 369.9 MB, free: 84.66 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002063/0.7645, allocations: 0.7715 MB / 370.7 MB, free: 84.61 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.067e-05/0.7646, allocations: 7.188 kB / 370.7 MB, free: 84.61 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.7646, allocations: 2.344 kB / 370.7 MB, free: 84.61 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.846e-05/0.7647, allocations: 5.844 kB / 370.7 MB, free: 84.61 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.7658, allocations: 155.9 kB / 370.8 MB, free: 84.61 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.844e-05/0.7659, allocations: 7.547 kB / 370.9 MB, free: 84.61 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007808/0.7667, allocations: 67.16 kB / 370.9 MB, free: 84.61 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.399e-05/0.7667, allocations: 20.88 kB / 370.9 MB, free: 84.61 MB / 314.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 69 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001793/0.7669, allocations: 141.4 kB / 371.1 MB, free: 84.51 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000175/0.7671, allocations: 74.88 kB / 371.1 MB, free: 84.51 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002553/0.7674, allocations: 93.78 kB / 371.2 MB, free: 84.5 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.724e-06/0.7674, allocations: 3.875 kB / 371.2 MB, free: 84.5 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.388e-06/0.7674, allocations: 3.266 kB / 371.2 MB, free: 84.5 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/0.7674, allocations: 7.5 kB / 371.3 MB, free: 84.5 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003977/0.7714, allocations: 1.87 MB / 373.1 MB, free: 84.16 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.044e-06/0.7715, allocations: 3.219 kB / 373.1 MB, free: 84.16 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000978/0.7725, allocations: 121.6 kB / 373.2 MB, free: 84.16 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.21e-05/0.7725, allocations: 6.938 kB / 373.3 MB, free: 84.16 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.804e-05/0.7726, allocations: 10.91 kB / 373.3 MB, free: 84.16 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.977e-06/0.7726, allocations: 5.328 kB / 373.3 MB, free: 84.16 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.7726, allocations: 0 / 373.3 MB, free: 84.16 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001924/0.7745, allocations: 1.089 MB / 374.4 MB, free: 83.9 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005596/0.7751, allocations: 229.6 kB / 374.6 MB, free: 83.77 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/0.7753, allocations: 13.89 kB / 374.6 MB, free: 83.77 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007564/0.776, allocations: 57.28 kB / 374.7 MB, free: 83.77 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/0.7762, allocations: 37.81 kB / 374.7 MB, free: 83.77 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.719e-05/0.7762, allocations: 17.22 kB / 374.7 MB, free: 83.77 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001011/0.7773, allocations: 0.5744 MB / 375.3 MB, free: 83.67 MB / 314.7 MB Notification: Performance of sort global known variables: time 4.11e-07/0.7773, allocations: 0 / 375.3 MB, free: 83.67 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001069/0.7784, allocations: 287.9 kB / 375.6 MB, free: 83.63 MB / 314.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 3 (transformerL.inductor[1].i,transformerL.inductor[2].i,transformerL.inductor[3].i) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002191/0.7806, allocations: 1.848 MB / 377.4 MB, free: 82.65 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001308/0.7819, allocations: 0.5989 MB / 378 MB, free: 82.64 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 7.684e-06/0.782, allocations: 0 / 378 MB, free: 82.64 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005656/0.7826, allocations: 299 kB / 378.3 MB, free: 82.64 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00143/0.784, allocations: 162.3 kB / 378.5 MB, free: 82.64 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005635/0.7897, allocations: 2.209 MB / 380.7 MB, free: 82.15 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001017/0.7907, allocations: 1.365 MB / 382 MB, free: 81.4 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.0009363/0.7917, allocations: 213 kB / 382.2 MB, free: 81.38 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007105/0.7924, allocations: 387.6 kB / 382.6 MB, free: 81.08 MB / 314.7 MB Notification: Performance of SimCode: time 1.112e-06/0.7924, allocations: 0 / 382.6 MB, free: 81.08 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04937/0.8418, allocations: 17.12 MB / 399.7 MB, free: 70.54 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001454/0.842, allocations: 150.5 kB / 399.9 MB, free: 70.32 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.838/3.68, allocations: 0 / 399.9 MB, free: 70.32 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat