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 3.942/3.942, allocations: 403.3 MB / 415.4 MB, free: 12.93 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 4.167e-05/4.177e-05, allocations: 4 kB / 0.4991 GB, free: 13.33 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6019/0.602, allocations: 92.69 MB / 0.5896 GB, free: 14.47 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2749/0.877, allocations: 153 MB / 0.7391 GB, free: 5.246 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003878/0.8774, allocations: 91.94 kB / 0.7391 GB, free: 5.156 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.23/2.108, allocations: 180 MB / 0.9149 GB, free: 47.1 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.643e-06/2.108, allocations: 0 / 0.9149 GB, free: 47.1 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004177/2.108, allocations: 124 kB / 0.915 GB, free: 46.98 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.01655/2.125, allocations: 4.149 MB / 0.9191 GB, free: 42.76 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.931e-05/2.125, allocations: 8.031 kB / 0.9191 GB, free: 42.75 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.003328/2.128, allocations: 0.6943 MB / 0.9198 GB, free: 42.05 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.009314/2.138, allocations: 0.9812 MB / 0.9207 GB, free: 41.06 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01123/2.149, allocations: 3.214 MB / 0.9239 GB, free: 37.79 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000433/2.149, allocations: 369.6 kB / 0.9242 GB, free: 37.43 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.002231/2.152, allocations: 468 kB / 0.9247 GB, free: 36.97 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02346/2.175, allocations: 7.426 MB / 0.9319 GB, free: 29.08 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002425/2.175, allocations: 23.78 kB / 0.9319 GB, free: 29.05 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001785/2.177, allocations: 216 kB / 0.9321 GB, free: 28.84 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0004142/2.178, allocations: 269.2 kB / 0.9324 GB, free: 28.58 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01758/2.195, allocations: 5.307 MB / 0.9376 GB, free: 23.26 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.06465/2.26, allocations: 25.69 MB / 0.9627 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008151/2.268, allocations: 2.113 MB / 0.9647 GB, free: 10.77 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005132/2.273, allocations: 1.451 MB / 0.9661 GB, free: 9.32 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003126/2.274, allocations: 17.31 kB / 0.9662 GB, free: 9.301 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.834e-05/2.274, allocations: 55.88 kB / 0.9662 GB, free: 9.238 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=157): time 9.358e-06/2.274, allocations: 4 kB / 0.9662 GB, free: 9.234 MB / 0.6667 GB Notification: Performance of matching and sorting (n=160): time 0.01619/2.29, allocations: 4.969 MB / 0.9711 GB, free: 4.215 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.019e-05/2.29, allocations: 76.72 kB / 0.9711 GB, free: 4.125 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003681/2.294, allocations: 1.543 MB / 0.9727 GB, free: 2.555 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0004276/2.294, allocations: 53.7 kB / 0.9727 GB, free: 2.496 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.002276/2.297, allocations: 2.096 MB / 0.9748 GB, free: 384 kB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.001067/2.298, allocations: 0.5508 MB / 0.9753 GB, free: 15.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002289/2.298, allocations: 40 kB / 0.9753 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000271/2.298, allocations: 390.1 kB / 0.9757 GB, free: 15.39 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002818/2.301, allocations: 0.9882 MB / 0.9767 GB, free: 14.4 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003771/2.305, allocations: 1.724 MB / 0.9783 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003759/2.309, allocations: 1.285 MB / 0.9796 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.36e-05/2.309, allocations: 8 kB / 0.9796 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01218/2.321, allocations: 3.757 MB / 0.9833 GB, free: 7.238 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 5.536e-05/2.321, allocations: 16.78 kB / 0.9833 GB, free: 7.223 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.435e-05/2.321, allocations: 24 kB / 0.9833 GB, free: 7.199 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004464/2.326, allocations: 0.9078 MB / 0.9842 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003207/2.329, allocations: 415.2 kB / 0.9846 GB, free: 5.848 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03178/2.361, allocations: 21.01 MB / 1.005 GB, free: 15.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003181/2.364, allocations: 123.9 kB / 1.005 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004273/2.364, allocations: 100.1 kB / 1.005 GB, free: 15.02 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.0006748/2.365, allocations: 240.2 kB / 1.006 GB, free: 14.78 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008156/2.366, allocations: 253 kB / 1.006 GB, free: 14.53 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01002/2.376, allocations: 3.221 MB / 1.009 GB, free: 11.25 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.268e-05/2.376, allocations: 27.92 kB / 1.009 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.798e-05/2.376, allocations: 12 kB / 1.009 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.885e-05/2.376, allocations: 7.969 kB / 1.009 GB, free: 11.21 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02323/2.399, allocations: 7.478 MB / 1.016 GB, free: 3.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.854e-05/2.4, allocations: 8 kB / 1.016 GB, free: 3.562 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002008/2.402, allocations: 215.6 kB / 1.017 GB, free: 3.352 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00436/2.406, allocations: 0.8775 MB / 1.017 GB, free: 2.438 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0003913/2.406, allocations: 36 kB / 1.017 GB, free: 2.402 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0312/2.438, allocations: 20.95 MB / 1.038 GB, free: 11.85 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.555e-06/2.438, allocations: 4 kB / 1.038 GB, free: 11.84 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0101/2.448, allocations: 3.662 MB / 1.041 GB, free: 7.941 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002201/2.45, allocations: 0.5292 MB / 1.042 GB, free: 7.391 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007144/2.451, allocations: 31.98 kB / 1.042 GB, free: 7.359 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002264/2.453, allocations: 99.89 kB / 1.042 GB, free: 7.262 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0006116/2.454, allocations: 137 kB / 1.042 GB, free: 7.129 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001845/2.454, allocations: 44 kB / 1.042 GB, free: 7.086 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 0.002865/2.457, allocations: 1.165 MB / 1.043 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of sort global known variables: time 7.31e-07/2.457, allocations: 0 / 1.043 GB, free: 5.902 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.004843/2.462, allocations: 0.9062 MB / 1.044 GB, free: 4.996 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.01139/2.473, allocations: 5.38 MB / 1.05 GB, free: 15.43 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.01142/2.484, allocations: 4.307 MB / 1.054 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 1.324e-05/2.485, allocations: 4 kB / 1.054 GB, free: 10.96 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.007611/2.492, allocations: 2.944 MB / 1.057 GB, free: 7.863 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005655/2.498, allocations: 0.7166 MB / 1.057 GB, free: 7.148 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.5575/3.055, allocations: 7.535 MB / 1.065 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00881/3.064, allocations: 3.287 MB / 1.068 GB, free: 184.8 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.003409/3.068, allocations: 0.5179 MB / 1.068 GB, free: 184.8 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003666/3.071, allocations: 1.676 MB / 1.07 GB, free: 184.8 MB / 0.7605 GB Notification: Performance of SimCode: time 1.242e-06/3.072, allocations: 1.219 kB / 1.07 GB, free: 184.8 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1598/3.231, allocations: 68.15 MB / 1.137 GB, free: 182.4 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001516/3.231, allocations: 199.9 kB / 1.137 GB, free: 182.1 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.459/7.691, allocations: 0 / 1.137 GB, free: 182.1 MB / 0.7605 GB