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.769/1.769, allocations: 171.3 MB / 178.4 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 1.659e-05/1.659e-05, allocations: 0 / 219.6 MB, free: 6.945 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.318/0.318, allocations: 38.75 MB / 258.3 MB, free: 12.2 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1478/0.4659, allocations: 70.87 MB / 329.2 MB, free: 6.91 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002712/0.4662, allocations: 71.97 kB / 329.3 MB, free: 6.84 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08228/0.5485, allocations: 19.12 MB / 348.4 MB, free: 3.582 MB / 298.7 MB Notification: Performance of FrontEnd: time 2.645e-06/0.5486, allocations: 0 / 348.4 MB, free: 3.582 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001233/0.5487, allocations: 31.94 kB / 348.4 MB, free: 3.551 MB / 298.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.004541/0.5533, allocations: 1.346 MB / 349.8 MB, free: 2.156 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.427e-05/0.5534, allocations: 8.031 kB / 349.8 MB, free: 2.148 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006377/0.554, allocations: 142.3 kB / 349.9 MB, free: 2.008 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002945/0.557, allocations: 0.9097 MB / 350.8 MB, free: 1.051 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.984e-05/0.5571, allocations: 44.28 kB / 350.9 MB, free: 1.008 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002411/0.5573, allocations: 67.95 kB / 350.9 MB, free: 0.9414 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003129/0.5605, allocations: 1.117 MB / 352.1 MB, free: 15.82 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003274/0.5638, allocations: 1.322 MB / 353.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.132e-05/0.5639, allocations: 0 / 353.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.564, allocations: 0 / 353.4 MB, free: 14.43 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.317e-05/0.5641, allocations: 28 kB / 353.4 MB, free: 14.4 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01118/0.5752, allocations: 4.104 MB / 357.5 MB, free: 10.18 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001608/0.5769, allocations: 1.26 MB / 358.8 MB, free: 8.746 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009285/0.5778, allocations: 433.9 kB / 359.2 MB, free: 8.32 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.376e-05/0.5779, allocations: 12.42 kB / 359.2 MB, free: 8.309 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.015e-05/0.578, allocations: 39 kB / 359.2 MB, free: 8.262 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 2.896e-06/0.578, allocations: 0 / 359.2 MB, free: 8.262 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.001414/0.5794, allocations: 0.5538 MB / 359.8 MB, free: 7.699 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.356e-05/0.5795, allocations: 59.84 kB / 359.9 MB, free: 7.629 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001388/0.5809, allocations: 0.6713 MB / 360.5 MB, free: 6.949 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 6.006e-05/0.5809, allocations: 25.7 kB / 360.6 MB, free: 6.918 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005398/0.5815, allocations: 0.5531 MB / 361.1 MB, free: 6.355 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002009/0.5817, allocations: 165.5 kB / 361.3 MB, free: 6.191 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.5818, allocations: 0 / 361.3 MB, free: 6.191 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0002203/0.582, allocations: 386.7 kB / 361.6 MB, free: 5.805 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005856/0.5826, allocations: 269 kB / 361.9 MB, free: 5.543 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006758/0.5833, allocations: 357.4 kB / 362.3 MB, free: 5.16 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007289/0.584, allocations: 337.9 kB / 362.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.649e-06/0.584, allocations: 0 / 362.6 MB, free: 4.832 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001703/0.5857, allocations: 0.7283 MB / 363.3 MB, free: 4.094 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.342e-05/0.5858, allocations: 4 kB / 363.3 MB, free: 4.09 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.237e-05/0.5858, allocations: 7.938 kB / 363.3 MB, free: 4.082 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.444e-05/0.5858, allocations: 4.281 kB / 363.3 MB, free: 4.078 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001192/0.587, allocations: 159.7 kB / 363.5 MB, free: 3.922 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.231e-05/0.5871, allocations: 4 kB / 363.5 MB, free: 3.918 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006605/0.5877, allocations: 51.5 kB / 363.5 MB, free: 3.867 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.327e-05/0.5878, allocations: 20 kB / 363.6 MB, free: 3.848 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.0001901/0.588, allocations: 118.2 kB / 363.7 MB, free: 3.727 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001255/0.5893, allocations: 0.5655 MB / 364.2 MB, free: 3.152 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001579/0.5895, allocations: 71.16 kB / 364.3 MB, free: 3.082 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002672/0.5897, allocations: 82.86 kB / 364.4 MB, free: 2.996 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.5898, allocations: 15.92 kB / 364.4 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.462e-06/0.5898, allocations: 0 / 364.4 MB, free: 2.98 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.5898, allocations: 3.984 kB / 364.4 MB, free: 2.977 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003994/0.5938, allocations: 1.681 MB / 366.1 MB, free: 1.238 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.29e-06/0.5938, allocations: 4.094 kB / 366.1 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001006/0.5949, allocations: 127.8 kB / 366.2 MB, free: 1.109 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.154e-05/0.5949, allocations: 3.953 kB / 366.2 MB, free: 1.105 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.405e-05/0.5949, allocations: 4 kB / 366.2 MB, free: 1.102 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.01e-05/0.595, allocations: 4 kB / 366.2 MB, free: 1.098 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.017e-06/0.595, allocations: 0 / 366.2 MB, free: 1.098 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002026/0.597, allocations: 1.042 MB / 367.3 MB, free: 12 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2084/0.8054, allocations: 218 kB / 367.5 MB, free: 86.88 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002538/0.8057, allocations: 7.094 kB / 367.5 MB, free: 86.88 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000851/0.8066, allocations: 45.83 kB / 367.5 MB, free: 86.88 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001919/0.8068, allocations: 38.88 kB / 367.6 MB, free: 86.88 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.798e-05/0.8069, allocations: 15.38 kB / 367.6 MB, free: 86.88 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001453/0.8084, allocations: 0.5271 MB / 368.1 MB, free: 86.78 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.11e-07/0.8084, allocations: 0.5312 kB / 368.1 MB, free: 86.78 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.00154/0.81, allocations: 266.3 kB / 368.4 MB, free: 86.78 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.002581/0.8126, allocations: 1.805 MB / 370.2 MB, free: 85.83 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001291/0.8139, allocations: 0.5792 MB / 370.8 MB, free: 85.83 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.492e-06/0.814, allocations: 1.219 kB / 370.8 MB, free: 85.83 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005931/0.8146, allocations: 290.7 kB / 371.1 MB, free: 85.83 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001459/0.816, allocations: 138.1 kB / 371.2 MB, free: 85.83 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006468/0.8225, allocations: 2.161 MB / 373.3 MB, free: 85.36 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/0.8237, allocations: 1.375 MB / 374.7 MB, free: 84.66 MB / 314.7 MB Notification: Performance of simCode: alias equations: time 0.001074/0.8248, allocations: 204.9 kB / 374.9 MB, free: 84.66 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008503/0.8257, allocations: 384.2 kB / 375.3 MB, free: 84.65 MB / 314.7 MB Notification: Performance of SimCode: time 1.303e-06/0.8257, allocations: 0 / 375.3 MB, free: 84.65 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06664/0.8924, allocations: 15.56 MB / 390.9 MB, free: 80.65 MB / 314.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002363/0.8927, allocations: 145 kB / 391 MB, free: 80.46 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.895/3.788, allocations: 0 / 391 MB, free: 80.46 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