Running command: "" <> buildModelFMU(Modelica.Electrical.MultiPhase.Examples.TransformerYD,fileNamePrefix="Modelica_3_2_1_cpp_Modelica_Electrical_MultiPhase_Examples_TransformerYD",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.716/1.716, allocations: 171.2 MB / 178.8 MB, free: 168 kB / 138.7 MB Notification: Performance of FrontEnd - loaded program: time 2.858e-05/2.868e-05, allocations: 4 kB / 219.6 MB, free: 7.328 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2843/0.2844, allocations: 38.76 MB / 258.3 MB, free: 12.05 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1642/0.4487, allocations: 70.87 MB / 329.2 MB, free: 6.961 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000261/0.449, allocations: 71.97 kB / 329.3 MB, free: 6.891 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07762/0.5266, allocations: 19.12 MB / 348.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.382e-06/0.5267, allocations: 0 / 348.4 MB, free: 3.637 MB / 298.7 MB Notification: Performance of Transformations before backend: time 0.0001012/0.5268, allocations: 35.92 kB / 348.4 MB, free: 3.602 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.003635/0.5304, allocations: 1.345 MB / 349.7 MB, free: 2.207 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/0.5305, allocations: 8.031 kB / 349.8 MB, free: 2.199 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000357/0.5309, allocations: 142.3 kB / 349.9 MB, free: 2.059 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002453/0.5333, allocations: 0.9098 MB / 350.8 MB, free: 1.102 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.85e-05/0.5334, allocations: 40.28 kB / 350.8 MB, free: 1.062 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002329/0.5336, allocations: 75.94 kB / 350.9 MB, free: 0.9883 MB / 298.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.002927/0.5366, allocations: 1.109 MB / 352 MB, free: 15.88 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003211/0.5398, allocations: 1.322 MB / 353.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.174e-05/0.5399, allocations: 0 / 353.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001363/0.54, allocations: 7.984 kB / 353.4 MB, free: 14.48 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.123e-05/0.54, allocations: 24 kB / 353.4 MB, free: 14.45 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01016/0.5502, allocations: 4.096 MB / 357.5 MB, free: 10.24 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001585/0.5518, allocations: 1.275 MB / 358.8 MB, free: 8.789 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009122/0.5528, allocations: 434 kB / 359.2 MB, free: 8.363 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.662e-05/0.5528, allocations: 4.438 kB / 359.2 MB, free: 8.359 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.776e-05/0.5529, allocations: 43 kB / 359.2 MB, free: 8.309 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 2.815e-06/0.5529, allocations: 0 / 359.2 MB, free: 8.309 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.001364/0.5543, allocations: 0.5577 MB / 359.8 MB, free: 7.742 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.75e-05/0.5543, allocations: 59.84 kB / 359.8 MB, free: 7.672 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001306/0.5556, allocations: 0.6712 MB / 360.5 MB, free: 6.992 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 5.162e-05/0.5557, allocations: 25.7 kB / 360.5 MB, free: 6.961 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004896/0.5562, allocations: 0.5672 MB / 361.1 MB, free: 6.387 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001885/0.5564, allocations: 165.5 kB / 361.3 MB, free: 6.223 MB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.686e-05/0.5565, allocations: 0 / 361.3 MB, free: 6.223 MB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001603/0.5566, allocations: 338.8 kB / 361.6 MB, free: 5.883 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005785/0.5572, allocations: 269 kB / 361.9 MB, free: 5.621 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006785/0.5579, allocations: 361.4 kB / 362.2 MB, free: 5.234 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007091/0.5586, allocations: 325.9 kB / 362.5 MB, free: 4.918 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5587, allocations: 0 / 362.5 MB, free: 4.918 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00154/0.5602, allocations: 0.682 MB / 363.2 MB, free: 4.227 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.979e-05/0.5602, allocations: 4 kB / 363.2 MB, free: 4.223 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.062e-05/0.5603, allocations: 4.281 kB / 363.2 MB, free: 4.219 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.604e-05/0.5603, allocations: 8 kB / 363.2 MB, free: 4.211 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001148/0.5614, allocations: 155.7 kB / 363.4 MB, free: 4.059 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.5615, allocations: 7.938 kB / 363.4 MB, free: 4.051 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006551/0.5621, allocations: 55.41 kB / 363.4 MB, free: 3.996 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.774e-05/0.5622, allocations: 20 kB / 363.5 MB, free: 3.977 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.0001725/0.5624, allocations: 122.2 kB / 363.6 MB, free: 3.852 MB / 314.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001216/0.5636, allocations: 0.5577 MB / 364.1 MB, free: 3.285 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001556/0.5638, allocations: 79.08 kB / 364.2 MB, free: 3.207 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002367/0.564, allocations: 82.86 kB / 364.3 MB, free: 3.121 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.013e-05/0.5641, allocations: 8 kB / 364.3 MB, free: 3.113 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5641, allocations: 0 / 364.3 MB, free: 3.113 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.723e-06/0.5641, allocations: 0 / 364.3 MB, free: 3.113 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003846/0.5679, allocations: 1.689 MB / 366 MB, free: 1.367 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.358e-06/0.568, allocations: 0 / 366 MB, free: 1.367 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009811/0.569, allocations: 119.8 kB / 366.1 MB, free: 1.25 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.074e-05/0.569, allocations: 7.953 kB / 366.1 MB, free: 1.242 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.293e-05/0.569, allocations: 7.984 kB / 366.1 MB, free: 1.234 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.402e-06/0.5691, allocations: 4 kB / 366.1 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.526e-06/0.5691, allocations: 0 / 366.1 MB, free: 1.23 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001971/0.571, allocations: 1.042 MB / 367.2 MB, free: 148 kB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.2246/0.7956, allocations: 215.5 kB / 367.4 MB, free: 86.48 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002642/0.7959, allocations: 6.484 kB / 367.4 MB, free: 86.48 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007747/0.7967, allocations: 47.44 kB / 367.4 MB, free: 86.48 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001603/0.7969, allocations: 36.95 kB / 367.5 MB, free: 86.48 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.977e-05/0.797, allocations: 14.33 kB / 367.5 MB, free: 86.48 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001275/0.7983, allocations: 0.5291 MB / 368 MB, free: 86.38 MB / 314.7 MB Notification: Performance of sort global known variables: time 6.91e-07/0.7983, allocations: 0.5312 kB / 368 MB, free: 86.38 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001386/0.7997, allocations: 268.2 kB / 368.3 MB, free: 86.38 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.00237/0.8021, allocations: 1.802 MB / 370.1 MB, free: 85.46 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001272/0.8034, allocations: 0.5803 MB / 370.7 MB, free: 85.46 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/0.8034, allocations: 0 / 370.7 MB, free: 85.46 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005725/0.804, allocations: 288.2 kB / 370.9 MB, free: 85.45 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001357/0.8054, allocations: 138.3 kB / 371.1 MB, free: 85.45 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005801/0.8112, allocations: 2.15 MB / 373.2 MB, free: 84.96 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001056/0.8123, allocations: 1.348 MB / 374.6 MB, free: 84.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008015/0.8131, allocations: 389.8 kB / 375 MB, free: 84.25 MB / 314.7 MB Notification: Performance of SimCode: time 9.52e-07/0.8132, allocations: 3.094 kB / 375 MB, free: 84.25 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.68/3.493, allocations: 18.87 MB / 393.8 MB, free: 77.61 MB / 314.7 MB TODO: How the !@#!# did the simulation report success but simulation result Modelica_3.2.1_cpp_Modelica.Electrical.MultiPhase.Examples.TransformerYD_res.mat does not exist to compare? outputFormat=mat