Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_R,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_R",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.653/4.653, allocations: 404.2 MB / 411.3 MB, free: 436 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.184e-05/3.182e-05, allocations: 4 kB / 0.4946 GB, free: 1.309 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7312/0.7312, allocations: 92.68 MB / 0.5851 GB, free: 2.316 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3125/1.044, allocations: 152.3 MB / 0.7338 GB, free: 9.758 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004425/1.044, allocations: 91.94 kB / 0.7339 GB, free: 9.668 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 1.383/2.427, allocations: 179.2 MB / 0.9089 GB, free: 55.21 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.514e-06/2.427, allocations: 0 / 0.9089 GB, free: 55.21 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0004679/2.428, allocations: 127.9 kB / 0.909 GB, free: 55.09 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: 1286 * Number of variables: 1286 Notification: Performance of Generate backend data structure: time 0.01791/2.446, allocations: 4.132 MB / 0.9131 GB, free: 50.89 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.335e-05/2.446, allocations: 16.02 kB / 0.9131 GB, free: 50.88 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01037/2.456, allocations: 0.9851 MB / 0.914 GB, free: 49.89 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01208/2.468, allocations: 3.221 MB / 0.9172 GB, free: 46.61 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003348/2.469, allocations: 152 kB / 0.9173 GB, free: 46.46 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00235/2.471, allocations: 276 kB / 0.9176 GB, free: 46.19 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01726/2.488, allocations: 4.721 MB / 0.9222 GB, free: 41.46 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.02338/2.512, allocations: 6.708 MB / 0.9288 GB, free: 34.29 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0002023/2.512, allocations: 23.72 kB / 0.9288 GB, free: 34.26 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.001018/2.513, allocations: 16 kB / 0.9288 GB, free: 34.25 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000435/2.514, allocations: 265.2 kB / 0.929 GB, free: 33.98 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.04933/2.563, allocations: 24.64 MB / 0.9531 GB, free: 8.695 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005568/2.569, allocations: 2.051 MB / 0.9551 GB, free: 6.625 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003162/2.572, allocations: 1.412 MB / 0.9565 GB, free: 5.215 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002066/2.572, allocations: 13.31 kB / 0.9565 GB, free: 5.203 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.606e-05/2.572, allocations: 51.88 kB / 0.9565 GB, free: 5.145 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=157): time 5.5e-06/2.572, allocations: 3.938 kB / 0.9566 GB, free: 5.141 MB / 0.6511 GB Notification: Performance of matching and sorting (n=160): time 0.01425/2.586, allocations: 4.757 MB / 0.9612 GB, free: 336 kB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.094e-05/2.586, allocations: 72.7 kB / 0.9613 GB, free: 252 kB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003029/2.59, allocations: 1.236 MB / 0.9625 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 0.0003808/2.59, allocations: 29.7 kB / 0.9625 GB, free: 14.94 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.002246/2.592, allocations: 2.11 MB / 0.9646 GB, free: 12.8 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0009356/2.593, allocations: 0.5235 MB / 0.9651 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002264/2.593, allocations: 0 / 0.9651 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0002529/2.594, allocations: 390.1 kB / 0.9654 GB, free: 11.89 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002631/2.596, allocations: 0.953 MB / 0.9664 GB, free: 10.93 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003252/2.6, allocations: 1.659 MB / 0.968 GB, free: 8.938 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003358/2.603, allocations: 1.247 MB / 0.9692 GB, free: 7.688 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.727e-05/2.603, allocations: 8 kB / 0.9692 GB, free: 7.68 MB / 0.6667 GB Notification: Performance of matching and sorting (n=269) (initialization): time 0.01184/2.615, allocations: 3.488 MB / 0.9726 GB, free: 4.145 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 4.967e-05/2.615, allocations: 16 kB / 0.9726 GB, free: 4.129 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.867e-05/2.615, allocations: 24 kB / 0.9727 GB, free: 4.105 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004841/2.62, allocations: 0.8805 MB / 0.9735 GB, free: 3.188 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003641/2.624, allocations: 411.3 kB / 0.9739 GB, free: 2.785 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.03196/2.656, allocations: 20.18 MB / 0.9936 GB, free: 13.22 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/2.659, allocations: 79.89 kB / 0.9937 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005628/2.66, allocations: 95.98 kB / 0.9938 GB, free: 13.05 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 107 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (215): * Single equations (assignments): 203 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 6,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 4,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 2} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0006694/2.66, allocations: 173.2 kB / 0.994 GB, free: 12.87 MB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.01014/2.67, allocations: 2.912 MB / 0.9968 GB, free: 9.914 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000976/2.671, allocations: 225.4 kB / 0.997 GB, free: 9.691 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0102/2.682, allocations: 3.053 MB / 1 GB, free: 6.59 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.991e-05/2.682, allocations: 19.98 kB / 1 GB, free: 6.57 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.468e-05/2.682, allocations: 8 kB / 1 GB, free: 6.562 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.358e-05/2.682, allocations: 11.97 kB / 1 GB, free: 6.551 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.02147/2.703, allocations: 6.582 MB / 1.006 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.046e-05/2.703, allocations: 4.562 kB / 1.006 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00227/2.706, allocations: 219.6 kB / 1.007 GB, free: 15.6 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004787/2.71, allocations: 0.857 MB / 1.008 GB, free: 14.71 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002754/2.711, allocations: 4 kB / 1.008 GB, free: 14.7 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.03133/2.742, allocations: 20.16 MB / 1.027 GB, free: 9.164 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-05/2.742, allocations: 7.938 kB / 1.027 GB, free: 9.156 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01109/2.753, allocations: 3.501 MB / 1.031 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002291/2.756, allocations: 0.4982 MB / 1.031 GB, free: 4.871 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009591/2.757, allocations: 11.95 kB / 1.031 GB, free: 4.859 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002553/2.759, allocations: 67.89 kB / 1.031 GB, free: 4.793 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0007674/2.76, allocations: 141 kB / 1.031 GB, free: 4.656 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002132/2.76, allocations: 44 kB / 1.031 GB, free: 4.613 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.002598/2.763, allocations: 0.91 MB / 1.032 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7.82e-07/2.763, allocations: 0 / 1.032 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.006209/2.769, allocations: 0.8124 MB / 1.033 GB, free: 2.871 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (109): * Single equations (assignments): 97 * 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: 12 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 12 {(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(2,100.0%) 2,(2,100.0%) 4,(2,100.0%) 6,(2,100.0%) 2,(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.01157/2.781, allocations: 5.235 MB / 1.038 GB, free: 13.45 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.01165/2.792, allocations: 4.071 MB / 1.042 GB, free: 9.258 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.386e-05/2.793, allocations: 4 kB / 1.042 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 0.007838/2.8, allocations: 2.82 MB / 1.045 GB, free: 6.316 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00629/2.807, allocations: 0.6486 MB / 1.046 GB, free: 5.668 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6258/3.433, allocations: 7.388 MB / 1.053 GB, free: 175.4 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.02754/3.46, allocations: 3.285 MB / 1.056 GB, free: 174.6 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.005199/3.465, allocations: 0.4923 MB / 1.056 GB, free: 174.6 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.01371/3.479, allocations: 1.658 MB / 1.058 GB, free: 174.6 MB / 0.7448 GB Notification: Performance of SimCode: time 1.963e-06/3.479, allocations: 3.031 kB / 1.058 GB, free: 174.6 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1993/3.679, allocations: 63.09 MB / 1.12 GB, free: 172.3 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003076/3.679, allocations: 171.4 kB / 1.12 GB, free: 172.1 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 5.276/8.955, allocations: 4 kB / 1.12 GB, free: 172.1 MB / 0.7448 GB