Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_latest_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.309/4.309, allocations: 464.6 MB / 476.8 MB, free: 2.105 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.614e-05/3.619e-05, allocations: 4.781 kB / 0.5732 GB, free: 5.594 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2328/0.2329, allocations: 107.1 MB / 0.6778 GB, free: 10.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9195/1.152, allocations: 190.2 MB / 0.8635 GB, free: 13.63 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003525/1.153, allocations: 100.3 kB / 0.8636 GB, free: 13.57 MB / 0.6667 GB Notification: Performance of FrontEnd - DAE generated: time 0.4505/1.603, allocations: 113.2 MB / 0.9741 GB, free: 6.402 MB / 0.7605 GB Notification: Performance of FrontEnd: time 2.625e-06/1.603, allocations: 0 / 0.9741 GB, free: 6.402 MB / 0.7605 GB Notification: Performance of Transformations before backend: time 0.0002932/1.604, allocations: 71.98 kB / 0.9742 GB, free: 6.332 MB / 0.7605 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01205/1.616, allocations: 2.676 MB / 0.9768 GB, free: 3.598 MB / 0.7605 GB Notification: Performance of prepare preOptimizeDAE: time 5.938e-05/1.616, allocations: 8.031 kB / 0.9768 GB, free: 3.59 MB / 0.7605 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00225/1.618, allocations: 458.4 kB / 0.9773 GB, free: 3.129 MB / 0.7605 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006914/1.625, allocations: 0.6635 MB / 0.9779 GB, free: 2.461 MB / 0.7605 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007619/1.633, allocations: 2.067 MB / 0.9799 GB, free: 340 kB / 0.7605 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003534/1.633, allocations: 222 kB / 0.9802 GB, free: 116 kB / 0.7605 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001476/1.635, allocations: 296 kB / 0.9804 GB, free: 15.82 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01516/1.65, allocations: 4.524 MB / 0.9849 GB, free: 11.05 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001529/1.65, allocations: 15.84 kB / 0.9849 GB, free: 11.04 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000831/1.651, allocations: 132 kB / 0.985 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003118/1.651, allocations: 169.8 kB / 0.9852 GB, free: 10.74 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01181/1.663, allocations: 3.295 MB / 0.9884 GB, free: 7.441 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04073/1.704, allocations: 21.59 MB / 1.009 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003313/1.707, allocations: 1.259 MB / 1.011 GB, free: 14.57 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002685/1.71, allocations: 1.03 MB / 1.012 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001163/1.71, allocations: 9 kB / 1.012 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.643e-05/1.71, allocations: 51.55 kB / 1.012 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=107): time 4.869e-06/1.71, allocations: 0 / 1.012 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of matching and sorting (n=138): time 0.03496/1.745, allocations: 6.65 MB / 1.018 GB, free: 6.824 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.126e-05/1.745, allocations: 64.72 kB / 1.018 GB, free: 6.75 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002385/1.748, allocations: 0.9575 MB / 1.019 GB, free: 5.785 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 0.0003152/1.748, allocations: 45.7 kB / 1.019 GB, free: 5.734 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 0.001347/1.75, allocations: 1.3 MB / 1.021 GB, free: 4.418 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008195/1.75, allocations: 485.1 kB / 1.021 GB, free: 3.938 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001922/1.751, allocations: 32 kB / 1.021 GB, free: 3.906 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0002283/1.751, allocations: 377.9 kB / 1.021 GB, free: 3.531 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002381/1.753, allocations: 0.8551 MB / 1.022 GB, free: 2.676 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002883/1.756, allocations: 1.323 MB / 1.024 GB, free: 1.148 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00291/1.759, allocations: 1.098 MB / 1.025 GB, free: 56 kB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.656e-05/1.759, allocations: 4 kB / 1.025 GB, free: 52 kB / 0.8073 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.01102/1.77, allocations: 3.331 MB / 1.028 GB, free: 12.7 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 4.316e-05/1.77, allocations: 11.98 kB / 1.028 GB, free: 12.69 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.3e-05/1.77, allocations: 16 kB / 1.028 GB, free: 12.67 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005675/1.776, allocations: 1.131 MB / 1.029 GB, free: 11.54 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00209/1.778, allocations: 271.5 kB / 1.029 GB, free: 11.27 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02728/1.806, allocations: 12.45 MB / 1.041 GB, free: 14.42 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002196/1.808, allocations: 91.97 kB / 1.042 GB, free: 14.33 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003207/1.808, allocations: 64 kB / 1.042 GB, free: 14.27 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004783/1.809, allocations: 208.4 kB / 1.042 GB, free: 14.05 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000544/1.809, allocations: 154.1 kB / 1.042 GB, free: 13.9 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009858/1.819, allocations: 3.087 MB / 1.045 GB, free: 10.79 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.244e-05/1.819, allocations: 19.95 kB / 1.045 GB, free: 10.77 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.535e-05/1.819, allocations: 12 kB / 1.045 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.507e-05/1.819, allocations: 3.984 kB / 1.045 GB, free: 10.76 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01807/1.837, allocations: 6.089 MB / 1.051 GB, free: 4.535 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-05/1.837, allocations: 7.938 kB / 1.051 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001289/1.839, allocations: 151.8 kB / 1.051 GB, free: 4.379 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004927/1.844, allocations: 1.023 MB / 1.052 GB, free: 3.352 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002559/1.844, allocations: 28 kB / 1.052 GB, free: 3.324 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02598/1.87, allocations: 12.14 MB / 1.064 GB, free: 6.785 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.057e-05/1.87, allocations: 7.938 kB / 1.064 GB, free: 6.777 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009295/1.879, allocations: 3.312 MB / 1.067 GB, free: 3.234 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00156/1.881, allocations: 419 kB / 1.068 GB, free: 2.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006153/1.882, allocations: 28 kB / 1.068 GB, free: 2.777 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001534/1.883, allocations: 79.84 kB / 1.068 GB, free: 2.699 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004654/1.884, allocations: 128.7 kB / 1.068 GB, free: 2.574 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001358/1.884, allocations: 40 kB / 1.068 GB, free: 2.535 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.001709/1.886, allocations: 0.73 MB / 1.069 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.022e-06/1.886, allocations: 0 / 1.069 GB, free: 1.801 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.003547/1.889, allocations: 0.668 MB / 1.069 GB, free: 1.133 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01043/1.9, allocations: 5.1 MB / 1.074 GB, free: 11.87 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.00822/1.908, allocations: 2.944 MB / 1.077 GB, free: 8.895 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 9.738e-06/1.908, allocations: 4 kB / 1.077 GB, free: 8.891 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.005446/1.913, allocations: 1.846 MB / 1.079 GB, free: 7.012 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003664/1.917, allocations: 431.3 kB / 1.079 GB, free: 6.594 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01668/1.934, allocations: 5.091 MB / 1.084 GB, free: 1.395 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.005428/1.939, allocations: 2.387 MB / 1.087 GB, free: 14.98 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.002096/1.942, allocations: 346 kB / 1.087 GB, free: 14.63 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002426/1.944, allocations: 0.9952 MB / 1.088 GB, free: 13.64 MB / 0.8855 GB Notification: Performance of SimCode: time 1.793e-06/1.944, allocations: 4 kB / 1.088 GB, free: 13.63 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7206/2.665, allocations: 48.43 MB / 1.135 GB, free: 252.1 MB / 0.8855 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002439/2.665, allocations: 197 kB / 1.135 GB, free: 251.9 MB / 0.8855 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.75/6.415, allocations: 7.812 kB / 1.135 GB, free: 251.9 MB / 0.8855 GB