Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_2_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.876/1.876, allocations: 194.9 MB / 208 MB, free: 3.184 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.344e-05/3.349e-05, allocations: 4 kB / 255.5 MB, free: 2.617 MB / 202.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.0959/0.09596, allocations: 44.5 MB / 300 MB, free: 6.051 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4444/0.5405, allocations: 76.73 MB / 376.7 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002714/0.5408, allocations: 71.19 kB / 376.8 MB, free: 12.3 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07594/0.6168, allocations: 19.02 MB / 395.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.274e-06/0.6168, allocations: 0 / 395.8 MB, free: 10.28 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001148/0.617, allocations: 34.72 kB / 395.8 MB, free: 10.27 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.004513/0.6215, allocations: 1.343 MB / 397.2 MB, free: 9.527 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.6216, allocations: 7.75 kB / 397.2 MB, free: 9.527 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005424/0.6221, allocations: 176.5 kB / 397.4 MB, free: 9.457 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004342/0.6226, allocations: 143.9 kB / 397.5 MB, free: 9.387 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002713/0.6253, allocations: 0.9102 MB / 398.4 MB, free: 8.941 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.479e-05/0.6254, allocations: 81.84 kB / 398.5 MB, free: 8.938 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003291/0.6258, allocations: 110.7 kB / 398.6 MB, free: 8.938 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003733/0.6295, allocations: 1.475 MB / 400.1 MB, free: 8.527 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.008e-05/0.6296, allocations: 3.844 kB / 400.1 MB, free: 8.527 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001768/0.6298, allocations: 44.19 kB / 400.1 MB, free: 8.527 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.549e-05/0.6298, allocations: 27.22 kB / 400.1 MB, free: 8.527 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00358/0.6334, allocations: 1.168 MB / 401.3 MB, free: 8.387 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01178/0.6453, allocations: 4.31 MB / 405.6 MB, free: 6.406 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001387/0.6467, allocations: 1.283 MB / 406.9 MB, free: 5.453 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009171/0.6477, allocations: 452.2 kB / 407.3 MB, free: 5.387 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.598e-05/0.6477, allocations: 8.188 kB / 407.3 MB, free: 5.387 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.66e-05/0.6478, allocations: 42.25 kB / 407.4 MB, free: 5.344 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 3.727e-06/0.6478, allocations: 3.875 kB / 407.4 MB, free: 5.344 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.001395/0.6492, allocations: 0.5912 MB / 408 MB, free: 5.184 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.51e-05/0.6493, allocations: 55.72 kB / 408 MB, free: 5.121 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001351/0.6506, allocations: 0.728 MB / 408.8 MB, free: 4.906 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001114/0.6508, allocations: 33.3 kB / 408.8 MB, free: 4.875 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003619/0.6511, allocations: 0.5466 MB / 409.3 MB, free: 4.539 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001654/0.6513, allocations: 176.5 kB / 409.5 MB, free: 4.414 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.286e-05/0.6514, allocations: 18.69 kB / 409.5 MB, free: 4.406 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001489/0.6515, allocations: 380.6 kB / 409.9 MB, free: 4.074 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005641/0.6521, allocations: 279.3 kB / 410.2 MB, free: 4.031 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000595/0.6527, allocations: 370.8 kB / 410.5 MB, free: 3.898 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006463/0.6534, allocations: 338.8 kB / 410.9 MB, free: 3.824 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/0.6534, allocations: 0 / 410.9 MB, free: 3.824 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00161/0.655, allocations: 0.7742 MB / 411.6 MB, free: 3.625 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.617e-05/0.6551, allocations: 7.781 kB / 411.7 MB, free: 3.625 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.165e-05/0.6551, allocations: 4 kB / 411.7 MB, free: 3.621 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.927e-05/0.6551, allocations: 11.7 kB / 411.7 MB, free: 3.617 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001158/0.6563, allocations: 154.9 kB / 411.8 MB, free: 3.582 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.853e-05/0.6563, allocations: 7.656 kB / 411.8 MB, free: 3.582 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007729/0.6571, allocations: 62 kB / 411.9 MB, free: 3.547 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.606e-05/0.6572, allocations: 19.25 kB / 411.9 MB, free: 3.547 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.0001702/0.6574, allocations: 138.3 kB / 412 MB, free: 3.43 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.6575, allocations: 70.38 kB / 412.1 MB, free: 3.395 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002777/0.6578, allocations: 91.11 kB / 412.2 MB, free: 3.375 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.115e-06/0.6578, allocations: 7.844 kB / 412.2 MB, free: 3.371 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-05/0.6579, allocations: 3.953 kB / 412.2 MB, free: 3.367 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.6579, allocations: 3.984 kB / 412.2 MB, free: 3.363 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004029/0.6619, allocations: 1.879 MB / 414.1 MB, free: 2.641 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.294e-06/0.662, allocations: 3.938 kB / 414.1 MB, free: 2.637 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000986/0.663, allocations: 120.6 kB / 414.2 MB, free: 2.613 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.051e-05/0.663, allocations: 4 kB / 414.2 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.85e-05/0.6631, allocations: 9.688 kB / 414.2 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.452e-06/0.6631, allocations: 3.875 kB / 414.2 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.227e-06/0.6631, allocations: 0 / 414.2 MB, free: 2.609 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001899/0.665, allocations: 1.093 MB / 415.3 MB, free: 2.223 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003658/0.6654, allocations: 166.1 kB / 415.5 MB, free: 2.078 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001483/0.6656, allocations: 10.94 kB / 415.5 MB, free: 2.078 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007844/0.6664, allocations: 57.75 kB / 415.6 MB, free: 2.059 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001293/0.6665, allocations: 42.47 kB / 415.6 MB, free: 2.043 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.585e-05/0.6666, allocations: 11.31 kB / 415.6 MB, free: 2.043 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.00105/0.6676, allocations: 0.5685 MB / 416.2 MB, free: 1.883 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.01e-07/0.6676, allocations: 0 / 416.2 MB, free: 1.883 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001101/0.6688, allocations: 283.2 kB / 416.5 MB, free: 1.82 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.002131/0.6709, allocations: 1.852 MB / 418.3 MB, free: 0.6914 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.6722, allocations: 0.5955 MB / 418.9 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.511e-06/0.6723, allocations: 0 / 418.9 MB, free: 0.5977 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000571/0.6728, allocations: 297.7 kB / 419.2 MB, free: 0.5508 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001384/0.6742, allocations: 163.3 kB / 419.4 MB, free: 0.5156 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005451/0.6797, allocations: 2.207 MB / 421.6 MB, free: 15.57 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001184/0.681, allocations: 1.364 MB / 422.9 MB, free: 14.63 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 0.0009764/0.6819, allocations: 214 kB / 423.1 MB, free: 14.55 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007412/0.6827, allocations: 384.7 kB / 423.5 MB, free: 14.51 MB / 330.7 MB Notification: Performance of SimCode: time 1.052e-06/0.6827, allocations: 3.938 kB / 423.5 MB, free: 14.5 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0554/0.7381, allocations: 17.1 MB / 440.6 MB, free: 3.68 MB / 330.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000263/0.7384, allocations: 158.8 kB / 440.8 MB, free: 3.453 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.901/3.64, allocations: 0 / 440.8 MB, free: 3.453 MB / 330.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.2_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat