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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.592/4.592, allocations: 404.2 MB / 411.3 MB, free: 420 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.224e-05/3.237e-05, allocations: 4 kB / 0.4946 GB, free: 1.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6808/0.6809, allocations: 92.68 MB / 0.5851 GB, free: 2.305 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3606/1.042, allocations: 174 MB / 0.755 GB, free: 4.055 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004182/1.042, allocations: 99.92 kB / 0.7551 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.8554/1.897, allocations: 65.47 MB / 0.819 GB, free: 149.9 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.757e-06/1.897, allocations: 0 / 0.819 GB, free: 149.9 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.000144/1.898, allocations: 39.94 kB / 0.819 GB, free: 149.9 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.007105/1.905, allocations: 1.679 MB / 0.8207 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.048e-05/1.905, allocations: 12.02 kB / 0.8207 GB, free: 148.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006415/1.911, allocations: 0.6573 MB / 0.8213 GB, free: 147.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004425/1.916, allocations: 1.242 MB / 0.8225 GB, free: 146.2 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.172e-05/1.916, allocations: 52 kB / 0.8226 GB, free: 146.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007162/1.917, allocations: 92 kB / 0.8227 GB, free: 146 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006531/1.923, allocations: 1.939 MB / 0.8246 GB, free: 144.1 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008331/1.932, allocations: 2.373 MB / 0.8269 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.668e-05/1.932, allocations: 3.938 kB / 0.8269 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003255/1.932, allocations: 7.953 kB / 0.8269 GB, free: 141.7 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001842/1.932, allocations: 91.22 kB / 0.827 GB, free: 141.6 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01988/1.952, allocations: 7.76 MB / 0.8346 GB, free: 133.6 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001883/1.954, allocations: 0.7182 MB / 0.8353 GB, free: 132.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001162/1.955, allocations: 0.5052 MB / 0.8358 GB, free: 132.4 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002133/1.956, allocations: 89.48 kB / 0.8358 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.984e-05/1.956, allocations: 38.94 kB / 0.8359 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 4.619e-06/1.956, allocations: 3.984 kB / 0.8359 GB, free: 132.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.01998/1.976, allocations: 4.36 MB / 0.8401 GB, free: 127.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.552e-05/1.976, allocations: 85.89 kB / 0.8402 GB, free: 127.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001593/1.977, allocations: 0.7571 MB / 0.841 GB, free: 127 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002333/1.978, allocations: 29.7 kB / 0.841 GB, free: 127 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000577/1.978, allocations: 0.7697 MB / 0.8417 GB, free: 126.2 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003816/1.979, allocations: 248.4 kB / 0.842 GB, free: 126 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001592/1.979, allocations: 0 / 0.842 GB, free: 126 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001909/1.979, allocations: 394.8 kB / 0.8424 GB, free: 125.6 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001729/1.981, allocations: 0.7404 MB / 0.8431 GB, free: 124.8 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001906/1.983, allocations: 1.095 MB / 0.8442 GB, free: 123.6 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003025/1.986, allocations: 1.074 MB / 0.8452 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.649e-05/1.986, allocations: 4 kB / 0.8452 GB, free: 122.5 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.01398/2, allocations: 3.24 MB / 0.8484 GB, free: 119.2 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0009237/2.001, allocations: 4.269 MB / 0.8525 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.576e-05/2.001, allocations: 12 kB / 0.8526 GB, free: 114.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01064/2.011, allocations: 1.405 MB / 0.8539 GB, free: 113.2 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001848/2.013, allocations: 219.6 kB / 0.8541 GB, free: 113 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.02301/2.036, allocations: 7.021 MB / 0.861 GB, free: 105.8 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002645/2.039, allocations: 179.5 kB / 0.8612 GB, free: 105.7 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002489/2.039, allocations: 52 kB / 0.8612 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/2.039, allocations: 7.938 kB / 0.8612 GB, free: 105.6 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004615/2.044, allocations: 1.669 MB / 0.8628 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.492e-05/2.044, allocations: 12 kB / 0.8629 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.972e-05/2.044, allocations: 16 kB / 0.8629 GB, free: 103.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002903/2.047, allocations: 344.1 kB / 0.8632 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.717e-05/2.047, allocations: 23.94 kB / 0.8632 GB, free: 103.6 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002008/2.049, allocations: 127.7 kB / 0.8633 GB, free: 103.4 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001612/2.049, allocations: 47.98 kB / 0.8634 GB, free: 103.4 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.0004785/2.05, allocations: 140.6 kB / 0.8635 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01334/2.063, allocations: 2.849 MB / 0.8663 GB, free: 100.4 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005173/2.064, allocations: 82.97 kB / 0.8664 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01397/2.078, allocations: 3.01 MB / 0.8693 GB, free: 97.26 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.186e-05/2.078, allocations: 8 kB / 0.8693 GB, free: 97.25 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.516e-06/2.078, allocations: 0 / 0.8693 GB, free: 97.25 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.205e-05/2.078, allocations: 3.984 kB / 0.8693 GB, free: 97.25 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01856/2.096, allocations: 5.192 MB / 0.8744 GB, free: 92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.181e-05/2.097, allocations: 0 / 0.8744 GB, free: 92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009678/2.098, allocations: 112.1 kB / 0.8745 GB, free: 91.89 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.01089/2.108, allocations: 1.611 MB / 0.8761 GB, free: 90.27 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001589/2.109, allocations: 7.984 kB / 0.8761 GB, free: 90.26 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02219/2.131, allocations: 9.163 MB / 0.885 GB, free: 80.87 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.723e-06/2.131, allocations: 0 / 0.885 GB, free: 80.87 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01248/2.143, allocations: 2.982 MB / 0.888 GB, free: 77.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/2.145, allocations: 331.9 kB / 0.8883 GB, free: 77.45 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003167/2.145, allocations: 4 kB / 0.8883 GB, free: 77.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00231/2.147, allocations: 167.7 kB / 0.8884 GB, free: 77.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004369/2.148, allocations: 64.47 kB / 0.8885 GB, free: 77.21 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001075/2.148, allocations: 16 kB / 0.8885 GB, free: 77.2 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001208/2.149, allocations: 0.5889 MB / 0.8891 GB, free: 76.61 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.01e-07/2.149, allocations: 0 / 0.8891 GB, free: 76.61 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.003353/2.152, allocations: 0.6093 MB / 0.8897 GB, free: 76 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.01717/2.17, allocations: 4.184 MB / 0.8938 GB, free: 71.74 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0118/2.181, allocations: 2.909 MB / 0.8966 GB, free: 68.82 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 9.908e-06/2.182, allocations: 0.5 kB / 0.8966 GB, free: 68.82 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.006394/2.188, allocations: 1.337 MB / 0.8979 GB, free: 67.47 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002651/2.191, allocations: 218.1 kB / 0.8981 GB, free: 67.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01597/2.207, allocations: 3.526 MB / 0.9016 GB, free: 63.66 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003567/2.21, allocations: 1.755 MB / 0.9033 GB, free: 61.88 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.005101/2.215, allocations: 0.6353 MB / 0.9039 GB, free: 61.23 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001851/2.217, allocations: 0.4954 MB / 0.9044 GB, free: 60.74 MB / 0.6511 GB Notification: Performance of SimCode: time 1.532e-06/2.217, allocations: 0 / 0.9044 GB, free: 60.74 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1328/2.35, allocations: 36.27 MB / 0.9398 GB, free: 24.64 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003697/2.351, allocations: 182.9 kB / 0.94 GB, free: 24.43 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.963/6.313, allocations: 0 / 0.94 GB, free: 24.43 MB / 0.6511 GB