Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.257/4.257, allocations: 464.6 MB / 476.8 MB, free: 2.215 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.838e-05/3.842e-05, allocations: 5.406 kB / 0.5732 GB, free: 5.629 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2303, allocations: 107.2 MB / 0.6778 GB, free: 10.28 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.908/1.138, allocations: 186.4 MB / 0.8599 GB, free: 1.137 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003647/1.139, allocations: 96.06 kB / 0.86 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2615/1.4, allocations: 66.37 MB / 0.9248 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.235e-06/1.4, allocations: 0 / 0.9248 GB, free: 8.836 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.000137/1.401, allocations: 36 kB / 0.9248 GB, free: 8.801 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.006265/1.407, allocations: 1.686 MB / 0.9265 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.193e-05/1.407, allocations: 8.031 kB / 0.9265 GB, free: 7.156 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0009769/1.408, allocations: 262.2 kB / 0.9268 GB, free: 6.988 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005591/1.413, allocations: 0.6561 MB / 0.9274 GB, free: 6.336 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004236/1.418, allocations: 1.248 MB / 0.9286 GB, free: 5.324 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001554/1.418, allocations: 118.1 kB / 0.9287 GB, free: 5.258 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007751/1.419, allocations: 163.6 kB / 0.9289 GB, free: 5.148 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008424/1.427, allocations: 2.587 MB / 0.9314 GB, free: 2.746 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-05/1.427, allocations: 3.938 kB / 0.9314 GB, free: 2.742 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003163/1.428, allocations: 68 kB / 0.9315 GB, free: 2.676 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001708/1.428, allocations: 87.22 kB / 0.9316 GB, free: 2.59 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007238/1.435, allocations: 2.13 MB / 0.9336 GB, free: 468 kB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02279/1.458, allocations: 10.9 MB / 0.9443 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00195/1.46, allocations: 0.7222 MB / 0.945 GB, free: 3.934 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/1.461, allocations: 0.5208 MB / 0.9455 GB, free: 3.41 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001873/1.461, allocations: 89.47 kB / 0.9456 GB, free: 3.305 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.535e-05/1.461, allocations: 42.89 kB / 0.9456 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=46): time 5.019e-06/1.461, allocations: 0 / 0.9456 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of matching and sorting (n=72): time 0.0396/1.501, allocations: 7.165 MB / 0.9526 GB, free: 12.07 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.309e-05/1.501, allocations: 85.89 kB / 0.9527 GB, free: 11.97 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001947/1.503, allocations: 0.8472 MB / 0.9535 GB, free: 11.11 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 0.0002033/1.503, allocations: 37.7 kB / 0.9536 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007246/1.504, allocations: 0.7775 MB / 0.9543 GB, free: 10.28 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003682/1.505, allocations: 260.3 kB / 0.9546 GB, free: 10.02 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001315/1.505, allocations: 20 kB / 0.9546 GB, free: 10 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0002333/1.505, allocations: 394.8 kB / 0.955 GB, free: 9.605 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001865/1.507, allocations: 0.7639 MB / 0.9557 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002124/1.509, allocations: 1.114 MB / 0.9568 GB, free: 7.57 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002237/1.511, allocations: 0.97 MB / 0.9577 GB, free: 6.598 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.095e-05/1.511, allocations: 4 kB / 0.9578 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01353/1.525, allocations: 3.365 MB / 0.961 GB, free: 3.211 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 0.001806/1.527, allocations: 4.266 MB / 0.9652 GB, free: 14.62 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.192e-05/1.527, allocations: 15.98 kB / 0.9652 GB, free: 14.6 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01126/1.538, allocations: 1.749 MB / 0.9669 GB, free: 12.84 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001816/1.54, allocations: 223.6 kB / 0.9671 GB, free: 12.62 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01791/1.558, allocations: 7.293 MB / 0.9743 GB, free: 5.172 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002382/1.56, allocations: 183.7 kB / 0.9744 GB, free: 4.992 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001767/1.56, allocations: 51.98 kB / 0.9745 GB, free: 4.941 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/1.56, allocations: 7.953 kB / 0.9745 GB, free: 4.934 MB / 0.7605 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01032/1.571, allocations: 2.7 MB / 0.9771 GB, free: 2.227 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.015e-05/1.571, allocations: 15.94 kB / 0.9771 GB, free: 2.211 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006402/1.577, allocations: 1.027 MB / 0.9782 GB, free: 1.18 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002209/1.58, allocations: 295.5 kB / 0.9784 GB, free: 0.8906 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01533/1.595, allocations: 6.064 MB / 0.9844 GB, free: 10.69 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00206/1.597, allocations: 155.7 kB / 0.9845 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001754/1.597, allocations: 48 kB / 0.9845 GB, free: 10.49 MB / 0.7761 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0004213/1.598, allocations: 168.7 kB / 0.9847 GB, free: 10.32 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002726/1.598, allocations: 86.97 kB / 0.9848 GB, free: 10.23 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01302/1.611, allocations: 2.995 MB / 0.9877 GB, free: 7.219 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.008e-05/1.611, allocations: 12 kB / 0.9877 GB, free: 7.207 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.044e-05/1.611, allocations: 4 kB / 0.9877 GB, free: 7.203 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-05/1.611, allocations: 3.984 kB / 0.9877 GB, free: 7.199 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01944/1.631, allocations: 5.574 MB / 0.9932 GB, free: 1.516 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-05/1.631, allocations: 0 / 0.9932 GB, free: 1.516 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009326/1.632, allocations: 111.8 kB / 0.9933 GB, free: 1.406 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01066/1.642, allocations: 1.637 MB / 0.9949 GB, free: 15.76 MB / 0.7917 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002125/1.643, allocations: 12 kB / 0.9949 GB, free: 15.75 MB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02357/1.666, allocations: 9.448 MB / 1.004 GB, free: 6.027 MB / 0.7917 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.666, allocations: 0 / 1.004 GB, free: 6.027 MB / 0.7917 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01208/1.678, allocations: 2.965 MB / 1.007 GB, free: 2.965 MB / 0.7917 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001168/1.679, allocations: 336 kB / 1.007 GB, free: 2.617 MB / 0.7917 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000298/1.68, allocations: 12 kB / 1.007 GB, free: 2.605 MB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001626/1.681, allocations: 131.8 kB / 1.007 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003683/1.682, allocations: 72.47 kB / 1.008 GB, free: 2.406 MB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.68e-05/1.682, allocations: 19.94 kB / 1.008 GB, free: 2.387 MB / 0.7917 GB Notification: Performance of sorting global known variables: time 0.001547/1.683, allocations: 0.6631 MB / 1.008 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of sort global known variables: time 6.41e-07/1.684, allocations: 0 / 1.008 GB, free: 1.727 MB / 0.7917 GB Notification: Performance of remove unused functions: time 0.003901/1.687, allocations: 0.707 MB / 1.009 GB, free: 1.02 MB / 0.7917 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 (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.014/1.701, allocations: 4.177 MB / 1.013 GB, free: 12.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.01241/1.714, allocations: 3.539 MB / 1.016 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.013e-05/1.714, allocations: 0 / 1.016 GB, free: 9.191 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.00457/1.719, allocations: 1.35 MB / 1.018 GB, free: 7.824 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00195/1.721, allocations: 234.2 kB / 1.018 GB, free: 7.602 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01193/1.733, allocations: 3.386 MB / 1.021 GB, free: 4.145 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0027/1.735, allocations: 1.755 MB / 1.023 GB, free: 2.352 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.003824/1.739, allocations: 0.6513 MB / 1.024 GB, free: 1.695 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00146/1.741, allocations: 0.5071 MB / 1.024 GB, free: 1.188 MB / 0.8073 GB Notification: Performance of SimCode: time 3.687e-06/1.741, allocations: 4 kB / 1.024 GB, free: 1.184 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1168/1.858, allocations: 40.84 MB / 1.064 GB, free: 8.648 MB / 0.8542 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.00033/1.858, allocations: 218.1 kB / 1.064 GB, free: 8.422 MB / 0.8542 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.561/5.419, allocations: 8.062 kB / 1.064 GB, free: 8.414 MB / 0.8542 GB