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.709/1.709, allocations: 171.2 MB / 183.8 MB, free: 12.03 MB / 154.7 MB Notification: Performance of FrontEnd - loaded program: time 3.427e-05/3.437e-05, allocations: 7.984 kB / 225.1 MB, free: 2.699 MB / 186.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2524/0.2525, allocations: 38.76 MB / 263.8 MB, free: 9.867 MB / 218.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1225/0.375, allocations: 71.53 MB / 335.3 MB, free: 2.227 MB / 282.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00026/0.3754, allocations: 67.97 kB / 335.4 MB, free: 2.16 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.08174/0.4571, allocations: 19.34 MB / 354.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.873e-06/0.4572, allocations: 0 / 354.8 MB, free: 14.68 MB / 314.7 MB Notification: Performance of Transformations before backend: time 0.0001073/0.4573, allocations: 35.94 kB / 354.8 MB, free: 14.65 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.003896/0.4612, allocations: 1.349 MB / 356.1 MB, free: 13.25 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.395e-05/0.4613, allocations: 8.031 kB / 356.2 MB, free: 13.24 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000398/0.4617, allocations: 173.1 kB / 356.3 MB, free: 13.06 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004116/0.4621, allocations: 146.3 kB / 356.5 MB, free: 12.92 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002699/0.4648, allocations: 0.9136 MB / 357.4 MB, free: 11.96 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001003/0.465, allocations: 86.58 kB / 357.5 MB, free: 11.88 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002686/0.4652, allocations: 112 kB / 357.6 MB, free: 11.77 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00376/0.469, allocations: 1.483 MB / 359.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.308e-05/0.4691, allocations: 0 / 359.1 MB, free: 10.21 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001721/0.4693, allocations: 48 kB / 359.1 MB, free: 10.16 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.674e-05/0.4693, allocations: 28 kB / 359.1 MB, free: 10.14 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003144/0.4725, allocations: 1.172 MB / 360.3 MB, free: 8.957 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01117/0.4837, allocations: 4.311 MB / 364.6 MB, free: 4.512 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001789/0.4855, allocations: 1.292 MB / 365.9 MB, free: 3.047 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.4866, allocations: 450 kB / 366.3 MB, free: 2.605 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.325e-05/0.4867, allocations: 4.438 kB / 366.3 MB, free: 2.602 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.624e-05/0.4867, allocations: 43 kB / 366.4 MB, free: 2.547 MB / 314.7 MB Notification: Performance of pre-optimization done (n=51): time 3.307e-06/0.4867, allocations: 0 / 366.4 MB, free: 2.547 MB / 314.7 MB Notification: Performance of matching and sorting (n=51): time 0.001615/0.4884, allocations: 0.5889 MB / 367 MB, free: 1.949 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.441e-05/0.4884, allocations: 59.84 kB / 367 MB, free: 1.879 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001625/0.4901, allocations: 0.7337 MB / 367.8 MB, free: 1.141 MB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 9.711e-05/0.4902, allocations: 37.7 kB / 367.8 MB, free: 1.098 MB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005181/0.4907, allocations: 0.5557 MB / 368.4 MB, free: 0.5352 MB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002243/0.491, allocations: 181.4 kB / 368.5 MB, free: 364 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.544e-05/0.491, allocations: 16 kB / 368.6 MB, free: 348 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 0.0001715/0.4912, allocations: 334.8 kB / 368.9 MB, free: 4 kB / 314.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.2191/0.7103, allocations: 276 kB / 369.2 MB, free: 84.76 MB / 314.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008934/0.7113, allocations: 372.7 kB / 369.5 MB, free: 84.68 MB / 314.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008523/0.7122, allocations: 343.2 kB / 369.9 MB, free: 84.68 MB / 314.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.605e-06/0.7122, allocations: 2.125 kB / 369.9 MB, free: 84.68 MB / 314.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.001824/0.714, allocations: 0.7252 MB / 370.6 MB, free: 84.63 MB / 314.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.426e-05/0.7141, allocations: 10.12 kB / 370.6 MB, free: 84.63 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.136e-05/0.7141, allocations: 2.344 kB / 370.6 MB, free: 84.63 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.665e-05/0.7141, allocations: 5.359 kB / 370.6 MB, free: 84.63 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001109/0.7152, allocations: 149.9 kB / 370.7 MB, free: 84.63 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.566e-05/0.7153, allocations: 6.625 kB / 370.7 MB, free: 84.63 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007377/0.716, allocations: 69.19 kB / 370.8 MB, free: 84.63 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-05/0.7161, allocations: 19.72 kB / 370.8 MB, free: 84.63 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.0001562/0.7163, allocations: 138.7 kB / 371 MB, free: 84.52 MB / 314.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001577/0.7164, allocations: 74.91 kB / 371 MB, free: 84.52 MB / 314.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002525/0.7167, allocations: 95.53 kB / 371.1 MB, free: 84.51 MB / 314.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/0.7167, allocations: 7.344 kB / 371.1 MB, free: 84.51 MB / 314.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.495e-06/0.7167, allocations: 0 / 371.1 MB, free: 84.51 MB / 314.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.488e-06/0.7167, allocations: 7.359 kB / 371.2 MB, free: 84.51 MB / 314.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003924/0.7207, allocations: 1.879 MB / 373 MB, free: 84.19 MB / 314.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.731e-06/0.7207, allocations: 3.281 kB / 373 MB, free: 84.19 MB / 314.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009569/0.7217, allocations: 117.6 kB / 373.1 MB, free: 84.19 MB / 314.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.022e-05/0.7217, allocations: 7.594 kB / 373.2 MB, free: 84.19 MB / 314.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.698e-05/0.7218, allocations: 10.84 kB / 373.2 MB, free: 84.19 MB / 314.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.14e-06/0.7218, allocations: 0 / 373.2 MB, free: 84.19 MB / 314.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.807e-06/0.7218, allocations: 7.312 kB / 373.2 MB, free: 84.19 MB / 314.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001894/0.7237, allocations: 1.08 MB / 374.3 MB, free: 83.95 MB / 314.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0005424/0.7243, allocations: 227.1 kB / 374.5 MB, free: 83.82 MB / 314.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001378/0.7244, allocations: 11.72 kB / 374.5 MB, free: 83.82 MB / 314.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007447/0.7252, allocations: 55.69 kB / 374.5 MB, free: 83.82 MB / 314.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001328/0.7254, allocations: 41.42 kB / 374.6 MB, free: 83.81 MB / 314.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.689e-05/0.7254, allocations: 16.92 kB / 374.6 MB, free: 83.81 MB / 314.7 MB Notification: Performance of sorting global known variables: time 0.001012/0.7264, allocations: 0.578 MB / 375.2 MB, free: 83.71 MB / 314.7 MB Notification: Performance of sort global known variables: time 1.272e-06/0.7265, allocations: 3.219 kB / 375.2 MB, free: 83.71 MB / 314.7 MB Notification: Performance of remove unused functions: time 0.001025/0.7275, allocations: 286.5 kB / 375.5 MB, free: 83.68 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.002135/0.7296, allocations: 1.848 MB / 377.3 MB, free: 82.7 MB / 314.7 MB Notification: Performance of simCode: created initialization part: time 0.001266/0.731, allocations: 0.6051 MB / 377.9 MB, free: 82.69 MB / 314.7 MB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/0.731, allocations: 0 / 377.9 MB, free: 82.69 MB / 314.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0005456/0.7316, allocations: 296.2 kB / 378.2 MB, free: 82.69 MB / 314.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001341/0.7329, allocations: 164.4 kB / 378.4 MB, free: 82.68 MB / 314.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005422/0.7384, allocations: 2.212 MB / 380.6 MB, free: 82.16 MB / 314.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00098/0.7394, allocations: 1.342 MB / 381.9 MB, free: 81.43 MB / 314.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007942/0.7402, allocations: 386.2 kB / 382.3 MB, free: 81.13 MB / 314.7 MB Notification: Performance of SimCode: time 1.172e-06/0.7403, allocations: 0 / 382.3 MB, free: 81.13 MB / 314.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.786/3.526, allocations: 19.25 MB / 401.5 MB, free: 68.58 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