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.978/1.978, allocations: 195 MB / 202.8 MB, free: 13.79 MB / 170.7 MB Notification: Performance of FrontEnd - loaded program: time 3.416e-05/3.431e-05, allocations: 4 kB / 249.7 MB, free: 14.82 MB / 218.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3108/0.3108, allocations: 44.49 MB / 294.2 MB, free: 14.33 MB / 250.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1473/0.4582, allocations: 76.07 MB / 370.3 MB, free: 5.773 MB / 314.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003678/0.4587, allocations: 67.95 kB / 370.4 MB, free: 5.707 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08397/0.5427, allocations: 18.8 MB / 389.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5428, allocations: 0 / 389.2 MB, free: 2.777 MB / 330.7 MB Notification: Performance of Transformations before backend: time 0.0001173/0.5429, allocations: 35.92 kB / 389.2 MB, free: 2.742 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.00413/0.547, allocations: 1.334 MB / 390.5 MB, free: 1.359 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.148e-05/0.5471, allocations: 8.031 kB / 390.5 MB, free: 1.352 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004533/0.5476, allocations: 142.4 kB / 390.7 MB, free: 1.211 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.5501, allocations: 0.9061 MB / 391.6 MB, free: 268 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.636e-05/0.5502, allocations: 36 kB / 391.6 MB, free: 232 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002157/0.5504, allocations: 68 kB / 391.7 MB, free: 164 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003026/0.5535, allocations: 1.113 MB / 392.8 MB, free: 15.04 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003285/0.5568, allocations: 1.329 MB / 394.1 MB, free: 13.65 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.589e-05/0.5569, allocations: 3.984 kB / 394.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000149/0.557, allocations: 4 kB / 394.1 MB, free: 13.64 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.561e-05/0.5571, allocations: 27.98 kB / 394.2 MB, free: 13.61 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01057/0.5676, allocations: 4.098 MB / 398.3 MB, free: 9.402 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00158/0.5693, allocations: 1.279 MB / 399.5 MB, free: 7.945 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009293/0.5702, allocations: 433.5 kB / 400 MB, free: 7.516 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.837e-05/0.5703, allocations: 8.438 kB / 400 MB, free: 7.508 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.305e-05/0.5704, allocations: 35 kB / 400 MB, free: 7.465 MB / 346.7 MB Notification: Performance of pre-optimization done (n=51): time 3.827e-06/0.5704, allocations: 4 kB / 400 MB, free: 7.461 MB / 346.7 MB Notification: Performance of matching and sorting (n=51): time 0.001469/0.5718, allocations: 0.5615 MB / 400.6 MB, free: 6.895 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.05e-05/0.5719, allocations: 55.84 kB / 400.6 MB, free: 6.828 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001393/0.5733, allocations: 0.6712 MB / 401.3 MB, free: 6.148 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 6.535e-05/0.5734, allocations: 25.7 kB / 401.3 MB, free: 6.117 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005609/0.574, allocations: 0.5453 MB / 401.9 MB, free: 5.562 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002114/0.5742, allocations: 169.5 kB / 402 MB, free: 5.395 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.769e-05/0.5742, allocations: 0 / 402 MB, free: 5.395 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0002173/0.5745, allocations: 378.8 kB / 402.4 MB, free: 5.016 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006039/0.5751, allocations: 273 kB / 402.7 MB, free: 4.75 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007163/0.5758, allocations: 357.4 kB / 403 MB, free: 4.367 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007423/0.5766, allocations: 333.9 kB / 403.3 MB, free: 4.039 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.5766, allocations: 0 / 403.3 MB, free: 4.039 MB / 346.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001746/0.5783, allocations: 0.7283 MB / 404.1 MB, free: 3.305 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.296e-05/0.5784, allocations: 4 kB / 404.1 MB, free: 3.301 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/0.5784, allocations: 4 kB / 404.1 MB, free: 3.297 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.577e-05/0.5784, allocations: 4 kB / 404.1 MB, free: 3.293 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.5796, allocations: 156.1 kB / 404.2 MB, free: 3.141 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.348e-05/0.5797, allocations: 7.938 kB / 404.2 MB, free: 3.133 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006776/0.5804, allocations: 55.45 kB / 404.3 MB, free: 3.078 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.182e-05/0.5804, allocations: 20 kB / 404.3 MB, free: 3.059 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.0001796/0.5806, allocations: 117.5 kB / 404.4 MB, free: 2.938 MB / 346.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001269/0.5819, allocations: 0.5693 MB / 405 MB, free: 2.359 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.5821, allocations: 71.16 kB / 405.1 MB, free: 2.289 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002688/0.5824, allocations: 82.61 kB / 405.1 MB, free: 2.199 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.041e-05/0.5824, allocations: 7.953 kB / 405.2 MB, free: 2.191 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/0.5824, allocations: 0 / 405.2 MB, free: 2.191 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.081e-05/0.5824, allocations: 3.984 kB / 405.2 MB, free: 2.188 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004179/0.5866, allocations: 1.689 MB / 406.8 MB, free: 456 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.632e-06/0.5867, allocations: 4 kB / 406.9 MB, free: 452 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001162/0.5879, allocations: 123.9 kB / 407 MB, free: 328 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.681e-05/0.5879, allocations: 4 kB / 407 MB, free: 324 kB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.254e-05/0.588, allocations: 4 kB / 407 MB, free: 320 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.546e-06/0.588, allocations: 4 kB / 407 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.588, allocations: 0 / 407 MB, free: 316 kB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002214/0.5902, allocations: 1.041 MB / 408 MB, free: 15.22 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004228/0.5907, allocations: 168.2 kB / 408.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001743/0.5909, allocations: 4 kB / 408.2 MB, free: 15.04 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008066/0.5917, allocations: 51.91 kB / 408.2 MB, free: 14.98 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.5919, allocations: 40.31 kB / 408.3 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.881e-05/0.592, allocations: 12 kB / 408.3 MB, free: 14.93 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.00103/0.593, allocations: 0.5147 MB / 408.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of sort global known variables: time 4.31e-07/0.593, allocations: 0 / 408.8 MB, free: 14.43 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00115/0.5942, allocations: 266.8 kB / 409.1 MB, free: 14.16 MB / 362.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.002551/0.5967, allocations: 1.808 MB / 410.9 MB, free: 12.3 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.001376/0.5982, allocations: 0.5737 MB / 411.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 5.01e-06/0.5982, allocations: 0 / 411.5 MB, free: 11.73 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0006032/0.5988, allocations: 285.5 kB / 411.7 MB, free: 11.45 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001429/0.6002, allocations: 143.9 kB / 411.9 MB, free: 11.31 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006273/0.6065, allocations: 2.151 MB / 414 MB, free: 9.109 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001475/0.6081, allocations: 1.363 MB / 415.4 MB, free: 7.715 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.001027/0.6091, allocations: 205.5 kB / 415.6 MB, free: 7.512 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008612/0.61, allocations: 379.3 kB / 416 MB, free: 7.141 MB / 362.7 MB Notification: Performance of SimCode: time 3.537e-06/0.61, allocations: 0 / 416 MB, free: 7.141 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3368/0.9468, allocations: 15.56 MB / 431.5 MB, free: 103.2 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002322/0.9471, allocations: 137.5 kB / 431.7 MB, free: 103.1 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.928/3.875, allocations: 3.281 kB / 431.7 MB, free: 103.1 MB / 362.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