Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLineMedium,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLineMedium",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.369/4.369, allocations: 464.6 MB / 476.8 MB, free: 2.207 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.739e-05/3.743e-05, allocations: 4 kB / 0.5732 GB, free: 5.629 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2621/0.2621, allocations: 107.1 MB / 0.6778 GB, free: 10.29 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9545/1.217, allocations: 203.4 MB / 0.8765 GB, free: 1.48 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003619/1.217, allocations: 101.9 kB / 0.8766 GB, free: 1.422 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.3527/1.57, allocations: 85.28 MB / 0.9598 GB, free: 5.738 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.954e-06/1.57, allocations: 4 kB / 0.9598 GB, free: 5.734 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 0.0002266/1.57, allocations: 47.94 kB / 0.9599 GB, free: 5.688 MB / 0.7448 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.005903/1.576, allocations: 1.618 MB / 0.9615 GB, free: 4.02 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.578e-05/1.576, allocations: 8.031 kB / 0.9615 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007811/1.577, allocations: 190.2 kB / 0.9617 GB, free: 3.816 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02056/1.597, allocations: 1.963 MB / 0.9636 GB, free: 1.848 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008972/1.607, allocations: 2.075 MB / 0.9656 GB, free: 15.71 MB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000135/1.607, allocations: 82.31 kB / 0.9657 GB, free: 15.63 MB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006526/1.607, allocations: 131.9 kB / 0.9658 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006785/1.614, allocations: 2.209 MB / 0.968 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.356e-05/1.614, allocations: 7.938 kB / 0.968 GB, free: 13.1 MB / 0.7605 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0004109/1.615, allocations: 59.97 kB / 0.968 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001849/1.615, allocations: 90.28 kB / 0.9681 GB, free: 12.95 MB / 0.7605 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00598/1.621, allocations: 1.832 MB / 0.9699 GB, free: 11.12 MB / 0.7605 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02846/1.649, allocations: 10.72 MB / 0.9804 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004559/1.654, allocations: 1.49 MB / 0.9818 GB, free: 14.3 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002427/1.656, allocations: 0.894 MB / 0.9827 GB, free: 13.4 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001126/1.657, allocations: 12.72 kB / 0.9827 GB, free: 13.39 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.907e-05/1.657, allocations: 47.33 kB / 0.9828 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=89): time 3.527e-06/1.657, allocations: 0 / 0.9828 GB, free: 13.33 MB / 0.7761 GB Notification: Performance of matching and sorting (n=153): time 0.09811/1.755, allocations: 13.69 MB / 0.9961 GB, free: 15.59 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001566/1.755, allocations: 226.9 kB / 0.9963 GB, free: 15.32 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002397/1.757, allocations: 1.003 MB / 0.9973 GB, free: 14.31 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 0.0004832/1.758, allocations: 53.7 kB / 0.9974 GB, free: 14.25 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 0.001815/1.76, allocations: 0.7322 MB / 0.9981 GB, free: 13.51 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 0.001004/1.761, allocations: 0.5082 MB / 0.9986 GB, free: 13 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002569/1.761, allocations: 32 kB / 0.9986 GB, free: 12.96 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.0002342/1.761, allocations: 369.9 kB / 0.999 GB, free: 12.6 MB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.003057/1.764, allocations: 1.121 MB / 1 GB, free: 11.48 MB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003494/1.768, allocations: 1.396 MB / 1.001 GB, free: 9.973 MB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003394/1.771, allocations: 1.25 MB / 1.003 GB, free: 8.727 MB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.869e-06/1.771, allocations: 4 kB / 1.003 GB, free: 8.723 MB / 0.7917 GB Notification: Performance of matching and sorting (n=186) (initialization): time 0.01982/1.791, allocations: 4.559 MB / 1.007 GB, free: 4.125 MB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 3.448e-05/1.791, allocations: 8.75 kB / 1.007 GB, free: 4.117 MB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.17e-05/1.791, allocations: 8 kB / 1.007 GB, free: 4.109 MB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01609/1.807, allocations: 2.131 MB / 1.009 GB, free: 1.957 MB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003911/1.811, allocations: 419.3 kB / 1.01 GB, free: 1.547 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.05493/1.866, allocations: 22.49 MB / 1.032 GB, free: 9.992 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005093/1.872, allocations: 327.5 kB / 1.032 GB, free: 9.672 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000401/1.872, allocations: 63.97 kB / 1.032 GB, free: 9.609 MB / 0.823 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,(3,100.0%) 17,(2,100.0%) 8,(2,100.0%) 8,(2,100.0%) 16,(2,100.0%) 16,(2,100.0%) 8,(2,100.0%) 8} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006123/1.873, allocations: 176.8 kB / 1.032 GB, free: 9.43 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000946/1.874, allocations: 177.9 kB / 1.032 GB, free: 9.254 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02016/1.894, allocations: 4.657 MB / 1.037 GB, free: 4.551 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.877e-05/1.894, allocations: 12 kB / 1.037 GB, free: 4.539 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.425e-05/1.894, allocations: 20 kB / 1.037 GB, free: 4.52 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.23e-05/1.894, allocations: 11.97 kB / 1.037 GB, free: 4.508 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02662/1.921, allocations: 6.868 MB / 1.044 GB, free: 13.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.392e-05/1.921, allocations: 4 kB / 1.044 GB, free: 13.51 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003416/1.924, allocations: 363.7 kB / 1.044 GB, free: 13.16 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0198/1.944, allocations: 1.984 MB / 1.046 GB, free: 11.15 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0006196/1.945, allocations: 47.95 kB / 1.046 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0635/2.008, allocations: 21.67 MB / 1.067 GB, free: 4.383 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.955e-06/2.008, allocations: 4.031 kB / 1.067 GB, free: 4.379 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01761/2.026, allocations: 4.415 MB / 1.071 GB, free: 15.79 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001849/2.028, allocations: 0.5066 MB / 1.072 GB, free: 15.27 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005135/2.028, allocations: 32 kB / 1.072 GB, free: 15.23 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.004335/2.033, allocations: 331.4 kB / 1.072 GB, free: 14.91 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000678/2.033, allocations: 149 kB / 1.072 GB, free: 14.77 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002425/2.033, allocations: 51.97 kB / 1.072 GB, free: 14.71 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 0.001762/2.035, allocations: 0.7807 MB / 1.073 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of sort global known variables: time 5.52e-07/2.035, allocations: 0 / 1.073 GB, free: 13.93 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.003598/2.039, allocations: 0.7187 MB / 1.074 GB, free: 13.21 MB / 0.8698 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.01849/2.057, allocations: 5.807 MB / 1.08 GB, free: 7.281 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.01318/2.071, allocations: 4.245 MB / 1.084 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 8.767e-06/2.071, allocations: 0 / 1.084 GB, free: 2.953 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.009268/2.08, allocations: 2.856 MB / 1.086 GB, free: 20 kB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003813/2.084, allocations: 0.5094 MB / 1.087 GB, free: 15.51 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01212/2.096, allocations: 3.563 MB / 1.09 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002008/2.098, allocations: 1.6 MB / 1.092 GB, free: 10.23 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002925/2.101, allocations: 406.6 kB / 1.092 GB, free: 9.824 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001618/2.103, allocations: 0.6672 MB / 1.093 GB, free: 9.156 MB / 0.8855 GB Notification: Performance of SimCode: time 1.192e-06/2.103, allocations: 3.938 kB / 1.093 GB, free: 9.152 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7448/2.847, allocations: 58.65 MB / 1.15 GB, free: 265.5 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00027/2.848, allocations: 207.6 kB / 1.151 GB, free: 265.3 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.448/7.296, allocations: 0 / 1.151 GB, free: 265.3 MB / 0.8855 GB