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.824/1.824, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 4.052e-05/4.068e-05, allocations: 7.984 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2673/0.2673, allocations: 38.76 MB / 263.8 MB, free: 9.766 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1318/0.3992, allocations: 71.53 MB / 335.4 MB, free: 2.125 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002467/0.3995, allocations: 67.97 kB / 335.4 MB, free: 2.059 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08642/0.486, allocations: 19.34 MB / 354.8 MB, free: 14.58 MB / 314.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.486, allocations: 0 / 354.8 MB, free: 14.58 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001527/0.4862, allocations: 35.94 kB / 354.8 MB, free: 14.54 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.004923/0.4911, allocations: 1.348 MB / 356.2 MB, free: 13.15 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.617e-05/0.4912, allocations: 8.031 kB / 356.2 MB, free: 13.14 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006332/0.4919, allocations: 177.1 kB / 356.4 MB, free: 12.96 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004887/0.4924, allocations: 146.3 kB / 356.5 MB, free: 12.81 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003094/0.4955, allocations: 0.9097 MB / 357.4 MB, free: 11.86 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001296/0.4957, allocations: 82.59 kB / 357.5 MB, free: 11.78 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004594/0.4961, allocations: 112 kB / 357.6 MB, free: 11.67 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004577/0.5007, allocations: 1.474 MB / 359.1 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.866e-05/0.5008, allocations: 0 / 359.1 MB, free: 10.12 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001987/0.501, allocations: 48 kB / 359.1 MB, free: 10.08 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.631e-05/0.5011, allocations: 31.94 kB / 359.2 MB, free: 10.05 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00388/0.505, allocations: 1.152 MB / 360.3 MB, free: 8.891 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01349/0.5185, allocations: 4.311 MB / 364.6 MB, free: 4.445 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001803/0.5204, allocations: 1.289 MB / 365.9 MB, free: 2.98 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001093/0.5215, allocations: 442 kB / 366.3 MB, free: 2.547 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.984e-05/0.5216, allocations: 8.422 kB / 366.3 MB, free: 2.539 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.508e-05/0.5217, allocations: 43 kB / 366.4 MB, free: 2.488 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 8.827e-06/0.5217, allocations: 7.922 kB / 366.4 MB, free: 2.48 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.001682/0.5234, allocations: 0.5967 MB / 367 MB, free: 1.875 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.031e-05/0.5235, allocations: 55.84 kB / 367 MB, free: 1.805 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001709/0.5252, allocations: 0.7338 MB / 367.8 MB, free: 1.066 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001468/0.5254, allocations: 33.7 kB / 367.8 MB, free: 1.027 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005542/0.526, allocations: 0.5596 MB / 368.4 MB, free: 472 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002781/0.5263, allocations: 177.4 kB / 368.5 MB, free: 292 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.145e-05/0.5264, allocations: 11.94 kB / 368.6 MB, free: 280 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.2272/0.7535, allocations: 337.9 kB / 368.9 MB, free: 84.59 MB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001033/0.7547, allocations: 278.2 kB / 369.2 MB, free: 84.59 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009745/0.7557, allocations: 363.3 kB / 369.5 MB, free: 84.51 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009353/0.7566, allocations: 346 kB / 369.8 MB, free: 84.5 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.625e-06/0.7567, allocations: 3.812 kB / 369.9 MB, free: 84.5 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00199/0.7587, allocations: 0.7159 MB / 370.6 MB, free: 84.46 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.053e-05/0.7588, allocations: 8.188 kB / 370.6 MB, free: 84.46 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.7588, allocations: 3.094 kB / 370.6 MB, free: 84.46 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.416e-05/0.7588, allocations: 7.812 kB / 370.6 MB, free: 84.46 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001179/0.76, allocations: 155 kB / 370.7 MB, free: 84.46 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.031e-05/0.7601, allocations: 10.3 kB / 370.7 MB, free: 84.46 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007734/0.7609, allocations: 60.59 kB / 370.8 MB, free: 84.46 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.677e-05/0.7609, allocations: 22.41 kB / 370.8 MB, free: 84.46 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.0001809/0.7611, allocations: 137 kB / 371 MB, free: 84.35 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001697/0.7613, allocations: 73.59 kB / 371 MB, free: 84.35 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002583/0.7616, allocations: 99.5 kB / 371.1 MB, free: 84.34 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.685e-06/0.7616, allocations: 3.969 kB / 371.1 MB, free: 84.34 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.1e-05/0.7616, allocations: 3.266 kB / 371.1 MB, free: 84.34 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.705e-06/0.7616, allocations: 3.75 kB / 371.1 MB, free: 84.34 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004212/0.7659, allocations: 1.873 MB / 373 MB, free: 84.01 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.035e-06/0.7659, allocations: 0 / 373 MB, free: 84.01 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001018/0.767, allocations: 122 kB / 373.1 MB, free: 84.01 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.249e-05/0.767, allocations: 3.281 kB / 373.1 MB, free: 84.01 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.612e-05/0.7671, allocations: 8.219 kB / 373.1 MB, free: 84.01 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.125e-06/0.7671, allocations: 2.562 kB / 373.1 MB, free: 84.01 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.307e-06/0.7671, allocations: 3.156 kB / 373.2 MB, free: 84.01 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002012/0.7691, allocations: 1.084 MB / 374.2 MB, free: 83.78 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0006281/0.7698, allocations: 228.9 kB / 374.5 MB, free: 83.64 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001551/0.77, allocations: 17.61 kB / 374.5 MB, free: 83.64 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000786/0.7708, allocations: 57.56 kB / 374.5 MB, free: 83.64 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001385/0.7709, allocations: 33.95 kB / 374.6 MB, free: 83.64 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.885e-05/0.771, allocations: 17.92 kB / 374.6 MB, free: 83.64 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001089/0.7721, allocations: 0.5707 MB / 375.2 MB, free: 83.54 MB / 314.7 MB Notification: Performance of sort global known variables: time 7.31e-07/0.7721, allocations: 5.219 kB / 375.2 MB, free: 83.54 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001189/0.7733, allocations: 281.2 kB / 375.4 MB, free: 83.5 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.002327/0.7757, allocations: 1.849 MB / 377.3 MB, free: 82.52 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001288/0.777, allocations: 0.6023 MB / 377.9 MB, free: 82.52 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 5.209e-06/0.7771, allocations: 0 / 377.9 MB, free: 82.52 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000553/0.7776, allocations: 292.9 kB / 378.2 MB, free: 82.52 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001675/0.7793, allocations: 169 kB / 378.3 MB, free: 82.52 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005908/0.7853, allocations: 2.194 MB / 380.5 MB, free: 82 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001009/0.7864, allocations: 1.341 MB / 381.9 MB, free: 81.26 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008338/0.7873, allocations: 389.2 kB / 382.3 MB, free: 80.95 MB / 314.7 MB Notification: Performance of SimCode: time 1.342e-06/0.7873, allocations: 0 / 382.3 MB, free: 80.95 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.965/3.752, allocations: 19.15 MB / 401.4 MB, free: 68.56 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