Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.123/4.123, allocations: 403.3 MB / 415.4 MB, free: 12.98 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.914e-05/3.917e-05, allocations: 11.88 kB / 0.4991 GB, free: 13.32 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.635/0.6351, allocations: 92.68 MB / 0.5897 GB, free: 14.37 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3077/0.9429, allocations: 173.8 MB / 0.7594 GB, free: 316 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003867/0.9433, allocations: 95.94 kB / 0.7595 GB, free: 220 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.9053/1.849, allocations: 63.17 MB / 0.8212 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.775e-06/1.849, allocations: 4 kB / 0.8212 GB, free: 145.8 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001048/1.849, allocations: 31.28 kB / 0.8212 GB, free: 145.8 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 406 * Number of variables: 406 Notification: Performance of Generate backend data structure: time 0.005003/1.854, allocations: 1.548 MB / 0.8227 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.65e-05/1.854, allocations: 12.03 kB / 0.8227 GB, free: 144.2 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000797/1.855, allocations: 256.2 kB / 0.823 GB, free: 143.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004243/1.859, allocations: 492.9 kB / 0.8234 GB, free: 143.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003528/1.863, allocations: 1.141 MB / 0.8245 GB, free: 142.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.657e-05/1.863, allocations: 119.1 kB / 0.8247 GB, free: 142.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004983/1.863, allocations: 155.2 kB / 0.8248 GB, free: 142 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006159/1.869, allocations: 2.422 MB / 0.8272 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.434e-05/1.87, allocations: 4 kB / 0.8272 GB, free: 139.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002751/1.87, allocations: 60 kB / 0.8272 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001363/1.87, allocations: 87.02 kB / 0.8273 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005819/1.876, allocations: 1.962 MB / 0.8292 GB, free: 137.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01743/1.893, allocations: 8.016 MB / 0.8371 GB, free: 129.1 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00145/1.895, allocations: 0.5455 MB / 0.8376 GB, free: 128.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007901/1.896, allocations: 376.7 kB / 0.838 GB, free: 128.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001688/1.896, allocations: 89.09 kB / 0.838 GB, free: 128.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.752e-05/1.896, allocations: 42.52 kB / 0.8381 GB, free: 128 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=36): time 3.206e-06/1.896, allocations: 0 / 0.8381 GB, free: 128 MB / 0.6511 GB Notification: Performance of matching and sorting (n=52): time 0.02499/1.921, allocations: 4.793 MB / 0.8428 GB, free: 123.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.402e-05/1.921, allocations: 81.55 kB / 0.8428 GB, free: 123.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001578/1.923, allocations: 0.8079 MB / 0.8436 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001726/1.923, allocations: 33.7 kB / 0.8437 GB, free: 122.3 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.00049/1.923, allocations: 0.7499 MB / 0.8444 GB, free: 121.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002387/1.923, allocations: 189.4 kB / 0.8446 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/1.924, allocations: 16 kB / 0.8446 GB, free: 121.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001411/1.924, allocations: 386.8 kB / 0.845 GB, free: 120.9 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00128/1.925, allocations: 0.5993 MB / 0.8455 GB, free: 120.3 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001537/1.927, allocations: 0.9508 MB / 0.8465 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001662/1.928, allocations: 0.776 MB / 0.8472 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/1.928, allocations: 4 kB / 0.8472 GB, free: 118.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=111) (initialization): time 0.01112/1.939, allocations: 2.73 MB / 0.8499 GB, free: 115.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001015/1.941, allocations: 4.532 MB / 0.8543 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.04e-05/1.941, allocations: 19.89 kB / 0.8543 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.009164/1.95, allocations: 1.419 MB / 0.8557 GB, free: 109.3 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001676/1.952, allocations: 223.7 kB / 0.8559 GB, free: 109.1 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01148/1.963, allocations: 6.82 MB / 0.8626 GB, free: 102 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002059/1.965, allocations: 163.6 kB / 0.8628 GB, free: 101.8 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001512/1.965, allocations: 48.05 kB / 0.8628 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.359e-05/1.965, allocations: 4 kB / 0.8628 GB, free: 101.7 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.008295/1.974, allocations: 2.212 MB / 0.865 GB, free: 99.52 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.559e-05/1.974, allocations: 12 kB / 0.865 GB, free: 99.51 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005413/1.979, allocations: 0.864 MB / 0.8658 GB, free: 98.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001829/1.981, allocations: 251.6 kB / 0.8661 GB, free: 98.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01059/1.992, allocations: 5.376 MB / 0.8713 GB, free: 92.75 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001841/1.994, allocations: 143.8 kB / 0.8714 GB, free: 92.61 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001646/1.994, allocations: 40 kB / 0.8715 GB, free: 92.57 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (99): * Single equations (assignments): 95 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of prepare postOptimizeDAE: time 0.0003831/1.994, allocations: 160.7 kB / 0.8716 GB, free: 92.41 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003048/1.995, allocations: 75.3 kB / 0.8717 GB, free: 92.33 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009915/2.004, allocations: 2.321 MB / 0.874 GB, free: 89.98 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/2.005, allocations: 4 kB / 0.874 GB, free: 89.98 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.142e-05/2.005, allocations: 8 kB / 0.874 GB, free: 89.97 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.002e-05/2.005, allocations: 3.984 kB / 0.874 GB, free: 89.96 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01408/2.019, allocations: 4.155 MB / 0.8781 GB, free: 85.72 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.61e-05/2.019, allocations: 0 / 0.8781 GB, free: 85.72 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008289/2.02, allocations: 100.1 kB / 0.8781 GB, free: 85.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.008707/2.028, allocations: 1.365 MB / 0.8795 GB, free: 84.24 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001636/2.029, allocations: 12 kB / 0.8795 GB, free: 84.23 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02215/2.051, allocations: 9.497 MB / 0.8888 GB, free: 74.2 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.084e-06/2.051, allocations: 3.953 kB / 0.8888 GB, free: 74.2 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01308/2.064, allocations: 2.361 MB / 0.8911 GB, free: 71.73 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001176/2.065, allocations: 299.9 kB / 0.8914 GB, free: 71.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002932/2.065, allocations: 8 kB / 0.8914 GB, free: 71.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001906/2.067, allocations: 123.8 kB / 0.8915 GB, free: 71.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003781/2.068, allocations: 47.88 kB / 0.8915 GB, free: 71.24 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001007/2.068, allocations: 16 kB / 0.8915 GB, free: 71.23 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001651/2.069, allocations: 0.6318 MB / 0.8922 GB, free: 70.6 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.82e-07/2.07, allocations: 0 / 0.8922 GB, free: 70.6 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004338/2.074, allocations: 0.5976 MB / 0.8927 GB, free: 70 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (42): * Single equations (assignments): 38 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 2 {(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 2 {2 2,2 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.01428/2.088, allocations: 3.558 MB / 0.8962 GB, free: 66.35 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01118/2.099, allocations: 2.895 MB / 0.8991 GB, free: 63.42 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.48e-05/2.1, allocations: 4 kB / 0.8991 GB, free: 63.41 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.003887/2.103, allocations: 1.195 MB / 0.9002 GB, free: 62.18 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002302/2.106, allocations: 222.5 kB / 0.9004 GB, free: 61.96 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01083/2.117, allocations: 3.089 MB / 0.9034 GB, free: 58.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001998/2.119, allocations: 1.646 MB / 0.9051 GB, free: 57.13 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002674/2.121, allocations: 0.5998 MB / 0.9056 GB, free: 56.52 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001094/2.123, allocations: 479.3 kB / 0.9061 GB, free: 56.05 MB / 0.6511 GB Notification: Performance of SimCode: time 1.973e-06/2.123, allocations: 3.938 kB / 0.9061 GB, free: 56.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08527/2.208, allocations: 34.13 MB / 0.9394 GB, free: 22.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002302/2.208, allocations: 215.2 kB / 0.9396 GB, free: 21.92 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.54/5.748, allocations: 0 / 0.9396 GB, free: 21.92 MB / 0.6511 GB