Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_6_0_0_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.117/4.117, allocations: 432.7 MB / 444.9 MB, free: 15.71 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.919e-05/3.931e-05, allocations: 5.156 kB / 0.5338 GB, free: 12.22 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2393/0.2394, allocations: 98.73 MB / 0.6302 GB, free: 6.094 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9378/1.177, allocations: 179.1 MB / 0.8051 GB, free: 48.51 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003745/1.178, allocations: 92.59 kB / 0.8052 GB, free: 48.51 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.2467/1.424, allocations: 66.37 MB / 0.87 GB, free: 27.78 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.525e-06/1.424, allocations: 0 / 0.87 GB, free: 27.78 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001575/1.425, allocations: 38.44 kB / 0.87 GB, free: 27.77 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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.006874/1.431, allocations: 1.682 MB / 0.8717 GB, free: 26.72 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.804e-05/1.432, allocations: 7.75 kB / 0.8717 GB, free: 26.72 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001212/1.433, allocations: 260.2 kB / 0.8719 GB, free: 26.64 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005685/1.438, allocations: 0.6668 MB / 0.8726 GB, free: 26.33 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004147/1.443, allocations: 1.237 MB / 0.8738 GB, free: 25.84 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001612/1.443, allocations: 122.9 kB / 0.8739 GB, free: 25.84 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009801/1.444, allocations: 162.9 kB / 0.8741 GB, free: 25.83 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008413/1.452, allocations: 2.584 MB / 0.8766 GB, free: 25.21 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-05/1.452, allocations: 3.938 kB / 0.8766 GB, free: 25.2 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003578/1.453, allocations: 70.72 kB / 0.8766 GB, free: 25.2 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001453/1.453, allocations: 87.62 kB / 0.8767 GB, free: 25.19 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006962/1.46, allocations: 2.133 MB / 0.8788 GB, free: 24.95 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.02081/1.481, allocations: 10.89 MB / 0.8894 GB, free: 17.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001805/1.483, allocations: 0.7347 MB / 0.8902 GB, free: 17.54 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001135/1.484, allocations: 0.5179 MB / 0.8907 GB, free: 17.46 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000182/1.484, allocations: 85.08 kB / 0.8908 GB, free: 17.37 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.038e-05/1.484, allocations: 46.72 kB / 0.8908 GB, free: 17.32 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.276e-06/1.484, allocations: 0 / 0.8908 GB, free: 17.32 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.0378/1.522, allocations: 7.165 MB / 0.8978 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.581e-05/1.522, allocations: 85.89 kB / 0.8979 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/1.524, allocations: 0.8464 MB / 0.8987 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003662/1.524, allocations: 43.77 kB / 0.8987 GB, free: 11.91 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009706/1.525, allocations: 0.7709 MB / 0.8995 GB, free: 11.28 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003886/1.526, allocations: 255.7 kB / 0.8997 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001474/1.526, allocations: 20 kB / 0.8998 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002028/1.526, allocations: 398.8 kB / 0.9001 GB, free: 10.65 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001685/1.528, allocations: 0.7639 MB / 0.9009 GB, free: 9.883 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001828/1.53, allocations: 1.107 MB / 0.902 GB, free: 8.617 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002028/1.532, allocations: 0.9739 MB / 0.9029 GB, free: 7.641 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.702e-05/1.532, allocations: 8 kB / 0.9029 GB, free: 7.633 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01378/1.546, allocations: 3.361 MB / 0.9062 GB, free: 4.258 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001045/1.547, allocations: 4.266 MB / 0.9104 GB, free: 15.66 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.368e-05/1.547, allocations: 16 kB / 0.9104 GB, free: 15.64 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01148/1.558, allocations: 1.752 MB / 0.9121 GB, free: 13.88 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001814/1.56, allocations: 219.6 kB / 0.9123 GB, free: 13.67 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01873/1.579, allocations: 7.288 MB / 0.9194 GB, free: 6.223 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002375/1.581, allocations: 183.7 kB / 0.9196 GB, free: 6.043 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001775/1.582, allocations: 47.98 kB / 0.9196 GB, free: 5.996 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/1.582, allocations: 4 kB / 0.9197 GB, free: 5.992 MB / 0.6667 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01055/1.592, allocations: 2.708 MB / 0.9223 GB, free: 3.277 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.263e-05/1.592, allocations: 12 kB / 0.9223 GB, free: 3.266 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006406/1.599, allocations: 1.033 MB / 0.9233 GB, free: 2.23 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002195/1.601, allocations: 295.5 kB / 0.9236 GB, free: 1.941 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01592/1.617, allocations: 6.066 MB / 0.9295 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00212/1.619, allocations: 163.7 kB / 0.9297 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001738/1.619, allocations: 51.94 kB / 0.9297 GB, free: 11.54 MB / 0.6823 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.0004704/1.62, allocations: 160.7 kB / 0.9299 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003045/1.62, allocations: 90.97 kB / 0.93 GB, free: 11.28 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01308/1.633, allocations: 3.007 MB / 0.9329 GB, free: 8.258 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.277e-05/1.633, allocations: 8 kB / 0.9329 GB, free: 8.25 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.227e-05/1.633, allocations: 4 kB / 0.9329 GB, free: 8.246 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.691e-05/1.633, allocations: 3.984 kB / 0.9329 GB, free: 8.242 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0201/1.653, allocations: 5.578 MB / 0.9384 GB, free: 2.57 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.351e-05/1.653, allocations: 4 kB / 0.9384 GB, free: 2.566 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009415/1.654, allocations: 103.8 kB / 0.9385 GB, free: 2.465 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01171/1.666, allocations: 1.637 MB / 0.9401 GB, free: 0.8203 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002387/1.666, allocations: 16 kB / 0.9401 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02453/1.691, allocations: 9.46 MB / 0.9493 GB, free: 7.074 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.01e-06/1.691, allocations: 0 / 0.9493 GB, free: 7.074 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01237/1.703, allocations: 2.962 MB / 0.9522 GB, free: 4.016 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001152/1.705, allocations: 336 kB / 0.9525 GB, free: 3.668 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002995/1.705, allocations: 16 kB / 0.9526 GB, free: 3.652 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001675/1.707, allocations: 135.8 kB / 0.9527 GB, free: 3.52 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003907/1.707, allocations: 60.44 kB / 0.9527 GB, free: 3.461 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000111/1.707, allocations: 24 kB / 0.9528 GB, free: 3.438 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001722/1.709, allocations: 0.6709 MB / 0.9534 GB, free: 2.77 MB / 0.698 GB Notification: Performance of sort global known variables: time 7.11e-07/1.709, allocations: 0 / 0.9534 GB, free: 2.77 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.004078/1.713, allocations: 0.6992 MB / 0.9541 GB, free: 2.07 MB / 0.698 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.0139/1.727, allocations: 4.164 MB / 0.9582 GB, free: 13.83 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01272/1.74, allocations: 3.547 MB / 0.9616 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.496e-05/1.74, allocations: 4 kB / 0.9616 GB, free: 10.26 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.004867/1.745, allocations: 1.342 MB / 0.9629 GB, free: 8.898 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001977/1.747, allocations: 236.5 kB / 0.9632 GB, free: 8.676 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01206/1.759, allocations: 3.383 MB / 0.9665 GB, free: 5.219 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00343/1.762, allocations: 1.762 MB / 0.9682 GB, free: 3.426 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004419/1.767, allocations: 0.6591 MB / 0.9688 GB, free: 2.762 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001791/1.769, allocations: 0.4993 MB / 0.9693 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of SimCode: time 1.393e-06/1.769, allocations: 0 / 0.9693 GB, free: 2.262 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1758/1.945, allocations: 40.82 MB / 1.009 GB, free: 9.738 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001995/1.945, allocations: 221.3 kB / 1.009 GB, free: 9.508 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.652/5.597, allocations: 0 / 1.009 GB, free: 9.508 MB / 0.7605 GB