Running command: translateModel(Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_5.0.1_Buildings.Electrical.AC.ThreePhasesUnbalanced.Lines.Examples.ACSimpleGrid_N") Notification: Performance of loadModel(Buildings): time 3.717/3.717, allocations: 403.3 MB / 415.4 MB, free: 12.91 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 3.363e-05/3.373e-05, allocations: 4 kB / 0.499 GB, free: 13.36 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5371/0.5372, allocations: 92.68 MB / 0.5895 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2944/0.8316, allocations: 174.7 MB / 0.7601 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.832, allocations: 95.94 kB / 0.7602 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6287/1.461, allocations: 65.82 MB / 0.8245 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.212e-06/1.461, allocations: 0 / 0.8245 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 0.0001246/1.461, allocations: 43.92 kB / 0.8245 GB, free: 142.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: 425 * Number of variables: 425 Notification: Performance of Generate backend data structure: time 0.004699/1.466, allocations: 1.667 MB / 0.8261 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.32e-05/1.466, allocations: 12.03 kB / 0.8262 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00431/1.47, allocations: 0.6533 MB / 0.8268 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/1.473, allocations: 1.239 MB / 0.828 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001325/1.473, allocations: 123.2 kB / 0.8281 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0007412/1.474, allocations: 156 kB / 0.8283 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006934/1.481, allocations: 2.605 MB / 0.8308 GB, free: 136 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.261e-05/1.481, allocations: 4 kB / 0.8308 GB, free: 136 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003495/1.482, allocations: 67.98 kB / 0.8309 GB, free: 136 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001192/1.482, allocations: 91.22 kB / 0.831 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005347/1.487, allocations: 2.16 MB / 0.8331 GB, free: 133.7 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01541/1.502, allocations: 8.142 MB / 0.841 GB, free: 125.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001361/1.504, allocations: 0.7303 MB / 0.8417 GB, free: 124.6 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008645/1.505, allocations: 0.5166 MB / 0.8422 GB, free: 124.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000139/1.505, allocations: 97.45 kB / 0.8423 GB, free: 124 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.883e-05/1.505, allocations: 38.94 kB / 0.8424 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.968e-06/1.505, allocations: 0 / 0.8424 GB, free: 123.9 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.02401/1.529, allocations: 7.159 MB / 0.8494 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/1.529, allocations: 85.88 kB / 0.8494 GB, free: 116.6 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001502/1.531, allocations: 0.8511 MB / 0.8503 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001537/1.531, allocations: 33.7 kB / 0.8503 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000441/1.531, allocations: 0.7698 MB / 0.8511 GB, free: 115 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002594/1.532, allocations: 256.4 kB / 0.8513 GB, free: 114.7 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001062/1.532, allocations: 20 kB / 0.8513 GB, free: 114.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001506/1.532, allocations: 398.7 kB / 0.8517 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001286/1.533, allocations: 0.7639 MB / 0.8525 GB, free: 113.5 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001475/1.535, allocations: 1.121 MB / 0.8535 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001552/1.536, allocations: 0.9623 MB / 0.8545 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.879e-06/1.536, allocations: 8 kB / 0.8545 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.0086/1.545, allocations: 3.396 MB / 0.8578 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.000858/1.546, allocations: 4.264 MB / 0.862 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/1.546, allocations: 16 kB / 0.862 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006887/1.553, allocations: 1.754 MB / 0.8637 GB, free: 101.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001094/1.554, allocations: 219.6 kB / 0.8639 GB, free: 101.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01241/1.566, allocations: 7.296 MB / 0.871 GB, free: 93.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001592/1.568, allocations: 183.6 kB / 0.8712 GB, free: 93.64 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/1.568, allocations: 51.98 kB / 0.8713 GB, free: 93.59 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.174e-05/1.568, allocations: 4 kB / 0.8713 GB, free: 93.59 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006574/1.575, allocations: 2.736 MB / 0.8739 GB, free: 90.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.288e-05/1.575, allocations: 12 kB / 0.874 GB, free: 90.83 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003907/1.579, allocations: 1.037 MB / 0.875 GB, free: 89.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001378/1.58, allocations: 291.5 kB / 0.8752 GB, free: 89.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01008/1.59, allocations: 6.073 MB / 0.8812 GB, free: 83.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001467/1.592, allocations: 159.7 kB / 0.8813 GB, free: 83.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001607/1.592, allocations: 47.98 kB / 0.8814 GB, free: 83.1 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 93 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(4,100.0%) 14} * Non-linear torn systems: 1 {4 14} Notification: Performance of prepare postOptimizeDAE: time 0.0003304/1.592, allocations: 156.7 kB / 0.8815 GB, free: 82.94 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002406/1.592, allocations: 86.97 kB / 0.8816 GB, free: 82.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007942/1.6, allocations: 3.003 MB / 0.8845 GB, free: 79.83 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.638e-05/1.6, allocations: 8 kB / 0.8845 GB, free: 79.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.448e-06/1.6, allocations: 4 kB / 0.8845 GB, free: 79.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.873e-05/1.6, allocations: 3.984 kB / 0.8846 GB, free: 79.81 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01263/1.613, allocations: 5.493 MB / 0.8899 GB, free: 74.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.335e-05/1.613, allocations: 0 / 0.8899 GB, free: 74.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006191/1.614, allocations: 107.9 kB / 0.89 GB, free: 74.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006477/1.62, allocations: 1.637 MB / 0.8916 GB, free: 72.48 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001431/1.62, allocations: 16 kB / 0.8916 GB, free: 72.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0165/1.637, allocations: 9.485 MB / 0.9009 GB, free: 62.71 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.652e-06/1.637, allocations: 4 kB / 0.9009 GB, free: 62.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007372/1.644, allocations: 2.942 MB / 0.9038 GB, free: 59.66 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008366/1.645, allocations: 343.9 kB / 0.9041 GB, free: 59.31 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/1.646, allocations: 12 kB / 0.9041 GB, free: 59.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001021/1.647, allocations: 139.8 kB / 0.9042 GB, free: 59.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002933/1.647, allocations: 64.38 kB / 0.9043 GB, free: 59.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.495e-05/1.647, allocations: 23.98 kB / 0.9043 GB, free: 59.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001057/1.648, allocations: 0.667 MB / 0.905 GB, free: 58.41 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.806e-06/1.648, allocations: 0 / 0.905 GB, free: 58.41 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002928/1.651, allocations: 0.6952 MB / 0.9057 GB, free: 57.71 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 42 * 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: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(3,100.0%) 13} * Non-linear torn systems: 1 {4 12} Notification: Performance of Backend phase and start with SimCode phase: time 0.0003712/1.651, allocations: 188.7 kB / 0.9058 GB, free: 57.52 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007759/1.659, allocations: 3.61 MB / 0.9094 GB, free: 53.89 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.042e-05/1.659, allocations: 4 kB / 0.9094 GB, free: 53.88 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002891/1.662, allocations: 1.366 MB / 0.9107 GB, free: 52.49 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001418/1.664, allocations: 243.5 kB / 0.9109 GB, free: 52.26 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006679/1.67, allocations: 3.076 MB / 0.9139 GB, free: 49.13 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001766/1.672, allocations: 1.758 MB / 0.9157 GB, free: 47.33 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002134/1.674, allocations: 0.6552 MB / 0.9163 GB, free: 46.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002034/1.674, allocations: 59.42 kB / 0.9164 GB, free: 46.61 MB / 0.6511 GB Notification: Performance of SimCode: time 1.652e-06/1.674, allocations: 0 / 0.9164 GB, free: 46.61 MB / 0.6511 GB Notification: Performance of Templates: time 0.05299/1.727, allocations: 28.8 MB / 0.9445 GB, free: 17.98 MB / 0.6511 GB