Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.172/4.172, allocations: 403.3 MB / 415.4 MB, free: 13 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.959e-05/3.966e-05, allocations: 5.562 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.713/0.713, allocations: 92.68 MB / 0.5897 GB, free: 14.38 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2801/0.9932, allocations: 153 MB / 0.7391 GB, free: 5.145 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003669/0.9937, allocations: 95.92 kB / 0.7392 GB, free: 5.051 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.258/2.252, allocations: 180 MB / 0.9149 GB, free: 46.87 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.014e-06/2.252, allocations: 4 kB / 0.9149 GB, free: 46.86 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004006/2.252, allocations: 123.9 kB / 0.9151 GB, free: 46.74 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.0162/2.269, allocations: 4.144 MB / 0.9191 GB, free: 42.53 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.325e-05/2.269, allocations: 12.03 kB / 0.9191 GB, free: 42.52 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003139/2.272, allocations: 0.6982 MB / 0.9198 GB, free: 41.81 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009178/2.281, allocations: 0.9774 MB / 0.9208 GB, free: 40.83 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01058/2.292, allocations: 3.217 MB / 0.9239 GB, free: 37.55 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004356/2.292, allocations: 369.6 kB / 0.9243 GB, free: 37.19 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002166/2.294, allocations: 468 kB / 0.9247 GB, free: 36.73 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02169/2.316, allocations: 7.368 MB / 0.9319 GB, free: 28.9 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002237/2.316, allocations: 23.72 kB / 0.9319 GB, free: 28.88 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001854/2.318, allocations: 220 kB / 0.9321 GB, free: 28.66 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004309/2.319, allocations: 269.2 kB / 0.9324 GB, free: 28.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01639/2.335, allocations: 5.207 MB / 0.9375 GB, free: 23.18 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04835/2.384, allocations: 25.69 MB / 0.9626 GB, free: 12.82 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005982/2.39, allocations: 2.094 MB / 0.9646 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003553/2.393, allocations: 1.459 MB / 0.966 GB, free: 9.258 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001566/2.393, allocations: 21.3 kB / 0.966 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.615e-05/2.393, allocations: 51.88 kB / 0.9661 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=157): time 4.198e-06/2.394, allocations: 0 / 0.9661 GB, free: 9.176 MB / 0.6667 GB Notification: Performance of matching and sorting (n=160): time 0.01478/2.408, allocations: 4.969 MB / 0.9709 GB, free: 4.152 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.189e-05/2.408, allocations: 68.72 kB / 0.971 GB, free: 4.074 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003436/2.412, allocations: 1.543 MB / 0.9725 GB, free: 2.504 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004216/2.412, allocations: 57.7 kB / 0.9726 GB, free: 2.441 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.002068/2.414, allocations: 2.1 MB / 0.9746 GB, free: 324 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009859/2.415, allocations: 0.5471 MB / 0.9752 GB, free: 15.76 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002079/2.416, allocations: 40 kB / 0.9752 GB, free: 15.72 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0002399/2.416, allocations: 394.1 kB / 0.9756 GB, free: 15.33 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002577/2.418, allocations: 0.9921 MB / 0.9765 GB, free: 14.33 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003186/2.422, allocations: 1.701 MB / 0.9782 GB, free: 12.29 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003315/2.425, allocations: 1.289 MB / 0.9795 GB, free: 11.01 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.839e-05/2.425, allocations: 4 kB / 0.9795 GB, free: 11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01096/2.436, allocations: 3.694 MB / 0.9831 GB, free: 7.266 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.398e-05/2.436, allocations: 12 kB / 0.9831 GB, free: 7.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.597e-05/2.436, allocations: 27.95 kB / 0.9831 GB, free: 7.227 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004276/2.44, allocations: 0.9047 MB / 0.984 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0032/2.444, allocations: 419.3 kB / 0.9844 GB, free: 5.875 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02989/2.474, allocations: 21 MB / 1.005 GB, free: 15.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003243/2.477, allocations: 119.9 kB / 1.005 GB, free: 15.16 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003562/2.477, allocations: 95.98 kB / 1.005 GB, free: 15.06 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006096/2.478, allocations: 237.1 kB / 1.005 GB, free: 14.82 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006721/2.479, allocations: 249 kB / 1.006 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00928/2.488, allocations: 3.228 MB / 1.009 GB, free: 11.29 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/2.488, allocations: 23.92 kB / 1.009 GB, free: 11.27 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.312e-05/2.488, allocations: 8 kB / 1.009 GB, free: 11.26 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.942e-05/2.488, allocations: 11.91 kB / 1.009 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02153/2.51, allocations: 7.475 MB / 1.016 GB, free: 3.617 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.479e-05/2.51, allocations: 4 kB / 1.016 GB, free: 3.613 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001923/2.512, allocations: 219.7 kB / 1.016 GB, free: 3.398 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004076/2.516, allocations: 0.8609 MB / 1.017 GB, free: 2.5 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003079/2.516, allocations: 36 kB / 1.017 GB, free: 2.465 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02929/2.545, allocations: 20.94 MB / 1.038 GB, free: 11.92 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.004e-05/2.545, allocations: 8 kB / 1.038 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009584/2.555, allocations: 3.666 MB / 1.041 GB, free: 8.004 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002146/2.557, allocations: 0.5331 MB / 1.042 GB, free: 7.449 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006908/2.558, allocations: 28 kB / 1.042 GB, free: 7.422 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002126/2.56, allocations: 100 kB / 1.042 GB, free: 7.324 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004925/2.561, allocations: 133.1 kB / 1.042 GB, free: 7.191 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001731/2.561, allocations: 52 kB / 1.042 GB, free: 7.141 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002577/2.563, allocations: 1.164 MB / 1.043 GB, free: 5.957 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.71e-07/2.563, allocations: 3.938 kB / 1.043 GB, free: 5.953 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004769/2.568, allocations: 0.8984 MB / 1.044 GB, free: 5.055 MB / 0.7448 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 (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(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.01043/2.579, allocations: 5.392 MB / 1.049 GB, free: 15.47 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01085/2.589, allocations: 4.172 MB / 1.053 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.104e-05/2.589, allocations: 2.125 kB / 1.053 GB, free: 11.18 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.007084/2.597, allocations: 2.849 MB / 1.056 GB, free: 8.215 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006203/2.603, allocations: 0.7224 MB / 1.057 GB, free: 7.496 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5948/3.198, allocations: 7.521 MB / 1.064 GB, free: 185.1 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.008363/3.206, allocations: 3.287 MB / 1.067 GB, free: 184.3 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003583/3.21, allocations: 0.5118 MB / 1.068 GB, free: 184.3 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003425/3.213, allocations: 1.679 MB / 1.07 GB, free: 184.3 MB / 0.7605 GB Notification: Performance of SimCode: time 1.633e-06/3.213, allocations: 0 / 1.07 GB, free: 184.3 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1965/3.41, allocations: 67.81 MB / 1.136 GB, free: 181.8 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001948/3.41, allocations: 199.5 kB / 1.136 GB, free: 181.6 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.627/8.037, allocations: 0 / 1.136 GB, free: 181.6 MB / 0.7605 GB