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={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.581/4.581, allocations: 404.1 MB / 411.3 MB, free: 408 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.195e-05/3.204e-05, allocations: 4 kB / 0.4945 GB, free: 1.289 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6656/0.6657, allocations: 92.69 MB / 0.5851 GB, free: 2.277 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4606/1.126, allocations: 161.8 MB / 0.743 GB, free: 296 kB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0006618/1.127, allocations: 91.94 kB / 0.7431 GB, free: 204 kB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.095/2.223, allocations: 110.3 MB / 0.8508 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.515e-06/2.223, allocations: 0 / 0.8508 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001818/2.223, allocations: 67.94 kB / 0.8509 GB, free: 116.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: 776 * Number of variables: 776 Notification: Performance of Generate backend data structure: time 0.01049/2.233, allocations: 2.411 MB / 0.8532 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.526e-05/2.233, allocations: 12.02 kB / 0.8532 GB, free: 114.1 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007506/2.241, allocations: 0.6795 MB / 0.8539 GB, free: 113.4 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00566/2.247, allocations: 1.609 MB / 0.8555 GB, free: 111.8 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001831/2.247, allocations: 92 kB / 0.8556 GB, free: 111.7 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001418/2.248, allocations: 168 kB / 0.8557 GB, free: 111.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01094/2.259, allocations: 3.206 MB / 0.8588 GB, free: 108.3 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01414/2.273, allocations: 4.115 MB / 0.8629 GB, free: 104 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.00014/2.274, allocations: 15.84 kB / 0.8629 GB, free: 104 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0006174/2.274, allocations: 7.953 kB / 0.8629 GB, free: 104 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0003436/2.275, allocations: 184.7 kB / 0.8631 GB, free: 103.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03493/2.31, allocations: 15.59 MB / 0.8783 GB, free: 87.7 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004775/2.314, allocations: 1.511 MB / 0.8798 GB, free: 86.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002844/2.317, allocations: 1.001 MB / 0.8807 GB, free: 85.13 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002443/2.318, allocations: 105.6 kB / 0.8808 GB, free: 85.01 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.056e-05/2.318, allocations: 39.12 kB / 0.8809 GB, free: 84.96 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=72): time 4.999e-06/2.318, allocations: 0 / 0.8809 GB, free: 84.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=75): time 0.007287/2.325, allocations: 2.928 MB / 0.8837 GB, free: 82 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.288e-05/2.325, allocations: 145.1 kB / 0.8839 GB, free: 81.83 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001595/2.327, allocations: 0.7967 MB / 0.8847 GB, free: 81.02 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001607/2.327, allocations: 25.7 kB / 0.8847 GB, free: 80.99 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007242/2.328, allocations: 1.208 MB / 0.8859 GB, free: 79.76 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/2.328, allocations: 256.3 kB / 0.8861 GB, free: 79.51 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001536/2.328, allocations: 4 kB / 0.8861 GB, free: 79.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001631/2.328, allocations: 394.7 kB / 0.8865 GB, free: 79.11 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001678/2.33, allocations: 0.7599 MB / 0.8872 GB, free: 78.35 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/2.332, allocations: 1.226 MB / 0.8884 GB, free: 76.9 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00319/2.335, allocations: 1.054 MB / 0.8894 GB, free: 75.84 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-05/2.335, allocations: 4 kB / 0.8895 GB, free: 75.84 MB / 0.6511 GB Notification: Performance of matching and sorting (n=156) (initialization): time 0.00602/2.341, allocations: 2.085 MB / 0.8915 GB, free: 73.74 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.001183/2.343, allocations: 5.491 MB / 0.8969 GB, free: 67.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.66e-05/2.343, allocations: 12 kB / 0.8969 GB, free: 67.81 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.533e-05/2.343, allocations: 27.98 kB / 0.8969 GB, free: 67.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003834/2.347, allocations: 415.3 kB / 0.8973 GB, free: 67.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.435e-05/2.347, allocations: 31.86 kB / 0.8973 GB, free: 67.35 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003178/2.35, allocations: 231.3 kB / 0.8975 GB, free: 67.12 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002257/2.35, allocations: 55.98 kB / 0.8976 GB, free: 67.07 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.798e-05/2.35, allocations: 7.953 kB / 0.8976 GB, free: 67.06 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00461/2.355, allocations: 1.666 MB / 0.8992 GB, free: 65.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.548e-05/2.355, allocations: 12 kB / 0.8992 GB, free: 65.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.771e-05/2.355, allocations: 24.09 kB / 0.8993 GB, free: 65.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003068/2.358, allocations: 371.9 kB / 0.8996 GB, free: 64.99 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.199e-05/2.358, allocations: 31.86 kB / 0.8996 GB, free: 64.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002287/2.36, allocations: 151.4 kB / 0.8998 GB, free: 64.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001753/2.361, allocations: 55.98 kB / 0.8998 GB, free: 64.76 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.0004641/2.361, allocations: 159.2 kB / 0.9 GB, free: 64.6 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003742/2.365, allocations: 1.407 MB / 0.9014 GB, free: 63.18 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003396/2.365, allocations: 90.88 kB / 0.9015 GB, free: 63.09 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003846/2.369, allocations: 1.476 MB / 0.9029 GB, free: 61.61 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.666e-05/2.369, allocations: 12 kB / 0.9029 GB, free: 61.59 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.748e-06/2.369, allocations: 0 / 0.9029 GB, free: 61.59 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.75e-05/2.369, allocations: 7.984 kB / 0.9029 GB, free: 61.59 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01531/2.384, allocations: 6.506 MB / 0.9093 GB, free: 54.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.818e-05/2.385, allocations: 8 kB / 0.9093 GB, free: 54.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002536/2.387, allocations: 271.5 kB / 0.9095 GB, free: 54.61 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.787e-05/2.387, allocations: 12 kB / 0.9095 GB, free: 54.6 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001524/2.387, allocations: 12 kB / 0.9096 GB, free: 54.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.717e-05/2.387, allocations: 19.92 kB / 0.9096 GB, free: 54.57 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.699e-05/2.387, allocations: 19.89 kB / 0.9096 GB, free: 54.55 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004112/2.392, allocations: 2.404 MB / 0.9119 GB, free: 51.79 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001102/2.393, allocations: 371.6 kB / 0.9123 GB, free: 51.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003706/2.393, allocations: 15.98 kB / 0.9123 GB, free: 51.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00199/2.395, allocations: 127.8 kB / 0.9124 GB, free: 51.27 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002855/2.395, allocations: 71.72 kB / 0.9125 GB, free: 51.2 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001059/2.395, allocations: 40 kB / 0.9125 GB, free: 51.16 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001218/2.397, allocations: 0.5967 MB / 0.9131 GB, free: 50.57 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.9e-07/2.397, allocations: 0 / 0.9131 GB, free: 50.57 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004985/2.402, allocations: 0.7266 MB / 0.9138 GB, free: 49.84 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.00519/2.407, allocations: 5.517 MB / 0.9192 GB, free: 44.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.005777/2.413, allocations: 2.523 MB / 0.9217 GB, free: 41.53 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.797e-05/2.413, allocations: 4 kB / 0.9217 GB, free: 41.53 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001698/2.415, allocations: 0.7077 MB / 0.9224 GB, free: 40.82 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002643/2.417, allocations: 242.8 kB / 0.9226 GB, free: 40.59 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01437/2.432, allocations: 4.624 MB / 0.9271 GB, free: 35.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.003372/2.435, allocations: 2.172 MB / 0.9292 GB, free: 33.59 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.00503/2.44, allocations: 0.7689 MB / 0.93 GB, free: 32.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.002483/2.443, allocations: 0.8039 MB / 0.9308 GB, free: 32.01 MB / 0.6511 GB Notification: Performance of SimCode: time 1.462e-06/2.443, allocations: 0 / 0.9308 GB, free: 32.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1167/2.559, allocations: 29.88 MB / 0.96 GB, free: 2.289 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0002743/2.56, allocations: 162.5 kB / 0.9601 GB, free: 2.098 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 3.77/6.33, allocations: 0 / 0.9601 GB, free: 2.098 MB / 0.6511 GB