Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.891/3.891, allocations: 403.3 MB / 415.4 MB, free: 13.02 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.998e-05/4.007e-05, allocations: 4 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6201/0.6202, allocations: 92.68 MB / 0.5897 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.008/1.628, allocations: 191.7 MB / 0.7769 GB, free: 99.22 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003916/1.628, allocations: 96.36 kB / 0.777 GB, free: 99.22 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.3212/1.95, allocations: 85.08 MB / 0.8601 GB, free: 79.61 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.043e-06/1.95, allocations: 3.875 kB / 0.8601 GB, free: 79.61 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001782/1.95, allocations: 50.48 kB / 0.8601 GB, free: 79.59 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: 327 * Number of variables: 327 Notification: Performance of Generate backend data structure: time 0.005643/1.955, allocations: 1.618 MB / 0.8617 GB, free: 78.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.082e-05/1.955, allocations: 11.66 kB / 0.8617 GB, free: 78.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007218/1.956, allocations: 189.9 kB / 0.8619 GB, free: 78.43 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01957/1.976, allocations: 1.957 MB / 0.8638 GB, free: 77.56 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008167/1.984, allocations: 2.078 MB / 0.8658 GB, free: 76.5 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001049/1.984, allocations: 85.62 kB / 0.8659 GB, free: 76.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006028/1.985, allocations: 114.1 kB / 0.866 GB, free: 76.49 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006925/1.992, allocations: 2.217 MB / 0.8682 GB, free: 75.59 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.008e-05/1.992, allocations: 7.75 kB / 0.8682 GB, free: 75.59 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003503/1.992, allocations: 55.67 kB / 0.8682 GB, free: 75.59 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001478/1.992, allocations: 88.77 kB / 0.8683 GB, free: 75.57 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005346/1.998, allocations: 1.831 MB / 0.8701 GB, free: 75.35 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02302/2.021, allocations: 9.093 MB / 0.879 GB, free: 69.27 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003813/2.025, allocations: 1.5 MB / 0.8805 GB, free: 68.43 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001935/2.027, allocations: 0.8915 MB / 0.8813 GB, free: 67.97 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001009/2.027, allocations: 12.22 kB / 0.8813 GB, free: 67.97 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.66e-05/2.027, allocations: 51.05 kB / 0.8814 GB, free: 67.91 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 3.407e-06/2.027, allocations: 0 / 0.8814 GB, free: 67.91 MB / 0.6511 GB Notification: Performance of matching and sorting (n=153): time 0.09076/2.118, allocations: 13.67 MB / 0.8947 GB, free: 56.07 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.367e-05/2.118, allocations: 230.9 kB / 0.895 GB, free: 55.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002024/2.12, allocations: 1.003 MB / 0.8959 GB, free: 54.79 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0004608/2.12, allocations: 49.7 kB / 0.896 GB, free: 54.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005876/2.121, allocations: 0.7323 MB / 0.8967 GB, free: 53.99 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006737/2.122, allocations: 0.512 MB / 0.8972 GB, free: 53.47 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002344/2.122, allocations: 32 kB / 0.8972 GB, free: 53.44 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001211/2.122, allocations: 365.9 kB / 0.8976 GB, free: 53.08 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00254/2.125, allocations: 1.121 MB / 0.8987 GB, free: 51.96 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00286/2.127, allocations: 1.396 MB / 0.9 GB, free: 50.46 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002837/2.13, allocations: 1.256 MB / 0.9013 GB, free: 49.21 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.115e-06/2.13, allocations: 4 kB / 0.9013 GB, free: 49.2 MB / 0.6511 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01732/2.148, allocations: 4.551 MB / 0.9057 GB, free: 44.61 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.213e-05/2.148, allocations: 8.75 kB / 0.9057 GB, free: 44.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.923e-05/2.148, allocations: 11.98 kB / 0.9057 GB, free: 44.59 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01521/2.163, allocations: 2.158 MB / 0.9078 GB, free: 42.42 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003677/2.167, allocations: 423.3 kB / 0.9083 GB, free: 42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04129/2.208, allocations: 22.65 MB / 0.9304 GB, free: 18.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005141/2.213, allocations: 327.5 kB / 0.9307 GB, free: 17.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004304/2.214, allocations: 63.97 kB / 0.9307 GB, free: 17.92 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (78): * Single equations (assignments): 70 * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(3,100.0%) 17,(6,75.0%) 14,(2,100.0%) 8,(3,100.0%) 7,(2,100.0%) 16,(5,84.0%) 13,(2,100.0%) 8,(3,100.0%) 7} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005711/2.214, allocations: 180.7 kB / 0.9309 GB, free: 17.73 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007453/2.215, allocations: 181.9 kB / 0.9311 GB, free: 17.55 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01776/2.233, allocations: 4.646 MB / 0.9356 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.27e-05/2.233, allocations: 16 kB / 0.9356 GB, free: 12.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.784e-05/2.233, allocations: 20.56 kB / 0.9357 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.629e-05/2.233, allocations: 7.969 kB / 0.9357 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0231/2.256, allocations: 6.888 MB / 0.9424 GB, free: 5.801 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-05/2.256, allocations: 7.984 kB / 0.9424 GB, free: 5.793 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003196/2.259, allocations: 355.4 kB / 0.9427 GB, free: 5.445 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.014/2.273, allocations: 1.979 MB / 0.9447 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003739/2.274, allocations: 47.97 kB / 0.9447 GB, free: 3.395 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04499/2.319, allocations: 21.67 MB / 0.9659 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.075e-06/2.319, allocations: 12 kB / 0.9659 GB, free: 12.65 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01768/2.337, allocations: 4.415 MB / 0.9702 GB, free: 8.074 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001984/2.339, allocations: 0.5104 MB / 0.9707 GB, free: 7.543 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00069/2.339, allocations: 28.19 kB / 0.9707 GB, free: 7.516 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004727/2.344, allocations: 335.4 kB / 0.971 GB, free: 7.188 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007819/2.345, allocations: 149 kB / 0.9712 GB, free: 7.043 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003143/2.345, allocations: 55.97 kB / 0.9712 GB, free: 6.988 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001863/2.347, allocations: 0.7729 MB / 0.972 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of sort global known variables: time 6.41e-07/2.347, allocations: 4 kB / 0.972 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.003942/2.351, allocations: 0.707 MB / 0.9727 GB, free: 5.504 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * 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: 8 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 8 {(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(3,100.0%) 15,(3,100.0%) 17,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01926/2.37, allocations: 5.794 MB / 0.9784 GB, free: 15.57 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01429/2.385, allocations: 4.369 MB / 0.9826 GB, free: 11.12 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.536e-06/2.385, allocations: 0 / 0.9826 GB, free: 11.12 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00976/2.395, allocations: 2.86 MB / 0.9854 GB, free: 8.18 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004306/2.399, allocations: 0.4981 MB / 0.9859 GB, free: 7.688 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01372/2.413, allocations: 3.72 MB / 0.9895 GB, free: 3.883 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002024/2.415, allocations: 1.604 MB / 0.9911 GB, free: 2.242 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.003151/2.418, allocations: 406.7 kB / 0.9915 GB, free: 1.84 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001837/2.42, allocations: 0.6711 MB / 0.9921 GB, free: 1.172 MB / 0.698 GB Notification: Performance of SimCode: time 1.342e-06/2.42, allocations: 0 / 0.9921 GB, free: 1.172 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1648/2.585, allocations: 58.76 MB / 1.05 GB, free: 6.887 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003177/2.585, allocations: 206.7 kB / 1.05 GB, free: 6.652 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.601/7.186, allocations: 0 / 1.05 GB, free: 6.652 MB / 0.7605 GB