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.957/3.957, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.883e-05/4.905e-05, allocations: 11.88 kB / 0.4991 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6466/0.6466, allocations: 92.68 MB / 0.5896 GB, free: 14.51 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9241/1.571, allocations: 191.7 MB / 0.7769 GB, free: 99.29 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004244/1.571, allocations: 96.55 kB / 0.7769 GB, free: 99.29 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.3233/1.895, allocations: 85.08 MB / 0.86 GB, free: 79.73 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.983e-06/1.895, allocations: 0 / 0.86 GB, free: 79.73 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001951/1.895, allocations: 42.91 kB / 0.8601 GB, free: 79.71 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.005632/1.9, allocations: 1.626 MB / 0.8617 GB, free: 78.62 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.217e-05/1.901, allocations: 10.53 kB / 0.8617 GB, free: 78.62 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007704/1.901, allocations: 188.4 kB / 0.8619 GB, free: 78.54 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01999/1.921, allocations: 1.961 MB / 0.8638 GB, free: 77.68 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008222/1.93, allocations: 2.069 MB / 0.8658 GB, free: 76.62 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001102/1.93, allocations: 93.38 kB / 0.8659 GB, free: 76.61 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007176/1.93, allocations: 114.1 kB / 0.866 GB, free: 76.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006299/1.937, allocations: 2.222 MB / 0.8682 GB, free: 75.71 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.992e-05/1.937, allocations: 7.906 kB / 0.8682 GB, free: 75.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003187/1.937, allocations: 56.94 kB / 0.8682 GB, free: 75.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001514/1.937, allocations: 96.67 kB / 0.8683 GB, free: 75.67 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005465/1.943, allocations: 1.858 MB / 0.8701 GB, free: 75.44 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02471/1.968, allocations: 9.093 MB / 0.879 GB, free: 69.39 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004057/1.972, allocations: 1.509 MB / 0.8805 GB, free: 68.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002096/1.974, allocations: 0.8929 MB / 0.8814 GB, free: 68.09 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001309/1.974, allocations: 8.625 kB / 0.8814 GB, free: 68.09 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.054e-05/1.974, allocations: 51.17 kB / 0.8814 GB, free: 68.03 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=89): time 3.406e-06/1.974, allocations: 0 / 0.8814 GB, free: 68.03 MB / 0.6511 GB Notification: Performance of matching and sorting (n=153): time 0.09066/2.065, allocations: 13.68 MB / 0.8948 GB, free: 56.26 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.339e-05/2.065, allocations: 226.9 kB / 0.895 GB, free: 55.99 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001992/2.067, allocations: 1.011 MB / 0.896 GB, free: 54.97 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.000439/2.067, allocations: 53.7 kB / 0.896 GB, free: 54.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005611/2.068, allocations: 0.7245 MB / 0.8967 GB, free: 54.18 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006726/2.069, allocations: 0.5081 MB / 0.8972 GB, free: 53.66 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/2.069, allocations: 32 kB / 0.8973 GB, free: 53.63 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001122/2.069, allocations: 361.9 kB / 0.8976 GB, free: 53.27 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002501/2.072, allocations: 1.129 MB / 0.8987 GB, free: 52.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002744/2.074, allocations: 1.404 MB / 0.9001 GB, free: 50.64 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002781/2.077, allocations: 1.253 MB / 0.9013 GB, free: 49.39 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.643e-06/2.077, allocations: 0 / 0.9013 GB, free: 49.39 MB / 0.6511 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01764/2.095, allocations: 4.583 MB / 0.9058 GB, free: 44.77 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.14e-05/2.095, allocations: 8 kB / 0.9058 GB, free: 44.76 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.755e-05/2.095, allocations: 4 kB / 0.9058 GB, free: 44.76 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01511/2.11, allocations: 2.164 MB / 0.9079 GB, free: 42.57 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003794/2.114, allocations: 415.3 kB / 0.9083 GB, free: 42.17 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.04289/2.157, allocations: 22.64 MB / 0.9304 GB, free: 18.46 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005032/2.162, allocations: 331.5 kB / 0.9307 GB, free: 18.14 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004782/2.162, allocations: 68.05 kB / 0.9308 GB, free: 18.07 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.0005724/2.163, allocations: 188.7 kB / 0.931 GB, free: 17.88 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008437/2.164, allocations: 177.9 kB / 0.9311 GB, free: 17.71 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01829/2.182, allocations: 4.65 MB / 0.9357 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.152e-05/2.182, allocations: 16 kB / 0.9357 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.337e-05/2.182, allocations: 16 kB / 0.9357 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.794e-05/2.182, allocations: 3.984 kB / 0.9357 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02409/2.207, allocations: 6.895 MB / 0.9424 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.59e-05/2.207, allocations: 4.094 kB / 0.9424 GB, free: 5.953 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00335/2.21, allocations: 363.7 kB / 0.9428 GB, free: 5.598 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01394/2.224, allocations: 1.989 MB / 0.9447 GB, free: 3.586 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0004961/2.225, allocations: 43.97 kB / 0.9448 GB, free: 3.543 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.04521/2.27, allocations: 21.67 MB / 0.9659 GB, free: 12.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.947e-06/2.27, allocations: 7.953 kB / 0.9659 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01751/2.287, allocations: 4.415 MB / 0.9703 GB, free: 8.227 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00198/2.289, allocations: 0.5065 MB / 0.9708 GB, free: 7.699 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000626/2.29, allocations: 32 kB / 0.9708 GB, free: 7.668 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004646/2.295, allocations: 331.5 kB / 0.9711 GB, free: 7.344 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007769/2.295, allocations: 153 kB / 0.9712 GB, free: 7.195 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002626/2.296, allocations: 55.95 kB / 0.9713 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001909/2.298, allocations: 0.7729 MB / 0.9721 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.01e-07/2.298, allocations: 0 / 0.9721 GB, free: 6.367 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00466/2.302, allocations: 0.7109 MB / 0.9727 GB, free: 5.656 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.01933/2.322, allocations: 5.798 MB / 0.9784 GB, free: 15.73 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.01418/2.336, allocations: 4.468 MB / 0.9828 GB, free: 11.15 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.245e-05/2.336, allocations: 4 kB / 0.9828 GB, free: 11.15 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.009767/2.346, allocations: 2.947 MB / 0.9857 GB, free: 8.098 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004308/2.35, allocations: 0.507 MB / 0.9861 GB, free: 7.598 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0133/2.364, allocations: 3.725 MB / 0.9898 GB, free: 3.793 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001968/2.366, allocations: 1.607 MB / 0.9914 GB, free: 2.141 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.00304/2.369, allocations: 402.7 kB / 0.9917 GB, free: 1.742 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001707/2.37, allocations: 0.6711 MB / 0.9924 GB, free: 1.074 MB / 0.698 GB Notification: Performance of SimCode: time 1.152e-06/2.37, allocations: 4 kB / 0.9924 GB, free: 1.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1681/2.539, allocations: 59.12 MB / 1.05 GB, free: 6.422 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003452/2.539, allocations: 216 kB / 1.05 GB, free: 6.18 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.735/7.274, allocations: 4 kB / 1.05 GB, free: 6.176 MB / 0.7605 GB