Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Loads.Examples.Loads_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Loads_Examples_Loads_N",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.796/3.796, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.622e-05/3.638e-05, allocations: 7.984 kB / 0.4991 GB, free: 13.34 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5853/0.5853, allocations: 92.67 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3209/0.9063, allocations: 162.4 MB / 0.7482 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003932/0.9067, allocations: 99.94 kB / 0.7483 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.944/1.851, allocations: 110.7 MB / 0.8564 GB, free: 109 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.475e-06/1.851, allocations: 3.938 kB / 0.8564 GB, free: 109 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001685/1.851, allocations: 71.92 kB / 0.8565 GB, free: 108.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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.009249/1.86, allocations: 2.403 MB / 0.8589 GB, free: 106.5 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/1.86, allocations: 12.03 kB / 0.8589 GB, free: 106.5 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00184/1.862, allocations: 449.8 kB / 0.8593 GB, free: 106 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006291/1.868, allocations: 0.6756 MB / 0.86 GB, free: 105.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005189/1.874, allocations: 1.605 MB / 0.8615 GB, free: 103.7 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002567/1.874, allocations: 221.8 kB / 0.8617 GB, free: 103.5 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001342/1.875, allocations: 280 kB / 0.862 GB, free: 103.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01384/1.889, allocations: 4.54 MB / 0.8664 GB, free: 98.46 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001322/1.889, allocations: 11.84 kB / 0.8665 GB, free: 98.45 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0007828/1.89, allocations: 120 kB / 0.8666 GB, free: 98.34 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003099/1.891, allocations: 192.5 kB / 0.8667 GB, free: 98.14 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01096/1.902, allocations: 3.659 MB / 0.8703 GB, free: 94.47 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.033/1.935, allocations: 16.5 MB / 0.8864 GB, free: 77.41 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004392/1.939, allocations: 1.551 MB / 0.888 GB, free: 75.82 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001609/1.941, allocations: 0.8287 MB / 0.8888 GB, free: 74.98 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002264/1.941, allocations: 101.7 kB / 0.8889 GB, free: 74.86 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.294e-05/1.941, allocations: 43.12 kB / 0.8889 GB, free: 74.81 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 3.807e-06/1.941, allocations: 0 / 0.8889 GB, free: 74.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75): time 0.006107/1.947, allocations: 2.908 MB / 0.8917 GB, free: 71.87 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.669e-05/1.947, allocations: 141 kB / 0.8919 GB, free: 71.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001698/1.949, allocations: 0.9184 MB / 0.8928 GB, free: 70.78 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002071/1.949, allocations: 41.7 kB / 0.8928 GB, free: 70.73 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007368/1.95, allocations: 1.197 MB / 0.894 GB, free: 69.52 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004228/1.95, allocations: 271.1 kB / 0.8942 GB, free: 69.25 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001554/1.951, allocations: 24 kB / 0.8943 GB, free: 69.23 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002037/1.951, allocations: 398.7 kB / 0.8946 GB, free: 68.83 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001748/1.953, allocations: 0.76 MB / 0.8954 GB, free: 68.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002046/1.955, allocations: 1.252 MB / 0.8966 GB, free: 66.59 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002003/1.957, allocations: 0.97 MB / 0.8976 GB, free: 65.62 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.035e-05/1.957, allocations: 4 kB / 0.8976 GB, free: 65.62 MB / 0.6511 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.004663/1.961, allocations: 2.096 MB / 0.8996 GB, free: 63.51 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001104/1.963, allocations: 5.498 MB / 0.905 GB, free: 57.59 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.171e-05/1.963, allocations: 16 kB / 0.905 GB, free: 57.57 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.179e-05/1.963, allocations: 20 kB / 0.905 GB, free: 57.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003233/1.966, allocations: 411.2 kB / 0.9054 GB, free: 57.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.764e-05/1.966, allocations: 31.91 kB / 0.9054 GB, free: 57.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002704/1.969, allocations: 267.3 kB / 0.9057 GB, free: 56.86 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000225/1.969, allocations: 59.98 kB / 0.9057 GB, free: 56.8 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/1.969, allocations: 5.5 kB / 0.9057 GB, free: 56.79 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003565/1.973, allocations: 1.694 MB / 0.9074 GB, free: 55.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.192e-05/1.973, allocations: 20.03 kB / 0.9074 GB, free: 55.08 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.139e-05/1.973, allocations: 20 kB / 0.9074 GB, free: 55.06 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002465/1.975, allocations: 363.4 kB / 0.9078 GB, free: 54.7 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.062e-05/1.975, allocations: 31.86 kB / 0.9078 GB, free: 54.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00187/1.977, allocations: 179.4 kB / 0.908 GB, free: 54.5 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/1.977, allocations: 55.98 kB / 0.908 GB, free: 54.44 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 63 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (156): * Single equations (assignments): 156 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000395/1.978, allocations: 188.3 kB / 0.9082 GB, free: 54.25 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003123/1.978, allocations: 98.73 kB / 0.9083 GB, free: 54.15 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003169/1.981, allocations: 1.464 MB / 0.9097 GB, free: 52.68 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/1.981, allocations: 15.92 kB / 0.9098 GB, free: 52.66 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.981, allocations: 0 / 0.9098 GB, free: 52.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/1.981, allocations: 7.984 kB / 0.9098 GB, free: 52.65 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0149/1.996, allocations: 7.226 MB / 0.9168 GB, free: 45.21 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.55e-05/1.996, allocations: 8 kB / 0.9168 GB, free: 45.21 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00199/1.998, allocations: 255.6 kB / 0.9171 GB, free: 44.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.025e-05/1.998, allocations: 12.41 kB / 0.9171 GB, free: 44.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.587e-05/1.998, allocations: 35.98 kB / 0.9171 GB, free: 44.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.506e-05/1.998, allocations: 15.94 kB / 0.9171 GB, free: 44.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.106e-05/1.998, allocations: 15.89 kB / 0.9172 GB, free: 44.88 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003383/2.002, allocations: 2.378 MB / 0.9195 GB, free: 42.15 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001109/2.003, allocations: 375.5 kB / 0.9198 GB, free: 41.77 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002687/2.003, allocations: 27.98 kB / 0.9199 GB, free: 41.74 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001582/2.005, allocations: 139.7 kB / 0.92 GB, free: 41.6 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002505/2.005, allocations: 71.78 kB / 0.9201 GB, free: 41.53 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.83e-05/2.005, allocations: 32 kB / 0.9201 GB, free: 41.5 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001345/2.007, allocations: 0.6989 MB / 0.9208 GB, free: 40.79 MB / 0.6511 GB Notification: Performance of sort global known variables: time 8.12e-07/2.007, allocations: 0 / 0.9208 GB, free: 40.79 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004013/2.011, allocations: 0.789 MB / 0.9215 GB, free: 40 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (78): * Single equations (assignments): 78 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.004218/2.015, allocations: 5.517 MB / 0.9269 GB, free: 34.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005404/2.02, allocations: 2.591 MB / 0.9295 GB, free: 31.61 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.331e-05/2.02, allocations: 0 / 0.9295 GB, free: 31.61 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/2.022, allocations: 0.717 MB / 0.9302 GB, free: 30.9 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002131/2.024, allocations: 257.2 kB / 0.9304 GB, free: 30.65 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0144/2.038, allocations: 4.682 MB / 0.935 GB, free: 25.8 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003161/2.042, allocations: 2.165 MB / 0.9371 GB, free: 23.61 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.003564/2.045, allocations: 0.7889 MB / 0.9379 GB, free: 22.81 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001999/2.047, allocations: 0.8117 MB / 0.9387 GB, free: 22 MB / 0.6511 GB Notification: Performance of SimCode: time 1.743e-06/2.047, allocations: 0 / 0.9387 GB, free: 22 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1052/2.153, allocations: 31.54 MB / 0.9695 GB, free: 6.684 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003711/2.153, allocations: 181.9 kB / 0.9696 GB, free: 6.453 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.179/5.332, allocations: 0 / 0.9696 GB, free: 6.453 MB / 0.6667 GB