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.598/3.598, allocations: 403.3 MB / 415.4 MB, free: 12.99 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 5.027e-05/5.062e-05, allocations: 4 kB / 0.4991 GB, free: 13.44 MB / 426.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5825/0.5825, allocations: 92.68 MB / 0.5896 GB, free: 14.5 MB / 490.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2473/0.8299, allocations: 174.7 MB / 0.7601 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003121/0.8303, allocations: 99.92 kB / 0.7602 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.6295/1.46, allocations: 65.82 MB / 0.8245 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.538e-06/1.46, allocations: 0 / 0.8245 GB, free: 142.7 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 9.594e-05/1.46, allocations: 36 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.003773/1.464, allocations: 1.671 MB / 0.8262 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/1.464, allocations: 11.97 kB / 0.8262 GB, free: 140.9 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004181/1.468, allocations: 0.6572 MB / 0.8268 GB, free: 140.3 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002925/1.471, allocations: 1.242 MB / 0.828 GB, free: 139 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001004/1.471, allocations: 119.2 kB / 0.8281 GB, free: 138.9 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004657/1.472, allocations: 160 kB / 0.8283 GB, free: 138.7 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005715/1.477, allocations: 2.583 MB / 0.8308 GB, free: 136.1 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-05/1.477, allocations: 11.92 kB / 0.8308 GB, free: 136 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002768/1.478, allocations: 64 kB / 0.8309 GB, free: 136 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001129/1.478, allocations: 91.22 kB / 0.831 GB, free: 135.9 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004488/1.482, allocations: 2.126 MB / 0.8331 GB, free: 133.8 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01392/1.496, allocations: 8.142 MB / 0.841 GB, free: 125.4 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0013/1.498, allocations: 0.7279 MB / 0.8417 GB, free: 124.7 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008462/1.498, allocations: 0.5183 MB / 0.8422 GB, free: 124.1 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001341/1.499, allocations: 93.47 kB / 0.8423 GB, free: 124 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.872e-05/1.499, allocations: 42.88 kB / 0.8424 GB, free: 124 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=46): time 3.955e-06/1.499, allocations: 4 kB / 0.8424 GB, free: 124 MB / 0.6511 GB Notification: Performance of matching and sorting (n=72): time 0.02417/1.523, allocations: 7.163 MB / 0.8494 GB, free: 116.8 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.664e-05/1.523, allocations: 81.89 kB / 0.8494 GB, free: 116.7 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001437/1.524, allocations: 0.8549 MB / 0.8503 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001513/1.525, allocations: 33.7 kB / 0.8503 GB, free: 115.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004339/1.525, allocations: 0.762 MB / 0.851 GB, free: 115 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002598/1.525, allocations: 256.4 kB / 0.8513 GB, free: 114.8 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001036/1.525, allocations: 20 kB / 0.8513 GB, free: 114.7 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001464/1.526, allocations: 402.7 kB / 0.8517 GB, free: 114.3 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001265/1.527, allocations: 0.76 MB / 0.8524 GB, free: 113.6 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00144/1.528, allocations: 1.111 MB / 0.8535 GB, free: 112.3 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001533/1.53, allocations: 0.9701 MB / 0.8545 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.874e-06/1.53, allocations: 8 kB / 0.8545 GB, free: 111.3 MB / 0.6511 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.008695/1.539, allocations: 3.365 MB / 0.8578 GB, free: 107.9 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008647/1.539, allocations: 4.272 MB / 0.8619 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.009e-05/1.54, allocations: 16 kB / 0.8619 GB, free: 103.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.007046/1.547, allocations: 1.749 MB / 0.8637 GB, free: 101.6 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001174/1.548, allocations: 227.5 kB / 0.8639 GB, free: 101.4 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01227/1.56, allocations: 7.296 MB / 0.871 GB, free: 93.89 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001648/1.562, allocations: 183.6 kB / 0.8712 GB, free: 93.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001582/1.562, allocations: 44 kB / 0.8712 GB, free: 93.67 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.153e-05/1.562, allocations: 4 kB / 0.8712 GB, free: 93.66 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006613/1.569, allocations: 2.708 MB / 0.8739 GB, free: 90.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.434e-05/1.569, allocations: 12 kB / 0.8739 GB, free: 90.94 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004024/1.573, allocations: 1.037 MB / 0.8749 GB, free: 89.9 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/1.574, allocations: 291.5 kB / 0.8752 GB, free: 89.61 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01003/1.584, allocations: 6.062 MB / 0.8811 GB, free: 83.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001509/1.586, allocations: 163.8 kB / 0.8812 GB, free: 83.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/1.586, allocations: 48 kB / 0.8813 GB, free: 83.21 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.0003224/1.586, allocations: 156.7 kB / 0.8814 GB, free: 83.05 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002315/1.587, allocations: 86.97 kB / 0.8815 GB, free: 82.96 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007932/1.595, allocations: 3.007 MB / 0.8845 GB, free: 79.94 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.515e-05/1.595, allocations: 8 kB / 0.8845 GB, free: 79.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.939e-06/1.595, allocations: 4 kB / 0.8845 GB, free: 79.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.666e-05/1.595, allocations: 7.984 kB / 0.8845 GB, free: 79.92 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01241/1.607, allocations: 5.474 MB / 0.8898 GB, free: 74.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.14e-05/1.607, allocations: 0 / 0.8898 GB, free: 74.36 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006204/1.608, allocations: 111.8 kB / 0.8899 GB, free: 74.25 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.006906/1.615, allocations: 1.633 MB / 0.8915 GB, free: 72.61 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001291/1.615, allocations: 19.98 kB / 0.8915 GB, free: 72.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.01521/1.63, allocations: 9.481 MB / 0.9008 GB, free: 62.84 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.897e-06/1.63, allocations: 0 / 0.9008 GB, free: 62.84 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007345/1.637, allocations: 2.954 MB / 0.9037 GB, free: 59.78 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008234/1.638, allocations: 336 kB / 0.904 GB, free: 59.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002077/1.639, allocations: 20 kB / 0.904 GB, free: 59.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001081/1.64, allocations: 139.7 kB / 0.9042 GB, free: 59.28 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002779/1.64, allocations: 60.44 kB / 0.9042 GB, free: 59.22 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.022e-05/1.64, allocations: 28 kB / 0.9042 GB, free: 59.19 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.00104/1.641, allocations: 0.6709 MB / 0.9049 GB, free: 58.52 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.01e-06/1.641, allocations: 0 / 0.9049 GB, free: 58.52 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.002885/1.644, allocations: 0.6874 MB / 0.9056 GB, free: 57.84 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.0003496/1.644, allocations: 188.8 kB / 0.9057 GB, free: 57.64 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.007675/1.652, allocations: 3.555 MB / 0.9092 GB, free: 54.07 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 7.32e-06/1.652, allocations: 0 / 0.9092 GB, free: 54.07 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.002888/1.655, allocations: 1.346 MB / 0.9105 GB, free: 52.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001473/1.656, allocations: 247.9 kB / 0.9108 GB, free: 52.46 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006645/1.663, allocations: 3.063 MB / 0.9138 GB, free: 49.34 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001752/1.665, allocations: 1.759 MB / 0.9155 GB, free: 47.55 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.002105/1.667, allocations: 0.6513 MB / 0.9161 GB, free: 46.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002237/1.667, allocations: 59.42 kB / 0.9162 GB, free: 46.84 MB / 0.6511 GB Notification: Performance of SimCode: time 1.613e-06/1.667, allocations: 0 / 0.9162 GB, free: 46.84 MB / 0.6511 GB Notification: Performance of Templates: time 0.09885/1.766, allocations: 28.48 MB / 0.944 GB, free: 18.52 MB / 0.6511 GB