Running command: "" <> buildModelFMU(Modelica.Electrical.Polyphase.Examples.TransformerYY,fileNamePrefix="Modelica_trunk_cpp_Modelica_Electrical_Polyphase_Examples_TransformerYY",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Modelica): time 1.938/1.938, allocations: 225.8 MB / 239.3 MB, free: 11.21 MB / 202.7 MB Notification: Performance of FrontEnd - loaded program: time 3.133e-05/3.14e-05, allocations: 2.031 kB / 292.2 MB, free: 8.789 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1053/0.1053, allocations: 50.42 MB / 342.6 MB, free: 6.344 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4522/0.5576, allocations: 81.99 MB / 424.6 MB, free: 11.87 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002563/0.5579, allocations: 78.62 kB / 424.7 MB, free: 11.83 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0773/0.6352, allocations: 18.99 MB / 443.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of FrontEnd: time 4.379e-06/0.6353, allocations: 4 kB / 443.7 MB, free: 11.72 MB / 362.7 MB Notification: Performance of Transformations before backend: time 0.0001247/0.6354, allocations: 35.94 kB / 443.7 MB, free: 11.68 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.00413/0.6396, allocations: 1.344 MB / 445.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.356e-05/0.6396, allocations: 8.031 kB / 445.1 MB, free: 10.36 MB / 362.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003521/0.64, allocations: 174.7 kB / 445.2 MB, free: 10.24 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000397/0.6404, allocations: 142.3 kB / 445.4 MB, free: 10.1 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002292/0.6427, allocations: 0.8459 MB / 446.2 MB, free: 9.383 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.509e-05/0.6428, allocations: 80.28 kB / 446.3 MB, free: 9.336 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002672/0.6431, allocations: 112.6 kB / 446.4 MB, free: 9.262 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003581/0.6467, allocations: 1.443 MB / 447.9 MB, free: 8.246 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.368e-05/0.6468, allocations: 4 kB / 447.9 MB, free: 8.242 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001662/0.6469, allocations: 51.83 kB / 447.9 MB, free: 8.227 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.709e-05/0.647, allocations: 28 kB / 447.9 MB, free: 8.199 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003051/0.65, allocations: 1.153 MB / 449.1 MB, free: 7.465 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/0.6609, allocations: 4.238 MB / 453.3 MB, free: 3.906 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001767/0.6627, allocations: 1.289 MB / 454.6 MB, free: 2.445 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.6638, allocations: 442.5 kB / 455.1 MB, free: 2.008 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.241e-05/0.6639, allocations: 4.438 kB / 455.1 MB, free: 2 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.6639, allocations: 39 kB / 455.1 MB, free: 1.953 MB / 362.7 MB Notification: Performance of pre-optimization done (n=49): time 4.058e-06/0.6639, allocations: 7.938 kB / 455.1 MB, free: 1.945 MB / 362.7 MB Notification: Performance of matching and sorting (n=51): time 0.004252/0.6682, allocations: 1.623 MB / 456.7 MB, free: 272 kB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.495e-05/0.6683, allocations: 55.84 kB / 456.8 MB, free: 204 kB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001754/0.6701, allocations: 0.7376 MB / 457.5 MB, free: 15.45 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 0.0001344/0.6702, allocations: 37.7 kB / 457.6 MB, free: 15.41 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004978/0.6708, allocations: 0.5517 MB / 458.1 MB, free: 14.85 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 0.0002248/0.671, allocations: 181.4 kB / 458.3 MB, free: 14.67 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.243e-05/0.6711, allocations: 12 kB / 458.3 MB, free: 14.66 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001587/0.6712, allocations: 330.8 kB / 458.6 MB, free: 14.33 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006932/0.6719, allocations: 281 kB / 458.9 MB, free: 14.05 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007847/0.6727, allocations: 382.2 kB / 459.3 MB, free: 13.65 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008489/0.6736, allocations: 347.1 kB / 459.6 MB, free: 13.31 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.6736, allocations: 3.938 kB / 459.6 MB, free: 13.31 MB / 378.7 MB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002032/0.6757, allocations: 0.8196 MB / 460.4 MB, free: 12.48 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.785e-05/0.6757, allocations: 11.95 kB / 460.4 MB, free: 12.47 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.343e-05/0.6757, allocations: 4 kB / 460.4 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004441/0.6762, allocations: 108.7 kB / 460.6 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001052/0.6773, allocations: 131.8 kB / 460.7 MB, free: 12.23 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003322/0.6806, allocations: 2.166 MB / 462.8 MB, free: 9.926 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008407/0.6815, allocations: 28.02 kB / 462.9 MB, free: 9.898 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.318e-05/0.6816, allocations: 20 kB / 462.9 MB, free: 9.879 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (60): * Single equations (assignments): 59 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002182/0.6818, allocations: 132.8 kB / 463 MB, free: 9.742 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000184/0.682, allocations: 79.14 kB / 463.1 MB, free: 9.664 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002714/0.6823, allocations: 90.92 kB / 463.2 MB, free: 9.57 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.806e-06/0.6823, allocations: 4.188 kB / 463.2 MB, free: 9.566 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.266e-05/0.6823, allocations: 4 kB / 463.2 MB, free: 9.562 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.085e-05/0.6823, allocations: 11.91 kB / 463.2 MB, free: 9.551 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005228/0.6876, allocations: 1.987 MB / 465.2 MB, free: 7.484 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-05/0.6876, allocations: 7.938 kB / 465.2 MB, free: 7.477 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007309/0.6884, allocations: 91.89 kB / 465.3 MB, free: 7.387 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004103/0.6888, allocations: 108.9 kB / 465.4 MB, free: 7.277 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.056e-05/0.6889, allocations: 12 kB / 465.4 MB, free: 7.266 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003168/0.6921, allocations: 2.115 MB / 467.5 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.366e-06/0.6921, allocations: 0 / 467.5 MB, free: 5.016 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00267/0.6948, allocations: 1.208 MB / 468.7 MB, free: 3.738 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0004072/0.6952, allocations: 160.3 kB / 468.9 MB, free: 3.562 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001487/0.6954, allocations: 12 kB / 468.9 MB, free: 3.551 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007771/0.6962, allocations: 51.95 kB / 469 MB, free: 3.5 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00016/0.6964, allocations: 48.44 kB / 469 MB, free: 3.453 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.585e-05/0.6964, allocations: 20 kB / 469 MB, free: 3.434 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.001277/0.6977, allocations: 0.5772 MB / 469.6 MB, free: 2.859 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.01e-07/0.6978, allocations: 0 / 469.6 MB, free: 2.859 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.001232/0.699, allocations: 212 kB / 469.8 MB, free: 2.652 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 2 (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 (43): * Single equations (assignments): 42 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 9} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003116/0.7021, allocations: 2.116 MB / 471.9 MB, free: 484 kB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.001961/0.7041, allocations: 0.7671 MB / 472.7 MB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.7042, allocations: 0 / 472.7 MB, free: 15.7 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 0.001134/0.7053, allocations: 467 kB / 473.1 MB, free: 15.23 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001465/0.7068, allocations: 163.5 kB / 473.3 MB, free: 15.07 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005851/0.7127, allocations: 2.085 MB / 475.4 MB, free: 12.91 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001394/0.7141, allocations: 1.34 MB / 476.7 MB, free: 11.55 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009211/0.7151, allocations: 383.3 kB / 477.1 MB, free: 11.17 MB / 394.7 MB Notification: Performance of SimCode: time 1.242e-06/0.7151, allocations: 0 / 477.1 MB, free: 11.17 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 3.009/3.724, allocations: 24.33 MB / 0.4897 GB, free: 2.859 MB / 410.7 MB