Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_3_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 2.043/2.043, allocations: 205.8 MB / 218.9 MB, free: 9.27 MB / 186.7 MB Notification: Performance of FrontEnd - loaded program: time 3.755e-05/3.772e-05, allocations: 4 kB / 269.4 MB, free: 6.305 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1066/0.1066, allocations: 47.57 MB / 317 MB, free: 6.648 MB / 266.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4315/0.5382, allocations: 80.94 MB / 398 MB, free: 6.75 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002736/0.5385, allocations: 67.83 kB / 398 MB, free: 6.715 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.09461/0.6332, allocations: 18.99 MB / 417 MB, free: 6.633 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.164e-06/0.6332, allocations: 0 / 417 MB, free: 6.633 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001422/0.6334, allocations: 31.94 kB / 417 MB, free: 6.602 MB / 330.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.004836/0.6382, allocations: 1.342 MB / 418.4 MB, free: 5.285 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.428e-05/0.6383, allocations: 8.031 kB / 418.4 MB, free: 5.277 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005249/0.6389, allocations: 176.5 kB / 418.6 MB, free: 5.164 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000464/0.6393, allocations: 146.3 kB / 418.7 MB, free: 5.02 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002933/0.6423, allocations: 0.9059 MB / 419.6 MB, free: 4.242 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.349e-05/0.6424, allocations: 84.58 kB / 419.7 MB, free: 4.191 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002907/0.6427, allocations: 113.1 kB / 419.8 MB, free: 4.117 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003784/0.6465, allocations: 1.476 MB / 421.3 MB, free: 3.07 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.414e-05/0.6466, allocations: 0 / 421.3 MB, free: 3.07 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001748/0.6468, allocations: 49.75 kB / 421.3 MB, free: 3.059 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.274e-05/0.6468, allocations: 24 kB / 421.3 MB, free: 3.035 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003378/0.6502, allocations: 1.16 MB / 422.5 MB, free: 2.297 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01122/0.6615, allocations: 4.324 MB / 426.8 MB, free: 14.84 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001579/0.6631, allocations: 1.282 MB / 428.1 MB, free: 13.6 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009464/0.664, allocations: 443.3 kB / 428.5 MB, free: 13.31 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.506e-05/0.6641, allocations: 4.438 kB / 428.5 MB, free: 13.3 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.295e-05/0.6642, allocations: 47.81 kB / 428.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 2.855e-06/0.6642, allocations: 0 / 428.6 MB, free: 13.25 MB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.001478/0.6657, allocations: 0.5897 MB / 429.2 MB, free: 12.8 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.129e-05/0.6657, allocations: 59.78 kB / 429.2 MB, free: 12.73 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001468/0.6672, allocations: 0.7271 MB / 430 MB, free: 12.16 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 7.33e-05/0.6673, allocations: 37.39 kB / 430 MB, free: 12.12 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004724/0.6678, allocations: 0.5425 MB / 430.5 MB, free: 11.71 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.668, allocations: 178.3 kB / 430.7 MB, free: 11.56 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.383e-05/0.6681, allocations: 10.62 kB / 430.7 MB, free: 11.55 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002471/0.6683, allocations: 389.5 kB / 431.1 MB, free: 11.2 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006284/0.669, allocations: 280.7 kB / 431.4 MB, free: 11.01 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006952/0.6697, allocations: 363.8 kB / 431.7 MB, free: 10.73 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007397/0.6704, allocations: 342.2 kB / 432.1 MB, free: 10.49 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.194e-06/0.6705, allocations: 0 / 432.1 MB, free: 10.49 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001795/0.6723, allocations: 0.7776 MB / 432.9 MB, free: 9.902 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.319e-05/0.6723, allocations: 4 kB / 432.9 MB, free: 9.898 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.006e-05/0.6723, allocations: 4 kB / 432.9 MB, free: 9.895 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/0.6724, allocations: 4 kB / 432.9 MB, free: 9.891 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.6735, allocations: 155.3 kB / 433 MB, free: 9.746 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.752e-05/0.6736, allocations: 8 kB / 433 MB, free: 9.738 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006872/0.6743, allocations: 66.09 kB / 433.1 MB, free: 9.68 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.634e-05/0.6743, allocations: 23.2 kB / 433.1 MB, free: 9.66 MB / 346.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.0001817/0.6745, allocations: 138.3 kB / 433.2 MB, free: 9.535 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001693/0.6747, allocations: 75.16 kB / 433.3 MB, free: 9.461 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002448/0.675, allocations: 93.16 kB / 433.4 MB, free: 9.414 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.418e-06/0.675, allocations: 4 kB / 433.4 MB, free: 9.41 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.675, allocations: 4 kB / 433.4 MB, free: 9.406 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.059e-05/0.675, allocations: 4 kB / 433.4 MB, free: 9.402 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004709/0.6797, allocations: 1.886 MB / 435.3 MB, free: 7.914 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.149e-05/0.6798, allocations: 4 kB / 435.3 MB, free: 7.91 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001028/0.6808, allocations: 115.4 kB / 435.4 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.004e-05/0.6809, allocations: 96 / 435.4 MB, free: 7.801 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.121e-05/0.6809, allocations: 19.11 kB / 435.4 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.767e-06/0.681, allocations: 4 kB / 435.5 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.785e-06/0.681, allocations: 0 / 435.5 MB, free: 7.785 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00212/0.6831, allocations: 1.084 MB / 436.5 MB, free: 6.93 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003176/0.6834, allocations: 163.3 kB / 436.7 MB, free: 6.758 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000145/0.6836, allocations: 17.48 kB / 436.7 MB, free: 6.75 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007803/0.6844, allocations: 54.83 kB / 436.8 MB, free: 6.703 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001244/0.6845, allocations: 35.84 kB / 436.8 MB, free: 6.672 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.126e-05/0.6846, allocations: 19.42 kB / 436.8 MB, free: 6.656 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.001116/0.6857, allocations: 0.5651 MB / 437.4 MB, free: 6.234 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.71e-07/0.6857, allocations: 0 / 437.4 MB, free: 6.234 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.001054/0.6868, allocations: 283.9 kB / 437.7 MB, free: 5.973 MB / 346.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.002619/0.6894, allocations: 1.854 MB / 439.5 MB, free: 4.09 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.001447/0.6909, allocations: 0.6011 MB / 440.1 MB, free: 3.484 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.069e-05/0.6909, allocations: 4 kB / 440.1 MB, free: 3.48 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000646/0.6916, allocations: 293.4 kB / 440.4 MB, free: 3.191 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001445/0.693, allocations: 167.6 kB / 440.6 MB, free: 3.031 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006085/0.6991, allocations: 2.206 MB / 442.8 MB, free: 0.7656 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/0.7006, allocations: 1.368 MB / 444.1 MB, free: 15.37 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0009488/0.7015, allocations: 209.8 kB / 444.3 MB, free: 15.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007824/0.7023, allocations: 387.3 kB / 444.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of SimCode: time 1.282e-06/0.7023, allocations: 0 / 444.7 MB, free: 14.79 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05925/0.7616, allocations: 17.11 MB / 461.8 MB, free: 13.75 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003579/0.762, allocations: 158.9 kB / 462 MB, free: 13.52 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.873/3.635, allocations: 0 / 462 MB, free: 13.52 MB / 378.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.3_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat