Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.474/4.474, allocations: 464.6 MB / 476.8 MB, free: 2.18 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.052e-05/4.057e-05, allocations: 4 kB / 0.5732 GB, free: 5.602 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2331/0.2332, allocations: 107.1 MB / 0.6778 GB, free: 10.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.885/1.118, allocations: 157.4 MB / 0.8315 GB, free: 10.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003249/1.119, allocations: 91.66 kB / 0.8316 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1446/1.263, allocations: 36.89 MB / 0.8677 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.913e-06/1.263, allocations: 0 / 0.8677 GB, free: 14.3 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 7.209e-05/1.263, allocations: 24 kB / 0.8677 GB, free: 14.28 MB / 0.6667 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.00289/1.266, allocations: 0.9626 MB / 0.8686 GB, free: 13.32 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/1.266, allocations: 8.031 kB / 0.8686 GB, free: 13.31 MB / 0.6667 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003469/1.267, allocations: 113.7 kB / 0.8687 GB, free: 13.23 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002647/1.269, allocations: 242 kB / 0.869 GB, free: 12.99 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001667/1.271, allocations: 0.541 MB / 0.8695 GB, free: 12.47 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.818e-05/1.271, allocations: 53.17 kB / 0.8695 GB, free: 12.44 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/1.271, allocations: 63.11 kB / 0.8696 GB, free: 12.4 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002517/1.274, allocations: 1.109 MB / 0.8707 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.676e-05/1.274, allocations: 11.84 kB / 0.8707 GB, free: 11.4 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001204/1.274, allocations: 29.67 kB / 0.8707 GB, free: 11.39 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001315/1.274, allocations: 59.53 kB / 0.8708 GB, free: 11.34 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001967/1.276, allocations: 0.7129 MB / 0.8715 GB, free: 10.85 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008829/1.285, allocations: 5.908 MB / 0.8773 GB, free: 5.113 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001613/1.287, allocations: 0.5481 MB / 0.8778 GB, free: 4.73 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007088/1.288, allocations: 325.6 kB / 0.8781 GB, free: 4.531 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.062e-05/1.288, allocations: 4.438 kB / 0.8781 GB, free: 4.527 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.392e-05/1.288, allocations: 41.88 kB / 0.8781 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=47): time 3.517e-06/1.288, allocations: 0 / 0.8781 GB, free: 4.48 MB / 0.6667 GB Notification: Performance of matching and sorting (n=48): time 0.003679/1.291, allocations: 1.235 MB / 0.8794 GB, free: 3.52 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.61e-05/1.291, allocations: 55.84 kB / 0.8794 GB, free: 3.453 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008725/1.292, allocations: 498.8 kB / 0.8799 GB, free: 3.066 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 6.914e-05/1.292, allocations: 29.33 kB / 0.8799 GB, free: 3.035 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003275/1.293, allocations: 402.6 kB / 0.8803 GB, free: 2.738 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/1.293, allocations: 170.4 kB / 0.8805 GB, free: 2.594 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.416e-05/1.293, allocations: 13.38 kB / 0.8805 GB, free: 2.59 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001805/1.293, allocations: 381.9 kB / 0.8808 GB, free: 2.234 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006913/1.294, allocations: 260.9 kB / 0.8811 GB, free: 2.07 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008026/1.295, allocations: 452.7 kB / 0.8815 GB, free: 1.656 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000799/1.296, allocations: 333 kB / 0.8818 GB, free: 1.434 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.621e-06/1.296, allocations: 0 / 0.8818 GB, free: 1.434 MB / 0.6667 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002991/1.299, allocations: 1.028 MB / 0.8828 GB, free: 0.6445 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.347e-05/1.299, allocations: 11.98 kB / 0.8828 GB, free: 0.6328 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.71e-05/1.299, allocations: 8 kB / 0.8829 GB, free: 0.625 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001398/1.3, allocations: 274.5 kB / 0.8831 GB, free: 404 kB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009181/1.301, allocations: 123.2 kB / 0.8832 GB, free: 284 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008988/1.31, allocations: 6.579 MB / 0.8897 GB, free: 9.809 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001085/1.311, allocations: 36.97 kB / 0.8897 GB, free: 9.781 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.794e-05/1.311, allocations: 34.88 kB / 0.8897 GB, free: 9.754 MB / 0.6823 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 (63): * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002149/1.311, allocations: 137.1 kB / 0.8899 GB, free: 9.629 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001606/1.312, allocations: 74.47 kB / 0.8899 GB, free: 9.559 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002545/1.314, allocations: 0.8779 MB / 0.8908 GB, free: 8.926 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.006e-05/1.314, allocations: 4 kB / 0.8908 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/1.314, allocations: 4 kB / 0.8908 GB, free: 8.918 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.608e-06/1.314, allocations: 3.984 kB / 0.8908 GB, free: 8.914 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004208/1.319, allocations: 1.703 MB / 0.8925 GB, free: 7.551 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.795e-05/1.319, allocations: 4 kB / 0.8925 GB, free: 7.547 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005292/1.319, allocations: 59.89 kB / 0.8925 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001314/1.32, allocations: 268.9 kB / 0.8928 GB, free: 7.262 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.913e-05/1.321, allocations: 10.44 kB / 0.8928 GB, free: 7.258 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008803/1.329, allocations: 6.568 MB / 0.8992 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.111e-06/1.329, allocations: 7.922 kB / 0.8992 GB, free: 0.793 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002652/1.332, allocations: 1.038 MB / 0.9002 GB, free: 15.89 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005059/1.333, allocations: 202 kB / 0.9004 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001402/1.333, allocations: 10.75 kB / 0.9004 GB, free: 15.69 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007076/1.333, allocations: 31.09 kB / 0.9005 GB, free: 15.66 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001762/1.334, allocations: 51.08 kB / 0.9005 GB, free: 15.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.851e-05/1.334, allocations: 11.88 kB / 0.9005 GB, free: 15.61 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0006746/1.334, allocations: 381.1 kB / 0.9009 GB, free: 15.32 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.874e-06/1.334, allocations: 0 / 0.9009 GB, free: 15.32 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001248/1.336, allocations: 237.3 kB / 0.9011 GB, free: 15.12 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003072/1.339, allocations: 2.025 MB / 0.9031 GB, free: 13.25 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003128/1.342, allocations: 1.193 MB / 0.9042 GB, free: 12.24 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 8.386e-06/1.342, allocations: 0 / 0.9042 GB, free: 12.24 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001992/1.344, allocations: 0.8534 MB / 0.9051 GB, free: 11.47 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001666/1.346, allocations: 186.8 kB / 0.9053 GB, free: 11.34 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00367/1.349, allocations: 1.147 MB / 0.9064 GB, free: 10.28 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/1.35, allocations: 1.024 MB / 0.9074 GB, free: 9.25 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0008207/1.351, allocations: 126.1 kB / 0.9075 GB, free: 9.125 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005228/1.352, allocations: 249.8 kB / 0.9077 GB, free: 9.07 MB / 0.698 GB Notification: Performance of SimCode: time 1.734e-06/1.352, allocations: 0 / 0.9077 GB, free: 9.07 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06173/1.414, allocations: 16.26 MB / 0.9236 GB, free: 8.98 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002355/1.414, allocations: 191.8 kB / 0.9238 GB, free: 8.758 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.926/4.34, allocations: 0 / 0.9238 GB, free: 8.758 MB / 0.7136 GB