Running command: "" <> buildModelFMU(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACLine_RL_N,fileNamePrefix="Buildings_5_0_1_Buildings_Electrical_AC_ThreePhasesUnbalanced_Lines_Examples_ACLine_RL_N",fmuType="me",version="2.0",platforms={"dynamic"}) Notification: Performance of loadModel(Buildings): time 4.641/4.641, allocations: 404.2 MB / 411.3 MB, free: 412 kB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.306e-05/3.297e-05, allocations: 8 kB / 0.4946 GB, free: 1.297 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6594/0.6595, allocations: 92.69 MB / 0.5851 GB, free: 2.305 MB / 474.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3569/1.016, allocations: 177.8 MB / 0.7587 GB, free: 200 kB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004183/1.017, allocations: 91.94 kB / 0.7588 GB, free: 108 kB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 1.078/2.095, allocations: 111.7 MB / 0.8679 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.465e-06/2.095, allocations: 0 / 0.8679 GB, free: 100.3 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0002747/2.095, allocations: 79.98 kB / 0.868 GB, free: 100.2 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: 798 * Number of variables: 798 Notification: Performance of Generate backend data structure: time 0.01187/2.107, allocations: 2.668 MB / 0.8706 GB, free: 97.46 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.605e-05/2.107, allocations: 12.02 kB / 0.8706 GB, free: 97.45 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007642/2.115, allocations: 0.648 MB / 0.8712 GB, free: 96.79 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008031/2.123, allocations: 2.056 MB / 0.8732 GB, free: 94.68 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001911/2.123, allocations: 103.9 kB / 0.8733 GB, free: 94.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001388/2.124, allocations: 175.9 kB / 0.8735 GB, free: 94.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.01033/2.135, allocations: 2.976 MB / 0.8764 GB, free: 91.42 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.01461/2.149, allocations: 4.123 MB / 0.8804 GB, free: 87.05 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001758/2.15, allocations: 11.88 kB / 0.8805 GB, free: 87.04 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0008645/2.151, allocations: 11.95 kB / 0.8805 GB, free: 87.03 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000287/2.151, allocations: 169.8 kB / 0.8806 GB, free: 86.86 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.03163/2.183, allocations: 14.17 MB / 0.8945 GB, free: 72.36 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002754/2.185, allocations: 1.236 MB / 0.8957 GB, free: 71.11 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002142/2.188, allocations: 0.9919 MB / 0.8966 GB, free: 70.12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001393/2.188, allocations: 17.31 kB / 0.8967 GB, free: 70.11 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.294e-05/2.188, allocations: 47.81 kB / 0.8967 GB, free: 70.05 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=107): time 4.559e-06/2.188, allocations: 0 / 0.8967 GB, free: 70.05 MB / 0.6511 GB Notification: Performance of matching and sorting (n=138): time 0.01544/2.203, allocations: 4.722 MB / 0.9013 GB, free: 65.34 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.235e-05/2.203, allocations: 68.7 kB / 0.9014 GB, free: 65.26 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001731/2.205, allocations: 0.8189 MB / 0.9022 GB, free: 64.43 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0002596/2.205, allocations: 25.7 kB / 0.9022 GB, free: 64.4 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009124/2.206, allocations: 1.315 MB / 0.9035 GB, free: 63.07 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005841/2.207, allocations: 453.2 kB / 0.9039 GB, free: 62.62 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001638/2.207, allocations: 0 / 0.9039 GB, free: 62.62 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001432/2.207, allocations: 373.9 kB / 0.9043 GB, free: 62.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001887/2.209, allocations: 0.8317 MB / 0.9051 GB, free: 61.41 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002122/2.211, allocations: 1.276 MB / 0.9063 GB, free: 59.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00234/2.214, allocations: 1.072 MB / 0.9074 GB, free: 58.86 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.267e-05/2.214, allocations: 8 kB / 0.9074 GB, free: 58.85 MB / 0.6511 GB Notification: Performance of matching and sorting (n=205) (initialization): time 0.009834/2.223, allocations: 3.171 MB / 0.9105 GB, free: 55.66 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.855e-05/2.224, allocations: 8 kB / 0.9105 GB, free: 55.65 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.757e-05/2.224, allocations: 16 kB / 0.9105 GB, free: 55.64 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005598/2.229, allocations: 1.079 MB / 0.9116 GB, free: 54.55 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002188/2.231, allocations: 267.5 kB / 0.9118 GB, free: 54.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0249/2.256, allocations: 12.04 MB / 0.9236 GB, free: 41.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002266/2.259, allocations: 51.92 kB / 0.9236 GB, free: 41.85 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002258/2.259, allocations: 68.06 kB / 0.9237 GB, free: 41.79 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 65 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (134): * Single equations (assignments): 131 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,84.0%) 17,(5,88.0%) 25} * Non-linear torn systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000422/2.259, allocations: 152.5 kB / 0.9238 GB, free: 41.63 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.008478/2.268, allocations: 2.788 MB / 0.9266 GB, free: 38.82 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006304/2.268, allocations: 158.2 kB / 0.9267 GB, free: 38.66 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009039/2.278, allocations: 2.946 MB / 0.9296 GB, free: 35.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-05/2.278, allocations: 16 kB / 0.9296 GB, free: 35.68 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.322e-05/2.278, allocations: 12 kB / 0.9296 GB, free: 35.66 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.162e-05/2.278, allocations: 7.969 kB / 0.9296 GB, free: 35.66 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01594/2.294, allocations: 5.512 MB / 0.935 GB, free: 30.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.622e-05/2.294, allocations: 8.094 kB / 0.935 GB, free: 30.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001721/2.295, allocations: 151.8 kB / 0.9352 GB, free: 29.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.005843/2.301, allocations: 1.006 MB / 0.9361 GB, free: 28.87 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002333/2.302, allocations: 16.14 kB / 0.9361 GB, free: 28.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.02432/2.326, allocations: 11.72 MB / 0.9476 GB, free: 16.79 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.29e-05/2.326, allocations: 11.94 kB / 0.9476 GB, free: 16.78 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008383/2.334, allocations: 3.187 MB / 0.9507 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001381/2.336, allocations: 407.2 kB / 0.9511 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004751/2.336, allocations: 7.984 kB / 0.9511 GB, free: 13 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0016/2.338, allocations: 52.28 kB / 0.9512 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0005067/2.338, allocations: 133 kB / 0.9513 GB, free: 12.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001366/2.339, allocations: 40 kB / 0.9513 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001224/2.34, allocations: 0.6242 MB / 0.9519 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.21e-07/2.34, allocations: 0 / 0.9519 GB, free: 12.15 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.004442/2.344, allocations: 0.5859 MB / 0.9525 GB, free: 11.57 MB / 0.6511 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 (70): * Single equations (assignments): 67 * 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: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 3 {(5,84.0%) 17,(5,88.0%) 25,(5,84.0%) 17} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01195/2.356, allocations: 4.973 MB / 0.9574 GB, free: 6.43 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.01009/2.366, allocations: 2.884 MB / 0.9602 GB, free: 3.516 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.195e-05/2.366, allocations: 3.938 kB / 0.9602 GB, free: 3.512 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.006791/2.373, allocations: 1.819 MB / 0.962 GB, free: 1.664 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00475/2.378, allocations: 397.3 kB / 0.9623 GB, free: 1.281 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02428/2.402, allocations: 5.096 MB / 0.9673 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.007307/2.41, allocations: 2.394 MB / 0.9697 GB, free: 9.645 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00326/2.413, allocations: 329.3 kB / 0.97 GB, free: 9.316 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.003559/2.417, allocations: 0.9952 MB / 0.9709 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of SimCode: time 1.674e-06/2.417, allocations: 0 / 0.9709 GB, free: 8.32 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1786/2.595, allocations: 46.32 MB / 1.016 GB, free: 10.3 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform dynamic using cached values: time 0.0003399/2.596, allocations: 167.3 kB / 1.016 GB, free: 10.11 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform dynamic: time 4.218/6.814, allocations: 4 kB / 1.016 GB, free: 10.1 MB / 0.7136 GB