Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesBalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_7_0_0_Buildings_Electrical_AC_ThreePhasesBalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.546/4.546, allocations: 460.4 MB / 472.6 MB, free: 5.371 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 4.088e-05/4.089e-05, allocations: 4 kB / 0.5682 GB, free: 10.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2538/0.2538, allocations: 106.2 MB / 0.6719 GB, free: 15.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8873/1.141, allocations: 157 MB / 0.8252 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003321/1.142, allocations: 92.59 kB / 0.8253 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.1455/1.287, allocations: 36.88 MB / 0.8614 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.034e-06/1.287, allocations: 0 / 0.8614 GB, free: 7.242 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.704e-05/1.287, allocations: 31.94 kB / 0.8614 GB, free: 7.211 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: 183 * Number of variables: 183 Notification: Performance of Generate backend data structure: time 0.002718/1.29, allocations: 0.9675 MB / 0.8623 GB, free: 6.254 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.386e-05/1.29, allocations: 8.031 kB / 0.8623 GB, free: 6.246 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000253/1.29, allocations: 119.9 kB / 0.8625 GB, free: 6.164 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00256/1.293, allocations: 242.6 kB / 0.8627 GB, free: 5.926 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001586/1.295, allocations: 0.5315 MB / 0.8632 GB, free: 5.43 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.249e-05/1.295, allocations: 53.59 kB / 0.8633 GB, free: 5.398 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001736/1.295, allocations: 60.5 kB / 0.8633 GB, free: 5.359 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002557/1.297, allocations: 1.116 MB / 0.8644 GB, free: 4.375 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.508e-05/1.297, allocations: 11.92 kB / 0.8644 GB, free: 4.363 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001264/1.298, allocations: 37.39 kB / 0.8644 GB, free: 4.352 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001254/1.298, allocations: 56.97 kB / 0.8645 GB, free: 4.301 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00196/1.3, allocations: 0.7053 MB / 0.8652 GB, free: 3.82 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009135/1.309, allocations: 5.913 MB / 0.871 GB, free: 14.11 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001604/1.311, allocations: 0.5478 MB / 0.8715 GB, free: 13.73 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007149/1.311, allocations: 327.2 kB / 0.8718 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.195e-05/1.311, allocations: 8.375 kB / 0.8718 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/1.311, allocations: 38 kB / 0.8719 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=47): time 3.477e-06/1.311, allocations: 0 / 0.8719 GB, free: 13.47 MB / 0.6667 GB Notification: Performance of matching and sorting (n=48): time 0.00384/1.315, allocations: 1.23 MB / 0.8731 GB, free: 12.52 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/1.315, allocations: 59.78 kB / 0.8731 GB, free: 12.45 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009122/1.316, allocations: 494.3 kB / 0.8736 GB, free: 12.06 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 8.875e-05/1.316, allocations: 38.52 kB / 0.8736 GB, free: 12.03 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003317/1.317, allocations: 400.7 kB / 0.874 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002403/1.317, allocations: 166.8 kB / 0.8742 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.297e-05/1.317, allocations: 16.56 kB / 0.8742 GB, free: 11.59 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001793/1.317, allocations: 371.8 kB / 0.8745 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006573/1.318, allocations: 264.7 kB / 0.8748 GB, free: 11.08 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008047/1.319, allocations: 452.5 kB / 0.8752 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008154/1.32, allocations: 338.4 kB / 0.8755 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.981e-06/1.32, allocations: 0 / 0.8755 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.003029/1.323, allocations: 1.027 MB / 0.8765 GB, free: 9.637 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 3.296e-05/1.323, allocations: 8 kB / 0.8766 GB, free: 9.629 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.829e-05/1.323, allocations: 8 kB / 0.8766 GB, free: 9.621 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001428/1.324, allocations: 273.6 kB / 0.8768 GB, free: 9.391 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001002/1.325, allocations: 111.4 kB / 0.8769 GB, free: 9.285 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00928/1.335, allocations: 6.583 MB / 0.8834 GB, free: 2.828 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001074/1.336, allocations: 37.72 kB / 0.8834 GB, free: 2.801 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.726e-05/1.336, allocations: 34.86 kB / 0.8834 GB, free: 2.773 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (63): * Single equations (assignments): 59 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000222/1.336, allocations: 140 kB / 0.8836 GB, free: 2.648 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001692/1.336, allocations: 79.11 kB / 0.8836 GB, free: 2.57 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002589/1.339, allocations: 0.8769 MB / 0.8845 GB, free: 1.945 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.779e-05/1.339, allocations: 7.938 kB / 0.8845 GB, free: 1.938 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.207e-06/1.339, allocations: 4 kB / 0.8845 GB, free: 1.934 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.868e-06/1.339, allocations: 0 / 0.8845 GB, free: 1.934 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004395/1.343, allocations: 1.707 MB / 0.8862 GB, free: 0.5703 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.065e-05/1.343, allocations: 4.188 kB / 0.8862 GB, free: 0.5664 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005309/1.344, allocations: 67.77 kB / 0.8862 GB, free: 0.5039 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001363/1.345, allocations: 264 kB / 0.8865 GB, free: 288 kB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.265e-05/1.345, allocations: 11.25 kB / 0.8865 GB, free: 284 kB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009289/1.355, allocations: 6.564 MB / 0.8929 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.727e-06/1.355, allocations: 0 / 0.8929 GB, free: 9.828 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002772/1.357, allocations: 1.04 MB / 0.8939 GB, free: 8.922 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005671/1.358, allocations: 201.6 kB / 0.8941 GB, free: 8.73 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001422/1.358, allocations: 14.95 kB / 0.8941 GB, free: 8.719 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006716/1.359, allocations: 26.78 kB / 0.8942 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001699/1.359, allocations: 46.5 kB / 0.8942 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.147e-05/1.359, allocations: 15.19 kB / 0.8942 GB, free: 8.648 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006918/1.36, allocations: 382.7 kB / 0.8946 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.51e-07/1.36, allocations: 0 / 0.8946 GB, free: 8.363 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001378/1.361, allocations: 232.1 kB / 0.8948 GB, free: 8.156 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 27 * 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: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 4 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.003236/1.365, allocations: 2.023 MB / 0.8968 GB, free: 6.285 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003181/1.368, allocations: 1.196 MB / 0.8979 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 9.137e-06/1.368, allocations: 0 / 0.8979 GB, free: 5.277 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.002065/1.37, allocations: 0.8502 MB / 0.8988 GB, free: 4.516 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001702/1.372, allocations: 200.3 kB / 0.899 GB, free: 4.367 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003577/1.375, allocations: 1.142 MB / 0.9001 GB, free: 3.309 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008482/1.376, allocations: 1.027 MB / 0.9011 GB, free: 2.273 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0008429/1.377, allocations: 122.1 kB / 0.9012 GB, free: 2.152 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005378/1.378, allocations: 255.2 kB / 0.9014 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of SimCode: time 1.263e-06/1.378, allocations: 0 / 0.9014 GB, free: 2.094 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05597/1.434, allocations: 16.24 MB / 0.9173 GB, free: 2.012 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002146/1.434, allocations: 200.6 kB / 0.9175 GB, free: 1.781 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.96/4.394, allocations: 3.938 kB / 0.9175 GB, free: 1.777 MB / 0.698 GB