Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACSimpleGrid_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.066/4.066, allocations: 403.3 MB / 415.4 MB, free: 12.95 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.51e-05/5.508e-05, allocations: 7.938 kB / 0.4991 GB, free: 13.31 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6382/0.6383, allocations: 92.69 MB / 0.5897 GB, free: 14.33 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3379/0.9763, allocations: 174.7 MB / 0.7602 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004401/0.9768, allocations: 99.92 kB / 0.7603 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.8059/1.783, allocations: 65.82 MB / 0.8246 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.144e-06/1.783, allocations: 0 / 0.8246 GB, free: 142.4 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001343/1.783, allocations: 39.98 kB / 0.8246 GB, free: 142.4 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.005892/1.789, allocations: 1.675 MB / 0.8263 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.19e-05/1.789, allocations: 8.031 kB / 0.8263 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0008807/1.79, allocations: 260.7 kB / 0.8265 GB, free: 140.4 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005301/1.795, allocations: 0.6572 MB / 0.8272 GB, free: 139.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003934/1.799, allocations: 1.25 MB / 0.8284 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001263/1.799, allocations: 123.2 kB / 0.8285 GB, free: 138.3 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000734/1.8, allocations: 156 kB / 0.8286 GB, free: 138.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007205/1.807, allocations: 2.583 MB / 0.8312 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.299e-05/1.807, allocations: 4 kB / 0.8312 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003005/1.808, allocations: 67.98 kB / 0.8312 GB, free: 135.4 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001443/1.808, allocations: 95.11 kB / 0.8313 GB, free: 135.3 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00576/1.814, allocations: 2.13 MB / 0.8334 GB, free: 133.2 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01857/1.832, allocations: 8.13 MB / 0.8413 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001768/1.834, allocations: 0.7338 MB / 0.8421 GB, free: 124.1 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/1.835, allocations: 0.5142 MB / 0.8426 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000184/1.835, allocations: 105.4 kB / 0.8427 GB, free: 123.5 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.692e-05/1.836, allocations: 38.94 kB / 0.8427 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.486e-06/1.836, allocations: 0 / 0.8427 GB, free: 123.4 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.05489/1.89, allocations: 7.163 MB / 0.8497 GB, free: 116.2 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.426e-05/1.891, allocations: 85.89 kB / 0.8498 GB, free: 116.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/1.893, allocations: 0.8432 MB / 0.8506 GB, free: 115.3 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0003052/1.894, allocations: 41.7 kB / 0.8506 GB, free: 115.2 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008433/1.895, allocations: 0.762 MB / 0.8514 GB, free: 114.5 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005517/1.895, allocations: 264.3 kB / 0.8516 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002184/1.895, allocations: 24 kB / 0.8517 GB, free: 114.2 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002858/1.896, allocations: 394.8 kB / 0.852 GB, free: 113.8 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002687/1.898, allocations: 0.7639 MB / 0.8528 GB, free: 113 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003001/1.901, allocations: 1.107 MB / 0.8539 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003303/1.905, allocations: 0.974 MB / 0.8548 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-05/1.905, allocations: 0 / 0.8548 GB, free: 110.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01925/1.924, allocations: 3.365 MB / 0.8581 GB, free: 107.4 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001164/1.925, allocations: 4.274 MB / 0.8623 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.593e-05/1.926, allocations: 11.94 kB / 0.8623 GB, free: 102.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01055/1.936, allocations: 1.757 MB / 0.864 GB, free: 101 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001669/1.938, allocations: 219.6 kB / 0.8642 GB, free: 100.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01557/1.953, allocations: 7.286 MB / 0.8713 GB, free: 93.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002344/1.956, allocations: 183.7 kB / 0.8715 GB, free: 93.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002773/1.956, allocations: 51.98 kB / 0.8716 GB, free: 93.12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.442e-05/1.956, allocations: 8 kB / 0.8716 GB, free: 93.12 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009496/1.966, allocations: 2.7 MB / 0.8742 GB, free: 90.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.254e-05/1.966, allocations: 8 kB / 0.8742 GB, free: 90.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006032/1.972, allocations: 1.033 MB / 0.8752 GB, free: 89.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002123/1.974, allocations: 295.5 kB / 0.8755 GB, free: 89.08 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01338/1.987, allocations: 6.071 MB / 0.8814 GB, free: 82.87 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002015/1.989, allocations: 151.8 kB / 0.8816 GB, free: 82.72 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001881/1.99, allocations: 44 kB / 0.8816 GB, free: 82.68 MB / 0.6511 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.0003877/1.99, allocations: 178.8 kB / 0.8818 GB, free: 82.5 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002755/1.99, allocations: 91.25 kB / 0.8819 GB, free: 82.41 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01163/2.002, allocations: 2.987 MB / 0.8848 GB, free: 79.4 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.976e-05/2.002, allocations: 8 kB / 0.8848 GB, free: 79.39 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.204e-05/2.002, allocations: 7.984 kB / 0.8848 GB, free: 79.39 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.437e-05/2.002, allocations: 7.984 kB / 0.8848 GB, free: 79.38 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01752/2.02, allocations: 5.482 MB / 0.8902 GB, free: 73.81 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.036e-05/2.02, allocations: 4 kB / 0.8902 GB, free: 73.8 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008981/2.021, allocations: 111.8 kB / 0.8903 GB, free: 73.7 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009725/2.03, allocations: 1.637 MB / 0.8919 GB, free: 72.05 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002059/2.031, allocations: 16 kB / 0.8919 GB, free: 72.04 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0201/2.051, allocations: 9.471 MB / 0.9011 GB, free: 62.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/2.051, allocations: 4 kB / 0.9011 GB, free: 62.29 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01086/2.062, allocations: 2.958 MB / 0.904 GB, free: 59.23 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001037/2.063, allocations: 336 kB / 0.9043 GB, free: 58.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002942/2.063, allocations: 19.98 kB / 0.9044 GB, free: 58.86 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001685/2.065, allocations: 131.8 kB / 0.9045 GB, free: 58.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000366/2.065, allocations: 72.55 kB / 0.9046 GB, free: 58.66 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.633e-05/2.065, allocations: 23.94 kB / 0.9046 GB, free: 58.64 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001328/2.067, allocations: 0.6631 MB / 0.9052 GB, free: 57.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.52e-07/2.067, allocations: 0 / 0.9052 GB, free: 57.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003655/2.07, allocations: 0.6913 MB / 0.9059 GB, free: 57.29 MB / 0.6511 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.01169/2.082, allocations: 4.165 MB / 0.91 GB, free: 53.03 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01079/2.093, allocations: 3.546 MB / 0.9134 GB, free: 49.46 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.025e-05/2.093, allocations: 0 / 0.9134 GB, free: 49.46 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.004044/2.097, allocations: 1.347 MB / 0.9148 GB, free: 48.09 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001869/2.099, allocations: 241.5 kB / 0.915 GB, free: 47.86 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01032/2.109, allocations: 3.601 MB / 0.9185 GB, free: 44.19 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001944/2.111, allocations: 1.755 MB / 0.9202 GB, free: 42.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002906/2.114, allocations: 0.6591 MB / 0.9209 GB, free: 41.74 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001109/2.115, allocations: 0.5071 MB / 0.9214 GB, free: 41.23 MB / 0.6511 GB Notification: Performance of SimCode: time 1.673e-06/2.115, allocations: 3.938 kB / 0.9214 GB, free: 41.23 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1315/2.247, allocations: 41.15 MB / 0.9615 GB, free: 392 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000228/2.247, allocations: 206.2 kB / 0.9617 GB, free: 168 kB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.512/5.759, allocations: 0 / 0.9617 GB, free: 168 kB / 0.6511 GB