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 3.806/3.806, allocations: 403.3 MB / 415.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.97e-05/3.979e-05, allocations: 4 kB / 0.4991 GB, free: 13.25 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6087/0.6088, allocations: 92.67 MB / 0.5896 GB, free: 14.46 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3127/0.9215, allocations: 174.7 MB / 0.7602 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003806/0.9219, allocations: 91.94 kB / 0.7603 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.7646/1.687, allocations: 65.81 MB / 0.8246 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.174e-06/1.687, allocations: 4 kB / 0.8246 GB, free: 142.6 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001125/1.687, allocations: 36 kB / 0.8246 GB, free: 142.6 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.005097/1.692, allocations: 1.671 MB / 0.8262 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.051e-05/1.692, allocations: 12.03 kB / 0.8262 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0007871/1.693, allocations: 256.8 kB / 0.8265 GB, free: 140.6 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004932/1.698, allocations: 0.6572 MB / 0.8271 GB, free: 139.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003806/1.701, allocations: 1.246 MB / 0.8283 GB, free: 138.6 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001128/1.702, allocations: 123.2 kB / 0.8285 GB, free: 138.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006126/1.702, allocations: 156 kB / 0.8286 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007475/1.71, allocations: 2.609 MB / 0.8312 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.463e-05/1.71, allocations: 4 kB / 0.8312 GB, free: 135.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003094/1.71, allocations: 64 kB / 0.8312 GB, free: 135.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001769/1.71, allocations: 95.17 kB / 0.8313 GB, free: 135.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006241/1.717, allocations: 2.156 MB / 0.8334 GB, free: 133.4 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01804/1.735, allocations: 8.138 MB / 0.8414 GB, free: 125 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00167/1.736, allocations: 0.7303 MB / 0.8421 GB, free: 124.3 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001049/1.738, allocations: 0.5322 MB / 0.8426 GB, free: 123.7 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001753/1.738, allocations: 89.47 kB / 0.8427 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.78e-05/1.738, allocations: 42.88 kB / 0.8427 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.226e-06/1.738, allocations: 0 / 0.8427 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.03688/1.775, allocations: 7.159 MB / 0.8497 GB, free: 116.4 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.088e-05/1.775, allocations: 85.89 kB / 0.8498 GB, free: 116.3 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00165/1.776, allocations: 0.8472 MB / 0.8506 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001905/1.777, allocations: 41.7 kB / 0.8507 GB, free: 115.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000482/1.777, allocations: 0.7698 MB / 0.8514 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002826/1.777, allocations: 252.4 kB / 0.8517 GB, free: 114.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001232/1.778, allocations: 20 kB / 0.8517 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001869/1.778, allocations: 394.8 kB / 0.852 GB, free: 114 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00159/1.779, allocations: 0.76 MB / 0.8528 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001781/1.781, allocations: 1.133 MB / 0.8539 GB, free: 111.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001902/1.783, allocations: 0.9584 MB / 0.8548 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.345e-06/1.783, allocations: 4 kB / 0.8548 GB, free: 110.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01214/1.795, allocations: 3.404 MB / 0.8582 GB, free: 107.5 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008612/1.796, allocations: 4.268 MB / 0.8623 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-05/1.796, allocations: 12 kB / 0.8623 GB, free: 102.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01011/1.806, allocations: 1.757 MB / 0.8641 GB, free: 101.1 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001575/1.808, allocations: 223.6 kB / 0.8643 GB, free: 100.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01517/1.823, allocations: 7.286 MB / 0.8714 GB, free: 93.47 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002208/1.825, allocations: 187.7 kB / 0.8716 GB, free: 93.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/1.826, allocations: 47.98 kB / 0.8716 GB, free: 93.24 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/1.826, allocations: 4 kB / 0.8716 GB, free: 93.24 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009363/1.835, allocations: 2.735 MB / 0.8743 GB, free: 90.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-05/1.835, allocations: 8 kB / 0.8743 GB, free: 90.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006059/1.841, allocations: 1.041 MB / 0.8753 GB, free: 89.45 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002071/1.843, allocations: 287.8 kB / 0.8756 GB, free: 89.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01345/1.857, allocations: 6.072 MB / 0.8815 GB, free: 82.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001963/1.859, allocations: 155.7 kB / 0.8817 GB, free: 82.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001452/1.859, allocations: 51.98 kB / 0.8817 GB, free: 82.76 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.0003805/1.859, allocations: 164.7 kB / 0.8819 GB, free: 82.59 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002389/1.86, allocations: 86.92 kB / 0.882 GB, free: 82.5 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01144/1.871, allocations: 2.999 MB / 0.8849 GB, free: 79.48 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-05/1.871, allocations: 7.984 kB / 0.8849 GB, free: 79.47 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.871, allocations: 4 kB / 0.8849 GB, free: 79.47 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.99e-05/1.871, allocations: 0 / 0.8849 GB, free: 79.47 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01708/1.888, allocations: 5.489 MB / 0.8903 GB, free: 73.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.739e-05/1.888, allocations: 4 kB / 0.8903 GB, free: 73.89 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008468/1.889, allocations: 112.1 kB / 0.8904 GB, free: 73.78 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.009668/1.899, allocations: 1.633 MB / 0.892 GB, free: 72.14 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001864/1.899, allocations: 16 kB / 0.892 GB, free: 72.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01986/1.919, allocations: 9.476 MB / 0.9012 GB, free: 62.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.832e-06/1.919, allocations: 11.94 kB / 0.9012 GB, free: 62.36 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01114/1.93, allocations: 2.95 MB / 0.9041 GB, free: 59.31 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/1.931, allocations: 339.9 kB / 0.9044 GB, free: 58.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002345/1.932, allocations: 12 kB / 0.9045 GB, free: 58.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001501/1.933, allocations: 143.8 kB / 0.9046 GB, free: 58.81 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003632/1.933, allocations: 68.36 kB / 0.9047 GB, free: 58.74 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-05/1.934, allocations: 20 kB / 0.9047 GB, free: 58.72 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001238/1.935, allocations: 0.6591 MB / 0.9053 GB, free: 58.07 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.935, allocations: 0 / 0.9053 GB, free: 58.07 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002952/1.938, allocations: 0.6952 MB / 0.906 GB, free: 57.37 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.0116/1.949, allocations: 4.162 MB / 0.9101 GB, free: 53.12 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0139/1.963, allocations: 3.607 MB / 0.9136 GB, free: 49.49 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.497e-05/1.963, allocations: 4.312 kB / 0.9136 GB, free: 49.48 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.005877/1.969, allocations: 1.368 MB / 0.9149 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.00283/1.972, allocations: 256.2 kB / 0.9152 GB, free: 47.84 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01518/1.987, allocations: 3.609 MB / 0.9187 GB, free: 44.17 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002883/1.99, allocations: 1.755 MB / 0.9204 GB, free: 42.38 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.004157/1.995, allocations: 0.6552 MB / 0.921 GB, free: 41.71 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001522/1.996, allocations: 0.5032 MB / 0.9215 GB, free: 41.21 MB / 0.6511 GB Notification: Performance of SimCode: time 1.463e-06/1.996, allocations: 0 / 0.9215 GB, free: 41.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1022/2.098, allocations: 41.45 MB / 0.962 GB, free: 52 kB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003479/2.099, allocations: 215.5 kB / 0.9622 GB, free: 15.82 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.558/5.657, allocations: 0 / 0.9622 GB, free: 15.82 MB / 0.6667 GB